/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowParcelTest.java | 25 private Parcel parcel; field in ShadowParcelTest 29 parcel = Parcel.obtain(); in setup() 34 parcel.recycle(); in tearDown() 39 assertThat(parcel).isNotNull(); in testObtain() 44 assertThat(parcel.readInt()).isEqualTo(0); in testReadIntWhenEmpty() 49 assertThat(parcel.readLong()).isEqualTo(0L); in testReadLongWhenEmpty() 54 assertThat(parcel.readString()).isNull(); in testReadStringWhenEmpty() 59 assertThat(parcel.readStrongBinder()).isNull(); in testReadStrongBinderWhenEmpty() 65 parcel.writeString(val); in testReadWriteSingleString() 66 parcel.setDataPosition(0); in testReadWriteSingleString() [all …]
|
D | ShadowIntentTest.java | 458 Parcel parcel = Parcel.obtain(); in getExtra_shouldWorkAfterParcel() local 459 parcel.writeParcelable(intent, 0); in getExtra_shouldWorkAfterParcel() 460 parcel.setDataPosition(0); in getExtra_shouldWorkAfterParcel() 461 intent = parcel.readParcelable(getClass().getClassLoader()); in getExtra_shouldWorkAfterParcel()
|
D | ShadowBitmapTest.java | 366 Parcel parcel = Parcel.obtain(); in shouldWriteToParcelAndReconstruct() local 367 bitmapOriginal.writeToParcel(parcel, 0); in shouldWriteToParcelAndReconstruct() 369 parcel.setDataPosition(0); in shouldWriteToParcelAndReconstruct() 371 Bitmap bitmapReconstructed = Bitmap.CREATOR.createFromParcel(parcel); in shouldWriteToParcelAndReconstruct()
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | ParcelTest.java | 29 private Parcel parcel; field in ParcelTest 34 parcel = Parcel.obtain(); in setup() 35 shadowParcel = Robolectric.shadowOf(parcel); in setup() 40 assertThat(parcel, notNullValue()); in testObtain() 47 assertThat(parcel.readInt(), equalTo(0)); in testReadIntWhenEmpty() 52 assertThat(parcel.readLong(), equalTo(0l)); in testReadLongWhenEmpty() 57 assertThat(parcel.readString(), nullValue()); in testReadStringWhenEmpty() 63 parcel.writeString(val); in testReadWriteSingleString() 64 parcel.setDataPosition(0); in testReadWriteSingleString() 65 assertThat(parcel.readString(), equalTo(val)); in testReadWriteSingleString() [all …]
|
D | PendingIntentTest.java | 128 Parcel parcel = Parcel.obtain(); in verifyPendingIntentReadIsWhatWasWrittenToParcel() local 129 PendingIntent.writePendingIntentOrNullToParcel(expected, parcel); in verifyPendingIntentReadIsWhatWasWrittenToParcel() 130 parcel.setDataPosition(0); in verifyPendingIntentReadIsWhatWasWrittenToParcel() 131 PendingIntent actual = PendingIntent.readPendingIntentOrNullFromParcel(parcel); in verifyPendingIntentReadIsWhatWasWrittenToParcel()
|
D | IntentTest.java | 431 Parcel parcel = Parcel.obtain(); in verifyIntentReadIsWhatWasWrittenToParcel() local 432 expected.writeToParcel(parcel, 0); in verifyIntentReadIsWhatWasWrittenToParcel() 433 parcel.setDataPosition(0); in verifyIntentReadIsWhatWasWrittenToParcel() 435 actual.readFromParcel(parcel); in verifyIntentReadIsWhatWasWrittenToParcel()
|
/external/protobuf/javanano/src/device/test/java/com/google/protobuf/nano/ |
D | NanoAndroidTest.java | 50 Parcel parcel = null; in testParceling() local 52 parcel = Parcel.obtain(); in testParceling() 53 parcel.writeParcelable(message, 0); in testParceling() 54 parcel.setDataPosition(0); in testParceling() 55 message = parcel.readParcelable(getClass().getClassLoader()); in testParceling() 57 if (parcel != null) { in testParceling() 58 parcel.recycle(); in testParceling() 72 Parcel parcel = null; in testExtendableParceling() local 74 parcel = Parcel.obtain(); in testExtendableParceling() 75 parcel.writeParcelable(message, 0); in testExtendableParceling() [all …]
|
/external/robolectric/v1/src/main/java/android/net/ |
D | Uri__FromAndroid.java | 422 static Uri__FromAndroid readFrom(Parcel parcel) { in readFrom() argument 423 return new StringUri(parcel.readString()); in readFrom() 430 public void writeToParcel(Parcel parcel, int flags) { in writeToParcel() argument 431 parcel.writeInt(TYPE_ID); in writeToParcel() 432 parcel.writeString(uriString); in writeToParcel() 788 static Uri__FromAndroid readFrom(Parcel parcel) { in readFrom() argument 790 parcel.readString(), in readFrom() 791 Part.readFrom(parcel), in readFrom() 792 Part.readFrom(parcel) in readFrom() 800 public void writeToParcel(Parcel parcel, int flags) { in writeToParcel() argument [all …]
|
/external/mesa3d/src/compiler/glsl/ |
D | link_uniform_blocks.cpp | 209 ubo_visitor *parcel, 226 ubo_visitor *parcel, gl_uniform_buffer_variable *variables, in process_block_array() argument 241 parcel, variables, b, block_index, in process_block_array() 245 parcel, variables, b, block_index, in process_block_array() 255 ubo_visitor *parcel, gl_uniform_buffer_variable *variables, in process_block_array_leaf() argument 265 blocks[i].Uniforms = &variables[(*parcel).index]; in process_block_array_leaf() 281 parcel->process(type, b->has_instance_name ? blocks[i].Name : ""); in process_block_array_leaf() 283 blocks[i].UniformBufferSize = parcel->buffer_size; in process_block_array_leaf() 287 parcel->buffer_size > ctx->Const.MaxShaderStorageBlockSize) { in process_block_array_leaf() 291 parcel->buffer_size, in process_block_array_leaf() [all …]
|
D | link_uniforms.cpp | 1228 parcel_out_uniform_storage parcel(prog, prog->UniformHash, in link_assign_uniform_storage() local 1235 parcel.start_shader((gl_shader_stage)i); in link_assign_uniform_storage() 1244 parcel.set_and_process(var); in link_assign_uniform_storage() 1248 parcel.shader_samplers_used; in link_assign_uniform_storage() 1249 prog->_LinkedShaders[i]->shadow_samplers = parcel.shader_shadow_samplers; in link_assign_uniform_storage() 1252 sizeof(parcel.targets)); in link_assign_uniform_storage() 1254 parcel.targets, in link_assign_uniform_storage() 1266 assert(parcel.values == data_end); in link_assign_uniform_storage()
|
/external/skqp/tools/android/ |
D | measure_fps.py | 15 parcel = subprocess.Popen("adb shell service call SurfaceFlinger 1013", 18 if not parcel: 21 framecount = re.search("Result: Parcel\(([a-f0-9]+) ", parcel) 23 raise Exception("Unexpected result from SurfaceFlinger: " + parcel)
|
/external/skia/tools/android/ |
D | measure_fps.py | 15 parcel = subprocess.Popen("adb shell service call SurfaceFlinger 1013", 18 if not parcel: 21 framecount = re.search("Result: Parcel\(([a-f0-9]+) ", parcel) 23 raise Exception("Unexpected result from SurfaceFlinger: " + parcel)
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowAccount.java | 24 public void __constructor__(Parcel parcel) throws Exception { in __constructor__() argument 25 set(parcel.readString(), parcel.readString()); in __constructor__()
|
/external/libmojo/base/android/java/src/org/chromium/base/library_loader/ |
D | LegacyLinker.java | 240 Parcel parcel = Parcel.obtain(); in useSharedRelros() local 241 bundle.writeToParcel(parcel, 0); in useSharedRelros() 242 parcel.setDataPosition(0); in useSharedRelros() 243 clonedBundle.readFromParcel(parcel); in useSharedRelros() 244 parcel.recycle(); in useSharedRelros()
|
/external/python/cpython2/Modules/ |
D | _elementtree.c | 2338 PyObject *parcel; local 2364 parcel = PyTuple_Pack(2, sprefix, suri); 2367 if (!parcel) 2369 treebuilder_append_event(target, target->start_ns_event_obj, parcel); 2370 Py_DECREF(parcel);
|
/external/python/cpython3/Modules/ |
D | _elementtree.c | 3049 PyObject *parcel; in expat_start_ns_handler() local 3062 parcel = Py_BuildValue("ss", prefix, uri); in expat_start_ns_handler() 3063 if (!parcel) in expat_start_ns_handler() 3065 treebuilder_append_event(target, target->start_ns_event_obj, parcel); in expat_start_ns_handler() 3066 Py_DECREF(parcel); in expat_start_ns_handler()
|
/external/python/cpython2/Doc/library/ |
D | ttk.rst | 1296 Specifies how the image is placed within the final parcel. spec 1386 initial cavity, each element is allocated a parcel. Valid 1395 Specifies where the element is placed inside its allocated parcel.
|
D | tkinter.rst | 503 Anchor type. Denotes where the packer is to place each slave in its parcel.
|
/external/python/cpython3/Doc/library/ |
D | tkinter.ttk.rst | 1320 Specifies how the image is placed within the final parcel. spec 1410 initial cavity, each element is allocated a parcel. Valid 1419 Specifies where the element is placed inside its allocated parcel.
|
D | tkinter.rst | 495 Anchor type. Denotes where the packer is to place each slave in its parcel.
|
/external/python/cpython2/Doc/faq/ |
D | library.rst | 285 How do I parcel out work among a bunch of worker threads?
|
/external/python/cpython3/Doc/faq/ |
D | library.rst | 293 How do I parcel out work among a bunch of worker threads?
|
/external/jline/src/src/test/resources/jline/example/ |
D | english.gz |
|