Searched refs:pos (Results 226 - 250 of 2848) sorted by relevance

1234567891011>>

/external/v8/test/mjsunit/
H A Dsparse-array-reverse.js91 var pos = poses[pos_pos];
94 a[pos] = letter;
98 Array.prototype[pos] = letter;
101 to_delete.push(pos);
108 var pos = size - poses[pos_pos] - 1;
110 a[pos] = letter;
114 Array.prototype[pos] = letter;
117 to_delete.push(pos);
125 var pos = to_delete.pop();
126 delete(Array.prototype[pos]);
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Dwnm_sta.c248 u8 *pos = (u8 *) frm; /* point to payload after the action field */ local
267 pos += 3 + key_len_total;
268 while (pos - frm < len) {
269 u8 ie_len = *(pos + 1);
270 if (pos + 2 + ie_len > frm + len) {
274 wpa_hexdump(MSG_DEBUG, "WNM: Element", pos, 2 + ie_len);
275 if (*pos == WLAN_EID_WNMSLEEP)
276 wnmsleep_ie = (struct wnm_sleep_element *) pos;
277 else if (*pos == WLAN_EID_TFS_RESP) {
279 tfsresp_ie_start = pos;
331 wnm_parse_neighbor_report_elem(struct neighbor_report *rep, u8 id, u8 elen, const u8 *pos) argument
434 wnm_parse_neighbor_report(struct wpa_supplicant *wpa_s, const u8 *pos, u8 len, struct neighbor_report *rep) argument
550 u8 buf[1000], *pos; local
792 ieee802_11_rx_bss_trans_mgmt_req(struct wpa_supplicant *wpa_s, const u8 *pos, const u8 *end, int reply) argument
938 u8 buf[1000], *pos; local
974 const u8 *pos, *end, *next; local
1080 const u8 *pos, *end; local
1120 const u8 *pos, *end; local
[all...]
/external/icu/icu4c/source/i18n/
H A Ddecimalformatpattern.cpp52 int32_t pos,
54 parseError.offset = pos;
58 int32_t start = (pos < U_PARSE_CONTEXT_LEN)? 0 : (pos - (U_PARSE_CONTEXT_LEN-1
60 int32_t stop = pos;
66 start = pos+1;
67 stop = ((pos+U_PARSE_CONTEXT_LEN)<=pattern.length()) ? (pos+(U_PARSE_CONTEXT_LEN-1)) :
170 int32_t pos = 0; local
174 for (int32_t part=0; part<2 && pos<patLe
51 syntaxError(const UnicodeString& pattern, int32_t pos, UParseError& parseError) argument
[all...]
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_tile_cache.c46 * Return the position in the cache for the tile that contains win pos (x,y).
62 int pos, bit; local
63 pos = addr.bits.y * (MAX_WIDTH / TILE_SIZE) + addr.bits.x;
64 assert(pos / 32 < (MAX_WIDTH / TILE_SIZE) * (MAX_HEIGHT / TILE_SIZE) / 32);
65 bit = bitvec[pos / 32] & (1 << (pos & 31));
76 int pos; local
77 pos = addr.bits.y * (MAX_WIDTH / TILE_SIZE) + addr.bits.x;
78 assert(pos / 32 < (MAX_WIDTH / TILE_SIZE) * (MAX_HEIGHT / TILE_SIZE) / 32);
79 bitvec[pos / 3
87 uint pos; local
135 uint pos; local
388 sp_flush_tile(struct softpipe_tile_cache* tc, unsigned pos) argument
434 int inuse = 0, pos; local
470 unsigned pos; local
504 const int pos = CACHE_POS(addr.bits.x, local
618 uint pos; local
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_server_gpsk.c147 u8 *pos, *start; local
180 pos = wpabuf_put(req, miclen);
182 data->specifier, start, pos - start, pos) < 0)
215 const u8 *pos; local
218 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GPSK, respData, &len);
219 if (pos == NULL || len < 1) {
224 wpa_printf(MSG_DEBUG, "EAP-GPSK: Received frame: opcode=%d", *pos);
226 if (data->state == GPSK_1 && *pos == EAP_GPSK_OPCODE_GPSK_2)
229 if (data->state == GPSK_3 && *pos
243 const u8 *pos, *end; local
476 const u8 *pos, *end; local
545 const u8 *pos; local
[all...]
/external/wpa_supplicant_8/src/eap_server/
H A Deap_server_gpsk.c147 u8 *pos, *start; local
180 pos = wpabuf_put(req, miclen);
182 data->specifier, start, pos - start, pos) < 0)
215 const u8 *pos; local
218 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GPSK, respData, &len);
219 if (pos == NULL || len < 1) {
224 wpa_printf(MSG_DEBUG, "EAP-GPSK: Received frame: opcode=%d", *pos);
226 if (data->state == GPSK_1 && *pos == EAP_GPSK_OPCODE_GPSK_2)
229 if (data->state == GPSK_3 && *pos
243 const u8 *pos, *end; local
476 const u8 *pos, *end; local
545 const u8 *pos; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/
H A Deap_server_gpsk.c147 u8 *pos, *start; local
180 pos = wpabuf_put(req, miclen);
182 data->specifier, start, pos - start, pos) < 0)
215 const u8 *pos; local
218 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_GPSK, respData, &len);
219 if (pos == NULL || len < 1) {
224 wpa_printf(MSG_DEBUG, "EAP-GPSK: Received frame: opcode=%d", *pos);
226 if (data->state == GPSK_1 && *pos == EAP_GPSK_OPCODE_GPSK_2)
229 if (data->state == GPSK_3 && *pos
243 const u8 *pos, *end; local
476 const u8 *pos, *end; local
545 const u8 *pos; local
[all...]
/external/wpa_supplicant_8/hostapd/src/rsn_supp/
H A Dpmksa_cache.c130 struct rsn_pmksa_cache_entry *entry, *pos, *prev; local
161 pos = pmksa->pmksa;
163 while (pos) {
164 if (os_memcmp(aa, pos->aa, ETH_ALEN) == 0) {
165 if (pos->pmk_len == pmk_len &&
166 os_memcmp_const(pos->pmk, pmk, pmk_len) == 0 &&
167 os_memcmp_const(pos->pmkid, entry->pmkid,
172 return pos;
175 pmksa->pmksa = pos->next;
177 prev->next = pos
479 char *pos = buf; local
[all...]
/external/wpa_supplicant_8/src/rsn_supp/
H A Dpmksa_cache.c130 struct rsn_pmksa_cache_entry *entry, *pos, *prev; local
161 pos = pmksa->pmksa;
163 while (pos) {
164 if (os_memcmp(aa, pos->aa, ETH_ALEN) == 0) {
165 if (pos->pmk_len == pmk_len &&
166 os_memcmp_const(pos->pmk, pmk, pmk_len) == 0 &&
167 os_memcmp_const(pos->pmkid, entry->pmkid,
172 return pos;
175 pmksa->pmksa = pos->next;
177 prev->next = pos
479 char *pos = buf; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/rsn_supp/
H A Dpmksa_cache.c130 struct rsn_pmksa_cache_entry *entry, *pos, *prev; local
161 pos = pmksa->pmksa;
163 while (pos) {
164 if (os_memcmp(aa, pos->aa, ETH_ALEN) == 0) {
165 if (pos->pmk_len == pmk_len &&
166 os_memcmp_const(pos->pmk, pmk, pmk_len) == 0 &&
167 os_memcmp_const(pos->pmkid, entry->pmkid,
172 return pos;
175 pmksa->pmksa = pos->next;
177 prev->next = pos
479 char *pos = buf; local
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
H A DRealVectorFormat.java201 * @param pos On input: an alignment field, if desired. On output: the
206 FieldPosition pos) {
208 pos.setBeginIndex(0);
209 pos.setEndIndex(0);
219 formatDouble(vector.getEntry(i), format, toAppendTo, pos);
235 * @param pos On input: an alignment field, if desired. On output: the
243 FieldPosition pos) {
246 return format( (RealVector)obj, toAppendTo, pos);
276 * @param pos input/ouput parsing parameter.
279 public ArrayRealVector parse(String source, ParsePosition pos) { argument
205 format(RealVector vector, StringBuffer toAppendTo, FieldPosition pos) argument
242 format(Object obj, StringBuffer toAppendTo, FieldPosition pos) argument
337 parseObject(String source, ParsePosition pos) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DRuleCharacterIterator.java43 private ParsePosition pos; field in class:RuleCharacterIterator
98 * @param pos upon input, the index of the next character to return. If a
99 * variable has been dereferenced, then pos will <em>not</em> increment as
103 ParsePosition pos) {
104 if (text == null || pos.getIndex() > text.length()) {
109 this.pos = pos;
117 return buf == null && pos.getIndex() == text.length();
138 String name = sym.parseReference(text, pos, text.length());
200 * Object pos
102 RuleCharacterIterator(String text, SymbolTable sym, ParsePosition pos) argument
[all...]
/external/ksoap2/kobjects/org/ksoap2/kobjects/mime/
H A DDecoder.java69 int pos = 0;
76 while (pos < len && header.charAt(pos) <= ' ')
77 pos++;
78 if (pos >= len)
81 if (header.charAt(pos) == '"') {
82 pos++;
83 int cut = header.indexOf('"', pos);
87 result.put(key, header.substring(pos, cut));
88 pos
[all...]
/external/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugPubnamesSet.cpp132 DescriptorConstIter pos; local
134 for (pos = m_descriptors.begin(); pos != end; ++pos)
137 log->Printf("0x%8.8x + 0x%8.8x = 0x%8.8x: %s", pos->offset, m_header.die_offset, pos->offset + m_header.die_offset, pos->name.c_str());
139 log->Printf("0x%8.8x: %s", pos->offset + m_header.die_offset, pos->name.c_str());
151 for (cstr_to_index_mmap::const_iterator pos
158 DescriptorConstIter pos; local
[all...]
/external/lzma/CPP/Common/
H A DCommandLineParser.cpp96 int pos = 0; local
97 if (!IsItSwitchChar(s[pos]))
99 while (pos < len)
101 if (IsItSwitchChar(s[pos]))
102 pos++;
109 if (switchLen <= maxLen || pos + switchLen > len)
112 UString temp = s + pos;
115 // if (_strnicmp(switchForms[switchIndex].IDString, LPCSTR(s) + pos, switchLen) == 0)
128 pos += maxLen;
129 int tailSize = len - pos;
[all...]
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dpkcs8.c22 const u8 *pos, *end; local
37 pos = hdr.payload;
38 end = pos + hdr.length;
41 if (asn1_get_next(pos, end - pos, &hdr) < 0 ||
58 pos = hdr.payload + hdr.length;
71 if (asn1_get_next(pos, len, &hdr) < 0 ||
81 if (asn1_get_oid(hdr.payload, hdr.length, &oid, &pos)) {
103 pos = hdr.payload + hdr.length;
106 if (asn1_get_next(pos, en
125 const u8 *pos, *end, *enc_alg; local
[all...]
/external/wpa_supplicant_8/src/tls/
H A Dpkcs8.c22 const u8 *pos, *end; local
37 pos = hdr.payload;
38 end = pos + hdr.length;
41 if (asn1_get_next(pos, end - pos, &hdr) < 0 ||
58 pos = hdr.payload + hdr.length;
71 if (asn1_get_next(pos, len, &hdr) < 0 ||
81 if (asn1_get_oid(hdr.payload, hdr.length, &oid, &pos)) {
103 pos = hdr.payload + hdr.length;
106 if (asn1_get_next(pos, en
125 const u8 *pos, *end, *enc_alg; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dpkcs8.c22 const u8 *pos, *end; local
37 pos = hdr.payload;
38 end = pos + hdr.length;
41 if (asn1_get_next(pos, end - pos, &hdr) < 0 ||
58 pos = hdr.payload + hdr.length;
71 if (asn1_get_next(pos, len, &hdr) < 0 ||
81 if (asn1_get_oid(hdr.payload, hdr.length, &oid, &pos)) {
103 pos = hdr.payload + hdr.length;
106 if (asn1_get_next(pos, en
125 const u8 *pos, *end, *enc_alg; local
[all...]
/external/android-clat/
H A Dipv4.c34 int icmp_packet(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp, argument
47 return icmp_to_icmp6(out, pos, icmp, checksum, payload, payload_size);
57 int ipv4_packet(clat_packet out, clat_packet_index pos, const uint8_t *packet, size_t len) { argument
59 struct ip6_hdr *ip6_targ = (struct ip6_hdr *) out[pos].iov_base;
107 out[pos].iov_len = sizeof(struct ip6_hdr);
118 frag_hdr = (struct ip6_frag *) out[pos + 1].iov_base;
120 out[pos + 1].iov_len = frag_hdr_len;
124 iov_len = generic_packet(out, pos + 2, next_header, len_left);
126 iov_len = icmp_packet(out, pos + 2, (const struct icmphdr *) next_header, new_sum, len_left);
128 iov_len = tcp_packet(out, pos
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
H A DIPAddress.java51 int pos;
54 && (pos = temp.indexOf('.', start)) > start)
62 octet = Integer.parseInt(temp.substring(start, pos));
72 start = pos + 1;
133 int pos;
136 && (pos = temp.indexOf(':', start)) >= start)
143 if (start != pos)
145 String value = temp.substring(start, pos);
147 if (pos == (temp.length() - 1) && value.indexOf('.') > 0)
160 octet = Integer.parseInt(temp.substring(start, pos), 1
[all...]
/external/icu/icu4c/source/common/
H A Druleiter.cpp26 pos(thePos),
33 return buf == 0 && pos.getIndex() == text.length();
48 UnicodeString name = sym->parseReference(text, pos, text.length());
91 p.pos = pos.getIndex();
97 pos.setIndex(p.pos);
118 text.extract(pos.getIndex(), maxLookAhead, result);
129 int32_t b = pos.getIndex();
139 int i = pos
[all...]
/external/openssh/
H A Datomicio.c56 size_t pos = 0; local
64 while (n > pos) {
65 res = (f) (fd, s + pos, n - pos);
79 return pos;
81 pos += (size_t)res;
84 return pos;
88 return pos;
105 size_t pos = 0, rem; local
136 return pos;
[all...]
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dedit_readline.c21 static char ** (*edit_completion_cb)(void *ctx, const char *cmd, int pos) =
41 static int pos = 0; local
50 pos = 0;
53 for (; pending_completions[pos]; pos++) {
54 if (strncmp(pending_completions[pos], text, len) == 0)
55 return strdup(pending_completions[pos++]);
81 char *pos = str; local
82 while (*pos != '\0') {
83 if (*pos
112 edit_init(void (*cmd_cb)(void *ctx, char *cmd), void (*eof_cb)(void *ctx), char ** (*completion_cb)(void *ctx, const char *cmd, int pos), void *ctx, const char *history_file, const char *ps) argument
[all...]
/external/wpa_supplicant_8/src/utils/
H A Dedit_readline.c21 static char ** (*edit_completion_cb)(void *ctx, const char *cmd, int pos) =
41 static int pos = 0; local
50 pos = 0;
53 for (; pending_completions[pos]; pos++) {
54 if (strncmp(pending_completions[pos], text, len) == 0)
55 return strdup(pending_completions[pos++]);
81 char *pos = str; local
82 while (*pos != '\0') {
83 if (*pos
112 edit_init(void (*cmd_cb)(void *ctx, char *cmd), void (*eof_cb)(void *ctx), char ** (*completion_cb)(void *ctx, const char *cmd, int pos), void *ctx, const char *history_file, const char *ps) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dedit_readline.c21 static char ** (*edit_completion_cb)(void *ctx, const char *cmd, int pos) =
41 static int pos = 0; local
50 pos = 0;
53 for (; pending_completions[pos]; pos++) {
54 if (strncmp(pending_completions[pos], text, len) == 0)
55 return strdup(pending_completions[pos++]);
81 char *pos = str; local
82 while (*pos != '\0') {
83 if (*pos
112 edit_init(void (*cmd_cb)(void *ctx, char *cmd), void (*eof_cb)(void *ctx), char ** (*completion_cb)(void *ctx, const char *cmd, int pos), void *ctx, const char *history_file, const char *ps) argument
[all...]

Completed in 1080 milliseconds

1234567891011>>