Home
last modified time | relevance | path

Searched refs:strncasecmp (Results 1 - 25 of 105) sorted by relevance

12345

/third_party/cups-filters/filter/
H A Dpdftops.c154 if (strncasecmp(p,"true",4) == 0) { in parsePDFTOPDFComment()
198 !strncasecmp(option_start - 2, "no", 2)) in remove_options()
494 (!strncasecmp(make_model, "Brother", 7) ||
495 !strncasecmp(make_model, "Dell", 4) ||
497 (!strncasecmp(make_model, "Apple", 5) &&
513 ((!strncasecmp(make_model, "HP", 2) ||
514 !strncasecmp(make_model, "Hewlett-Packard", 15) ||
515 !strncasecmp(make_model, "Hewlett Packard", 15)) &&
728 !strncasecmp(make_model, "Brother", 7) ||
729 ((!strncasecmp(make_mode
[all...]
H A Dcommandtoescpx.c138 if (strncasecmp(lineptr, "Clean", 5) == 0) in main()
146 else if (strncasecmp(lineptr, "PrintAlignmentPage", 18) == 0) in main()
161 else if (strncasecmp(lineptr, "PrintSelfTestPage", 17) == 0) in main()
171 else if (strncasecmp(lineptr, "ReportLevels", 12) == 0) in main()
179 else if (strncasecmp(lineptr, "SetAlignment", 12) == 0) in main()
H A Dtexttotext.c286 if (!strncasecmp(val2, "Custom.", 7)) in main()
295 if (!strncasecmp(val2, "Custom.", 7)) in main()
337 if (!strncasecmp(val, "Custom.", 7)) in main()
350 if (!strncasecmp(val, "Custom.", 7)) in main()
363 if (!strncasecmp(val, "Custom.", 7)) in main()
376 if (!strncasecmp(val, "Custom.", 7)) in main()
398 if (!strncasecmp(val, "Custom.", 7)) in main()
431 if (!strncasecmp(val, "Custom.", 7)) in main()
H A Dstrcasestr.c58 } while (strncasecmp(s, find, len) != 0);
/third_party/alsa-lib/src/control/
H A Dctlparse.c169 if (!strncasecmp(str, "numid=", 6)) { in __snd_ctl_ascii_elem_id_parse()
179 } else if (!strncasecmp(str, "iface=", 6)) { in __snd_ctl_ascii_elem_id_parse()
181 if (!strncasecmp(str, "card", 4)) { in __snd_ctl_ascii_elem_id_parse()
184 } else if (!strncasecmp(str, "mixer", 5)) { in __snd_ctl_ascii_elem_id_parse()
187 } else if (!strncasecmp(str, "pcm", 3)) { in __snd_ctl_ascii_elem_id_parse()
190 } else if (!strncasecmp(str, "rawmidi", 7)) { in __snd_ctl_ascii_elem_id_parse()
193 } else if (!strncasecmp(str, "timer", 5)) { in __snd_ctl_ascii_elem_id_parse()
196 } else if (!strncasecmp(str, "sequencer", 9)) { in __snd_ctl_ascii_elem_id_parse()
202 } else if (!strncasecmp(str, "name=", 5)) { in __snd_ctl_ascii_elem_id_parse()
229 } else if (!strncasecmp(st in __snd_ctl_ascii_elem_id_parse()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/string/
H A Dstrncasecmp.c24 * @tc.desc : Verify strncasecmp process success when fist string equal second stirng
29 int32_t ret = strncasecmp("aBcDeF", "AbCdEf", compareLength); in strncasecmp_0100()
35 * @tc.desc : Verify strncasecmp process success when fist string equal second stirng and compare length is 0
40 int32_t ret = strncasecmp("aBcDeF", "AbCdEf", 0); in strncasecmp_0200()
51 int32_t ret = strncasecmp("", "AbCdEf", compareLength); in strncasecmp_0300()
57 * @tc.desc : Verify strncasecmp process success when fist string more than second stirng
62 int32_t ret = strncasecmp("AbCdEf", "", compareLength); in strncasecmp_0400()
68 * @tc.desc : Verify strncasecmp process success when fist string is null second stirng is null
73 int32_t ret = strncasecmp("", "", 3); in strncasecmp_0500()
/third_party/alsa-utils/alsactl/
H A Dinit_parse.c220 if (strncasecmp(attr, "CARD", 4) == 0) { in cardinfo_get()
225 if (strncasecmp(attr, "ID", 2) == 0) in cardinfo_get()
227 if (strncasecmp(attr, "DRIVER", 6) == 0) in cardinfo_get()
229 if (strncasecmp(attr, "NAME", 4) == 0) in cardinfo_get()
231 if (strncasecmp(attr, "LONGNAME", 8) == 0) in cardinfo_get()
233 if (strncasecmp(attr, "MIXERNAME", 9) == 0) in cardinfo_get()
235 if (strncasecmp(attr, "COMPONENTS", 10) == 0) in cardinfo_get()
358 val = strncasecmp(value, "true", 4) == 0 || in set_ctl_value()
359 strncasecmp(value, "yes", 3) == 0 || in set_ctl_value()
360 strncasecmp(valu in set_ctl_value()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/string/string_gtest/
H A Dstring_strncasecmp_test.cpp23 EXPECT_EQ(0, strncasecmp("TEST", "test", STR_SIZE_ONE)); in HWTEST_F()
24 EXPECT_EQ(0, strncasecmp("TESTSTR", "TESTOTHER", STR_SIZE_TWO)); in HWTEST_F()
25 EXPECT_EQ(0, strncasecmp("TEST", "test", STR_SIZE_THREE)); in HWTEST_F()
26 EXPECT_EQ(-1, strncasecmp("TEST_1", "test_2", STR_SIZE_FOUR)); in HWTEST_F()
/third_party/cups-filters/cupsfilters/
H A Draster.c293 !strncasecmp(val, "two-sided", 9) || in cupsRasterParseIPPOptions()
294 !strncasecmp(val, "TwoSided", 8) || in cupsRasterParseIPPOptions()
295 !strncasecmp(val, "Duplex", 6)) in cupsRasterParseIPPOptions()
298 if (!strncasecmp(val, "DuplexTumble", 12)) in cupsRasterParseIPPOptions()
300 if (!strncasecmp(val, "DuplexNoTumble", 12)) in cupsRasterParseIPPOptions()
395 if (!strncasecmp(val, "Auto", 4) || in cupsRasterParseIPPOptions()
396 !strncasecmp(val, "Default", 7)) in cupsRasterParseIPPOptions()
809 if (!strncasecmp(val, "AdobeRgb", 8)) in cupsRasterParseIPPOptions()
816 else if (!strncasecmp(val, "adobe-rgb", 9)) in cupsRasterParseIPPOptions()
835 else if (!strncasecmp(va in cupsRasterParseIPPOptions()
[all...]
/third_party/alsa-lib/src/ucm/
H A Dmain.c272 if (strncasecmp(p, prefix, len)) in parse_type()
277 if (strncasecmp(p, "bool", sizeof("bool") - 1) == 0) in parse_type()
279 else if (strncasecmp(p, "integer64", sizeof("integer64") - 1) == 0) in parse_type()
281 else if (strncasecmp(p, "int64", sizeof("int64") - 1) == 0) in parse_type()
283 else if (strncasecmp(p, "int", sizeof("int") - 1) == 0) in parse_type()
285 else if (strncasecmp(p, "enum", sizeof("enum") - 1) == 0) in parse_type()
287 else if (strncasecmp(p, "bytes", sizeof("bytes") - 1) == 0) in parse_type()
302 if (strncasecmp(p, prefix, len)) in parse_uint()
328 if (strncasecmp(p, prefix, len)) in parse_labels()
/third_party/alsa-utils/alsaloop/
H A Dcontrol.c57 if (!strncasecmp(str, "numid=", 6)) { in control_parse_id()
67 } else if (!strncasecmp(str, "iface=", 6)) { in control_parse_id()
69 if (!strncasecmp(str, "card", 4)) { in control_parse_id()
72 } else if (!strncasecmp(str, "mixer", 5)) { in control_parse_id()
75 } else if (!strncasecmp(str, "pcm", 3)) { in control_parse_id()
78 } else if (!strncasecmp(str, "rawmidi", 7)) { in control_parse_id()
81 } else if (!strncasecmp(str, "timer", 5)) { in control_parse_id()
84 } else if (!strncasecmp(str, "sequencer", 9)) { in control_parse_id()
90 } else if (!strncasecmp(str, "name=", 5)) { in control_parse_id()
117 } else if (!strncasecmp(st in control_parse_id()
[all...]
/third_party/cups-filters/utils/
H A Ddriverless.c262 else if (!strncasecmp(model, "designjet ", 10)) in listPrintersInArray()
265 else if (!strncasecmp(model, "stylus ", 7)) in listPrintersInArray()
318 (strncasecmp(model, make, strlen(make)) || in listPrintersInArray()
514 if ((!strncasecmp(ptr, "ipps", 4) && ptr[4] == '\t')) { in list_printers()
520 } else if ((!strncasecmp(ptr, "ipp", 3) && ptr[3] == '\t')) { in list_printers()
615 if (!strncasecmp(uri, "driverless:", 11)) { in generate_ppd()
619 else if (!strncasecmp(uri, "driverless-fax:", 15)) { in generate_ppd()
723 strncasecmp(val, "FAX", 3) == 0) { in main()
731 !strncasecmp(argv[i], "-v", 2)) { in main()
754 } else if (!strncasecmp(arg in main()
[all...]
/third_party/selinux/libselinux/src/
H A Dselinux_config.c108 if (!strncasecmp in selinux_getenforcemode()
114 if (!strncasecmp in selinux_getenforcemode()
121 if (!strncasecmp in selinux_getenforcemode()
181 if (!strncasecmp(buf_p, SELINUXTYPETAG, in init_selinux_config()
218 else if (strncasecmp(value, "true", sizeof("true") - 1)) in init_selinux_config()
220 else if (strncasecmp in init_selinux_config()
/third_party/musl/src/string/
H A Dstrncasecmp.c11 weak_alias(__strncasecmp, strncasecmp);
15 return strncasecmp(l, r, n); in __strncasecmp_l()
H A Dstrcasestr.c7 for (; *h; h++) if (!strncasecmp(h, n, l)) return (char *)h; in strcasestr()
/third_party/musl/porting/linux/user/src/string/
H A Dstrncasecmp.c11 weak_alias(__strncasecmp, strncasecmp);
15 return strncasecmp(l, r, n); in __strncasecmp_l()
/third_party/musl/porting/liteos_a/kernel/src/string/
H A Dstrncasecmp.c4 int strncasecmp(const char *_l, const char *_r, size_t n) in strncasecmp() function
14 return strncasecmp(l, r, n); in __strncasecmp_l()
H A Dstrcasestr.c7 for (; *h; h++) if (!strncasecmp(h, n, l)) return (char *)h; in strcasestr()
/third_party/musl/porting/liteos_a/kernel/src/time/
H A Dstrptime.c95 if (!strncasecmp(s, ex, len)) { in strptime()
102 if (!strncasecmp(s, ex, len)) { in strptime()
188 if (strncasecmp(s, ex, len)) continue; in strptime()
/third_party/musl/porting/liteos_m/kernel/src/time/
H A Dstrptime.c95 if (!strncasecmp(s, ex, len)) { in strptime()
102 if (!strncasecmp(s, ex, len)) { in strptime()
188 if (strncasecmp(s, ex, len)) continue; in strptime()
/third_party/musl/porting/uniproton/kernel/src/time/
H A Dstrptime.c95 if (!strncasecmp(s, ex, len)) { in strptime()
102 if (!strncasecmp(s, ex, len)) { in strptime()
188 if (strncasecmp(s, ex, len)) continue; in strptime()
/third_party/musl/porting/linux/user/src/time/
H A Dstrptime.c250 if (!strncasecmp(s, ex, len)) { in strptime()
257 if (!strncasecmp(s, ex, len)) { in strptime()
429 if (strncasecmp(s, ex, len)) continue; in strptime()
/third_party/musl/src/time/
H A Dstrptime.c199 if (!strncasecmp(s, ex, len)) { in strptime()
206 if (!strncasecmp(s, ex, len)) { in strptime()
352 if (strncasecmp(s, ex, len)) continue; in strptime()
/third_party/curl/include/curl/
H A Dstdcheaders.h33 int strncasecmp(const char *, const char *, size_t);
/third_party/musl/libc-test/src/api/
H A Dstrings.c12 {int(*p)(const char*,const char*,size_t) = strncasecmp;} in f()

Completed in 18 milliseconds

12345