Searched refs:str1 (Results 1 - 25 of 45) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/dist/src/util/tests/hash_table/
H A Dreplacement.c39 char *str1 = strdup("test1"); local in function:main
46 assert(str1 != str2);
51 _mesa_hash_table_insert(ht, str1, str1);
54 entry = _mesa_hash_table_search(ht, str1);
60 entry = _mesa_hash_table_search(ht, str1);
64 free(str1);
H A Dremove_key.c36 const char *str1 = "test1"; local in function:main
45 _mesa_hash_table_insert(ht, str1, NULL);
51 entry = _mesa_hash_table_search(ht, str1);
52 assert(strcmp(entry->key, str1) == 0);
54 _mesa_hash_table_remove_key(ht, str1);
56 entry = _mesa_hash_table_search(ht, str1);
H A Dinsert_and_lookup.c39 const char *str1 = "test1"; local in function:main
49 _mesa_hash_table_insert(ht, str1, NULL);
52 entry = _mesa_hash_table_search(ht, str1);
53 assert(strcmp(entry->key, str1) == 0);
H A Ddelete_and_lookup.c49 const char *str1 = "test1"; local in function:main
58 _mesa_hash_table_insert(ht, str1, NULL);
64 entry = _mesa_hash_table_search(ht, str1);
65 assert(strcmp(entry->key, str1) == 0);
69 entry = _mesa_hash_table_search(ht, str1);
H A Dcollision.c39 const char *str1 = "test1"; local in function:main
54 _mesa_hash_table_insert_pre_hashed(ht, bad_hash, str1, NULL);
58 entry1 = _mesa_hash_table_search_pre_hashed(ht, bad_hash, str1);
59 assert(entry1->key == str1);
65 entry1 = _mesa_hash_table_search_pre_hashed(ht, bad_hash, str1);
66 assert(entry1->key == str1);
80 /* Put str1 back, then spam junk into the table to force a
83 _mesa_hash_table_insert_pre_hashed(ht, bad_hash, str1, NULL);
89 entry1 = _mesa_hash_table_search_pre_hashed(ht, bad_hash, str1);
90 assert(entry1->key == str1);
[all...]
H A Ddestroy_callback.c35 static const char *str1 = "test1"; variable in typeref:typename:const char *
43 if (strcmp(entry->key, str1) == 0)
62 _mesa_hash_table_insert(ht, str1, NULL);
/xsrc/external/mit/MesaLib/dist/src/util/tests/hash_table/
H A Dreplacement.c39 char *str1 = strdup("test1"); local in function:main
46 assert(str1 != str2);
51 _mesa_hash_table_insert(ht, str1, str1);
54 entry = _mesa_hash_table_search(ht, str1);
60 entry = _mesa_hash_table_search(ht, str1);
64 free(str1);
H A Dremove_key.c36 const char *str1 = "test1"; local in function:main
45 _mesa_hash_table_insert(ht, str1, NULL);
51 entry = _mesa_hash_table_search(ht, str1);
52 assert(strcmp(entry->key, str1) == 0);
54 _mesa_hash_table_remove_key(ht, str1);
56 entry = _mesa_hash_table_search(ht, str1);
H A Dinsert_and_lookup.c39 const char *str1 = "test1"; local in function:main
49 _mesa_hash_table_insert(ht, str1, NULL);
52 entry = _mesa_hash_table_search(ht, str1);
53 assert(strcmp(entry->key, str1) == 0);
H A Ddelete_and_lookup.c49 const char *str1 = "test1"; local in function:main
58 _mesa_hash_table_insert(ht, str1, NULL);
64 entry = _mesa_hash_table_search(ht, str1);
65 assert(strcmp(entry->key, str1) == 0);
69 entry = _mesa_hash_table_search(ht, str1);
H A Dcollision.c44 const char *str1 = strdup("test1"); local in function:main
59 _mesa_hash_table_insert_pre_hashed(ht, bad_hash, str1, NULL);
63 entry1 = _mesa_hash_table_search_pre_hashed(ht, bad_hash, str1);
64 assert(entry1->key == str1);
70 entry1 = _mesa_hash_table_search_pre_hashed(ht, bad_hash, str1);
71 assert(entry1->key == str1);
85 /* Put str1 back, then spam junk into the table to force a
88 _mesa_hash_table_insert_pre_hashed(ht, bad_hash, str1, NULL);
94 entry1 = _mesa_hash_table_search_pre_hashed(ht, bad_hash, str1);
95 assert(entry1->key == str1);
[all...]
H A Ddestroy_callback.c35 static const char *str1 = "test1"; variable in typeref:typename:const char *
43 if (strcmp(entry->key, str1) == 0)
62 _mesa_hash_table_insert(ht, str1, NULL);
/xsrc/external/mit/libX11/dist/src/xlibi18n/
H A DlcUtil.c44 const char *str1,
49 for ( ; ; str1++, str2++) {
50 ch1 = (unsigned char) *str1;
67 const char *str1,
73 for ( ; ; str1++, str2++, len--) {
76 ch1 = (unsigned char) *str1;
43 _XlcCompareISOLatin1(const char * str1,const char * str2) argument
66 _XlcNCompareISOLatin1(const char * str1,const char * str2,int len) argument
H A DXlcPublic.h305 const char* str1,
312 const char* str1,
/xsrc/external/mit/xorg-server.old/dist/os/
H A Dstrcasecmp.c39 xstrcasecmp(const char *str1, const char *str2) argument
41 const u_char *us1 = (const u_char *)str1, *us2 = (const u_char *)str2;
/xsrc/external/mit/xorg-server/dist/os/
H A Dstrcasecmp.c39 xstrcasecmp(const char *str1, const char *str2) argument
41 const u_char *us1 = (const u_char *) str1, *us2 = (const u_char *) str2;
/xsrc/external/mit/proxymngr/dist/
H A Dconfig.h40 const char *str1,
H A Dconfig.c76 ncasecmp (const char *str1, const char *str2, int n) argument
82 for (i=0, s = buf1; i < n && (c = *str1++); i++) {
/xsrc/external/mit/MesaLib.old/dist/src/util/tests/string_buffer/
H A Dstring_buffer_test.cpp43 const char *str1; member in class:string_buffer
56 str1 = "test1";
80 /* Start by appending str1 */
81 EXPECT_TRUE(_mesa_string_buffer_append(buf, str1));
83 INITIAL_BUF_SIZE - strlen(str1) - 1);
84 EXPECT_TRUE(strcmp(buf->buf, str1) == 0);
/xsrc/external/mit/MesaLib/dist/src/util/tests/string_buffer/
H A Dstring_buffer_test.cpp43 const char *str1; member in class:string_buffer
56 str1 = "test1";
80 /* Start by appending str1 */
81 EXPECT_TRUE(_mesa_string_buffer_append(buf, str1));
83 INITIAL_BUF_SIZE - strlen(str1) - 1);
84 EXPECT_TRUE(strcmp(buf->buf, str1) == 0);
/xsrc/external/mit/xkbcomp/dist/
H A Dvmod.c104 char *str1; local in function:HandleVModDef
108 str1 = XkbAtomText(NULL, stmt->name, XkbMessage);
109 ACTION("Declaration of %s ignored\n", str1);
115 str1 = XkbAtomText(NULL, stmt->name, XkbMessage);
116 WARN("Virtual modifier %s multiply defined\n", str1);
117 str1 = XkbModMaskText(srv->vmods[i], XkbCFile);
120 str2 = str1;
121 str1 = XkbModMaskText(mod.uval, XkbCFile);
123 ACTION("Using %s, ignoring %s\n", str1, str2);
253 char *str1, *str local in function:ResolveVirtualModifier
[all...]
/xsrc/external/mit/xf86-video-geode/dist/src/panel/
H A Dplatform.c84 Strncmp(char *str1, char *str2, int len) argument
88 if ((str1 == 0x0) || (str2 == 0x0) || (len == 0))
91 if (*(str1 + i) > *(str2 + i)) {
94 else if (*(str1 + i) < *(str2 + i)) {
/xsrc/external/mit/xmh/dist/
H A Dutil.c245 char *result, str1[12], str2[12], str3[12], str4[12]; local in function:CreateGeometry
247 snprintf(str1, sizeof(str1), "=%d", width);
249 (void) strcpy(str1, "=");
265 snprintf(result, 22, "%s%s%s%s", str1, str2, str3, str4);
401 int strncmpIgnoringCase(const char *str1, const char *str2, int length) argument
404 for (i=0 ; i<length ; i++, str1++, str2++) {
405 diff = ((*str1 >= 'A' && *str1 <= 'Z') ? (*str1
[all...]
/xsrc/external/mit/xkbutils/dist/
H A Dutils.c131 uStrCaseCmp(const char *str1, const char *str2) argument
138 for (n = 0, s = buf1; (c = *str1++); n++) {
/xsrc/external/mit/xf86-video-nsc/dist/src/panel/
H A Dplatform.c236 Strncmp(char *str1, char *str2, int len) argument
240 if ((str1 == 0x0) || (str2 == 0x0) || (len == 0))
243 if (*(str1 + i) > *(str2 + i)) {
245 } else if (*(str1 + i) < *(str2 + i)) {

Completed in 17 milliseconds

12