/external/wpa_supplicant_8/src/rsn_supp/ |
D | wpa_ie.c | 45 u8 *pos; in wpa_gen_wpa_ie_wpa() local 57 pos = (u8 *) (hdr + 1); in wpa_gen_wpa_ie_wpa() 65 RSN_SELECTOR_PUT(pos, suite); in wpa_gen_wpa_ie_wpa() 66 pos += WPA_SELECTOR_LEN; in wpa_gen_wpa_ie_wpa() 68 *pos++ = 1; in wpa_gen_wpa_ie_wpa() 69 *pos++ = 0; in wpa_gen_wpa_ie_wpa() 78 RSN_SELECTOR_PUT(pos, suite); in wpa_gen_wpa_ie_wpa() 79 pos += WPA_SELECTOR_LEN; in wpa_gen_wpa_ie_wpa() 81 *pos++ = 1; in wpa_gen_wpa_ie_wpa() 82 *pos++ = 0; in wpa_gen_wpa_ie_wpa() [all …]
|
/external/adhd/cras/src/tests/ |
D | utf8_unittest.cc | 18 size_t pos; in TEST() local 22 "\xbc\xce\xb5", &pos)); in TEST() 23 EXPECT_EQ(35, pos); in TEST() 25 EXPECT_EQ(1, valid_utf8_string("Playback", &pos)); in TEST() 26 EXPECT_EQ(8, pos); in TEST() 28 EXPECT_EQ(1, valid_utf8_string("The Euro sign: \xe2\x82\xac", &pos)); in TEST() 29 EXPECT_EQ(18, pos); in TEST() 32 EXPECT_EQ(1, valid_utf8_string("\x01", &pos)); in TEST() 33 EXPECT_EQ(1, pos); in TEST() 34 EXPECT_EQ(1, valid_utf8_string("\xc2\x80", &pos)); in TEST() [all …]
|
/external/icu/icu4c/source/common/ |
D | bytestrie.cpp | 32 BytesTrie::readValue(const uint8_t *pos, int32_t leadByte) { in readValue() argument 37 value=((leadByte-kMinTwoByteValueLead)<<8)|*pos; in readValue() 39 value=((leadByte-kMinThreeByteValueLead)<<16)|(pos[0]<<8)|pos[1]; in readValue() 41 value=(pos[0]<<16)|(pos[1]<<8)|pos[2]; in readValue() 43 value=(pos[0]<<24)|(pos[1]<<16)|(pos[2]<<8)|pos[3]; in readValue() 49 BytesTrie::jumpByDelta(const uint8_t *pos) { in jumpByDelta() argument 50 int32_t delta=*pos++; in jumpByDelta() 54 delta=((delta-kMinTwoByteDeltaLead)<<8)|*pos++; in jumpByDelta() 56 delta=((delta-kMinThreeByteDeltaLead)<<16)|(pos[0]<<8)|pos[1]; in jumpByDelta() 57 pos+=2; in jumpByDelta() [all …]
|
D | ucharstrie.cpp | 33 const UChar *pos=pos_; in current() local 34 if(pos==NULL) { in current() 38 return (remainingMatchLength_<0 && (node=*pos)>=kMinValueLead) ? in current() 62 UCharsTrie::branchNext(const UChar *pos, int32_t length, int32_t uchar) { in branchNext() argument 65 length=*pos++; in branchNext() 71 if(uchar<*pos++) { in branchNext() 73 pos=jumpByDelta(pos); in branchNext() 76 pos=skipDelta(pos); in branchNext() 83 if(uchar==*pos++) { in branchNext() 85 int32_t node=*pos; in branchNext() [all …]
|
/external/google-benchmark/test/ |
D | string_util_gtest.cc | 11 size_t pos = 0; in TEST() local 12 EXPECT_EQ(0ul, benchmark::stoul("0", &pos)); in TEST() 13 EXPECT_EQ(1ul, pos); in TEST() 16 size_t pos = 0; in TEST() local 17 EXPECT_EQ(7ul, benchmark::stoul("7", &pos)); in TEST() 18 EXPECT_EQ(1ul, pos); in TEST() 21 size_t pos = 0; in TEST() local 22 EXPECT_EQ(135ul, benchmark::stoul("135", &pos)); in TEST() 23 EXPECT_EQ(3ul, pos); in TEST() 27 size_t pos = 0; in TEST() local [all …]
|
/external/libcxx/utils/google-benchmark/test/ |
D | string_util_gtest.cc | 11 size_t pos = 0; in TEST() local 12 EXPECT_EQ(0ul, benchmark::stoul("0", &pos)); in TEST() 13 EXPECT_EQ(1ul, pos); in TEST() 16 size_t pos = 0; in TEST() local 17 EXPECT_EQ(7ul, benchmark::stoul("7", &pos)); in TEST() 18 EXPECT_EQ(1ul, pos); in TEST() 21 size_t pos = 0; in TEST() local 22 EXPECT_EQ(135ul, benchmark::stoul("135", &pos)); in TEST() 23 EXPECT_EQ(3ul, pos); in TEST() 27 size_t pos = 0; in TEST() local [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | BytesTrie.java | 86 private int pos; field in BytesTrie.State 100 state.pos=pos_; in saveState() 117 pos_=state.pos; in resetToState() 196 int pos=pos_; in current() local 197 if(pos<0) { in current() 201 return (remainingMatchLength_<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? in current() 230 int pos=pos_; in next() local 231 if(pos<0) { in next() 240 if(inByte==(bytes_[pos++]&0xff)) { in next() 242 pos_=pos; in next() [all …]
|
D | CharsTrie.java | 89 private int pos; field in CharsTrie.State 103 state.pos=pos_; in saveState() 120 pos_=state.pos; in resetToState() 135 int pos=pos_; in current() local 136 if(pos<0) { in current() 140 return (remainingMatchLength_<0 && (node=chars_.charAt(pos))>=kMinValueLead) ? in current() 180 int pos=pos_; in next() local 181 if(pos<0) { in next() 187 if(inUnit==chars_.charAt(pos++)) { in next() 189 pos_=pos; in next() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | BytesTrie.java | 83 private int pos; field in BytesTrie.State 96 state.pos=pos_; in saveState() 112 pos_=state.pos; in resetToState() 183 int pos=pos_; in current() local 184 if(pos<0) { in current() 188 return (remainingMatchLength_<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? in current() 215 int pos=pos_; in next() local 216 if(pos<0) { in next() 225 if(inByte==(bytes_[pos++]&0xff)) { in next() 227 pos_=pos; in next() [all …]
|
D | CharsTrie.java | 86 private int pos; field in CharsTrie.State 99 state.pos=pos_; in saveState() 115 pos_=state.pos; in resetToState() 129 int pos=pos_; in current() local 130 if(pos<0) { in current() 134 return (remainingMatchLength_<0 && (node=chars_.charAt(pos))>=kMinValueLead) ? in current() 171 int pos=pos_; in next() local 172 if(pos<0) { in next() 178 if(inUnit==chars_.charAt(pos++)) { in next() 180 pos_=pos; in next() [all …]
|
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/ |
D | DistinguishedNameParser.java | 32 private int pos; field in DistinguishedNameParser 54 for (; pos < length && chars[pos] == ' '; pos++) { in nextAT() 56 if (pos == length) { in nextAT() 61 beg = pos; in nextAT() 64 pos++; in nextAT() 65 for (; pos < length && chars[pos] != '=' && chars[pos] != ' '; pos++) { in nextAT() 69 if (pos >= length) { in nextAT() 74 end = pos; in nextAT() 78 if (chars[pos] == ' ') { in nextAT() 79 for (; pos < length && chars[pos] != '=' && chars[pos] == ' '; pos++) { in nextAT() [all …]
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/ |
D | DistinguishedNameParser.java | 30 private int pos; field in DistinguishedNameParser 52 for (; pos < length && chars[pos] == ' '; pos++) { in nextAT() 54 if (pos == length) { in nextAT() 59 beg = pos; in nextAT() 62 pos++; in nextAT() 63 for (; pos < length && chars[pos] != '=' && chars[pos] != ' '; pos++) { in nextAT() 67 if (pos >= length) { in nextAT() 72 end = pos; in nextAT() 76 if (chars[pos] == ' ') { in nextAT() 77 for (; pos < length && chars[pos] != '=' && chars[pos] == ' '; pos++) { in nextAT() [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/ |
D | DistinguishedNameParser.java | 29 private int pos; field in DistinguishedNameParser 51 for (; pos < length && chars[pos] == ' '; pos++) { in nextAT() 53 if (pos == length) { in nextAT() 58 beg = pos; in nextAT() 61 pos++; in nextAT() 62 for (; pos < length && chars[pos] != '=' && chars[pos] != ' '; pos++) { in nextAT() 66 if (pos >= length) { in nextAT() 71 end = pos; in nextAT() 75 if (chars[pos] == ' ') { in nextAT() 76 for (; pos < length && chars[pos] != '=' && chars[pos] == ' '; pos++) { in nextAT() [all …]
|
/external/iptables/libiptc/ |
D | linux_list.h | 338 #define list_for_each(pos, head) \ argument 339 for (pos = (head)->next, prefetch(pos->next); pos != (head); \ 340 pos = pos->next, prefetch(pos->next)) 352 #define __list_for_each(pos, head) \ argument 353 for (pos = (head)->next; pos != (head); pos = pos->next) 360 #define list_for_each_prev(pos, head) \ argument 361 for (pos = (head)->prev, prefetch(pos->prev); pos != (head); \ 362 pos = pos->prev, prefetch(pos->prev)) 370 #define list_for_each_safe(pos, n, head) \ argument 371 for (pos = (head)->next, n = pos->next; pos != (head); \ [all …]
|
/external/libnfnetlink/include/ |
D | linux_list.h | 342 #define list_for_each(pos, head) \ argument 343 for (pos = (head)->next, prefetch(pos->next); pos != (head); \ 344 pos = pos->next, prefetch(pos->next)) 356 #define __list_for_each(pos, head) \ argument 357 for (pos = (head)->next; pos != (head); pos = pos->next) 364 #define list_for_each_prev(pos, head) \ argument 365 for (pos = (head)->prev, prefetch(pos->prev); pos != (head); \ 366 pos = pos->prev, prefetch(pos->prev)) 374 #define list_for_each_safe(pos, n, head) \ argument 375 for (pos = (head)->next, n = pos->next; pos != (head); \ [all …]
|
/external/libnetfilter_conntrack/include/internal/ |
D | linux_list.h | 343 #define list_for_each(pos, head) \ argument 344 for (pos = (head)->next, prefetch(pos->next); pos != (head); \ 345 pos = pos->next, prefetch(pos->next)) 357 #define __list_for_each(pos, head) \ argument 358 for (pos = (head)->next; pos != (head); pos = pos->next) 365 #define list_for_each_prev(pos, head) \ argument 366 for (pos = (head)->prev, prefetch(pos->prev); pos != (head); \ 367 pos = pos->prev, prefetch(pos->prev)) 375 #define list_for_each_safe(pos, n, head) \ argument 376 for (pos = (head)->next, n = pos->next; pos != (head); \ [all …]
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/xpath/ |
D | XMPPathParser.java | 92 PathPosition pos = new PathPosition(); in expandXPath() local 93 pos.path = path; in expandXPath() 97 parseRootNode(schemaNS, pos, expandedXPath); in expandXPath() 100 while (pos.stepEnd < path.length()) in expandXPath() 102 pos.stepBegin = pos.stepEnd; in expandXPath() 104 skipPathDelimiter(path, pos); in expandXPath() 106 pos.stepEnd = pos.stepBegin; in expandXPath() 110 if (path.charAt(pos.stepBegin) != '[') in expandXPath() 113 segment = parseStructSegment(pos); in expandXPath() 118 segment = parseIndexSegment(pos); in expandXPath() [all …]
|
/external/u-boot/include/linux/ |
D | list.h | 356 #define list_for_each(pos, head) \ argument 357 for (pos = (head)->next; prefetch(pos->next), pos != (head); \ 358 pos = pos->next) 370 #define __list_for_each(pos, head) \ argument 371 for (pos = (head)->next; pos != (head); pos = pos->next) 378 #define list_for_each_prev(pos, head) \ argument 379 for (pos = (head)->prev; prefetch(pos->prev), pos != (head); \ 380 pos = pos->prev) 388 #define list_for_each_safe(pos, n, head) \ argument 389 for (pos = (head)->next, n = pos->next; pos != (head); \ [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | ctrl_iface.c | 72 char *pos; in set_bssid_filter() local 76 pos = val; in set_bssid_filter() 77 while (pos) { in set_bssid_filter() 78 if (*pos == '\0') in set_bssid_filter() 80 if (hwaddr_aton(pos, addr)) { in set_bssid_filter() 93 pos = os_strchr(pos, ' '); in set_bssid_filter() 94 if (pos) in set_bssid_filter() 95 pos++; in set_bssid_filter() 109 char *pos; in set_disallow_aps() local 121 pos = val; in set_disallow_aps() [all …]
|
/external/wpa_supplicant_8/hostapd/ |
D | config_file.c | 40 char buf[128], *pos, *pos2, *pos3; in hostapd_config_read_vlan_file() local 55 pos = buf; in hostapd_config_read_vlan_file() 56 while (*pos != '\0') { in hostapd_config_read_vlan_file() 57 if (*pos == '\n') { in hostapd_config_read_vlan_file() 58 *pos = '\0'; in hostapd_config_read_vlan_file() 61 pos++; in hostapd_config_read_vlan_file() 68 pos = buf + 1; in hostapd_config_read_vlan_file() 70 vlan_id = strtol(buf, &pos, 10); in hostapd_config_read_vlan_file() 71 if (buf == pos || vlan_id < 1 || in hostapd_config_read_vlan_file() 80 while (*pos == ' ' || *pos == '\t') in hostapd_config_read_vlan_file() [all …]
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_server_write.c | 45 u8 *pos, *rhdr, *hs_start, *hs_length, *ext_start; in tls_write_server_hello() local 49 pos = *msgpos; in tls_write_server_hello() 52 rhdr = pos; in tls_write_server_hello() 53 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_hello() 80 hs_start = pos; in tls_write_server_hello() 82 *pos++ = TLS_HANDSHAKE_TYPE_SERVER_HELLO; in tls_write_server_hello() 84 hs_length = pos; in tls_write_server_hello() 85 pos += 3; in tls_write_server_hello() 88 WPA_PUT_BE16(pos, conn->rl.tls_version); in tls_write_server_hello() 89 pos += 2; in tls_write_server_hello() [all …]
|
D | tlsv1_client_write.c | 47 u8 *hello, *end, *pos, *hs_length, *hs_start, *rhdr; in tls_send_client_hello() local 94 pos = rhdr + TLS_RECORD_HEADER_LEN; in tls_send_client_hello() 99 hs_start = pos; in tls_send_client_hello() 101 *pos++ = TLS_HANDSHAKE_TYPE_CLIENT_HELLO; in tls_send_client_hello() 103 hs_length = pos; in tls_send_client_hello() 104 pos += 3; in tls_send_client_hello() 107 WPA_PUT_BE16(pos, tls_version); in tls_send_client_hello() 108 pos += 2; in tls_send_client_hello() 110 os_memcpy(pos, conn->client_random, TLS_RANDOM_LEN); in tls_send_client_hello() 111 pos += TLS_RANDOM_LEN; in tls_send_client_hello() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | utf8collationiterator.cpp | 36 pos = newOffset; in resetToOffset() 41 return pos; in getOffset() 46 if(pos == length) { in handleNextCE32() 51 c = u8[pos++]; in handleNextCE32() 58 ((pos + 1) < length || length < 0) && in handleNextCE32() 59 U8_IS_VALID_LEAD3_AND_T1(c, t1 = u8[pos]) && in handleNextCE32() 60 (t2 = (u8[pos + 1] - 0x80)) <= 0x3f) { in handleNextCE32() 63 pos += 2; in handleNextCE32() 65 } else if(c < 0xe0 && c >= 0xc2 && pos != length && (t1 = (u8[pos] - 0x80)) <= 0x3f) { in handleNextCE32() 69 ++pos; in handleNextCE32() [all …]
|
/external/protobuf/python/google/protobuf/internal/ |
D | decoder.py | 117 def DecodeVarint(buffer, pos): argument 121 b = six.indexbytes(buffer, pos) 123 pos += 1 127 return (result, pos) 137 def DecodeVarint(buffer, pos): argument 141 b = six.indexbytes(buffer, pos) 143 pos += 1 151 return (result, pos) 169 def ReadTag(buffer, pos): argument 180 start = pos [all …]
|
/external/bcc/src/lua/bcc/vendor/ |
D | json.lua | 79 local function skip_delim(str, pos, delim, err_if_missing) 80 pos = pos + #str:match('^%s*', pos) 81 if str:sub(pos, pos) ~= delim then 83 error('Expected ' .. delim .. ' near position ' .. pos) 85 return pos, false 87 return pos + 1, true 92 local function parse_str_val(str, pos, val) 95 if pos > #str then error(early_end_error) end 96 local c = str:sub(pos, pos) 97 if c == '"' then return val, pos + 1 end [all …]
|