Home
last modified time | relevance | path

Searched refs:hbp (Results 1 – 4 of 4) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dhttpread.c158 char *hbp /* pointer to current line in header buffer */ in httpread_hdr_option_analyze() argument
161 if (word_eq(hbp, "CONTENT-LENGTH:")) { in httpread_hdr_option_analyze()
162 while (isgraph(*hbp)) in httpread_hdr_option_analyze()
163 hbp++; in httpread_hdr_option_analyze()
164 while (*hbp == ' ' || *hbp == '\t') in httpread_hdr_option_analyze()
165 hbp++; in httpread_hdr_option_analyze()
166 if (!isdigit(*hbp)) in httpread_hdr_option_analyze()
168 h->content_length = atol(hbp); in httpread_hdr_option_analyze()
178 if (word_eq(hbp, "TRANSFER_ENCODING:") || in httpread_hdr_option_analyze()
179 word_eq(hbp, "TRANSFER-ENCODING:")) { in httpread_hdr_option_analyze()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dhttpread.c158 char *hbp /* pointer to current line in header buffer */ in httpread_hdr_option_analyze() argument
161 if (word_eq(hbp, "CONTENT-LENGTH:")) { in httpread_hdr_option_analyze()
162 while (isgraph(*hbp)) in httpread_hdr_option_analyze()
163 hbp++; in httpread_hdr_option_analyze()
164 while (*hbp == ' ' || *hbp == '\t') in httpread_hdr_option_analyze()
165 hbp++; in httpread_hdr_option_analyze()
166 if (!isdigit(*hbp)) in httpread_hdr_option_analyze()
168 h->content_length = atol(hbp); in httpread_hdr_option_analyze()
178 if (word_eq(hbp, "TRANSFER_ENCODING:") || in httpread_hdr_option_analyze()
179 word_eq(hbp, "TRANSFER-ENCODING:")) { in httpread_hdr_option_analyze()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Ducdtest.cpp551 UBool hbp(const UChar *s, int32_t length, UProperty which) { in hbp() function
555 UBool hbp(const UChar *s, UProperty which) { in hbp() function
563 assertFalse("null is not Ideographic", hbp(nullptr, 1, UCHAR_IDEOGRAPHIC)); in TestEmojiPropertiesOfStrings()
564 assertFalse("null/0 is not Ideographic", hbp(nullptr, -1, UCHAR_IDEOGRAPHIC)); in TestEmojiPropertiesOfStrings()
565 assertFalse("empty string is not Ideographic", hbp(u"", 0, UCHAR_IDEOGRAPHIC)); in TestEmojiPropertiesOfStrings()
566 assertFalse("empty string/0 is not Ideographic", hbp(u"", -1, UCHAR_IDEOGRAPHIC)); in TestEmojiPropertiesOfStrings()
567 assertFalse("L is not Ideographic", hbp(u"L", 1, UCHAR_IDEOGRAPHIC)); in TestEmojiPropertiesOfStrings()
568 assertFalse("L/0 is not Ideographic", hbp(u"L", -1, UCHAR_IDEOGRAPHIC)); in TestEmojiPropertiesOfStrings()
569 assertTrue("U+4E02 is Ideographic", hbp(u"丂", 1, UCHAR_IDEOGRAPHIC)); in TestEmojiPropertiesOfStrings()
570 assertTrue("U+4E02/0 is Ideographic", hbp(u"丂", -1, UCHAR_IDEOGRAPHIC)); in TestEmojiPropertiesOfStrings()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterTest.java2569 private static boolean hbp(CharSequence s, int property) { in hbp() method in UCharacterTest
2576 assertFalse("empty string is not Ideographic", hbp("", UProperty.IDEOGRAPHIC)); in TestEmojiPropertiesOfStrings()
2577 assertFalse("L is not Ideographic", hbp("L", UProperty.IDEOGRAPHIC)); in TestEmojiPropertiesOfStrings()
2578 assertTrue("U+4E02 is Ideographic", hbp("丂", UProperty.IDEOGRAPHIC)); in TestEmojiPropertiesOfStrings()
2579 assertFalse("2*U+4E02 is not Ideographic", hbp("丂丂", UProperty.IDEOGRAPHIC)); in TestEmojiPropertiesOfStrings()
2580 assertFalse("bicycle is not Ideographic", hbp("��", UProperty.IDEOGRAPHIC)); in TestEmojiPropertiesOfStrings()
2581 assertTrue("U+23456 is Ideographic", hbp(UTF16.valueOf(0x23456), UProperty.IDEOGRAPHIC)); in TestEmojiPropertiesOfStrings()
2584 assertFalse("empty string is not Basic_Emoji", hbp("", UProperty.BASIC_EMOJI)); in TestEmojiPropertiesOfStrings()
2585 assertFalse("L is not Basic_Emoji", hbp("L", UProperty.BASIC_EMOJI)); in TestEmojiPropertiesOfStrings()
2586 assertFalse("U+4E02 is not Basic_Emoji", hbp("丂", UProperty.BASIC_EMOJI)); in TestEmojiPropertiesOfStrings()
[all …]