Home
last modified time | relevance | path

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

12345678910>>...220

/external/python/setuptools/setuptools/_vendor/tomli/
D_parser.py75 pos = 0
84 pos = skip_chars(src, pos, TOML_WS)
95 char = src[pos]
99 pos += 1
102 pos = key_value_rule(src, pos, out, header, parse_float)
103 pos = skip_chars(src, pos, TOML_WS)
106 second_char: str | None = src[pos + 1]
111 pos, header = create_list_rule(src, pos, out)
113 pos, header = create_dict_rule(src, pos, out)
114 pos = skip_chars(src, pos, TOML_WS)
[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 …]
/external/cronet/third_party/icu/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 …]
/external/google-benchmark/test/
Dstring_util_gtest.cc12 size_t pos = 0; in TEST() local
13 EXPECT_EQ(0ul, benchmark::stoul("0", &pos)); in TEST()
14 EXPECT_EQ(1ul, pos); in TEST()
17 size_t pos = 0; in TEST() local
18 EXPECT_EQ(7ul, benchmark::stoul("7", &pos)); in TEST()
19 EXPECT_EQ(1ul, pos); in TEST()
22 size_t pos = 0; in TEST() local
23 EXPECT_EQ(135ul, benchmark::stoul("135", &pos)); in TEST()
24 EXPECT_EQ(3ul, pos); in TEST()
28 size_t pos = 0; in TEST() local
[all …]
/external/libcxx/utils/google-benchmark/test/
Dstring_util_gtest.cc11 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/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DDistinguishedNameParser.java32 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/
DDistinguishedNameParser.java30 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/
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/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/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/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/icu/android_icu4j/src/main/java/android/icu/util/
DBytesTrie.java126 private int pos; field in BytesTrie.State
139 state.pos=pos_; in saveState()
157 pos_=state.pos; in resetToState()
228 int pos=pos_; in current() local
229 if(pos<0) { in current()
233 return (remainingMatchLength_<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? in current()
260 int pos=pos_; in next() local
261 if(pos<0) { in next()
270 if(inByte==(bytes_[pos++]&0xff)) { in next()
272 pos_=pos; in next()
[all …]
DCharsTrie.java129 private int pos; field in CharsTrie.State
142 state.pos=pos_; in saveState()
160 pos_=state.pos; in resetToState()
174 int pos=pos_; in current() local
175 if(pos<0) { in current()
179 return (remainingMatchLength_<0 && (node=chars_.charAt(pos))>=kMinValueLead) ? in current()
216 int pos=pos_; in next() local
217 if(pos<0) { in next()
223 if(inUnit==chars_.charAt(pos++)) { in next()
225 pos_=pos; in next()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBytesTrie.java133 private int pos; field in BytesTrie.State
147 state.pos=pos_; in saveState()
166 pos_=state.pos; in resetToState()
245 int pos=pos_; in current() local
246 if(pos<0) { in current()
250 return (remainingMatchLength_<0 && (node=bytes_[pos]&0xff)>=kMinValueLead) ? in current()
279 int pos=pos_; in next() local
280 if(pos<0) { in next()
289 if(inByte==(bytes_[pos++]&0xff)) { in next()
291 pos_=pos; in next()
[all …]
DCharsTrie.java136 private int pos; field in CharsTrie.State
150 state.pos=pos_; in saveState()
169 pos_=state.pos; in resetToState()
184 int pos=pos_; in current() local
185 if(pos<0) { in current()
189 return (remainingMatchLength_<0 && (node=chars_.charAt(pos))>=kMinValueLead) ? in current()
229 int pos=pos_; in next() local
230 if(pos<0) { in next()
236 if(inUnit==chars_.charAt(pos++)) { in next()
238 pos_=pos; in next()
[all …]
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c34 char buf[128], *pos, *pos2, *pos3; in hostapd_config_read_vlan_file() local
49 pos = buf; in hostapd_config_read_vlan_file()
50 while (*pos != '\0') { in hostapd_config_read_vlan_file()
51 if (*pos == '\n') { in hostapd_config_read_vlan_file()
52 *pos = '\0'; in hostapd_config_read_vlan_file()
55 pos++; in hostapd_config_read_vlan_file()
62 pos = buf + 1; in hostapd_config_read_vlan_file()
64 vlan_id = strtol(buf, &pos, 10); in hostapd_config_read_vlan_file()
65 if (buf == pos || vlan_id < 1 || in hostapd_config_read_vlan_file()
74 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/javassist/src/main/javassist/bytecode/
DTypeAnnotationsAttribute.java112 int annotationArray(int pos, int num) throws Exception { in annotationArray() argument
114 int targetType = info[pos] & 0xff; in annotationArray()
115 pos = subWalker.targetInfo(pos + 1, targetType); in annotationArray()
116 pos = subWalker.typePath(pos); in annotationArray()
117 pos = annotation(pos); in annotationArray()
120 return pos; in annotationArray()
131 final int targetInfo(int pos, int type) throws Exception { in targetInfo() argument
135 int index = info[pos] & 0xff; in targetInfo()
136 typeParameterTarget(pos, type, index); in targetInfo()
137 return pos + 1; } in targetInfo()
[all …]
/external/cronet/third_party/protobuf/python/google/protobuf/internal/
Ddecoder.py107 def DecodeVarint(buffer, pos): argument
111 b = buffer[pos]
113 pos += 1
117 return (result, pos)
130 def DecodeVarint(buffer, pos): argument
134 b = buffer[pos]
136 pos += 1
141 return (result, pos)
156 def ReadTag(buffer, pos): argument
173 start = pos
[all …]
/external/protobuf/python/google/protobuf/internal/
Ddecoder.py107 def DecodeVarint(buffer, pos): argument
111 b = buffer[pos]
113 pos += 1
117 return (result, pos)
130 def DecodeVarint(buffer, pos): argument
134 b = buffer[pos]
136 pos += 1
141 return (result, pos)
156 def ReadTag(buffer, pos): argument
173 start = pos
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface.c79 char *pos; in set_bssid_filter() local
83 pos = val; in set_bssid_filter()
84 while (pos) { in set_bssid_filter()
85 if (*pos == '\0') in set_bssid_filter()
87 if (hwaddr_aton(pos, addr)) { in set_bssid_filter()
100 pos = os_strchr(pos, ' '); in set_bssid_filter()
101 if (pos) in set_bssid_filter()
102 pos++; in set_bssid_filter()
116 char *pos; in set_disallow_aps() local
128 pos = val; in set_disallow_aps()
[all …]
/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/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()
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 …]

12345678910>>...220