/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
CharMatcher.java | 843 int pos = indexIn(string); 844 if (pos == -1) { 854 pos++; 856 if (pos == chars.length) { 859 if (matches(chars[pos])) { 862 chars[pos - spread] = chars[pos]; 863 pos++; 867 return new String(chars, 0, pos - spread); 902 int pos = indexIn(string) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
VisibleUnits.cpp | 92 Position pos = previousNode->hasTagName(brTag) ? positionBeforeNode(previousNode) : local 95 if (pos.isCandidate()) 96 return pos; 114 Position pos; local 115 pos = createLegacyEditingPosition(nextNode, caretMinOffset(nextNode)); 117 if (pos.isCandidate()) 118 return pos; 450 Position pos = c.deepEquivalent(); local 451 Node* boundary = pos.parentEditingBoundary(); 457 Position end = pos.parentAnchoredEquivalent() 531 Position pos = c.deepEquivalent(); local 829 Position pos; local 1276 VisiblePosition pos = p; local 1288 VisiblePosition pos = p; local [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/font/ |
LetterQuad.java | 371 public void storeToArrays(float[] pos, float[] tc, short[] idx, byte[] colors, int quadIdx){
377 pos[0] = x; pos[1] = y; pos[2] = 0;
378 pos[3] = x; pos[4] = ymh; pos[5] = 0;
379 pos[6] = xpw; pos[7] = ymh; pos[8] = 0; [all...] |
/packages/inputmethods/PinyinIME/jni/share/ |
dictlist.cpp | 172 for (size_t pos = 0; pos < scis_num_; pos++) { 173 scis_hz_[pos] = scis[pos].hz; 174 scis_splid_[pos] = scis[pos].splid; 324 uint16 pos = hz_f - scis_hz_; local 325 if (0 == half_splid || scis_splid_[pos].half_splid == half_splid) { 333 uint16 pos = hz_found - scis_hz_ local [all...] |
dicttrie.cpp | 97 for (uint16 pos = kLemmaIdSize - 1; pos > 0; pos--) 98 id = (id << 8) + lma_idx_buf_[id_offset * kLemmaIdSize + pos]; 605 for (uint16 pos = 1; pos < splid_num; pos++) { 606 if (1 == pos) { 615 if (node_son->spl_idx == splids[pos]) 630 if (node_son->spl_idx == splids[pos]) [all...] |
/external/icu4c/test/intltest/ |
dtfmrgts.cpp | 87 FieldPosition pos(FieldPosition::DONT_CARE); 88 fmtd = sdf->format(today, fmtd, pos); 93 todayS = sdf->format(today, todayS, pos); 105 rt = sdf->format(sdf->parse(todayS, status), rt, pos); 193 FieldPosition pos(i); 195 fmt->format(dt, buf, pos); 196 //char[] dst = new char[pos.getEndIndex() - pos.getBeginIndex()]; 198 buf.extractBetween(pos.getBeginIndex(), pos.getEndIndex(), dst) [all...] |
/external/llvm/lib/Support/ |
regcomp.c | 132 #define INSERT(op, pos) doinsert(p, (sop)(op), HERE()-(pos)+1, pos) 133 #define AHEAD(pos) dofwd(p, pos, HERE()-(pos)) 134 #define ASTERN(sop, pos) EMIT(sop, HERE()-pos) 303 sopno pos; local 313 pos = HERE() 530 sopno pos; local [all...] |
/ndk/sources/host-tools/ndk-stack/regex/ |
regcomp.c | 131 #define INSERT(op, pos) doinsert(p, (sop)(op), HERE()-(pos)+1, pos) 132 #define AHEAD(pos) dofwd(p, pos, HERE()-(pos)) 133 #define ASTERN(sop, pos) EMIT(sop, HERE()-pos) 295 sopno pos; local 304 pos = HERE() 494 sopno pos; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
eapol_test.c | 98 char *pos; local 112 pos = attr->data; 113 if (pos[0] == '0' && pos[1] == 'x') 114 pos += 2; 115 len = os_strlen(pos); 121 if (hexstr2bin(pos, (u8 *) buf, len) < 0) { 175 const u8 *pos; local 191 pos = (const u8 *) (hdr + 1); 193 pos[0] == EAP_TYPE_IDENTITY) 558 u8 buf[100], *pos; local 826 u8 *pos; local 1105 char *pos; local [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsBackupAgent.java | 666 int pos = 0; local 678 while (pos < bytes) { 679 int length = readInt(settings, pos); 680 pos += INTEGER_BYTE_COUNT; 681 String dataKey = length > 0 ? new String(settings, pos, length) : null; 682 pos += length; 683 length = readInt(settings, pos); 684 pos += INTEGER_BYTE_COUNT; 685 String dataValue = length > 0 ? new String(settings, pos, length) : null; 686 pos += length 779 int pos = 0; local [all...] |
/external/chromium_org/v8/src/ |
parser.cc | 331 int pos = PreparseDataConstants::kMessageTextPos; local 333 if (store_.length() <= PreparseDataConstants::kHeaderSize + pos) { 336 int length = static_cast<int>(Read(pos)); 338 pos += 1 + length; 340 if (store_.length() < PreparseDataConstants::kHeaderSize + pos) { 393 int pos = PreparseDataConstants::kMessageTextPos + 1 local 397 array[i] = ReadString(ReadAddress(pos), &count); 398 pos += count + 1; 986 int pos = peek_position(); local 997 factory()->NewModuleDeclaration(proxy, module, top_scope_, pos); 1049 int pos = peek_position(); local 1105 int pos = peek_position(); local 1139 int pos = peek_position(); local 1157 int pos = peek_position(); local 1201 int pos = peek_position(); local 1264 int pos = position(); local 1634 int pos = peek_position(); local 1678 int pos = position(); local 1809 int pos = peek_position(); local 1972 int pos = -1; local 2131 int pos = peek_position(); local 2199 int pos = peek_position(); local 2221 int pos = peek_position(); local 2252 int pos = peek_position(); local 2293 int pos = position(); local 2339 int pos = position(); local 2383 int pos = position(); local 2430 int pos = position(); local 2457 int pos = position(); local 2691 int pos = peek_position(); local 2901 int pos = position(); local 2947 int pos = position(); local 2991 int pos = peek_position(); local 3012 int pos = peek_position(); local 3043 int pos = position(); local 3145 int pos = position(); local 3286 int pos = position(); local 3294 int pos; local 3334 int pos = position(); local 3426 int pos = position(); local 3442 int pos = position(); local 3453 int pos = stack->pop(); local 3471 int pos = peek_position(); local 3536 int pos = peek_position(); local 3643 int pos = peek_position(); local 3717 int pos = peek_position(); local 3877 int pos = peek_position(); local 4023 int pos = function_token_pos == RelocInfo::kNoPosition local 4401 int pos = peek_position(); local 4731 int pos = position(); local [all...] |
/external/wpa_supplicant_8/src/ap/ |
wpa_auth.c | 1173 u8 *pos; local 1226 u8 *buf, *pos; local 1908 u8 rsc[WPA_KEY_RSC_LEN], *_rsc, *gtk, *kde, *pos, dummy_gtk[32]; local 2243 u8 *kde, *pos, hdr[2]; local [all...] |
/external/icu4c/i18n/ |
timezone.cpp | 658 int32_t pos; member in class:TZEnumeration 660 TZEnumeration(int32_t* mapData, int32_t mapLen, UBool adoptMapData) : pos(0) { 924 TZEnumeration(const TZEnumeration &other) : StringEnumeration(), map(NULL), localMap(NULL), len(0), pos(0) { 930 pos = other.pos; 934 pos = 0; 941 pos = other.pos; 956 if (U_SUCCESS(status) && map != NULL && pos < len) { 957 getID(map[pos]); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/rbug/ |
rbug_context.c | 493 uint32_t pos = 0; local 502 pos = 0; 520 uint32_t pos = 0; local 529 pos = 0; 548 uint32_t pos = 0; local 557 pos = 0; 576 uint32_t pos = 0; local 585 pos = 0; 604 uint32_t pos = 0; local 613 pos = 0 636 uint32_t pos = 0; local 663 uint32_t pos = 0; local 691 uint32_t pos = 0; local 725 uint32_t pos = 0; local [all...] |
/external/grub/stage2/ |
char_io.c | 396 int pos = xpos; local 409 pos = 0; 418 pos += plen; 424 pos++; 462 pos++; 469 pos++; 474 if (pos == CMDLINE_WIDTH) 481 pos++; 487 for (i = 0; i < pos - xpos; i++) 569 /* POS points to the first space after a command. * 570 int pos = 0; local [all...] |
/external/linux-tools-perf/ |
builtin-record.c | 235 struct perf_evsel *pos, *pair; local 242 list_for_each_entry(pos, &evlist->entries, node) { 243 if (memcmp(&pos->attr, &pair->attr, sizeof(pos->attr) != 0)) 253 struct perf_evsel *pos; local 258 list_for_each_entry(pos, &evlist->entries, node) { 259 struct perf_event_attr *attr = &pos->attr; 274 config_attr(pos, evlist); 278 if (perf_evsel__open(pos, evlist->cpus, evlist->threads, group) < 0) { 316 event_name(pos)); 706 struct perf_evsel *pos; local 808 struct perf_evsel *pos; local [all...] |
/external/mesa3d/src/gallium/auxiliary/rbug/ |
rbug_context.c | 493 uint32_t pos = 0; local 502 pos = 0; 520 uint32_t pos = 0; local 529 pos = 0; 548 uint32_t pos = 0; local 557 pos = 0; 576 uint32_t pos = 0; local 585 pos = 0; 604 uint32_t pos = 0; local 613 pos = 0 636 uint32_t pos = 0; local 663 uint32_t pos = 0; local 691 uint32_t pos = 0; local 725 uint32_t pos = 0; local [all...] |
/external/webrtc/src/common_audio/vad/ |
vad_core.c | 339 WebRtc_Word16 diff, nr, pos; local 396 pos = WEBRTC_SPL_LSHIFT_W16(n, 1); 401 &deltaN[pos]); 404 &deltaN[pos + 1]); 411 &deltaS[pos]); 414 &deltaS[pos + 1]); 451 ngprvec[pos] = (WebRtc_Word16)WebRtcSpl_DivW32W16(tmp32_2, h0); 452 ngprvec[pos + 1] = 16384 - ngprvec[pos]; 455 ngprvec[pos] = 16384 [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
MorseCodeConverter.java | 118 int pos = 1; local 124 result[pos] = WORD_GAP; 125 pos++; 130 result[pos] = LETTER_GAP; 131 pos++; 135 System.arraycopy(letter, 0, result, pos, letter.length); 136 pos += letter.length;
|
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
SSLEngineResultTest.java | 51 int[] pos = { 0, 1, 1000, Integer.MAX_VALUE, (Integer.MAX_VALUE - 1) }; local 87 for (int n = 0; n < pos.length; n++) { 88 for (int l = 0; l < pos.length; l++) { 89 res = new SSLEngineResult(enS[i], enHS[j], pos[n], 90 pos[l]); 93 .bytesProduced(), pos[l]); 95 .bytesConsumed(), pos[n]);
|
/external/chromium/net/tools/flip_server/ |
mem_cache.cc | 152 size_t pos = 0; local 155 old_pos = pos; 156 pos += framer.ProcessInput(filename_contents.data() + pos, 157 filename_contents.size() - pos); 158 if (framer.Error() || pos == old_pos) { 172 visitor.body = filename_contents.substr(pos);
|
/external/chromium_org/net/tools/flip_server/ |
mem_cache.cc | 149 size_t pos = 0; local 152 old_pos = pos; 153 pos += framer.ProcessInput(filename_contents.data() + pos, 154 filename_contents.size() - pos); 155 if (framer.Error() || pos == old_pos) { 169 visitor.body = filename_contents.substr(pos);
|
/external/chromium_org/third_party/icu/source/i18n/ |
selfmt.cpp | 260 FieldPosition& pos, 266 return format(obj.getString(), appendTo, pos, status); 278 FieldPosition& /*pos */, 401 ParsePosition& pos) const 404 pos.setErrorIndex(pos.getIndex()); 426 int32_t pos = -1; local 430 while ((elem = other->nextElement(pos)) != NULL){
|
unesctrn.cpp | 171 void UnescapeTransliterator::handleTransliterate(Replaceable& text, UTransPosition& pos, 173 int32_t start = pos.start; 174 int32_t limit = pos.limit; 281 pos.contextLimit += limit - pos.limit; 282 pos.limit = limit; 283 pos.start = start;
|
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
nvfragparse.c | 146 const GLubyte *pos; /* current position */ member in struct:parse_state 170 parseState->pos, &line, &column); 182 parseState->pos - parseState->start, 295 const GLubyte *str = parseState->pos; 361 parseState->pos += (-i); 364 parseState->pos += i; 378 parseState->pos += (-i); 382 parseState->pos += (i - len); 408 while (IsWhitespace(*parseState->pos) || *parseState->pos == '#') [all...] |