/libcore/luni/src/main/java/java/util/ |
Timer.java | 83 public void delete(int pos) { 85 if (pos >= 0 && pos < size) { 86 timers[pos] = timers[--size]; 88 downHeap(pos); 102 // update pos and current 108 private void downHeap(int pos) { 109 int current = pos; 129 // update pos and current 247 int pos = 0 local [all...] |
/external/ant-glob/src/org/apache/tools/ant/types/selectors/ |
SelectorUtils.java | 556 for (int pos = 0; pos < len; pos++) { 557 if (path.charAt(pos) == sep) { 558 if (pos != start) { 561 start = pos + 1; 576 for (int pos = 0; pos < len; pos++) { 577 if (path.charAt(pos) == sep) [all...] |
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
smpdtfmt.h | 384 * @param pos The formatting position. On input: an alignment field, 391 FieldPosition& pos) const; 429 * @param pos The formatting position. On input: an alignment field, 437 FieldPosition& pos, 532 * @param pos On input, the position at which to start parsing; on 540 ParsePosition& pos) const; 555 * @param pos On input, the position at which to start parsing; on 562 ParsePosition& pos) const; [all...] |
/external/icu4c/i18n/unicode/ |
tzfmt.h | 543 * to <code>ParsePosition pos</code> and returns 0. 546 * @param pos The ParsePosition object. 553 int32_t parseOffsetISO8601(const UnicodeString& text, ParsePosition& pos) const; 558 * sets the current position as the error index to <code>ParsePosition pos</code> 561 * @param pos The ParsePosition object. 567 int32_t parseOffsetLocalizedGMT(const UnicodeString& text, ParsePosition& pos) const; 573 * sets the current position as the error index to <code>ParsePosition pos</code> 576 * @param pos The ParsePosition object. 582 int32_t parseOffsetShortLocalizedGMT(const UnicodeString& text, ParsePosition& pos) const; 591 * @param pos The position [all...] |
/external/linux-tools-perf/util/ui/ |
browser.c | 45 struct list_head *pos; local 49 pos = head->next; 52 pos = self->top; 55 pos = head->prev; 63 pos = pos->next; 66 pos = pos->prev; 69 self->top = pos; 314 struct list_head *pos; local [all...] |
/external/zlib/src/examples/ |
gzjoin.c | 283 int pos; /* where the "last block" bit is in byte */ local 347 pos = strm.data_type & 7; 350 if (pos != 0) { 352 pos = 0x100 >> pos; 353 last = strm.next_in[-1] & pos; 355 in->buf[strm.next_in - in->buf - 1] &= ~pos; 378 pos = strm.data_type & 7; 381 if (pos == 0 || !clr) 386 last &= ((0x100 >> pos) - 1); /* assure unused bits are zero * [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
entropy_coding.c | 804 WebRtc_Word16 pos, pos2, posg, poss, offsg, offss, offs2; local 853 pos = offsg; 856 sumQQ += (WEBRTC_SPL_MUL_16_32_RSFT16(WebRtcIsacfix_kT1GainQ15[model][pos2], tmpcoeffs_gQ17[pos]<<5)); // (Q15*Q17)>>(16-5) = Q21 857 pos++; 868 pos = offss; 871 sumQQ += WEBRTC_SPL_MUL_16_16_RSFT(tmpcoeffs_sQ10[pos], WebRtcIsacfix_kT1ShapeQ15[model][pos2], 7); // (Q10*Q15)>>7 = Q18 872 pos++; 892 pos = k; 895 sumQQ += WEBRTC_SPL_LSHIFT_W32(WEBRTC_SPL_MUL_16_32_RSFT16(WebRtcIsacfix_kT2GainQ15[model][pos2], tmpcoeffs2_gQ21[pos]), 1); // (Q15*Q21)>>(16-1) = Q21 896 pos += 2 971 WebRtc_Word16 pos, pos2, poss, posg, offsg, offss, offs2; local 1328 WebRtc_Word16 pos, pos2, posg, offsg, offs2; local 1983 WebRtc_Word16 pos, pos2, posg, offsg, offs2, gainpos; local [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/network/ |
ResourceResponse.cpp | 631 for (unsigned pos = 0; pos < max; /* pos incremented in loop */) { 632 size_t nextCommaPosition = safeHeader.find(',', pos); 633 size_t nextEqualSignPosition = safeHeader.find('=', pos); 636 String directive = trimToNextSeparator(safeHeader.substring(pos, nextEqualSignPosition - pos).stripWhiteSpace()); 637 pos += nextEqualSignPosition - pos + 1; 639 String value = safeHeader.substring(pos, max - pos).stripWhiteSpace() [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
nvvertparse.c | 59 const GLubyte *pos; member in struct:parse_state 82 parseState->pos, &line, &column); 94 parseState->pos - parseState->start, 150 const GLubyte *str = parseState->pos; 216 parseState->pos += (-i); 219 parseState->pos += i; 233 parseState->pos += (-i); 237 parseState->pos += (i - len); 254 while (IsWhitespace(*parseState->pos) || *parseState->pos == '#') [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/ |
BatchNode.java | 510 Vector3f pos = vars.vect1; local 524 pos.x = tmpFloat[index]; 526 pos.y = tmpFloat[index]; 528 pos.z = tmpFloat[index]; 531 transform.mult(pos, pos); 535 tmpFloat[index] = pos.x; 537 tmpFloat[index] = pos.y; 539 tmpFloat[index] = pos.z; 554 Vector3f pos = vars.vect1 local 623 Vector3f pos = vars.vect1; local [all...] |
/external/mesa3d/src/mesa/program/ |
nvvertparse.c | 59 const GLubyte *pos; member in struct:parse_state 82 parseState->pos, &line, &column); 94 parseState->pos - parseState->start, 150 const GLubyte *str = parseState->pos; 216 parseState->pos += (-i); 219 parseState->pos += i; 233 parseState->pos += (-i); 237 parseState->pos += (i - len); 254 while (IsWhitespace(*parseState->pos) || *parseState->pos == '#') [all...] |
/external/wpa_supplicant_8/src/crypto/ |
crypto_libtomcrypt.c | 491 u8 *pos; local 512 pos = out; 513 *pos++ = 0x00; 514 *pos++ = block_type; /* BT */ 518 os_memset(pos, 0x00, ps_len); 519 pos += ps_len; 522 os_memset(pos, 0xff, ps_len); 523 pos += ps_len; 526 if (os_get_random(pos, ps_len) < 0) { 532 if (*pos == 0x00 617 u8 *pos; local [all...] |
/frameworks/base/tools/aapt/ |
ResourceTable.h | 114 status_t addPublic(const SourcePos& pos, 120 status_t addEntry(const SourcePos& pos, 131 status_t startBag(const SourcePos& pos, 141 status_t addBag(const SourcePos& pos, 178 void canAddEntry(const SourcePos& pos, 253 void setCurrentXmlPos(const SourcePos& pos) { mCurrentXmlPos = pos; } 259 Item(const SourcePos& pos, 294 Entry(const String16& name, const SourcePos& pos) 296 mItemFormat(ResTable_map::TYPE_ANY), mNameIndex(-1), mPos(pos) [all...] |
/packages/inputmethods/PinyinIME/jni/share/ |
spellingtrie.cpp | 264 for (size_t pos = 0; pos < node->num_of_son; pos++) { 265 free_son_trie(node->first_son + pos); 374 for (uint16 pos = 0; pos < spelling_num_; pos++) { 375 const char *spl_str = spelling_buf_ + spelling_size_ * pos; 717 for (uint8 pos = 0; pos < ym_num_; pos++ [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-buffer.cc | 73 * to an alternate buffer (which we reuse the pos buffer for!), and its 100 ASSERT_STATIC (sizeof (info[0]) == sizeof (pos[0])); 104 new_pos = (hb_glyph_position_t *) realloc (pos, new_allocated * sizeof (pos[0])); 112 pos = new_pos; 117 out_info = separate_out ? (hb_glyph_info_t *) pos : info; 135 out_info = (hb_glyph_info_t *) pos; 164 assert ((uintptr_t) pos % sizeof (scratch_buffer_t) == 0); 165 *size = allocated * sizeof (pos[0]) / sizeof (scratch_buffer_t); 166 return (scratch_buffer_t *) (void *) pos; [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
_pyio.py | 298 def seek(self, pos, whence=0): 301 Change the stream position to byte offset pos. Argument pos is 317 def truncate(self, pos=None): 693 def seek(self, pos, whence=0): 694 new_position = self.raw.seek(pos, whence) 700 pos = self.raw.tell() 701 if pos < 0: 703 return pos 705 def truncate(self, pos=None) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
_pyio.py | 298 def seek(self, pos, whence=0): 301 Change the stream position to byte offset pos. Argument pos is 317 def truncate(self, pos=None): 693 def seek(self, pos, whence=0): 694 new_position = self.raw.seek(pos, whence) 700 pos = self.raw.tell() 701 if pos < 0: 703 return pos 705 def truncate(self, pos=None) [all...] |
/external/chromium_org/v8/src/ |
lithium-allocator.cc | 59 UsePosition::UsePosition(LifetimePosition pos, 64 pos_(pos), 92 void UseInterval::SplitAt(LifetimePosition pos, Zone* zone) { 93 ASSERT(Contains(pos) && pos.Value() != start().Value()); 94 UseInterval* after = new(zone) UseInterval(pos, end_); 97 end_ = pos; 107 ASSERT(Start().Value() <= cur->pos().Value() && 108 cur->pos().Value() <= End().Value()); 181 while (use_pos != NULL && use_pos->pos().Value() < start.Value()) 191 UsePosition* pos = NextUsePosition(start); local 201 UsePosition* pos = first_pos(); local 212 UsePosition* pos = NextUsePosition(start); local 377 UsePosition* pos = first_pos(); local 1229 LifetimePosition pos = second_range->Start(); local 1560 UsePosition* pos = current->NextUsePositionRegisterIsBeneficial(next_pos); local 1841 LifetimePosition pos = free_until_pos[reg]; local 1924 LifetimePosition pos = use_pos[reg]; local [all...] |
/external/svox/pico/lib/ |
picospho.c | 108 * - PROCESS_BOUNDS : go through inBuf items again and match against transduced pos/phoneme 115 * - PROCESS_RECOMB : go through inBuf items again and match against transduced pos/phoneme 188 picoos_uint16 outReadPos; /* next pos to read from inBuf for output */ 190 /* picoos_int16 outWritePos; */ /* next pos to output from in buf */ 193 picoos_uint8 sylReadPos, sylWritePos; /* next pos to read from sylBuf, next pos to write to sylBuf */ 207 picoos_uint16 phonReadPos, phonWritePos; /* next pos to read from phonBufIn, next pos to write to phonBufIn */ 220 wordStarted, /* is it the first syl in the word: expect POS */ 461 static pico_status_t sphoAddPhoneme(register spho_subobj_t *spho, picoos_int16 pos, picoos_int16 sym) 825 picoos_uint32 pos = 0; local 938 picoos_int16 pos, sym, sylsym; local 1340 picoos_uint32 pos = 0; local [all...] |
/external/wpa_supplicant_8/src/radius/ |
radius_server.c | 1086 char *buf, *pos; local 1116 pos = buf; 1117 while (*pos != '\0' && *pos != '\n') 1118 pos++; 1119 if (*pos == '\n') 1120 *pos = '\0'; 1124 pos = buf; 1125 while ((*pos >= '0' && *pos <= '9') || *pos == '.' | 1375 char *end, *pos; local [all...] |
/external/linux-tools-perf/util/ |
parse-options.c | 457 size_t pos; local 469 pos = fprintf(stderr, " "); 471 pos += fprintf(stderr, "-%c", opts->short_name); 473 pos += fprintf(stderr, " "); 476 pos += fprintf(stderr, ", "); 478 pos += fprintf(stderr, "--%s", opts->long_name); 489 pos += fprintf(stderr, "[=<n>]"); 491 pos += fprintf(stderr, "[<n>]"); 493 pos += fprintf(stderr, " <n>"); 503 pos += fprintf(stderr, "[=<%s>]", opts->argh) [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_tnc.c | 202 const u8 *pos, *end; local 213 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TNC, reqData, &len); 214 if (pos == NULL) { 215 wpa_printf(MSG_INFO, "EAP-TNC: Invalid frame (pos=%p len=%lu)", 216 pos, (unsigned long) len); 223 end = pos + len; 228 flags = *pos++; 238 if (end - pos < 4) { 243 message_length = WPA_GET_BE32(pos); 244 pos += 4 [all...] |
ikev2.c | 33 u8 *buf, *pos, *pad, skeyseed[IKEV2_MAX_HASH_LEN]; local 67 pos = buf; 68 os_memcpy(pos, data->i_nonce, data->i_nonce_len); 69 pos += data->i_nonce_len; 70 os_memcpy(pos, data->r_nonce, data->r_nonce_len); 71 pos += data->r_nonce_len; 72 os_memcpy(pos, data->i_spi, IKEV2_SPI_LEN); 73 pos += IKEV2_SPI_LEN; 74 os_memcpy(pos, data->r_spi, IKEV2_SPI_LEN); 79 u8 *tmp = pos - IKEV2_SPI_LEN 324 const u8 *pos, *end; local 763 const u8 *pos, *end; local [all...] |
/external/wpa_supplicant_8/src/rsn_supp/ |
preauth.c | 352 struct rsn_pmksa_candidate *cand, *pos; local 367 dl_list_for_each(pos, &sm->pmksa_candidates, 369 if (os_memcmp(pos->bssid, bssid, ETH_ALEN) == 0) { 370 cand = pos; 389 dl_list_for_each(pos, &sm->pmksa_candidates, 391 if (cand->priority <= pos->priority) { 392 dl_list_add(pos->list.prev, &cand->list); 482 char *pos = buf, *end = buf + buflen; local 486 ret = os_snprintf(pos, end - pos, "Pre-authentication [all...] |
/external/harfbuzz_ng/src/ |
hb-buffer.cc | 73 * to an alternate buffer (which we reuse the pos buffer for!), and its 100 ASSERT_STATIC (sizeof (info[0]) == sizeof (pos[0])); 104 new_pos = (hb_glyph_position_t *) realloc (pos, new_allocated * sizeof (pos[0])); 112 pos = new_pos; 117 out_info = separate_out ? (hb_glyph_info_t *) pos : info; 135 out_info = (hb_glyph_info_t *) pos; 151 *size = allocated * sizeof (pos[0]); 152 return pos; 266 memset (pos, 0, sizeof (pos[0]) * len) [all...] |