Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 25 of 2937) sorted by relevance

12345678910>>...118

/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ie.c45 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/icu/icu4c/source/common/
Dbytestrie.cpp32 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 …]
Ducharstrie.cpp33 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 …]
Duchriter.cpp82 && pos == realThat.pos in operator ==()
89 return ustr_hashUCharsN(text, textLength) ^ pos ^ begin ^ end; in hashCode()
99 pos = begin; in first()
100 if(pos < end) { in first()
101 return text[pos]; in first()
109 pos = begin; in firstPostInc()
110 if(pos < end) { in firstPostInc()
111 return text[pos++]; in firstPostInc()
119 pos = end; in last()
120 if(pos > begin) { in last()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
DDistinguishedNameParser.java29 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/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBytesTrie.java86 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 …]
DCharsTrie.java89 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/
DBytesTrie.java82 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 …]
DCharsTrie.java85 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/iptables/libiptc/
Dlinux_list.h338 #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/libnetfilter_conntrack/include/internal/
Dlinux_list.h343 #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/
Dlinux_list.h342 #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/syslinux/com32/include/linux/
Dlist.h270 #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/
DXMPPathParser.java92 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/wpa_supplicant_8/hostapd/
Dconfig_file.c38 char buf[128], *pos, *pos2; in hostapd_config_read_vlan_file() local
53 pos = buf; in hostapd_config_read_vlan_file()
54 while (*pos != '\0') { in hostapd_config_read_vlan_file()
55 if (*pos == '\n') { in hostapd_config_read_vlan_file()
56 *pos = '\0'; in hostapd_config_read_vlan_file()
59 pos++; in hostapd_config_read_vlan_file()
66 pos = buf + 1; in hostapd_config_read_vlan_file()
68 vlan_id = strtol(buf, &pos, 10); in hostapd_config_read_vlan_file()
69 if (buf == pos || vlan_id < 1 || in hostapd_config_read_vlan_file()
78 while (*pos == ' ' || *pos == '\t') in hostapd_config_read_vlan_file()
[all …]
/external/valgrind/none/tests/mips64/
Dextract_insert_bit_field.stdout.exp-mips64r22 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/src/tls/
Dtlsv1_server_write.c45 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 …]
Dtlsv1_client_write.c47 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/icu/icu4c/source/i18n/
Dutf8collationiterator.cpp36 pos = newOffset; in resetToOffset()
41 return pos; in getOffset()
46 if(pos == length) { in handleNextCE32()
51 c = u8[pos++]; in handleNextCE32()
57 if(c < 0xe0 && pos != length && (t1 = (u8[pos] - 0x80)) <= 0x3f) { in handleNextCE32()
61 ++pos; in handleNextCE32()
64 ((pos + 1) < length || length < 0) && in handleNextCE32()
65 (t1 = (u8[pos] - 0x80)) <= 0x3f && (c != 0xe0 || t1 >= 0x20) && in handleNextCE32()
66 (t2 = (u8[pos + 1] - 0x80)) <= 0x3f in handleNextCE32()
70 pos += 2; in handleNextCE32()
[all …]
Dutf16collationiterator.cpp34 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/nanopb-c/generator/google/protobuf/internal/
Ddecoder.py112 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/protobuf/python/google/protobuf/internal/
Ddecoder.py117 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/wpa_supplicant/
Dctrl_iface.c66 char *pos; in set_bssid_filter() local
70 pos = val; in set_bssid_filter()
71 while (pos) { in set_bssid_filter()
72 if (*pos == '\0') in set_bssid_filter()
74 if (hwaddr_aton(pos, addr)) { in set_bssid_filter()
87 pos = os_strchr(pos, ' '); in set_bssid_filter()
88 if (pos) in set_bssid_filter()
89 pos++; in set_bssid_filter()
103 char *pos; in set_disallow_aps() local
115 pos = val; in set_disallow_aps()
[all …]
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ie.c31 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/pdfium/xfa/fxbarcode/datamatrix/
DBC_DefaultPlacement.cpp59 int32_t pos = 0; in place() local
64 corner1(pos++); in place()
67 corner2(pos++); in place()
70 corner3(pos++); in place()
73 corner4(pos++); in place()
77 utah(row, col, pos++); in place()
86 utah(row, col, pos++); in place()
101 int32_t pos, in module() argument
111 int32_t v = m_codewords.GetAt(pos); in module()
115 void CBC_DefaultPlacement::utah(int32_t row, int32_t col, int32_t pos) { in utah() argument
[all …]

12345678910>>...118