/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
NativeMedia.java | 162 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) { 163 mSourceString = parent.getItemAtPosition(pos).toString(); 182 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) { 183 mSinkString = parent.getItemAtPosition(pos).toString();
|
/libcore/luni/src/main/java/java/text/ |
NumberFormat.java | 538 ParsePosition pos = new ParsePosition(0); local 539 Number number = parse(string, pos); 540 if (pos.getIndex() == 0) { 541 throw new ParseException("Unparseable number: \"" + string + "\"", pos.getErrorIndex());
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherSpiTest.java | 216 int pos = 5; local 252 bb1.position(pos); 296 int pos = 5; local 297 bb1.position(pos);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.modifiers/string_insert/ |
size_pointer.pass.cpp | 13 // insert(size_type pos, const charT* s); 23 test(S s, typename S::size_type pos, const typename S::value_type* str, S expected) 29 s.insert(pos, str); 31 assert(pos <= old_size); 36 assert(pos > old_size);
|
size_size_char.pass.cpp | 13 // insert(size_type pos, size_type n, charT c); 23 test(S s, typename S::size_type pos, typename S::size_type n, 30 s.insert(pos, n, str); 32 assert(pos <= old_size); 37 assert(pos > old_size);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/bigram/ |
dynamic_bigram_list_policy.cpp | 305 int pos = bigramListPos; local 307 pos -= mBuffer->getOriginalBufferSize(); 318 int bigramEntryPos = pos; 322 mBuffer->getBuffer(usesAdditionalBuffer), &bigramFlags, &originalBigramPos, &pos);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
HTMLParser.py | 259 pos = rawdata.find('>', i+2) 260 if pos == -1: 263 self.handle_comment(rawdata[i+2:pos]) 264 return pos + 1
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
HTMLParser.py | 259 pos = rawdata.find('>', i+2) 260 if pos == -1: 263 self.handle_comment(rawdata[i+2:pos]) 264 return pos + 1
|
/cts/suite/cts/deviceTests/opengl/jni/reference/scene/flocking/ |
FlockingScene.cpp | 156 Vector2D* pos = &(b->mPosition); local 160 float x = pos->mX / (LIMIT_X * BOID_SCALE) * mDisplayRatio; 161 float y = pos->mY / (LIMIT_Y * BOID_SCALE);
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/dom2dtm/ |
DOM2DTM.java | 339 Node pos=m_pos; 347 if (pos.hasChildNodes()) 349 next = pos.getFirstChild(); 358 if(ENTITY_REFERENCE_NODE!=pos.getNodeType()) 390 next = pos.getNextSibling(); 398 pos=pos.getParentNode(); 399 if(pos==null) 412 if(pos!=null && ENTITY_REFERENCE_NODE == pos.getNodeType() [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
AxesWalker.java | 415 int pos = getProximityPosition(); local 443 pos++; 453 // System.out.println("pos: "+pos); 454 return pos;
|
/external/chromium/chrome/browser/chromeos/notifications/ |
desktop_notifications_unittest.cc | 65 int pos = (*iter)->GetPosition().y(); local 66 if (iter == balloons_.begin() || pos < min) 67 min = pos;
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
client_for_testing.py | 679 pos = random.randint(0, len(key)) 680 key = key[0:pos] + chr(ch) + key[pos:] 684 pos = random.randint(1, len(key) - 1) 685 key = key[0:pos] + ' ' + key[pos:] 709 pos = 0 710 while pos < len(terminator): 712 if received == terminator[pos]: 713 pos += [all...] |
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/metadata/ |
mpeg_parser.js | 29 var pos = br.tell(); 35 br.validateRead(opt_end - pos); 41 throw 'atom too short (' + size + ') @' + pos; 43 if (opt_end && pos + size > opt_end) 44 throw 'atom too long (' + size + '>' + (opt_end - pos) + ') @' + pos;
|
/external/chromium_org/content/renderer/ |
dom_serializer_browsertest.cc | 109 int pos = content.find("charset", 0); local 110 if (pos > -1) { 115 int remaining_length = content.length() - pos - 7; 118 int start_pos = pos + 7; 511 std::string::size_type pos = original_str.find(htmlTag); local 512 ASSERT_NE(std::string::npos, pos); 513 pos += htmlTag.length(); 518 original_str.insert(pos, head_part); 558 std::string::size_type pos = original_str.find(htmlTag); local 559 ASSERT_NE(std::string::npos, pos); [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/ |
pep8.py | 519 for pos, c in enumerate(logical_line): 525 return pos, issue 529 return pos, issue 633 pos = logical_line.find('.has_key(') 634 if pos > -1: 635 return pos, "W601 .has_key() is deprecated, use 'in'" 659 pos = logical_line.find('<>') 660 if pos > -1: 661 return pos, "W603 '<>' is deprecated, use '!='" 669 pos = logical_line.find('`' [all...] |
/external/chromium_org/third_party/icu/source/common/ |
propname.h | 267 uint8_t *temp, int32_t pos, 331 uint8_t *temp, int32_t pos, 398 uint8_t *temp, int32_t pos,
|
/external/chromium_org/third_party/icu/source/i18n/ |
nfrule.cpp | 539 int32_t pos = ruleText.indexOf(*strings[i]); local 540 if (pos != -1 && (result == -1 || pos < result)) { 541 result = pos; 645 * @param pos The position in toInsertInto where the resultant text 649 NFRule::doFormat(int64_t number, UnicodeString& toInsertInto, int32_t pos) const 656 toInsertInto.insert(pos, ruleText); 657 sub2->doSubstitution(number, toInsertInto, pos); 658 sub1->doSubstitution(number, toInsertInto, pos); 667 * @param pos The position in toInsertInto where the resultant tex [all...] |
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
datefmt.h | 84 * FieldPosition pos(DateFormat::YEAR_FIELD); 88 * cout << pos.getBeginIndex() << "," << pos. getEndIndex() << endl; 225 * @param pos On input: an alignment field, if desired. 233 FieldPosition& pos, 422 * @param pos On input, the position at which to start parsing; on 430 ParsePosition& pos) const = 0; 445 * @param pos On input, the position at which to start parsing; on 452 ParsePosition& pos) const;
|
msgfmt.h | 95 * {@link #parse(const UnicodeString& source, ParsePosition& pos, int32_t& count)}, 622 * @param pos On input: an alignment field, if desired. 631 FieldPosition& pos, 680 * @param pos On input, starting position for parse. On output, 690 ParsePosition& pos, 719 * @param pos On input, starting position for parse. On output, 726 ParsePosition& pos) const; [all...] |
/external/chromium_org/third_party/libwebp/utils/ |
bit_reader.h | 228 const int pos = br->bits_; local 229 const range_t value = (range_t)(br->value_ >> pos); 232 br->value_ -= (bit_t)(split + 1) << pos;
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
draw_pipe_stipple.c | 125 const unsigned pos = draw_current_shader_position_output(stage->draw); local 126 const float *pos0 = v0->data[pos]; 127 const float *pos1 = v1->data[pos];
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
r300_vs.c | 54 vs_outputs->pos = i; 119 if (outputs->pos != ATTR_UNUSED) { 120 c->code->outputs[outputs->pos] = reg++;
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
SkGradientShaderPriv.h | 110 /// Seems like enough for visual accuracy. TODO: if pos[] deserves 117 /// Seems like enough for visual accuracy. TODO: if pos[] deserves 268 const SkColor* getColors(int pos) const { 270 SkASSERT((pos-1) <= fColorType); 271 return &fColors[pos];
|
/external/chromium_org/third_party/skia/src/pdf/ |
SkPDFCatalog.cpp | 77 int pos = findObjectIndex(obj); local 80 SkASSERT(pos >= 0); 81 uint32_t currentIndex = pos;
|