/third_party/elfutils/libelf/ |
H A D | nlist.c | 44 const char *str; member 49 #define HASHFCT(str, len) INTUSE(elf_hash) (str) 50 #define COMPARE(p1, p2) strcmp ((p1)->str, (p2)->str) 153 mem.str = INTUSE(elf_strptr) (elf, shdr->sh_link, sym->st_name); in nlist() 154 if (mem.str == NULL) in nlist() 158 if (mem.str[0] == '\0') in nlist() 168 (void) nlist_fshash_overwrite (table, mem.str, 0, &mem); in nlist() 181 search.str in nlist() [all...] |
/third_party/gn/src/gn/ |
H A D | string_atom_unittest.cc | 19 ASSERT_STREQ(key1.str().c_str(), ""); in TEST() 20 ASSERT_STREQ(key2.str().c_str(), ""); in TEST() 21 ASSERT_EQ(&key1.str(), &key2.str()); in TEST() 26 EXPECT_EQ(empty.str(), std::string()); in TEST() 29 EXPECT_EQ(foo.str(), std::string("foo")); in TEST() 32 EXPECT_EQ(&foo.str(), &foo2.str()); in TEST() 84 return &atom.str(); 146 ASSERT_EQ(keys[nn].str(), string_fo [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/ |
H A D | vktConditionalRenderingTestUtil.cpp | 113 std::ostream& operator<< (std::ostream& str, ConditionalData const& c) in operator <<() argument 116 str << (conditionEnabled ? "condition" : "no_condition"); in operator <<() 117 str << (c.memoryType ? "_host_memory" : "_local_memory"); in operator <<() 122 str << "_secondary_buffer"; in operator <<() 127 str << "_inherited"; in operator <<() 130 str << "_" << (c.expectCommandExecution ? "expect_execution" : "expect_noop"); in operator <<() 134 str << "_inverted"; in operator <<() 139 str << "_padded"; in operator <<() 144 str << "_rp_clear"; in operator <<() 147 return str; in operator <<() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/ |
H A D | vktConditionalRenderingTestUtil.cpp | 113 std::ostream& operator<< (std::ostream& str, ConditionalData const& c) in operator <<() argument 116 str << (conditionEnabled ? "condition" : "no_condition"); in operator <<() 117 str << (c.memoryType ? "_host_memory" : "_local_memory"); in operator <<() 122 str << "_secondary_buffer"; in operator <<() 127 str << "_inherited"; in operator <<() 130 str << "_" << (c.expectCommandExecution ? "expect_execution" : "expect_noop"); in operator <<() 134 str << "_inverted"; in operator <<() 139 str << "_padded"; in operator <<() 144 str << "_rp_clear"; in operator <<() 147 return str; in operator <<() [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/val/ |
H A D | val_extensions_test.cpp | 74 const std::string str = in TEST_P() local 77 CompileSuccessfully(str.c_str()); in TEST_P() 84 const std::string str = in TEST_P() local 87 CompileSuccessfully(str.c_str()); in TEST_P() 93 const std::string str = in TEST_F() local 109 CompileSuccessfully(str.c_str()); in TEST_F() 116 const std::string str = in TEST_F() local 120 CompileSuccessfully(str.c_str()); in TEST_F() 125 const std::string str = in TEST_F() local 128 CompileSuccessfully(str in TEST_F() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/ |
H A D | val_extensions_test.cpp | 74 const std::string str = in TEST_P() local 77 CompileSuccessfully(str.c_str()); in TEST_P() 84 const std::string str = in TEST_P() local 87 CompileSuccessfully(str.c_str()); in TEST_P() 93 const std::string str = in TEST_F() local 109 CompileSuccessfully(str.c_str()); in TEST_F() 116 const std::string str = in TEST_F() local 120 CompileSuccessfully(str.c_str()); in TEST_F() 125 const std::string str = in TEST_F() local 128 CompileSuccessfully(str in TEST_F() [all...] |
/third_party/skia/third_party/externals/freetype/tests/scripts/ |
H A D | download-test-fonts.py | 101 def check_existing(path: str, hex_digest: str): 112 def install_file(content: bytes, dest_path: str): 127 def download_file(url: str, expected_digest: Optional[bytes] = None): 152 archive_name: str, 153 filepath: str, 183 install_path: str, 184 hex_digest: Optional[str], 201 item: dict, install_dir: str, force_download: bool 202 ) -> List[Tuple[str, boo [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | numbers.h | 65 ABSL_MUST_USE_RESULT bool SimpleAtoi(absl::string_view str, int_type* out); 73 // allowed formats for `str`, except SimpleAtof() is locale-independent and will 76 ABSL_MUST_USE_RESULT bool SimpleAtof(absl::string_view str, float* out); 84 // allowed formats for `str`, except SimpleAtod is locale-independent and will 87 ABSL_MUST_USE_RESULT bool SimpleAtod(absl::string_view str, double* out); 97 ABSL_MUST_USE_RESULT bool SimpleAtob(absl::string_view str, bool* out); 249 ABSL_MUST_USE_RESULT bool SimpleAtoi(absl::string_view str, int_type* out) { 250 return numbers_internal::safe_strtoi_base(str, out, 10); 253 ABSL_MUST_USE_RESULT inline bool SimpleAtoi(absl::string_view str, 255 return numbers_internal::safe_strto128_base(str, ou [all...] |
/third_party/spirv-tools/test/val/ |
H A D | val_extensions_test.cpp | 72 const std::string str = in TEST_P() local 75 CompileSuccessfully(str.c_str()); in TEST_P() 82 const std::string str = in TEST_P() local 85 CompileSuccessfully(str.c_str()); in TEST_P() 91 const std::string str = in TEST_F() local 107 CompileSuccessfully(str.c_str()); in TEST_F() 114 const std::string str = in TEST_F() local 118 CompileSuccessfully(str.c_str()); in TEST_F() 123 const std::string str = in TEST_F() local 126 CompileSuccessfully(str in TEST_F() [all...] |
/foundation/ai/ai_engine/test/function/async_process/ |
H A D | async_process_function_test.cpp | 77 const char *str = EXTEND_MSG; in PreBuildInfo() local 78 char *extendMsg = const_cast<char*>(str); in PreBuildInfo() 79 int len = strlen(str) + 1; in PreBuildInfo() 127 const char *str = INPUT_DATA; in HWTEST_F() local 128 char *inputData = const_cast<char*>(str); in HWTEST_F() 129 int len = strlen(str) + 1; in HWTEST_F() 173 const char *str = INPUT_DATA; in HWTEST_F() local 174 char *inputData = const_cast<char*>(str); in HWTEST_F() 175 int len = strlen(str) + 1; in HWTEST_F() 219 const char *str in HWTEST_F() local [all...] |
/foundation/multimedia/ringtone_library/test/unittest/ringtone_utils_test/src/ |
H A D | ringtone_file_utils_test.cpp | 47 auto str = RingtoneFileUtils::SplitByChar(PATH, SLASH_CHAR); in HWTEST_F() local 48 ASSERT_EQ(str, "audio"); in HWTEST_F() 54 auto str = RingtoneFileUtils::SplitByChar(PATH, star); in HWTEST_F() local 55 ASSERT_EQ(str, DEFAULT_STR); in HWTEST_F() 62 auto str = RingtoneFileUtils::GetExtensionFromPath(path); in HWTEST_F() local 63 ASSERT_EQ(str, extension); in HWTEST_F() 68 auto str = RingtoneFileUtils::GetExtensionFromPath(PATH); in HWTEST_F() local 69 ASSERT_EQ(str, DEFAULT_STR); in HWTEST_F() 99 auto str = RingtoneFileUtils::StartsWith(PATH, prefix); in HWTEST_F() local 100 ASSERT_EQ(str, fals in HWTEST_F() 106 auto str = RingtoneFileUtils::StartsWith(PATH, prefix); HWTEST_F() local [all...] |
/third_party/ffmpeg/libavdevice/ |
H A D | caca.c | 199 { "window_size", "set window forced size", OFFSET(window_width), AV_OPT_TYPE_IMAGE_SIZE, {.str = NULL }, 0, 0, ENC}, 200 { "window_title", "set window title", OFFSET(window_title), AV_OPT_TYPE_STRING, {.str = NULL }, 0, 0, ENC }, 201 { "driver", "set display driver", OFFSET(driver), AV_OPT_TYPE_STRING, {.str = NULL }, 0, 0, ENC }, 202 { "algorithm", "set dithering algorithm", OFFSET(algorithm), AV_OPT_TYPE_STRING, {.str = "default" }, 0, 0, ENC }, 203 { "antialias", "set antialias method", OFFSET(antialias), AV_OPT_TYPE_STRING, {.str = "default" }, 0, 0, ENC }, 204 { "charset", "set charset used to render output", OFFSET(charset), AV_OPT_TYPE_STRING, {.str = "default" }, 0, 0, ENC }, 205 { "color", "set color used to render output", OFFSET(color), AV_OPT_TYPE_STRING, {.str = "default" }, 0, 0, ENC }, 207 { "list_dither", "list available dither options", OFFSET(list_dither), AV_OPT_TYPE_STRING, {.str=NULL}, 0, 1, ENC, "list_dither" }, 208 { "algorithms", NULL, 0, AV_OPT_TYPE_CONST, {.str = "algorithms"}, 0, 0, ENC, "list_dither" }, 209 { "antialiases", NULL, 0, AV_OPT_TYPE_CONST, {.str [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | cstring.cpp | 123 T_CString_toLowerCase(char* str) in T_CString_toLowerCase() argument 125 char* origPtr = str; in T_CString_toLowerCase() 127 if (str) { in T_CString_toLowerCase() 129 *str = (char)uprv_tolower(*str); in T_CString_toLowerCase() 130 while (*(str++)); in T_CString_toLowerCase() 137 T_CString_toUpperCase(char* str) in T_CString_toUpperCase() argument 139 char* origPtr = str; in T_CString_toUpperCase() 141 if (str) { in T_CString_toUpperCase() 143 *str in T_CString_toUpperCase() [all...] |
/third_party/mbedtls/tests/scripts/ |
H A D | generate_psa_wrappers.py | 29 buffer_name: str, size_name: str) -> None: 83 function: c_wrapper_generator.FunctionInfo) -> str: 100 argument_names: List[str]) -> Iterator[BufferParameter]: 141 def _parameter_should_be_copied(function_name: str, 142 _buffer_name: Optional[str]) -> bool: 156 argument_names: List[str]) -> None: 191 def __init__(self, stream: str) -> None: 211 def _printf_parameters(self, typ: str, var: str) [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | cstring.cpp | 123 T_CString_toLowerCase(char* str) in T_CString_toLowerCase() argument 125 char* origPtr = str; in T_CString_toLowerCase() 127 if (str) { in T_CString_toLowerCase() 129 *str = (char)uprv_tolower(*str); in T_CString_toLowerCase() 130 while (*(str++)); in T_CString_toLowerCase() 137 T_CString_toUpperCase(char* str) in T_CString_toUpperCase() argument 139 char* origPtr = str; in T_CString_toUpperCase() 141 if (str) { in T_CString_toUpperCase() 143 *str in T_CString_toUpperCase() [all...] |
/third_party/optimized-routines/string/aarch64/ |
H A D | memcpy-advsimd.S | 70 str A_q, [dstin] 71 str B_q, [dstend, -16] 79 str A_l, [dstin] 80 str A_h, [dstend, -8] 89 str A_lw, [dstin] 90 str B_lw, [dstend, -4] 145 str D_q, [dstin] 178 str D_q, [dstend, -16] 185 str B_q, [dstend, -16] 186 str A_ [all...] |
/third_party/skia/tools/calmbench/ |
H A D | calmbench.py | 85 ['--config', str, '8888', config_help], 86 ['--skiadir', str, default_skiadir, 'default: %(default)s'], 87 ['--ninjadir', str, 'out/Release', 'default: %(default)s'], 88 ['--writedir', str, '/var/tmp', 'default: %(default)s'], 89 ['--extraarg', str, '', extraarg_help], 90 ['--baseline', str, 'main', baseline_help], 91 ['--basearg', str, '', basearg_help], 99 parser.add_argument('branch', type=str, help=branch_help) 115 parser.add_argument('--githash', type=str, help=BHELP) 116 parser.add_argument('--keys', type=str, defaul [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | cstring.cpp | 123 T_CString_toLowerCase(char* str) in T_CString_toLowerCase() argument 125 char* origPtr = str; in T_CString_toLowerCase() 127 if (str) { in T_CString_toLowerCase() 129 *str = (char)uprv_tolower(*str); in T_CString_toLowerCase() 130 while (*(str++)); in T_CString_toLowerCase() 137 T_CString_toUpperCase(char* str) in T_CString_toUpperCase() argument 139 char* origPtr = str; in T_CString_toUpperCase() 141 if (str) { in T_CString_toUpperCase() 143 *str in T_CString_toUpperCase() [all...] |
/third_party/python/Lib/test/test_importlib/ |
H A D | fixtures.py | 46 os.chdir(str(tmp)) 75 sys.path[:0] = [str(dir)] 79 sys.path.remove(str(dir)) 87 # FilesDef = Dict[str, Union['FilesDef', str]] 88 FilesDef = Dict[str, Union[Dict[str, Union[Dict[str, str], str]], st [all...] |
/third_party/node/deps/openssl/openssl/crypto/sha/asm/ |
H A D | sha512-armv4.pl | 112 str $Tlo,[sp,#$Xoff+0] 114 str $Thi,[sp,#$Xoff+4] 137 str $Elo,[sp,#$Eoff+0] 139 str $Ehi,[sp,#$Eoff+4] 141 str $Alo,[sp,#$Aoff+0] 143 str $Ahi,[sp,#$Aoff+4] 324 str $t0, [sp,#$Goff+0] 325 str $t1, [sp,#$Goff+4] 326 str $t2, [sp,#$Hoff+0] 327 str [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/ |
H A D | glcSubgroupsBasicTests.cpp | 293 " out_color.r = " + electedValue.str() + ".0f;\n" in initFrameBufferPrograms() 298 " out_color.r = " + unelectedValue.str() + ".0f;\n" in initFrameBufferPrograms() 319 " out_color.r = " + electedValue.str() + ".0f;\n" in initFrameBufferPrograms() 324 " out_color.r = " + unelectedValue.str() + ".0f;\n" in initFrameBufferPrograms() 364 " out_color.r = 2.0f * " + electedValue.str() + ".0f - " + unelectedValue.str() + ".0f;\n" in initFrameBufferPrograms() 369 " out_color.r = " + unelectedValue.str() + ".0f;\n" in initFrameBufferPrograms() 394 " out_color[gl_InvocationID].r = " + electedValue.str() + ".0f;\n" in initFrameBufferPrograms() 399 " out_color[gl_InvocationID].r = " + unelectedValue.str() + ".0f;\n" in initFrameBufferPrograms() 502 << bdy.str() in initFrameBufferPrograms() [all...] |
/third_party/openssl/crypto/sha/asm/ |
H A D | sha512-armv4.pl | 112 str $Tlo,[sp,#$Xoff+0] 114 str $Thi,[sp,#$Xoff+4] 137 str $Elo,[sp,#$Eoff+0] 139 str $Ehi,[sp,#$Eoff+4] 141 str $Alo,[sp,#$Aoff+0] 143 str $Ahi,[sp,#$Aoff+4] 324 str $t0, [sp,#$Goff+0] 325 str $t1, [sp,#$Goff+4] 326 str $t2, [sp,#$Hoff+0] 327 str [all...] |
/foundation/ai/ai_engine/test/function/prepare/ |
H A D | prepare_function_test.cpp | 82 const char *str = PREPARE_INPUT_SYNC; in HWTEST_F() local 83 char *inputData = const_cast<char*>(str); in HWTEST_F() 84 int len = strlen(str) + 1; in HWTEST_F() 139 const char *str = PREPARE_INPUT_ASYNC; in HWTEST_F() local 140 char *inputData = const_cast<char*>(str); in HWTEST_F() 141 int len = strlen(str) + 1; in HWTEST_F() 201 const char *str = PREPARE_INPUT_ASYNC; in HWTEST_F() local 202 char *inputData = const_cast<char*>(str); in HWTEST_F() 203 int len = strlen(str) + 1; in HWTEST_F() 262 const char *str in HWTEST_F() local 324 const char *str = PREPARE_INPUT_ASYNC; HWTEST_F() local 386 const char *str = PREPARE_INPUT_ASYNC; HWTEST_F() local 447 const char *str = PREPARE_INPUT_ASYNC; HWTEST_F() local [all...] |
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/jsvmtest/ |
H A D | jsvm_utils.cpp | 35 void Print(const char *str) in Print() argument 37 OH_LOG_INFO(LOG_APP, "%{public}s", str); in Print() 40 void Print(const char *str) in Print() argument 42 printf("%s\n", str); in Print() 89 Print(ss.str().c_str()); in PrintException() 97 Print(ss2.str().c_str()); in PrintException() 136 JSVM_Value str; in Str() local 137 JSVMTEST_CALL(OH_JSVM_CreateStringUtf8(jsvm_env, s, JSVM_AUTO_LENGTH, &str)); in Str() 138 return str; in Str() 215 std::string str(buffe in ToString() 490 StringLength(JSVM_Value str) StringLength() argument 513 JsonParse(JSVM_Value str) JsonParse() argument 522 JSVM_Value str; JsonStringify() local 548 std::string str = jsvm::ToString(x); MyConsoleLog() local [all...] |
/foundation/ai/ai_engine/test/function/destroy/ |
H A D | destroy_function_test.cpp | 82 const char *str = INPUT_CHARACTER; in HWTEST_F() local 83 char *inputData = const_cast<char*>(str); in HWTEST_F() 84 int len = strlen(str) + 1; in HWTEST_F() 130 const char *str = INPUT_CHARACTER; in HWTEST_F() local 131 char *inputData = const_cast<char*>(str); in HWTEST_F() 132 int len = strlen(str) + 1; in HWTEST_F() 197 const char *str = INPUT_CHARACTER; in HWTEST_F() local 198 char *inputData = const_cast<char*>(str); in HWTEST_F() 199 int len = strlen(str) + 1; in HWTEST_F() 265 const char *str in HWTEST_F() local 312 const char *str = INPUT_CHARACTER; HWTEST_F() local [all...] |