Home
last modified time | relevance | path

Searched refs:fragment (Results 1 – 25 of 543) sorted by relevance

12345678910>>...22

/external/webrtc/webrtc/libjingle/xmpp/
Dxmppstanzaparser_unittest.cc57 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/chromium-trace/catapult/third_party/vinn/third_party/parse5/test/data/tree_construction/
Dtests_innerHTML_1.dat4 #document-fragment
12 #document-fragment
20 #document-fragment
28 #document-fragment
38 #document-fragment
46 #document-fragment
54 #document-fragment
62 #document-fragment
71 #document-fragment
80 #document-fragment
[all …]
Dtests4.dat4 #document-fragment
12 #document-fragment
20 #document-fragment
28 #document-fragment
36 #document-fragment
45 #document-fragment
55 #document-fragment
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DFragmentTransactionTest.java35 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 …]
DFragmentManagerTest.java34 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 …]
DFragmentActivityTest.java27 private TestFragment fragment; field in FragmentActivityTest
33fragment = (TestFragment) activity.getSupportFragmentManager().findFragmentByTag("fragment_tag"); in setUp()
43 assertEquals(TestFragment.class, fragment.getClass()); in viewLoader_shouldInflateFragment()
48 … Fragment fragmentById = activity.getSupportFragmentManager().findFragmentById(R.id.fragment); in viewLoader_shouldSetFragmentId()
49 assertSame(fragment, fragmentById); in viewLoader_shouldSetFragmentId()
54 …assertSame(fragment.onCreateViewReturnValue, activity.findViewById(TestFragment.FRAGMENT_VIEW_ID)); in viewLoader_shouldInsertFragmentViewIntoLayout()
59 assertSame(activity, fragment.getActivity()); in viewLoader_shouldSetFragmentsActivity()
64 ViewGroup container = (ViewGroup) activity.findViewById(R.id.fragment); in viewLoader_shouldCreateContainerView()
70 ViewGroup container = (ViewGroup) activity.findViewById(R.id.fragment); in viewLoader_shouldInsertFragmentViewIntoContainer()
72 assertSame(fragment.onCreateViewReturnValue, fragmentView); in viewLoader_shouldInsertFragmentViewIntoContainer()
[all …]
/external/webrtc/webrtc/libjingle/xmllite/
Dxmlparser_unittest.cc156 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/v1/src/main/java/com/xtremelabs/robolectric/tester/android/util/
DTestFragmentTransaction.java12 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 …]
DTestFragmentManager.java112 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/llvm/test/CodeGen/X86/
D2010-02-23-SingleDefPhiJoin.ll23 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 …]
D2009-11-25-ImpDefBug.ll27 … ; 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 …]
D2009-04-27-CoalescerAssert.ll32 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/deqp/data/gles31/shaders/
Dseparate_shader_validation.test25 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 …]
Dimplicit_conversions.test12 require extension { "GL_EXT_shader_implicit_conversions" } in { vertex, fragment }
34 require extension { "GL_EXT_shader_implicit_conversions" } in { vertex, fragment }
56 require extension { "GL_EXT_shader_implicit_conversions" } in { vertex, fragment }
78 require extension { "GL_EXT_shader_implicit_conversions" } in { vertex, fragment }
100 require extension { "GL_EXT_shader_implicit_conversions" } in { vertex, fragment }
122 require extension { "GL_EXT_shader_implicit_conversions" } in { vertex, fragment }
144 require extension { "GL_EXT_shader_implicit_conversions" } in { vertex, fragment }
166 require extension { "GL_EXT_shader_implicit_conversions" } in { vertex, fragment }
188 require extension { "GL_EXT_shader_implicit_conversions" } in { vertex, fragment }
210 require extension { "GL_EXT_shader_implicit_conversions" } in { vertex, fragment }
[all …]
Dlinkage_io_block.test4 require extension { "GL_OES_shader_io_blocks" | "GL_EXT_shader_io_blocks" } in { vertex, fragment }
20 fragment ""
40 require extension { "GL_OES_shader_io_blocks" | "GL_EXT_shader_io_blocks" } in { vertex, fragment }
57 fragment ""
77 require extension { "GL_OES_shader_io_blocks" | "GL_EXT_shader_io_blocks" } in { vertex, fragment }
94 fragment ""
113 require extension { "GL_OES_shader_io_blocks" | "GL_EXT_shader_io_blocks" } in { vertex, fragment }
129 fragment ""
148 require extension { "GL_OES_shader_io_blocks" | "GL_EXT_shader_io_blocks" } in { vertex, fragment }
164 fragment ""
[all …]
Duniform_block.test27 fragment ""
55 fragment ""
93 fragment ""
121 fragment ""
159 fragment ""
187 fragment ""
225 fragment ""
253 fragment ""
291 fragment ""
319 fragment ""
[all …]
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
Dt012lexerXML.g18 fragment DOCTYPE
39 fragment INTERNAL_DTD : '[' (options {greedy=false;} : .)* ']' ;
41 fragment PI :
47 fragment XMLDECL :
54 fragment ELEMENT
70 fragment START_TAG
76 fragment EMPTY_ELEMENT
82 fragment ATTRIBUTE
87 fragment END_TAG
92 fragment COMMENT
[all …]
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt012lexerXMLLexer.g23 fragment DOCTYPE
44 fragment INTERNAL_DTD : '[' (options {greedy=false;} : .)* ']' ;
46 fragment PI :
52 fragment XMLDECL :
59 fragment ELEMENT
75 fragment START_TAG
81 fragment EMPTY_ELEMENT
87 fragment ATTRIBUTE
92 fragment END_TAG
97 fragment COMMENT
[all …]
/external/boringssl/src/ssl/test/runner/
Ddtls.go115 fragment := make([]byte, 0, 12+fragLen)
116 fragment = append(fragment, header...)
117 fragment = append(fragment, byte(c.sendHandshakeSeq>>8), byte(c.sendHandshakeSeq))
118 fragment = append(fragment, byte(fragOffset>>16), byte(fragOffset>>8), byte(fragOffset))
119 fragment = append(fragment, byte(fragLen>>16), byte(fragLen>>8), byte(fragLen))
120 fragment = append(fragment, data[fragOffset:fragOffset+fragLen]...)
121 return fragment
150 fragment := c.makeFragment(header, data, 0, 0)
151 c.pendingFragments = append(c.pendingFragments, fragment)
163 fragment := c.makeFragment(header, data, fragOffset, fragLen)
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowFragmentActivity.java43 Fragment fragment = fragmentState.fragmentClass.newInstance(); in onCreate() local
44 shadowOf(fragment).setSavedInstanceState(bundle); in onCreate()
46 … fragmentManager.addFragment(fragmentState.containerId, fragmentState.tag, fragment, true); in onCreate()
58 for (Fragment fragment : fragmentManager.getFragments()) { in onStart()
59 fragmentManager.startFragment(fragment); in onStart()
65 for(Fragment fragment : fragmentManager.getFragments()) { in onPause()
66 fragment.onPause(); in onPause()
82 Fragment fragment = entry.getValue(); in onSaveInstanceState() local
83 fragment.onSaveInstanceState(outState); in onSaveInstanceState()
84 fragmentStates.add(new SerializedFragmentState(entry.getKey(), fragment)); in onSaveInstanceState()
[all …]
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_channel_unittest.py107 fragment = self._get_fragment(1, 1, 0)
109 self._expect_transaction([fragment], [response_fragment])
110 self._verify_transaction_successful([fragment], [response_fragment])
115 fragment = self._get_fragment(1, 1, 0)
116 self._expect_transaction([fragment])
117 self._verify_transaction_failed([fragment])
122 fragment = self._get_fragment(1, 1, 0)
125 self._expect_transaction([fragment], [response_fragment])
126 self._verify_transaction_failed([fragment])
144 fragment = self._get_fragment(1, 1, 0)
[all …]
Dmbim_channel.py155 for fragment in args:
156 self._request_queue.put_nowait(fragment)
179 for fragment in args:
180 self._request_queue.put_nowait(fragment)
307 fragment = self._response_queue.get(True,
314 self._fragment_metadata(fragment))
323 self._stashed_first_fragment = fragment
339 fragments.append(fragment)
344 def _fragment_metadata(self, fragment): argument
347 if len(fragment) < struct.calcsize(self.MESSAGE_HEADER_FORMAT):
[all …]
/external/deqp/data/gles3/shaders/
Duniform_block.test27 fragment ""
55 fragment ""
93 fragment ""
121 fragment ""
159 fragment ""
187 fragment ""
225 fragment ""
253 fragment ""
291 fragment ""
319 fragment ""
[all …]
/external/deqp/data/gles2/shaders/
Dlinkage.test1 # not declared in vertex shader, declared in fragment shader
3 desc "varying declared in fragment shader, no reference in vertex shader"
12 fragment ""
26 desc "varying declared in vertex shader, no reference in fragment shader"
35 fragment ""
45 desc "varying declared in both vertex and fragment shader, but not used"
54 fragment ""
65 desc "varying declared in both shaders, statically used in fragment shader"
75 fragment ""
88 # static use in vertex shader, no reference in fragment shader
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/manager/
DRequestManagerRetriever.java107 public RequestManager get(Fragment fragment) { in get() argument
108 if (fragment.getActivity() == null) { in get()
112 return get(fragment.getActivity().getApplicationContext()); in get()
114 if (fragment.isDetached()) { in get()
117 FragmentManager fm = fragment.getChildFragmentManager(); in get()
118 return supportFragmentGet(fragment.getActivity(), fm); in get()
141 public RequestManager get(android.app.Fragment fragment) { in get() argument
142 if (fragment.getActivity() == null) { in get()
146 return get(fragment.getActivity().getApplicationContext()); in get()
148 assertNotDetached(fragment); in get()
[all …]

12345678910>>...22