/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/icu/android_icu4j/src/main/java/android/icu/util/ |
D | BytesTrie.java | 82 private int pos; field in BytesTrie.State 95 state.pos=pos_; in saveState() 111 pos_=state.pos; in resetToState() 181 int pos=pos_; in current() local 182 if(pos<0) { in current() 186 return (remainingMatchLength_<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? in current() 213 int pos=pos_; in next() local 214 if(pos<0) { in next() 223 if(inByte==(bytes_[pos++]&0xff)) { in next() 225 pos_=pos; in next() [all …]
|
D | CharsTrie.java | 85 private int pos; field in CharsTrie.State 98 state.pos=pos_; in saveState() 114 pos_=state.pos; in resetToState() 128 int pos=pos_; in current() local 129 if(pos<0) { in current() 133 return (remainingMatchLength_<0 && (node=chars_.charAt(pos))>=kMinValueLead) ? in current() 170 int pos=pos_; in next() local 171 if(pos<0) { in next() 177 if(inUnit==chars_.charAt(pos++)) { in next() 179 pos_=pos; in next() [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/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/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/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/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/syslinux/com32/include/linux/ |
D | list.h | 270 #define list_for_each(pos, head) \ argument 271 for (pos = (head)->next; pos != (head); \ 272 pos = pos->next) 284 #define __list_for_each(pos, head) \ argument 285 for (pos = (head)->next; pos != (head); pos = pos->next) 292 #define list_for_each_prev(pos, head) \ argument 293 for (pos = (head)->prev; pos != (head); \ 294 pos = pos->prev) 302 #define list_for_each_safe(pos, n, head) \ argument 303 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/valgrind/none/tests/mips64/ |
D | extract_insert_bit_field.stdout.exp-mips64r2 | 2 ins :: in 0x0, in1 0x0, out 0x0, pos: 0, size: 1 3 ins :: in 0x0, in1 0xffffffffffffffff, out 0xfffffffffffffffe, pos: 0, size: 1 4 ins :: in 0x0, in1 0x98765432, out 0xffffffff98765432, pos: 0, size: 1 5 ins :: in 0x0, in1 0xffffffffff865421, out 0xffffffffff865420, pos: 0, size: 1 6 ins :: in 0xffffffffffffffff, in1 0x0, out 0x1, pos: 0, size: 1 7 ins :: in 0xffffffffffffffff, in1 0xffffffffffffffff, out 0xffffffffffffffff, pos: 0, size: 1 8 ins :: in 0xffffffffffffffff, in1 0x98765432, out 0xffffffff98765433, pos: 0, size: 1 9 ins :: in 0xffffffffffffffff, in1 0xffffffffff865421, out 0xffffffffff865421, pos: 0, size: 1 10 ins :: in 0x98765432, in1 0x0, out 0x0, pos: 0, size: 1 11 ins :: in 0x98765432, in1 0xffffffffffffffff, out 0xfffffffffffffffe, pos: 0, size: 1 [all …]
|
/external/wpa_supplicant_8/hostapd/ |
D | config_file.c | 40 char buf[128], *pos, *pos2; 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/wpa_supplicant/ |
D | ctrl_iface.c | 90 char *pos; in set_bssid_filter() local 94 pos = val; in set_bssid_filter() 95 while (pos) { in set_bssid_filter() 96 if (*pos == '\0') in set_bssid_filter() 98 if (hwaddr_aton(pos, addr)) { in set_bssid_filter() 111 pos = os_strchr(pos, ' '); in set_bssid_filter() 112 if (pos) in set_bssid_filter() 113 pos++; in set_bssid_filter() 127 char *pos; in set_disallow_aps() local 139 pos = val; in set_disallow_aps() [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() 77 hs_start = pos; in tls_write_server_hello() 79 *pos++ = TLS_HANDSHAKE_TYPE_SERVER_HELLO; in tls_write_server_hello() 81 hs_length = pos; in tls_write_server_hello() 82 pos += 3; in tls_write_server_hello() 85 WPA_PUT_BE16(pos, conn->rl.tls_version); in tls_write_server_hello() 86 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 91 pos = rhdr + TLS_RECORD_HEADER_LEN; in tls_send_client_hello() 96 hs_start = pos; in tls_send_client_hello() 98 *pos++ = TLS_HANDSHAKE_TYPE_CLIENT_HELLO; in tls_send_client_hello() 100 hs_length = pos; in tls_send_client_hello() 101 pos += 3; in tls_send_client_hello() 104 WPA_PUT_BE16(pos, tls_version); in tls_send_client_hello() 105 pos += 2; in tls_send_client_hello() 107 os_memcpy(pos, conn->client_random, TLS_RANDOM_LEN); in tls_send_client_hello() 108 pos += TLS_RANDOM_LEN; in tls_send_client_hello() [all …]
|
/external/nanopb-c/generator/google/protobuf/internal/ |
D | decoder.py | 112 def DecodeVarint(buffer, pos): argument 116 b = local_ord(buffer[pos]) 118 pos += 1 121 return (result, pos) 132 def DecodeVarint(buffer, pos): argument 136 b = local_ord(buffer[pos]) 138 pos += 1 145 return (result, pos) 160 def ReadTag(buffer, pos): argument 171 start = pos [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 …]
|
D | utf16collationiterator.cpp | 34 pos(newText + (other.pos - other.start)), in UTF16CollationIterator() 45 return (pos - start) == (o.pos - o.start); in operator ==() 51 pos = start + newOffset; in resetToOffset() 56 return (int32_t)(pos - start); in getOffset() 61 if(pos == limit) { in handleNextCE32() 65 c = *pos++; in handleNextCE32() 71 if(pos == limit) { return 0; } in handleGetTrailSurrogate() 73 if(U16_IS_TRAIL(trail = *pos)) { ++pos; } in handleGetTrailSurrogate() 80 limit = --pos; in foundNULTerminator() 89 if(pos == limit) { in nextCodePoint() [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/wpa_supplicant_8/src/ap/ |
D | wpa_auth_ie.c | 31 u8 *pos, *count; in wpa_write_wpa_ie() local 38 pos = (u8 *) (hdr + 1); in wpa_write_wpa_ie() 46 RSN_SELECTOR_PUT(pos, suite); in wpa_write_wpa_ie() 47 pos += WPA_SELECTOR_LEN; in wpa_write_wpa_ie() 49 count = pos; in wpa_write_wpa_ie() 50 pos += 2; in wpa_write_wpa_ie() 52 num_suites = wpa_cipher_put_suites(pos, conf->wpa_pairwise); in wpa_write_wpa_ie() 58 pos += num_suites * WPA_SELECTOR_LEN; in wpa_write_wpa_ie() 62 count = pos; in wpa_write_wpa_ie() 63 pos += 2; in wpa_write_wpa_ie() [all …]
|
/external/annotation-tools/asmx/src/org/objectweb/asm/signature/ |
D | SignatureReader.java | 74 int pos; in accept() local 78 pos = 2; in accept() 80 int end = signature.indexOf(':', pos); in accept() 81 v.visitFormalTypeParameter(signature.substring(pos - 1, end)); in accept() 82 pos = end + 1; in accept() 84 c = signature.charAt(pos); in accept() 86 pos = parseType(signature, pos, v.visitClassBound()); in accept() 90 if ((c = signature.charAt(pos++)) == ':') { in accept() 91 pos = parseType(signature, pos, v.visitInterfaceBound()); in accept() 98 pos = 0; in accept() [all …]
|