/external/webrtc/webrtc/libjingle/xmpp/ |
D | xmppstanzaparser_unittest.cc | 57 std::string fragment; in TEST() local 59 fragment = "<trivial/>"; in TEST() 60 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST() 67 std::string fragment; in TEST() local 69 fragment = "<stream:stream id='abc' xmlns='j:c' xmlns:stream='str'>"; in TEST() 70 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST() 74 fragment = "<message type='foo'><body>hello</body></message>"; in TEST() 75 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST() 79 fragment = " SOME TEXT TO IGNORE "; in TEST() 80 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST() [all …]
|
/external/python/cpython3/Modules/clinic/ |
D | audioop.c.h | 15 audioop_getsample_impl(PyObject *module, Py_buffer *fragment, int width, 22 Py_buffer fragment = {NULL, NULL}; in audioop_getsample() local 27 &fragment, &width, &index)) { in audioop_getsample() 30 return_value = audioop_getsample_impl(module, &fragment, width, index); in audioop_getsample() 34 if (fragment.obj) { in audioop_getsample() 35 PyBuffer_Release(&fragment); in audioop_getsample() 51 audioop_max_impl(PyObject *module, Py_buffer *fragment, int width); 57 Py_buffer fragment = {NULL, NULL}; in audioop_max() local 61 &fragment, &width)) { in audioop_max() 64 return_value = audioop_max_impl(module, &fragment, width); in audioop_max() [all …]
|
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/ |
D | SupportFragmentControllerTest.java | 28 final LoginFragment fragment = new LoginFragment(); in initialNotAttached() local 29 SupportFragmentController.of(fragment); in initialNotAttached() 31 assertThat(fragment.getView()).isNull(); in initialNotAttached() 32 assertThat(fragment.getActivity()).isNull(); in initialNotAttached() 33 assertThat(fragment.isAdded()).isFalse(); in initialNotAttached() 38 final LoginFragment fragment = new LoginFragment(); in initialNotAttached_customActivity() local 39 SupportFragmentController.of(fragment, LoginActivity.class); in initialNotAttached_customActivity() 41 assertThat(fragment.getView()).isNull(); in initialNotAttached_customActivity() 42 assertThat(fragment.getActivity()).isNull(); in initialNotAttached_customActivity() 43 assertThat(fragment.isAdded()).isFalse(); in initialNotAttached_customActivity() [all …]
|
D | SupportFragmentTestUtilTest.java | 25 final LoginSupportFragment fragment = new LoginSupportFragment(); in startFragment_shouldStartSupportFragment() local 26 startFragment(fragment); in startFragment_shouldStartSupportFragment() 28 assertThat(fragment.getView()).isNotNull(); in startFragment_shouldStartSupportFragment() 29 assertThat(fragment.getActivity()).isNotNull(); in startFragment_shouldStartSupportFragment() 30 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startFragment_shouldStartSupportFragment() 35 final LoginSupportFragment fragment = new LoginSupportFragment(); in startVisibleFragment_shouldStartSupportFragment() local 36 startVisibleFragment(fragment); in startVisibleFragment_shouldStartSupportFragment() 38 assertThat(fragment.getView()).isNotNull(); in startVisibleFragment_shouldStartSupportFragment() 39 assertThat(fragment.getActivity()).isNotNull(); in startVisibleFragment_shouldStartSupportFragment() 40 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startVisibleFragment_shouldStartSupportFragment() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/controller/ |
D | FragmentControllerTest.java | 28 final LoginFragment fragment = new LoginFragment(); in initialNotAttached() local 29 FragmentController.of(fragment); in initialNotAttached() 31 assertThat(fragment.getView()).isNull(); in initialNotAttached() 32 assertThat(fragment.getActivity()).isNull(); in initialNotAttached() 33 assertThat(fragment.isAdded()).isFalse(); in initialNotAttached() 38 final LoginFragment fragment = new LoginFragment(); in initialNotAttached_customActivity() local 39 FragmentController.of(fragment, LoginActivity.class); in initialNotAttached_customActivity() 41 assertThat(fragment.getView()).isNull(); in initialNotAttached_customActivity() 42 assertThat(fragment.getActivity()).isNull(); in initialNotAttached_customActivity() 43 assertThat(fragment.isAdded()).isFalse(); in initialNotAttached_customActivity() [all …]
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | FragmentTransactionTest.java | 35 private Fragment fragment; field in FragmentTransactionTest 44 fragment = new TestFragment(); in setUp() 51 txn.add(fragment, tag); in testGetters() 52 assertSame(fragment, txn.getFragment()); in testGetters() 56 txn.add(id, fragment); in testGetters() 58 assertSame(fragment, txn.getFragment()); in testGetters() 60 txn.add(id, fragment, tag); in testGetters() 62 assertSame(fragment, txn.getFragment()); in testGetters() 66 txn.replace(id, fragment); in testGetters() 68 assertSame(fragment, txn.getFragment()); in testGetters() [all …]
|
D | FragmentManagerTest.java | 34 private TestFragment fragment; field in FragmentManagerTest 43 fragment = new TestFragment(); in setUp() 49 manager.addFragment(CONTAINER_VIEW_ID, "tag1", fragment, false); in shouldFindFragmentById() 51 assertThat(manager.findFragmentById(CONTAINER_VIEW_ID), sameInstance((Fragment) fragment)); in shouldFindFragmentById() 56 manager.addFragment(CONTAINER_VIEW_ID, "tag1", fragment, false); in shouldFindFragmentByTag() 58 assertThat(manager.findFragmentByTag("tag1"), sameInstance((Fragment) fragment)); in shouldFindFragmentByTag() 63 manager.addFragment(View.NO_ID, null, fragment, false); in addFragment_shouldCallLifecycleMethods() 65 fragment.transcript.assertEventsSoFar( in addFragment_shouldCallLifecycleMethods() 70 assertSame(activity, fragment.onAttachActivity); in addFragment_shouldCallLifecycleMethods() 71 assertSame(activity, fragment.getActivity()); in addFragment_shouldCallLifecycleMethods() [all …]
|
/external/webrtc/webrtc/libjingle/xmllite/ |
D | xmlparser_unittest.cc | 156 std::string fragment; in TEST() local 158 fragment = "<stream:stream"; in TEST() 159 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST() 162 fragment = " id=\"abcdefg\" xmlns=\""; in TEST() 163 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST() 166 fragment = "j:c\" xmlns:stream='hm"; in TEST() 167 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST() 170 fragment = "ph'><test"; in TEST() 171 parser.Parse(fragment.c_str(), fragment.length(), false); in TEST() 175 fragment = "ing/><again/>abracad"; in TEST() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/ |
D | FragmentTestUtilTest.java | 24 final LoginFragment fragment = new LoginFragment(); in startFragment_shouldStartFragment() local 25 startFragment(fragment); in startFragment_shouldStartFragment() 27 assertThat(fragment.getView()).isNotNull(); in startFragment_shouldStartFragment() 28 assertThat(fragment.getActivity()).isNotNull(); in startFragment_shouldStartFragment() 29 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startFragment_shouldStartFragment() 34 final LoginFragment fragment = new LoginFragment(); in startVisibleFragment_shouldStartFragment() local 35 startVisibleFragment(fragment); in startVisibleFragment_shouldStartFragment() 37 assertThat(fragment.getView()).isNotNull(); in startVisibleFragment_shouldStartFragment() 38 assertThat(fragment.getActivity()).isNotNull(); in startVisibleFragment_shouldStartFragment() 39 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startVisibleFragment_shouldStartFragment() [all …]
|
/external/python/cpython3/Modules/ |
D | audioop.c | 410 audioop_getsample_impl(PyObject *module, Py_buffer *fragment, int width, in audioop_getsample_impl() argument 416 if (!audioop_check_parameters(fragment->len, width)) in audioop_getsample_impl() 418 if (index < 0 || index >= fragment->len/width) { in audioop_getsample_impl() 422 val = GETRAWSAMPLE(width, fragment->buf, index*width); in audioop_getsample_impl() 437 audioop_max_impl(PyObject *module, Py_buffer *fragment, int width) in audioop_max_impl() argument 443 if (!audioop_check_parameters(fragment->len, width)) in audioop_max_impl() 445 for (i = 0; i < fragment->len; i += width) { in audioop_max_impl() 446 int val = GETRAWSAMPLE(width, fragment->buf, i); in audioop_max_impl() 467 audioop_minmax_impl(PyObject *module, Py_buffer *fragment, int width) in audioop_minmax_impl() argument 475 if (!audioop_check_parameters(fragment->len, width)) in audioop_minmax_impl() [all …]
|
/external/scapy/scapy/layers/tls/ |
D | tools.py | 42 c.fragment = alg.compress(p.fragment) 43 c.len = len(c.fragment) 54 p.fragment = alg.decompress(c.fragment) 55 p.len = len(p.fragment) 68 c.fragment += h 90 received_h = p.fragment[-h_size:] 92 p.fragment = p.fragment[:-h_size] 110 p.fragment += padding 125 padlen = ord(p.fragment[-1]) + 1 130 if (p.fragment[-padlen:] != p.fragment[-1] * padlen): [all …]
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/util/ |
D | TestFragmentTransaction.java | 12 private Fragment fragment; field in TestFragmentTransaction 31 public FragmentTransaction add(Fragment fragment, String tag) { in add() argument 32 return add(View.NO_ID, fragment, tag); in add() 36 public FragmentTransaction add(int containerViewId, Fragment fragment) { in add() argument 37 return add(containerViewId, fragment, null); in add() 41 public FragmentTransaction add(int containerViewId, Fragment fragment, String tag) { in add() argument 44 this.fragment = fragment; in add() 50 public FragmentTransaction replace(int containerViewId, Fragment fragment) { in replace() argument 51 return replace(containerViewId, fragment, null); in replace() 55 public FragmentTransaction replace(int containerViewId, Fragment fragment, String tag) { in replace() argument [all …]
|
D | TestFragmentManager.java | 112 public void putFragment(Bundle bundle, String key, Fragment fragment) { in putFragment() argument 119 SerializedFragmentState fragment = (SerializedFragmentState) object; in getFragment() local 120 if (fragment.tag.equals(key)) { in getFragment() 122 return Robolectric.newInstanceOf(fragment.fragmentClass); in getFragment() 137 public void addDialogFragment(String tag, DialogFragment fragment) { in addDialogFragment() argument 138 fragmentsByTag.put(tag, fragment); in addDialogFragment() 141 public void addFragment(int containerViewId, String tag, Fragment fragment, boolean replace) { in addFragment() argument 142 fragmentsById.put(containerViewId, fragment); in addFragment() 143 fragmentsByTag.put(tag, fragment); in addFragment() 145 ShadowFragment shadowFragment = shadowOf(fragment); in addFragment() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/ |
D | FragmentController.java | 15 private final F fragment; field in FragmentController 18 public static <F extends Fragment> FragmentController<F> of(F fragment) { in of() argument 19 return of(fragment, FragmentControllerActivity.class, null, null); in of() 22 …public static <F extends Fragment> FragmentController<F> of(F fragment, Class<? extends Activity> … in of() argument 23 return of(fragment, activityClass, null, null); in of() 26 public static <F extends Fragment> FragmentController<F> of(F fragment, Intent intent) { in of() argument 27 return new FragmentController<>(fragment, FragmentControllerActivity.class, intent); in of() 30 public static <F extends Fragment> FragmentController<F> of(F fragment, Bundle arguments) { in of() argument 31 return new FragmentController<>(fragment, FragmentControllerActivity.class, arguments); in of() 34 …public static <F extends Fragment> FragmentController<F> of(F fragment, Intent intent, Bundle argu… in of() argument [all …]
|
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/ |
D | 2010-02-23-SingleDefPhiJoin.ll | 23 bb.nph.fragment: ; preds = %meshBB114 26 bb1.fragment: ; preds = %meshBB118 29 bb2: ; preds = %bb1.fragment 35 bb3: ; preds = %bb1.fragment 41 bb4.fragment: ; preds = %meshBB118 53 bb7.fragment: ; preds = %meshBB114 56 bb9: ; preds = %bb7.fragment, %bb 65 skip_to_newline.exit26.fragment: ; preds = %meshBB86 68 bb11.fragment: ; preds = %meshBB90, %meshBB86 75 bb1.i.fragment: ; preds = %meshBB98 [all …]
|
D | 2009-11-25-ImpDefBug.ll | 27 … ; preds = %bb13.fragment.cl135, %bb13.fragment.cl, %bb.i.i.bbcl.disp, %b… 31 bb10.fragment: ; preds = %bb13.fragment.bbcl.disp 32 br i1 undef, label %bb1.i.fragment.bbcl.disp, label %bb.i.i.bbcl.disp 34 bb1.i.fragment: ; preds = %bb1.i.fragment.bbcl.disp 38 bb13.fragment: ; preds = %bb13.fragment.bbcl.disp 41 bb.i4: ; preds = %bb.i4.bbcl.disp, %bb1.i.fragment.bbcl.… 47 lpad: ; preds = %bb1.i.fragment.cl, %bb1.i.fragment, %b… 48 …%.SV10.phi807 = phi i8* [ undef, %bb1.i.fragment.cl ], [ undef, %bb1.i.fragment ], [ undef, %bb5 ]… 52 br i1 undef, label %meshBB81.bbcl.disp, label %bb13.fragment.bbcl.disp 60 … ; preds = %meshBB81.bbcl.disp, %bb.i4.bbcl.disp, %bb1.i.fragment.bbcl.disp, %bb.i.… [all …]
|
D | 2009-04-27-CoalescerAssert.ll | 32 entry.fragment: ; preds = %meshBB392 40 entry.fragment181: ; preds = %entry.fragment 52 br label %bb.fragment 54 bb.fragment: ; preds = %bb 62 bb3: ; preds = %bb.fragment 79 br label %bb5.fragment 81 bb5.fragment: ; preds = %bb5 88 bb6: ; preds = %bb5.fragment 100 bb7.fragment: ; preds = %meshBB388 117 bb8.fragment: ; preds = %meshBB368 [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | 2010-02-23-SingleDefPhiJoin.ll | 23 bb.nph.fragment: ; preds = %meshBB114 26 bb1.fragment: ; preds = %meshBB118 29 bb2: ; preds = %bb1.fragment 35 bb3: ; preds = %bb1.fragment 41 bb4.fragment: ; preds = %meshBB118 53 bb7.fragment: ; preds = %meshBB114 56 bb9: ; preds = %bb7.fragment, %bb 65 skip_to_newline.exit26.fragment: ; preds = %meshBB86 68 bb11.fragment: ; preds = %meshBB90, %meshBB86 75 bb1.i.fragment: ; preds = %meshBB98 [all …]
|
D | 2009-11-25-ImpDefBug.ll | 27 … ; preds = %bb13.fragment.cl135, %bb13.fragment.cl, %bb.i.i.bbcl.disp, %b… 31 bb10.fragment: ; preds = %bb13.fragment.bbcl.disp 32 br i1 undef, label %bb1.i.fragment.bbcl.disp, label %bb.i.i.bbcl.disp 34 bb1.i.fragment: ; preds = %bb1.i.fragment.bbcl.disp 38 bb13.fragment: ; preds = %bb13.fragment.bbcl.disp 41 bb.i4: ; preds = %bb.i4.bbcl.disp, %bb1.i.fragment.bbcl.… 47 lpad: ; preds = %bb1.i.fragment.cl, %bb1.i.fragment, %b… 48 …%.SV10.phi807 = phi i8* [ undef, %bb1.i.fragment.cl ], [ undef, %bb1.i.fragment ], [ undef, %bb5 ]… 52 br i1 undef, label %meshBB81.bbcl.disp, label %bb13.fragment.bbcl.disp 60 … ; preds = %meshBB81.bbcl.disp, %bb.i4.bbcl.disp, %bb1.i.fragment.bbcl.disp, %bb.i.… [all …]
|
D | 2009-04-27-CoalescerAssert.ll | 32 entry.fragment: ; preds = %meshBB392 40 entry.fragment181: ; preds = %entry.fragment 52 br label %bb.fragment 54 bb.fragment: ; preds = %bb 62 bb3: ; preds = %bb.fragment 79 br label %bb5.fragment 81 bb5.fragment: ; preds = %bb5 88 bb6: ; preds = %bb5.fragment 100 bb7.fragment: ; preds = %meshBB388 117 bb8.fragment: ; preds = %meshBB368 [all …]
|
/external/dtc/tests/ |
D | overlay_overlay_manual_fixups.dts | 16 fragment@0 { 25 fragment@1 { 34 fragment@2 { 43 fragment@3 { 53 fragment@5 { 63 fragment@6 { 71 fragment@7 { 79 fragment@8 { 90 fragment@6 { 95 fragment@7 { [all …]
|
/external/python/cpython3/Doc/library/ |
D | audioop.rst | 43 Return a fragment which is the addition of the two samples passed as parameters. 50 Decode an Intel/DVI ADPCM coded fragment to a linear fragment. See the 55 .. function:: alaw2lin(fragment, width) 59 width of the output fragment here. 62 .. function:: avg(fragment, width) 64 Return the average over all samples in the fragment. 67 .. function:: avgpp(fragment, width) 69 Return the average peak-peak value over all samples in the fragment. No 73 .. function:: bias(fragment, width, bias) 75 Return a fragment that is the original fragment with a bias added to each [all …]
|
/external/deqp/data/gles31/shaders/es31/ |
D | separate_shader_validation.test | 25 active_stages {fragment} 26 fragment "" 57 active_stages {fragment} 58 fragment "" 90 active_stages {fragment} 91 fragment "" 122 active_stages {fragment} 123 fragment "" 154 active_stages {fragment} 155 fragment "" [all …]
|
/external/python/cpython2/Doc/library/ |
D | audioop.rst | 39 Return a fragment which is the addition of the two samples passed as parameters. 46 Decode an Intel/DVI ADPCM coded fragment to a linear fragment. See the 51 .. function:: alaw2lin(fragment, width) 55 width of the output fragment here. 60 .. function:: avg(fragment, width) 62 Return the average over all samples in the fragment. 65 .. function:: avgpp(fragment, width) 67 Return the average peak-peak value over all samples in the fragment. No 71 .. function:: bias(fragment, width, bias) 73 Return a fragment that is the original fragment with a bias added to each [all …]
|
/external/deqp/data/gles31/shaders/es32/ |
D | separate_shader_validation.test | 43 active_stages {fragment} 44 fragment "" 75 active_stages {fragment} 76 fragment "" 108 active_stages {fragment} 109 fragment "" 140 active_stages {fragment} 141 fragment "" 172 active_stages {fragment} 173 fragment "" [all …]
|