/cts/libs/json/src/com/android/json/stream/ |
D | JsonReader.java | 188 private int pos = 0; field in JsonReader 582 pos--; in nextInArray() 586 pos--; in nextInArray() 604 pos--; in nextInObject() 629 pos--; in nextInObject() 650 if ((pos < limit || fillBuffer(1)) && buffer[pos] == '>') { in objectValue() 651 pos++; in objectValue() 680 pos--; in nextValue() 691 if (limit != pos) { in fillBuffer() 692 limit -= pos; in fillBuffer() [all …]
|
/cts/tools/dasm/src/java_cup/ |
D | production.java | 358 int pos; in action_translate() local 382 for (pos = id_start = 0; pos <= len; pos++) in action_translate() 388 if (!is_id_char(buffer[pos])) in action_translate() 391 id_str = new String(buffer, id_start, pos - id_start); in action_translate() 396 if (buffer[pos] != '\0') in action_translate() 397 result.append(buffer, pos, 1); in action_translate() 410 if (is_id_start(buffer[pos])) in action_translate() 414 id_start = pos; in action_translate() 419 if (buffer[pos] != '\0') in action_translate() 420 result.append(buffer, pos, 1); in action_translate() [all …]
|
D | lalr_item.java | 42 public lalr_item(production prod, int pos, terminal_set look) in lalr_item() argument 45 super(prod, pos); in lalr_item() 176 int pos; in calc_lookahead() local 189 for (pos = dot_pos()+1; pos < the_production().rhs_length(); pos++) in calc_lookahead() 191 part = the_production().rhs(pos); in calc_lookahead() 241 for (int pos = dot_pos() + 1; pos < the_production().rhs_length(); pos++) in lookahead_visible() 243 part = the_production().rhs(pos); in lookahead_visible()
|
D | lr_item_core.java | 33 public lr_item_core(production prod, int pos) throws internal_error in lr_item_core() argument 44 if (pos < 0 || pos > _the_production.rhs_length()) in lr_item_core() 48 _dot_pos = pos; in lr_item_core() 51 _core_hash_cache = 13*_the_production.hashCode() + pos; in lr_item_core()
|
/cts/suite/audio_quality/lib/src/ |
D | StringUtil.cpp | 42 android::String8 StringUtil::substr(const android::String8& str, size_t pos, size_t n) in substr() argument 46 if (pos >= l) { in substr() 50 if ((pos + n) > l) { in substr() 51 n = l - pos; in substr() 53 android::String8 result(str.string() + pos, n); in substr()
|
/cts/tools/dasm/src/dasm/ |
D | Utils.java | 125 int pos = name.lastIndexOf('/'); in getClassFieldFromString() local 127 if (pos == -1) { in getClassFieldFromString() 131 result[0] = name.substring(0, pos); in getClassFieldFromString() 132 result[1] = name.substring(pos + 1); in getClassFieldFromString()
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
D | WifiManagerTest.java | 285 int pos = findConfiguredNetworks(SSID1, wifiConfiguredNetworks); in testWifiManagerNetWork() local 286 if (notExist != pos) { in testWifiManagerNetWork() 287 wifiConfiguration = wifiConfiguredNetworks.get(pos); in testWifiManagerNetWork() 290 pos = findConfiguredNetworks(SSID1, wifiConfiguredNetworks); in testWifiManagerNetWork() 291 assertEquals(notExist, pos); in testWifiManagerNetWork() 301 pos = findConfiguredNetworks(SSID1, wifiConfiguredNetworks); in testWifiManagerNetWork() 302 assertTrue(notExist != pos); in testWifiManagerNetWork() 307 wifiConfiguration = mWifiManager.getConfiguredNetworks().get(pos); in testWifiManagerNetWork() 313 wifiConfiguration = mWifiManager.getConfiguredNetworks().get(pos); in testWifiManagerNetWork() 317 wifiConfiguration = mWifiManager.getConfiguredNetworks().get(pos); in testWifiManagerNetWork() [all …]
|
/cts/tools/signature-tools/src/signature/converter/dex/ |
D | GenericSignatureParser.java | 110 private int pos; field in GenericSignatureParser 587 if (pos < buffer.length) { in scanSymbol() 588 symbol = buffer[pos]; in scanSymbol() 589 pos++; in scanSymbol() 627 char ch = buffer[pos]; in scanIdentifier() 630 identBuf.append(buffer[pos]); in scanIdentifier() 631 pos++; in scanIdentifier() 637 } while (pos != buffer.length); in scanIdentifier()
|
/cts/tests/src/android/widget/cts/util/ |
D | ListUtil.java | 44 public final void setSelectedPosition(final int pos) { in setSelectedPosition() argument 47 mListView.setSelection(pos); in setSelectedPosition()
|
D | ListScenario.java | 182 for (int pos : positions) { in setPositionsUnselectable() 183 setPositionUnselectable(pos); in setPositionsUnselectable()
|
/cts/tools/signature-tools/test/signature/converter/doclet/ |
D | DocletTestConverter.java | 81 int pos = filename.indexOf("."); in putSource() local 82 while(pos > 0) { in putSource() 83 directory = directory + filename.substring(0, pos) + separator; in putSource() 84 filename = filename.substring(pos+1); in putSource() 85 pos = filename.indexOf("."); in putSource()
|
/cts/suite/pts/hostTests/browser/browserlauncher/assets/octane/ |
D | raytrace.js | 202 initialize : function(pos, color, intensity) { argument 203 this.position = pos; 285 initialize : function(pos, dir) { argument 286 this.position = pos; 420 initialize : function(pos, radius, material) { argument 422 this.position = pos; 472 initialize : function(pos, d, material) { argument 473 this.position = pos; 552 initialize : function(pos, lookAt, up) { argument 553 this.position = pos; [all …]
|
D | navier-stokes.js | 229 var pos = j * rowSize; 231 var x = i - Wdt0 * u[++pos]; 232 var y = j - Hdt0 * v[pos]; 251 …d[pos] = s0 * (t0 * d0[i0 + row1] + t1 * d0[i0 + row2]) + s1 * (t0 * d0[i1 + row1] + t1 * d0[i1 + …
|
D | pdfjs.js | 734 var pos = stream.pos; 737 if (pos + limit > end) 738 limit = end - pos; 741 stream.pos = pos; 745 stream.pos += index; 769 startXRef = stream.pos + 6; 773 var found = false, pos = stream.end; 774 while (!found && pos > 0) { 775 pos -= step - 'startxref'.length; 776 if (pos < 0) [all …]
|
D | regexp.js | 65 var pos = Math.floor(Math.random() * str.length); 66 var chr = String.fromCharCode((str.charCodeAt(pos) + Math.floor(Math.random() * 128)) % 128); 67 variants[i] = str.substring(0, pos) + chr + str.substring(pos + 1, str.length);
|
/cts/suite/audio_quality/lib/include/ |
D | StringUtil.h | 34 static android::String8 substr(const android::String8& str, size_t pos, size_t n);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathMeasureTest.java | 51 float[] pos = { 1f }; in testGetPosTan() local 54 mPathMeasure.getPosTan(distance, pos, tan); in testGetPosTan()
|
D | CanvasTest.java | 1583 final float[] pos = new float[] { in testDrawPosText1() local 1590 mCanvas.drawPosText(text, -1, 7, pos, mPaint); in testDrawPosText1() 1598 mCanvas.drawPosText(text, 1, 10, pos, mPaint); in testDrawPosText1() 1617 mCanvas.drawPosText(text, 0, 7, pos, mPaint); in testDrawPosText1() 1622 final float[] pos = new float[] { in testDrawPosText2() local 1639 mCanvas.drawPosText(text, pos, mPaint); in testDrawPosText2()
|
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/ |
D | TestItems.java | 98 public static TestItem getTest(int pos) { in getTest() argument 99 return ITEMS.get(pos); in getTest()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | MediaControllerTest.java | 279 public void seekTo(int pos) { in seekTo() argument 280 mPosition = pos; in seekTo()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_Audio_Playlists_MembersTest.java | 169 int pos = c.getPosition(); in verifyPlaylist() local 171 assertEquals("mismatched member at position " + pos, in verifyPlaylist() 172 members[pos], c.getInt(c.getColumnIndex(Members.AUDIO_ID))); in verifyPlaylist() 175 assertEquals("mismatched ordering at position " + pos, in verifyPlaylist() 176 ordering[pos], c.getInt(c.getColumnIndex(Members.PLAY_ORDER))); in verifyPlaylist()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioTrackTest.java | 359 int pos; in testPlaybackHeadPositionAfterStop() local 362 pos = track.getPlaybackHeadPosition(); in testPlaybackHeadPositionAfterStop() 364 } while((pos != 0) && (count < TEST_LOOP_CNT)); in testPlaybackHeadPositionAfterStop() 365 log(TEST_NAME, "position =" + pos + ", read count ="+count); in testPlaybackHeadPositionAfterStop() 366 assertTrue(TEST_NAME, pos == 0); in testPlaybackHeadPositionAfterStop() 393 int pos = track.getPlaybackHeadPosition(); in testPlaybackHeadPositionAfterPause() local 394 log(TEST_NAME, "position =" + pos); in testPlaybackHeadPositionAfterPause() 395 assertTrue(TEST_NAME, pos > 0); in testPlaybackHeadPositionAfterPause()
|
D | MediaPlayerTest.java | 108 int pos = mp.getCurrentPosition(); in testPlayAudio() local 109 assertTrue(pos >= 0); in testPlayAudio() 110 assertTrue(pos < mp3Duration - seekDuration); in testPlayAudio() 112 mp.seekTo(pos + seekDuration); in testPlayAudio() 113 assertEquals(pos + seekDuration, mp.getCurrentPosition(), tolerance); in testPlayAudio()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | DatabaseUtilsTest.java | 372 int pos = cursor.getPosition(); in testDumpCursor() local 395 assertEquals(pos, cursor.getPosition()); // dumpCursor should not change status of cursor in testDumpCursor() 400 assertEquals(pos, cursor.getPosition()); // dumpCursor should not change status of cursor in testDumpCursor() 404 assertEquals(pos, cursor.getPosition()); // dumpCursor should not change status of cursor in testDumpCursor()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
D | CameraFormatsActivity.java | 217 View view, int pos, long id) { 218 if (mCurrentCameraId != pos) { 219 setUpCamera(pos);
|