/hardware/google/gfxstream/guest/mesa/src/util/tests/hash_table/ |
D | replacement.c | 39 char *str1 = strdup("test1"); in main() local 46 assert(str1 != str2); in main() 51 _mesa_hash_table_insert(ht, str1, str1); in main() 54 entry = _mesa_hash_table_search(ht, str1); in main() 60 entry = _mesa_hash_table_search(ht, str1); in main() 64 free(str1); in main()
|
D | collision.c | 44 const char *str1 = strdup("test1"); in main() local 59 _mesa_hash_table_insert_pre_hashed(ht, bad_hash, str1, NULL); in main() 63 entry1 = _mesa_hash_table_search_pre_hashed(ht, bad_hash, str1); in main() 64 assert(entry1->key == str1); in main() 70 entry1 = _mesa_hash_table_search_pre_hashed(ht, bad_hash, str1); in main() 71 assert(entry1->key == str1); in main() 88 _mesa_hash_table_insert_pre_hashed(ht, bad_hash, str1, NULL); in main() 94 entry1 = _mesa_hash_table_search_pre_hashed(ht, bad_hash, str1); in main() 95 assert(entry1->key == str1); in main()
|
D | remove_key.c | 36 const char *str1 = "test1"; in main() local 45 _mesa_hash_table_insert(ht, str1, NULL); in main() 51 entry = _mesa_hash_table_search(ht, str1); in main() 52 assert(strcmp(entry->key, str1) == 0); in main() 54 _mesa_hash_table_remove_key(ht, str1); in main() 56 entry = _mesa_hash_table_search(ht, str1); in main()
|
D | delete_and_lookup.c | 49 const char *str1 = "test1"; in main() local 58 _mesa_hash_table_insert(ht, str1, NULL); in main() 64 entry = _mesa_hash_table_search(ht, str1); in main() 65 assert(strcmp(entry->key, str1) == 0); in main() 69 entry = _mesa_hash_table_search(ht, str1); in main()
|
D | insert_and_lookup.c | 39 const char *str1 = "test1"; in main() local 49 _mesa_hash_table_insert(ht, str1, NULL); in main() 52 entry = _mesa_hash_table_search(ht, str1); in main() 53 assert(strcmp(entry->key, str1) == 0); in main()
|
D | destroy_callback.c | 35 static const char *str1 = "test1"; variable 43 if (strcmp(entry->key, str1) == 0) in delete_callback() 62 _mesa_hash_table_insert(ht, str1, NULL); in main()
|
/hardware/google/gfxstream/guest/mesa/src/util/tests/ |
D | string_buffer_test.cpp | 43 const char *str1; member in string_buffer 56 str1 = "test1"; in SetUp() 81 EXPECT_TRUE(_mesa_string_buffer_append(buf, str1)); in TEST_F() 83 INITIAL_BUF_SIZE - strlen(str1) - 1); in TEST_F() 84 EXPECT_TRUE(strcmp(buf->buf, str1) == 0); in TEST_F()
|
/hardware/google/aemu/base/testing/ |
D | file_io.cpp | 40 #define WIDEN_CALL_1(func, str1, ...) \ argument 41 _w ## func(Win32UnicodeString(str1).c_str() , ##__VA_ARGS__) 42 #define WIDEN_CALL_2(func, str1, str2, ...) \ argument 43 _w ## func(Win32UnicodeString(str1).c_str(), \ 46 #define WIDEN_CALL_1(func, str1, ...) func(str1 , ##__VA_ARGS__) argument 47 #define WIDEN_CALL_2(func, str1, str2, ...) func(str1, str2 , ##__VA_ARGS__) argument
|
/hardware/google/aemu/base/ |
D | Win32UnicodeString_unittest.cpp | 44 Win32UnicodeString str1(kData[n].utf8); in TEST() local 45 EXPECT_EQ(wcslen(kData[n].utf16), str1.size()); in TEST() 46 EXPECT_STREQ(kData[n].utf16, str1.c_str()); in TEST() 86 std::string str1 = Win32UnicodeString::convertToUtf8(kData[n].utf16); in TEST() local 87 EXPECT_EQ(strlen(kData[n].utf8), str1.size()); in TEST() 88 EXPECT_STREQ(kData[n].utf8, str1.c_str()); in TEST()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/ |
D | json_c_generator.py | 278 def genBasetypeCode(self, str1, str2, name, baseType): argument 280 … code += "void print_" + name + "(" + str1 + name + str2 + " const char* str, int commaNeeded) {\n" 289 def genHandleCode(self, str1, str2, name): argument 291 … code += "void print_%s(%s%s%s const char* str, int commaNeeded) {\n" %(name, str1, name, str2) 298 def genBitmaskCode(self, str1, str2, name, mapName): argument 301 … code += "void print_%s(%s%s%s const char* str, int commaNeeded) {\n" %(name, str1, name, str2) 335 … code += "void print_%s(%s%s%s const char* str, int commaNeeded) {\n" %(name, str1, name, str2) 402 …def generateStructMembercode(self, param, str1, str2, str3, str4, memberName, typeName, isCommaNee… argument 516 def genStructCode(self, param, str1, str2, str3, str4, structName, isCommaNeeded): argument 543 …code += self.generateStructMembercode(param, str1, str2, str3, str4, memberName, typeName, isComma…
|
D | json_generator.py | 594 def genBasetypeCode(self, str1, str2, name): argument 596 …code += "static void print_" + name + "(" + str1 + name + str2 + " const std::string& str, bool co… 605 def genHandleCode(self, str1, str2, name): argument 607 … void print_%s(%s%s%s const std::string& str, bool commaNeeded=true) {\n" %(name, str1, name, str2) 616 def genBitmaskCode(self, str1, str2, name, mapName): argument 619 … void print_%s(%s%s%s const std::string& str, bool commaNeeded=true) {\n" %(name, str1, name, str2) 644 … void print_%s(%s%s%s const std::string& str, bool commaNeeded=true) {\n" %(name, str1, name, str2) 717 …def generateStructMembercode(self, param, str1, str2, str3, str4, memberName, typeName, isCommaNee… argument 855 def genStructCode(self, param, str1, str2, str3, str4, structName, isCommaNeeded): argument 882 …code += self.generateStructMembercode(param, str1, str2, str3, str4, memberName, typeName, isComma…
|
D | json_parser.py | 602 def genBasetypeCode(self, str1, str2, name): argument 623 def genHandleCode(self, str1, str2, name): argument 637 def genBitmaskCode(self, str1, str2, name, mapName): argument 758 …def generateStructMembercode(self, param, str1, str2, str3, str4, memberName, typeName, isCommaNee… argument 835 def genStructCode(self, param, str1, str2, str3, str4, structName, isCommaNeeded): argument 862 …code += self.generateStructMembercode(param, str1, str2, str3, str4, memberName, typeName, isComma…
|
/hardware/nxp/nfc/snxxx/halimpl/common/ |
D | Nxp_Features.h | 299 #define STRCPY_FW(str1) \ argument 303 nfcFL._FW_LIB_PATH.append(str1); \
|
/hardware/interfaces/confirmationui/support/test/ |
D | ConfirmationUITranslations-test.c | 25 #define ASSERT_STR(str1, str2) \ argument 27 if (strcmp(str1, str2) != 0) { \ 29 __FILE__, __LINE__, str1, str2); \
|