/external/libxml2/python/tests/ |
serialize.py | 11 doc = libxml2.parseDoc("""<root><foo>hello</foo></root>""") 14 <root><foo>hello</foo></root> 20 <root><foo>hello</foo></root> 26 <root> 28 </root> 34 <root> 36 </root> 44 root = doc.getRootElement() variable 112 root = doc.getRootElement() variable [all...] |
compareNodes.py | 11 doc = libxml2.parseDoc("""<root><foo/></root>""") 12 root = doc.getRootElement() variable 15 foonode1 = root.children 16 foonode2 = root.children 22 if not ( foonode1 != root ): 25 if not ( foonode1 != root ): 34 if not (hash(foonode1) != hash(root)): 37 if hash(foonode1) == hash(root):
|
push.py | 15 root = doc.children variable 16 if root.name != "foo": 17 print("root element name error")
|
tst.py | 12 root = doc.children variable 13 if root.name != "doc": 14 print("root.name failed") 16 child = root.children
|
resolver.py | 20 root = doc.children variable 21 if root.name != "foo": 22 print("root element name error") 29 root = doc.children 30 if root.name != "foo": 31 print("root element name error")
|
build.py | 13 root = doc.newChild(None, "doc", None) variable 14 ns = root.newNs("http://example.com/doc", "my") 15 root.setNs(ns) 16 elem = root.newChild(None, "foo", "bar") 32 root = pi.next variable 33 if root.name != "doc": 34 print("error rereading root") 36 ns = root.ns() 40 elem = root.children
|
validate.py | 17 root = doc.children variable 18 if root.name != "doc": 19 print("root.name failed") 53 root = doc.children variable 54 if root.name != "doc": 55 print("root.name failed")
|
/external/webrtc/webrtc/common_audio/signal_processing/ |
spl_sqrt_floor.c | 35 * Successive approximation of the equation (root + delta) ^ 2 = N 48 try1 = root + (1 << (N)); \ 52 root |= 2 << (N); \ 57 int32_t root = 0, try1; local 76 return root >> 1;
|
spl_sqrt_floor_mips.c | 36 * Successive approximation of the equation (root + delta) ^ 2 = N 51 int32_t root = 0, tmp1, tmp2, tmp3, tmp4; local 61 "or %[tmp4], %[root], %[tmp1] \n\t" 63 "movz %[root], %[tmp4], %[tmp2] \n\t" 66 "addu %[tmp1], %[tmp1], %[root] \n\t" 70 "ori %[tmp4], %[root], 0x8000 \n\t" 72 "movz %[root], %[tmp4], %[tmp2] \n\t" 75 "addu %[tmp1], %[tmp1], %[root] \n\t" 79 "ori %[tmp4], %[root], 0x4000 \n\t" 81 "movz %[root], %[tmp4], %[tmp2] \n\t [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
InvisibleRowPresenter.java | 34 RelativeLayout root = new RelativeLayout(parent.getContext()); local 35 root.setLayoutParams(new RelativeLayout.LayoutParams(0, 0)); 36 return new ViewHolder(root);
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/ |
HTMLElementTest.java | 29 private HTMLElement root; field in class:HTMLElementTest 34 root = new HTMLElement(buffer, "root") { 43 root.meta("key", "value"); 44 root.close(); 46 "<root><meta http-equiv=\"key\" content=\"value\"/></root>", 52 root.link("stylesheet", "style.css", "text/css"); 53 root.close(); 55 "<root><link rel=\"stylesheet\" href=\"style.css\" type=\"text/css\"/></root>" [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ViewStubTest.java | 35 LinearLayout root = new LinearLayout(ctxt); local 36 root.addView(new View(ctxt)); 37 root.addView(viewStub); 38 root.addView(new View(ctxt)); 42 assertSame(inflatedView, root.findViewById(inflatedId)); 44 assertNull(root.findViewById(stubId)); 46 assertEquals(1, root.indexOfChild(inflatedView)); 47 assertEquals(3, root.getChildCount());
|
ViewGroupTest.java | 32 private ViewGroup root; field in class:ViewGroupTest 45 root = new FrameLayout(context); 53 root.addView(child1); 54 root.addView(child2); 55 root.addView(child3); 71 assertThat(root.getLayoutAnimationListener(), nullValue()); 83 root.setLayoutAnimationListener(animationListener); 85 assertThat(root.getLayoutAnimationListener(), sameInstance(animationListener)); 90 root.removeViewAt(1); 92 assertThat(root.getChildCount(), equalTo(2)) [all...] |
/bootable/recovery/edify/ |
edify_parser.cpp | 61 std::unique_ptr<Expr> root; local 63 int error = parse_string(buffer.data(), &root, &error_count); 67 ExprDump(0, root, buffer); 71 if (!Evaluate(&state, root, &result)) {
|
/external/fec/ |
init_rs.h | 9 int i, j, sr,root,iprim; variable 82 /* Find prim-th root of 1, used in decoding */ 88 for (i = 0,root=fcr*prim; i < nroots; i++,root += prim) { 91 /* Multiply rs->genpoly[] by @**(root + x) */ 94 rs->genpoly[j] = rs->genpoly[j-1] ^ rs->alpha_to[modnn(rs,rs->index_of[rs->genpoly[j]] + root)]; 99 rs->genpoly[0] = rs->alpha_to[modnn(rs,rs->index_of[rs->genpoly[0]] + root)];
|
/external/llvm/utils/lit/lit/ |
TestingConfig.py | 161 def root(self): member in class:TestingConfig 162 """root attribute - The root configuration for the test suite.""" 166 return self.parent.root
|
/external/pdfium/core/fpdfdoc/ |
cpdf_formfield_unittest.cpp | 17 CPDF_Dictionary* root = obj_holder.NewIndirect<CPDF_Dictionary>(); local 18 root->SetNewFor<CPDF_Name>("T", "foo"); 19 name = FPDF_GetFullName(root); 23 root->SetNewFor<CPDF_Reference>("Parent", &obj_holder, dict1->GetObjNum()); 25 name = FPDF_GetFullName(root); 29 name = FPDF_GetFullName(root); 36 name = FPDF_GetFullName(root); 39 dict3->SetNewFor<CPDF_Reference>("Parent", &obj_holder, root->GetObjNum()); 40 name = FPDF_GetFullName(root);
|
/external/v8/src/ |
address-map.cc | 19 Object* root = isolate->heap()->root(root_index); local 20 if (!root->IsHeapObject()) continue; 21 // Omit root entries that can be written after initialization. They must 22 // not be referenced through the root list in the snapshot. 24 HeapObject* heap_object = HeapObject::cast(root); 27 // Some are initialized to a previous value in the root list. 33 // Immortal immovable root objects are constant and allocated on the first 35 // root index map contains all immortal immmovable root objects [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
SnapshotTests.cpp | 27 auto root = TestUtils::makeSnapshot(Matrix4::identity(), Rect(10, 10, 90, 90)); local 29 root->previous = actualRoot.get(); 30 child->previous = root.get(); 46 EXPECT_EQ(Rect(10, 10, 75, 75), intersectWithRoot->rect) << "Expect intersect with root"; 52 auto root = TestUtils::makeSnapshot(Matrix4::identity(), Rect(10, 10, 90, 90)); local 53 root->previous = actualRoot.get(); 58 child->previous = root.get(); 68 child->previous = root.get();
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
AssignableFrom.java | 23 private final Class root; field in class:AssignableFrom 25 AssignableFrom(Class root) { 26 this.root = root; 30 return root.isAssignableFrom(testMethod.getEnclosingClass());
|
/frameworks/base/tools/preload/ |
PrintPsTree.java | 38 Root root = (Root) oin.readObject(); local 40 for (Proc proc : root.processes.values()) {
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
Roots.java | 25 RootInfo root = new RootInfo(); local 26 root.authority = "test-authority"; 27 root.rootId = id; 28 return root;
|
/prebuilts/go/darwin-x86/src/go/doc/ |
headscan.go | 12 Usage: headscan [-root root_directory] 33 root = flag.String("root", filepath.Join(runtime.GOROOT(), "src"), "root of filesystem tree to scan") 71 err := filepath.Walk(*root, func(path string, fi os.FileInfo, err error) error { 32 root = flag.String("root", filepath.Join(runtime.GOROOT(), "src"), "root of filesystem tree to scan") var
|
/prebuilts/go/linux-x86/src/go/doc/ |
headscan.go | 12 Usage: headscan [-root root_directory] 33 root = flag.String("root", filepath.Join(runtime.GOROOT(), "src"), "root of filesystem tree to scan") 71 err := filepath.Walk(*root, func(path string, fi os.FileInfo, err error) error { 32 root = flag.String("root", filepath.Join(runtime.GOROOT(), "src"), "root of filesystem tree to scan") var
|
/cts/tests/tests/sax/src/android/sax/cts/ |
RootElementTest.java | 28 RootElement root = new RootElement(ATOM_NAMESPACE, FEED); local 29 assertNotNull(root.getContentHandler());
|