/external/chromium_org/third_party/icu/source/i18n/ |
tmutfmt.cpp | 199 FieldPosition& pos, UErrorCode& status) const { 227 return pattern->format(formattable, 1, toAppendTo, pos, status); 238 ParsePosition& pos) const { 242 int32_t oldPos = pos.getIndex(); 271 pos.setErrorIndex(-1); 272 pos.setIndex(oldPos); 275 pattern->parseObject(source, parsed, pos); 276 if (pos.getErrorIndex() != -1 || pos.getIndex() == oldPos) { 303 int32_t parseDistance = pos.getIndex() - oldPos 752 int32_t pos = -1; local 766 int32_t pos = -1; local 787 int32_t pos = -1; local [all...] |
/external/icu4c/i18n/ |
tmutfmt.cpp | 202 FieldPosition& pos, UErrorCode& status) const { 230 return pattern->format(formattable, 1, toAppendTo, pos, status); 241 ParsePosition& pos) const { 245 int32_t oldPos = pos.getIndex(); 275 pos.setErrorIndex(-1); 276 pos.setIndex(oldPos); 279 pattern->parseObject(source, parsed, pos); 280 if (pos.getErrorIndex() != -1 || pos.getIndex() == oldPos) { 307 int32_t parseDistance = pos.getIndex() - oldPos 777 int32_t pos = -1; local 792 int32_t pos = -1; local 813 int32_t pos = -1; local [all...] |
choicfmt.cpp | 402 FieldPosition& /*pos*/) const 471 FieldPosition& pos, 486 format(objDouble, appendTo, pos); 500 FieldPosition& pos, 503 return NumberFormat::format(obj, appendTo, pos, status); 510 ParsePosition& pos) const 512 result.setDouble(parseArgument(msgPattern, 0, text, pos)); 518 const UnicodeString &source, ParsePosition &pos) { 520 int32_t start = pos.getIndex(); 543 pos.setErrorIndex(start) [all...] |
/external/javassist/src/main/javassist/ |
CtBehavior.java | 716 int pos = iterator.insertEx(b.get()); local 717 iterator.insert(b.getExceptionTable(), pos); local 800 int pos = iterator.next(); local 801 if (pos >= subr) 804 int c = iterator.byteAt(pos); 808 insertGoto(iterator, subr, pos); 850 * assert subr > pos 852 private void insertGoto(CodeIterator iterator, int subr, int pos) 857 iterator.writeByte(Opcode.NOP, pos); 858 boolean wide = subr + 2 - pos > Short.MAX_VALUE 872 iterator.write32bit(iterator.getMark() - pos, pos + 1); local 1031 int pos = iterator.append(b.get()); local 1034 iterator.append(b.getExceptionTable(), pos); local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
vlc_decode.cpp | 147 int pos = (x_pos + y_pos * doubleWidth) << 1; local 183 mot_x[pos+offset] = (MOT) mvx; 184 mot_y[pos+offset] = (MOT) mvy; 212 mot_x[pos] = mot_x[pos+1] = (MOT) mvx; 213 mot_y[pos] = mot_y[pos+1] = (MOT) mvy; 214 pos += doubleWidth; 215 mot_x[pos] = mot_x[pos+1] = (MOT) mvx [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/ |
PieRenderer.java | 396 int pos = 0; local 400 float angle = getArcCenter(item, pos, count); 413 pos++; 431 private float getArcCenter(PieItem item, int pos, int count) { 432 return getCenter(pos, count, SWEEP_ARC); 435 private float getSliceCenter(PieItem item, int pos, int count) { 438 - pos * SWEEP_SLICE; 441 private float getCenter(int pos, int count, float sweep) { 442 return mCenterAngle + (count - 1) * sweep / 2f - pos * sweep; 557 int pos = 0 local 569 int pos = 0; local 898 int pos = 0; local [all...] |
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
TestingCamera.java | 400 View view, int pos, long id) { 401 int cameraId = pos - 1; 432 View view, int pos, long id) { 433 if (pos == mPreviewSize) return; 440 mPreviewSize = pos; 466 View view, int pos, long id) { 467 if (pos == mPreviewFrameRate) return; 468 mPreviewFrameRate = pos; 509 View view, int pos, long id) { 510 if (pos == mAfMode) return [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
ndbdic.c | 123 NJ_UINT16 pos, j, bit_all; local 135 pos = (NJ_UINT16)(bit_all >> 3); 136 data = (NJ_UINT16)(NJ_INT16_READ(stem_data + pos)); 152 NJ_UINT16 pos, j, bit_all; local 169 pos = (NJ_UINT16)(bit_all >> 3); 170 data = (NJ_UINT16)(NJ_INT16_READ(stem_data + pos)); 183 pos = (NJ_UINT16)(bit_all >> 3); 184 data = (NJ_UINT16)(NJ_INT16_READ(stem_data + pos)); 213 NJ_UINT16 pos, j, bit_all = 0; local 230 pos = (NJ_UINT16)(bit_all >> 3) 353 NJ_UINT16 pos, j, bit_all; local 395 NJ_UINT16 pos, j, bit_all; local 571 NJ_UINT16 pos, j, bit_all, bit_tmp, bit_idx; local 1998 NJ_UINT16 pos, j, bit_all, bit_tmp, bit_idx; local 2258 NJ_UINT16 pos, j, bit_all; local [all...] |
/bionic/libc/upstream-netbsd/libc/regex/ |
regcomp.c | 164 static void doinsert(struct parse *p, sop op, sopno opnd, sopno pos); 165 static void dofwd(struct parse *p, sopno pos, sopno value); 200 #define INSERT(op, pos) doinsert(p, (sop)(op), HERE()-(pos)+1, pos) 201 #define AHEAD(pos) dofwd(p, pos, HERE()-(pos)) 202 #define ASTERN(sop, pos) EMIT(sop, HERE()-pos) 400 sopno pos; local 622 sopno pos, i; local [all...] |
/external/chromium_org/ash/wm/ |
window_positioner.cc | 527 const gfx::Rect& pos, 531 return pos; 533 int x = pos.x() - (pos.x() - work_area.x()) % grid; 534 int y = pos.y() - (pos.y() - work_area.y()) % grid; 535 int w = pos.width(); 536 int h = pos.height(); 540 if (abs(pos.right() - work_area.right()) < grid) 542 if (abs(pos.bottom() - work_area.bottom()) < grid [all...] |
/external/chromium_org/content/browser/renderer_host/p2p/ |
socket_host_tcp.cc | 392 int pos = 0; local 393 while (pos <= read_buffer_->offset() && state_ == STATE_OPEN) { 394 int consumed = ProcessInput(head + pos, read_buffer_->offset() - pos); 397 pos += consumed; 401 if (pos && pos <= read_buffer_->offset()) { 402 memmove(head, head + pos, read_buffer_->offset() - pos); 403 read_buffer_->set_offset(read_buffer_->offset() - pos); [all...] |
socket_host_tcp_unittest.cc | 153 size_t pos = 0; local 156 while (pos < received_data.size()) { 157 size_t step_size = std::min(step_sizes[step], received_data.size() - pos); 158 socket_->AppendInputData(&received_data[pos], step_size); 159 pos += step_size; 300 size_t pos = 0; local 303 while (pos < received_data.size()) { 304 size_t step_size = std::min(step_sizes[step], received_data.size() - pos); 305 socket_->AppendInputData(&received_data[pos], step_size); 306 pos += step_size [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/ |
closebrackets.js | 21 function charsAround(cm, pos) { 22 var str = cm.getRange(CodeMirror.Pos(pos.line, pos.ch - 1), 23 CodeMirror.Pos(pos.line, pos.ch + 1)); 34 cm.replaceRange("", CodeMirror.Pos(cur.line, cur.ch - 1), CodeMirror.Pos(cur.line, cur.ch + 1)); 47 var cur = cm.getCursor(), ahead = cm.getRange(cur, CodeMirror.Pos(cur.line, cur.ch + 1)) [all...] |
/external/chromium_org/third_party/libusb/src/libusb/ |
libusbi.h | 86 * pos - A structure pointer has a "member" element 88 * member - the list_head element in "pos" 91 #define list_for_each_entry(pos, head, member, type) \ 92 for (pos = list_entry((head)->next, type, member); \ 93 &pos->member != (head); \ 94 pos = list_entry(pos->member.next, type, member)) 96 #define list_for_each_entry_safe(pos, n, head, member, type) \ 97 for (pos = list_entry((head)->next, type, member), \ 98 n = list_entry(pos->member.next, type, member); [all...] |
/external/chromium_org/tools/traceline/traceline/ |
assembler.h | 127 void bind_to(int pos) { 129 table_[0] = pos; 132 void link_to(int pos) { 136 table_[num_] = pos; 146 // unusued. If -1, then we are bound (and the pos is at table_[0]). 340 void put_dword_at(int pos, unsigned int d) { 341 *reinterpret_cast<unsigned int*>(&buf_[pos]) = d; 456 int pos = l->binding_pos() - (pos_ + 2); 457 ASSERT(pos >= -128 && pos < 0) [all...] |
/external/chromium_org/v8/tools/ |
csvparser.js | 58 var pos = 0; 63 var fieldMatch = fieldRe.exec(line.substr(pos)); 66 pos += field.length + 3; // Skip comma and quotes. 72 pos += field.length + 1; // Skip comma. 75 } while (pos <= endPos);
|
/external/clang/include/clang/Analysis/Analyses/ |
FormatString.h | 84 LengthModifier(const char *pos, Kind k) 85 : Position(pos), kind(k) {} 168 ConversionSpecifier(bool isPrintf, const char *pos, Kind k) 169 : IsPrintf(isPrintf), Position(pos), EndScanList(0), kind(k) {} 388 PrintfConversionSpecifier(const char *pos, Kind k) 389 : ConversionSpecifier(true, pos, k) {} 524 ScanfConversionSpecifier(const char *pos, Kind k) 525 : ConversionSpecifier(false, pos, k) {} 527 void setEndScanList(const char *pos) { EndScanList = pos; } [all...] |
/external/libvpx/libvpx/vp8/encoder/arm/armv5te/ |
vp8_packtokens_partitions_armv5.asm | 27 VALIDATE_POS $start, $pos 31 mov r1, $pos 170 sub r4, r4, #1 ; x = w->pos-1 191 ldr r4, [r0, #vp8_writer_pos] ; w->pos 194 add r11, r4, #1 ; w->pos++ 199 VALIDATE_POS r10, r11 ; validate_buffer at pos 201 strb r7, [r10, r4] ; w->buffer[w->pos++] 268 sub r4, r4, #1 ; x = w->pos - 1 292 add r11, r4, #1 ; w->pos++ 297 VALIDATE_POS r10, r11 ; validate_buffer at pos [all...] |
/external/llvm/lib/Support/ |
raw_ostream.cpp | 429 : Error(false), UseAtomicWrites(false), pos(0) { 474 pos = 0; 476 pos = static_cast<uint64_t>(loc); 509 pos += Size; 571 pos = ::lseek(FD, off, SEEK_SET); 572 if (pos != off) 574 return pos; 608 pos -= len; 621 pos -= len; 634 pos -= len [all...] |
/external/v8/tools/ |
csvparser.js | 58 var pos = 0; 63 var fieldMatch = fieldRe.exec(line.substr(pos)); 66 pos += field.length + 3; // Skip comma and quotes. 72 pos += field.length + 1; // Skip comma. 75 } while (pos <= endPos);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/ |
dynamic_patricia_trie_writing_helper.cpp | 88 int pos = readingHelper->getPosOfLastForwardLinkField(); local 93 getUpdatedProbability(NOT_A_PROBABILITY /* originalProbability */, probability), &pos); 184 int pos = nodeToUpdate->getHeadPos(); local 185 const bool usesAdditionalBuffer = mBuffer->isInAdditionalBuffer(pos); 188 pos -= mBuffer->getOriginalBufferSize(); 192 PatriciaTrieReadingUtils::getFlagsAndAdvancePosition(dictBuf, &pos); 205 int pos = originalNode->getHeadPos(); local 206 const bool usesAdditionalBuffer = mBuffer->isInAdditionalBuffer(pos); 209 pos -= mBuffer->getOriginalBufferSize(); 213 PatriciaTrieReadingUtils::getFlagsAndAdvancePosition(dictBuf, &pos); [all...] |
/external/chromium_org/v8/src/mips/ |
assembler-mips.cc | 323 ASSERT(pc_ <= reloc_info_writer.pos()); // No overlap. 328 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); 470 // generated code. pos() is the position the label refers to. 473 // to be generated; pos() is the position of the last 648 int Assembler::target_at(int32_t pos) { 649 Instr instr = instr_at(pos); 656 return (imm18 + pos); 667 // EndOfChain sentinel is returned directly, not relative to pc or pos. 670 return pos + kBranchPCOffset + imm18; 673 Instr instr_lui = instr_at(pos + 0 * Assembler::kInstrSize) [all...] |
/external/v8/src/mips/ |
assembler-mips.cc | 339 ASSERT(pc_ <= reloc_info_writer.pos()); // No overlap. 344 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); 485 // generated code. pos() is the position the label refers to. 488 // to be generated; pos() is the position of the last 654 int Assembler::target_at(int32_t pos) { 655 Instr instr = instr_at(pos); 662 return (imm18 + pos); 673 // EndOfChain sentinel is returned directly, not relative to pc or pos. 676 return pos + kBranchPCOffset + imm18; 679 Instr instr_lui = instr_at(pos + 0 * Assembler::kInstrSize) [all...] |
/frameworks/base/core/java/android/app/ |
BackStackRecord.java | 55 int pos = 0; local 57 mOps[pos++] = op.cmd; 58 mOps[pos++] = op.fragment != null ? op.fragment.mIndex : -1; 59 mOps[pos++] = op.enterAnim; 60 mOps[pos++] = op.exitAnim; 61 mOps[pos++] = op.popEnterAnim; 62 mOps[pos++] = op.popExitAnim; 65 mOps[pos++] = N; 67 mOps[pos++] = op.removed.get(i).mIndex; 70 mOps[pos++] = 0 98 int pos = 0; local [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
BackStackRecord.java | 54 int pos = 0; local 56 mOps[pos++] = op.cmd; 57 mOps[pos++] = op.fragment != null ? op.fragment.mIndex : -1; 58 mOps[pos++] = op.enterAnim; 59 mOps[pos++] = op.exitAnim; 60 mOps[pos++] = op.popEnterAnim; 61 mOps[pos++] = op.popExitAnim; 64 mOps[pos++] = N; 66 mOps[pos++] = op.removed.get(i).mIndex; 69 mOps[pos++] = 0 97 int pos = 0; local [all...] |