Home
last modified time | relevance | path

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

12345678910>>...113

/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.cpp30 BytesTrie::readValue(const uint8_t *pos, int32_t leadByte) { in readValue() argument
35 value=((leadByte-kMinTwoByteValueLead)<<8)|*pos; in readValue()
37 value=((leadByte-kMinThreeByteValueLead)<<16)|(pos[0]<<8)|pos[1]; in readValue()
39 value=(pos[0]<<16)|(pos[1]<<8)|pos[2]; in readValue()
41 value=(pos[0]<<24)|(pos[1]<<16)|(pos[2]<<8)|pos[3]; in readValue()
47 BytesTrie::jumpByDelta(const uint8_t *pos) { in jumpByDelta() argument
48 int32_t delta=*pos++; in jumpByDelta()
52 delta=((delta-kMinTwoByteDeltaLead)<<8)|*pos++; in jumpByDelta()
54 delta=((delta-kMinThreeByteDeltaLead)<<16)|(pos[0]<<8)|pos[1]; in jumpByDelta()
55 pos+=2; in jumpByDelta()
[all …]
Ducharstrie.cpp31 const UChar *pos=pos_; in current() local
32 if(pos==NULL) { in current()
36 return (remainingMatchLength_<0 && (node=*pos)>=kMinValueLead) ? in current()
60 UCharsTrie::branchNext(const UChar *pos, int32_t length, int32_t uchar) { in branchNext() argument
63 length=*pos++; in branchNext()
69 if(uchar<*pos++) { in branchNext()
71 pos=jumpByDelta(pos); in branchNext()
74 pos=skipDelta(pos); in branchNext()
81 if(uchar==*pos++) { in branchNext()
83 int32_t node=*pos; in branchNext()
[all …]
Duchriter.cpp80 && pos == realThat.pos in operator ==()
87 return ustr_hashUCharsN(text, textLength) ^ pos ^ begin ^ end; in hashCode()
97 pos = begin; in first()
98 if(pos < end) { in first()
99 return text[pos]; in first()
107 pos = begin; in firstPostInc()
108 if(pos < end) { in firstPostInc()
109 return text[pos++]; in firstPostInc()
117 pos = end; in last()
118 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.java84 private int pos; field in BytesTrie.State
98 state.pos=pos_; in saveState()
115 pos_=state.pos; in resetToState()
194 int pos=pos_; in current() local
195 if(pos<0) { in current()
199 return (remainingMatchLength_<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? in current()
228 int pos=pos_; in next() local
229 if(pos<0) { in next()
238 if(inByte==(bytes_[pos++]&0xff)) { in next()
240 pos_=pos; in next()
[all …]
DCharsTrie.java87 private int pos; field in CharsTrie.State
101 state.pos=pos_; in saveState()
118 pos_=state.pos; in resetToState()
133 int pos=pos_; in current() local
134 if(pos<0) { in current()
138 return (remainingMatchLength_<0 && (node=chars_.charAt(pos))>=kMinValueLead) ? in current()
178 int pos=pos_; in next() local
179 if(pos<0) { in next()
185 if(inUnit==chars_.charAt(pos++)) { in next()
187 pos_=pos; in next()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DBytesTrie.java80 private int pos; field in BytesTrie.State
93 state.pos=pos_; in saveState()
109 pos_=state.pos; in resetToState()
179 int pos=pos_; in current() local
180 if(pos<0) { in current()
184 return (remainingMatchLength_<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? in current()
211 int pos=pos_; in next() local
212 if(pos<0) { in next()
221 if(inByte==(bytes_[pos++]&0xff)) { in next()
223 pos_=pos; in next()
[all …]
DCharsTrie.java83 private int pos; field in CharsTrie.State
96 state.pos=pos_; in saveState()
112 pos_=state.pos; in resetToState()
126 int pos=pos_; in current() local
127 if(pos<0) { in current()
131 return (remainingMatchLength_<0 && (node=chars_.charAt(pos))>=kMinValueLead) ? in current()
168 int pos=pos_; in next() local
169 if(pos<0) { in next()
175 if(inUnit==chars_.charAt(pos++)) { in next()
177 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/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/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/protobuf/python/google/protobuf/internal/
Ddecoder.py120 def DecodeVarint(buffer, pos): argument
124 b = local_ord(buffer[pos]) if py2 else buffer[pos]
126 pos += 1
130 return (result, pos)
143 def DecodeVarint(buffer, pos): argument
147 b = local_ord(buffer[pos]) if py2 else buffer[pos]
149 pos += 1
157 return (result, pos)
175 def ReadTag(buffer, pos): argument
188 start = pos
[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.cpp34 pos = newOffset; in resetToOffset()
39 return pos; in getOffset()
44 if(pos == length) { in handleNextCE32()
49 c = u8[pos++]; in handleNextCE32()
55 if(c < 0xe0 && pos != length && (t1 = (u8[pos] - 0x80)) <= 0x3f) { in handleNextCE32()
59 ++pos; in handleNextCE32()
62 ((pos + 1) < length || length < 0) && in handleNextCE32()
63 (t1 = (u8[pos] - 0x80)) <= 0x3f && (c != 0xe0 || t1 >= 0x20) && in handleNextCE32()
64 (t2 = (u8[pos + 1] - 0x80)) <= 0x3f in handleNextCE32()
68 pos += 2; in handleNextCE32()
[all …]
Dutf16collationiterator.cpp32 pos(newText + (other.pos - other.start)), in UTF16CollationIterator()
43 return (pos - start) == (o.pos - o.start); in operator ==()
49 pos = start + newOffset; in resetToOffset()
54 return (int32_t)(pos - start); in getOffset()
59 if(pos == limit) { in handleNextCE32()
63 c = *pos++; in handleNextCE32()
69 if(pos == limit) { return 0; } in handleGetTrailSurrogate()
71 if(U16_IS_TRAIL(trail = *pos)) { ++pos; } in handleGetTrailSurrogate()
78 limit = --pos; in foundNULTerminator()
87 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/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/mockito/cglib-and-asm/src/org/mockito/asm/signature/
DSignatureReader.java74 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()
89 while ((c = signature.charAt(pos++)) == ':') { in accept()
90 pos = parseType(signature, pos, v.visitInterfaceBound()); in accept()
94 pos = 0; in accept()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface.c65 char *pos; in set_bssid_filter() local
69 pos = val; in set_bssid_filter()
70 while (pos) { in set_bssid_filter()
71 if (*pos == '\0') in set_bssid_filter()
73 if (hwaddr_aton(pos, addr)) { in set_bssid_filter()
86 pos = os_strchr(pos, ' '); in set_bssid_filter()
87 if (pos) in set_bssid_filter()
88 pos++; in set_bssid_filter()
102 char *pos; in set_disallow_aps() local
114 pos = val; in set_disallow_aps()
[all …]
/external/wpa_supplicant_8/src/wps/
Dwps_attr_parse.c21 u8 id, u8 len, const u8 *pos) in wps_set_vendor_ext_wfa_subelem() argument
32 attr->version2 = pos; in wps_set_vendor_ext_wfa_subelem()
35 attr->authorized_macs = pos; in wps_set_vendor_ext_wfa_subelem()
44 attr->network_key_shareable = pos; in wps_set_vendor_ext_wfa_subelem()
52 attr->request_to_enroll = pos; in wps_set_vendor_ext_wfa_subelem()
60 attr->settings_delay_time = pos; in wps_set_vendor_ext_wfa_subelem()
68 attr->registrar_configuration_methods = pos; in wps_set_vendor_ext_wfa_subelem()
80 static int wps_parse_vendor_ext_wfa(struct wps_parse_attr *attr, const u8 *pos, in wps_parse_vendor_ext_wfa() argument
83 const u8 *end = pos + len; in wps_parse_vendor_ext_wfa()
86 while (end - pos >= 2) { in wps_parse_vendor_ext_wfa()
[all …]
/external/wpa_supplicant_8/src/eap_peer/
Deap_fast_pac.c182 const char *pos; member
191 char *pos; in eap_fast_read_line() local
200 if (rc->pos >= rc->end) in eap_fast_read_line()
202 l_end = rc->pos; in eap_fast_read_line()
205 len = l_end - rc->pos; in eap_fast_read_line()
208 os_memcpy(rc->buf, rc->pos, len); in eap_fast_read_line()
210 rc->pos = l_end + 1; in eap_fast_read_line()
214 pos = rc->buf; in eap_fast_read_line()
215 while (*pos != '\0') { in eap_fast_read_line()
216 if (*pos == '\n' || *pos == '\r') { in eap_fast_read_line()
[all …]
/external/pdfium/xfa/src/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>>...113