/external/v8/test/mjsunit/ |
H A D | sparse-array-reverse.js | 91 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 D | wnm_sta.c | 248 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 D | decimalformatpattern.cpp | 52 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 D | sp_tile_cache.c | 46 * 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 D | eap_server_gpsk.c | 147 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 D | eap_server_gpsk.c | 147 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 D | eap_server_gpsk.c | 147 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 D | pmksa_cache.c | 130 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 D | pmksa_cache.c | 130 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 D | pmksa_cache.c | 130 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 D | RealVectorFormat.java | 201 * @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 D | RuleCharacterIterator.java | 43 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 D | Decoder.java | 69 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 D | DWARFDebugPubnamesSet.cpp | 132 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 D | CommandLineParser.cpp | 96 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 D | pkcs8.c | 22 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 D | pkcs8.c | 22 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 D | pkcs8.c | 22 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 D | ipv4.c | 34 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 D | IPAddress.java | 51 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 D | ruleiter.cpp | 26 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 D | atomicio.c | 56 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 D | edit_readline.c | 21 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 D | edit_readline.c | 21 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 D | edit_readline.c | 21 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...] |