Home
last modified time | relevance | path

Searched refs:str1 (Results 1 – 14 of 14) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/tests/hash_table/
Dreplacement.c39 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()
Dcollision.c44 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()
Dremove_key.c36 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()
Ddelete_and_lookup.c49 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()
Dinsert_and_lookup.c39 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()
Ddestroy_callback.c35 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/
Dstring_buffer_test.cpp43 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/
Dfile_io.cpp40 #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/
DWin32UnicodeString_unittest.cpp44 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/
Djson_c_generator.py278 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…
Djson_generator.py594 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…
Djson_parser.py602 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/
DNxp_Features.h299 #define STRCPY_FW(str1) \ argument
303 nfcFL._FW_LIB_PATH.append(str1); \
/hardware/interfaces/confirmationui/support/test/
DConfirmationUITranslations-test.c25 #define ASSERT_STR(str1, str2) \ argument
27 if (strcmp(str1, str2) != 0) { \
29 __FILE__, __LINE__, str1, str2); \