函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test-string_helpers.c Create Date:2022-07-27 07:23:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:test_string_helpers_init

函数原型:static int __init test_string_helpers_init(void)

返回类型:int

参数:

397  打印信息("Running tests...\n")
398 i小于UNESCAPE_ANY加1循环test_string_unescape("unescape", i, false)
400  test_string_unescape("unescape inplace", get_random_int() % (UNESCAPE_ANY + 1), true)
404 i小于ESCAPE_ANY_NP按位或ESCAPE_HEX的值加1循环test_string_escape("escape 0", escape0, i, TEST_STRING_2_DICT_0)
408 i小于ESCAPE_ANY_NP按位或ESCAPE_HEX的值加1循环test_string_escape("escape 1", escape1, i, TEST_STRING_2_DICT_1)
412  test_string_get_size()
414  返回:负EINVAL