| /libcore/luni/src/test/java/tests/org/w3c/dom/ |
| NodeGetPrefix.java | 71 Document doc; local 80 doc = (Document) load("staff", builder); 81 element = doc.createElementNS("http://www.w3.org/DOM/Test/elem", "elem"); 82 qelement = doc.createElementNS("http://www.w3.org/DOM/Test/elem", "qual:qelem"); 83 attr = doc.createAttributeNS("http://www.w3.org/DOM/Test/attr", "attr"); 84 qattr = doc.createAttributeNS("http://www.w3.org/DOM/Test/attr", "qual:qattr");
|
| NodeHasAttributes.java | 75 Document doc; local 79 doc = (Document) load("staff", builder); 80 elementList = doc.getElementsByTagName("employee"); 84 elementList = doc.getElementsByTagName("address"); 90 Document doc; local 93 doc = (Document) load("staffNS", builder); 94 docType = doc.getDoctype(); 99 Document doc; local 103 doc = (Document) load("staffNS", builder); 104 elementList = doc.getElementsByTagName("emp:employee") 111 Document doc; local [all...] |
| Normalize.java | 75 Document doc; local 82 doc = (Document) load("staff", builder); 83 root = doc.getDocumentElement();
|
| OwnerElement.java | 75 Document doc; local 82 doc = (Document) load("staff", builder); 83 addressList = doc.getElementsByTagName("address"); 92 Document doc; local 95 doc = (Document) load("staff", builder); 96 newAttr = doc.createAttribute("newAttribute");
|
| RemoveNamedItemNS.java | 78 Document doc; local 84 doc = (Document) load("staffNS", builder); 85 elementList = doc.getElementsByTagName("address"); 97 Document doc; local 102 doc = (Document) load("staffNS", builder); 103 elementList = doc.getElementsByTagName("address"); 123 // Document doc; 133 // doc = (Document) load("staffNS", builder); 134 // elementList = doc.getElementsByTagName("gender"); 141 // child = doc.createEntityReference("ent4") [all...] |
| ImportNode.java | 92 Document doc; local 110 doc = (Document) load("staffNS", builder); 115 aNode = doc.importNode(newAttr, false); 135 Document doc; local 143 doc = (Document) load("staffNS", builder); 146 aNode = doc.importNode(cDataSec, false); 157 Document doc; local 165 doc = (Document) load("staffNS", builder); 168 aNode = doc.importNode(comment, false); 179 Document doc; local 200 Document doc; local 227 Document doc; local 276 Document doc; local 334 Document doc; local 443 Document doc; local 469 Document doc; local 491 Document doc; local 510 Document doc; local [all...] |
| /packages/apps/DocumentsUI/src/com/android/documentsui/ |
| DropdownBreadcrumb.java | 126 final DocumentInfo doc = getItem(position); local 132 title.setText(doc.displayName); 146 final DocumentInfo doc = getItem(position); local 152 title.setText(doc.displayName);
|
| /packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
| ResolvedResourcesJob.java | 112 boolean isEligibleDoc(DocumentInfo doc, RootInfo root) { 133 DocumentInfo doc; local 135 doc = DocumentInfo.fromUri(resolver, uri); 143 if (isEligibleDoc(doc, stack.getRoot())) { 144 mResolvedDocs.add(doc); 146 onFileFailed(doc);
|
| /packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
| TestModel.java | 104 DocumentInfo doc = new DocumentInfo(); local 105 doc.authority = mAuthority; 106 doc.documentId = Integer.toString(++mLastId); 107 doc.derivedUri = DocumentsContract.buildDocumentUri(doc.authority, doc.documentId); 108 doc.displayName = name; 109 doc.mimeType = mimeType; 110 doc.flags = flags; 111 doc.size = mRand.nextInt() [all...] |
| /packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/ |
| rapidjsontest.cpp | 134 Document doc;
local 135 doc.ParseInsitu(temp_);
136 ASSERT_TRUE(doc.IsObject());
143 Document doc;
local 144 doc.ParseInsitu<kParseIterativeFlag>(temp_);
145 ASSERT_TRUE(doc.IsObject());
151 Document doc;
local 152 doc.Parse(json_);
153 ASSERT_TRUE(doc.IsObject());
159 Document doc;
local 168 GenericDocument<UTF8<>, CrtAllocator> doc; local 178 Document doc; local 188 Document doc; local [all...] |
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
| AndroidXmlCharacterMatcher.java | 46 public IRegion match(IDocument doc, int offset) { 47 if (offset < 0 || offset >= doc.getLength()) { 51 IRegion match = findOppositeTag(doc, offset); 56 return super.match(doc, offset); 63 IStructuredDocument doc = (IStructuredDocument) document; local 65 IStructuredDocumentRegion region = doc.getRegionAtCharacterOffset(offset); 91 region = doc.getRegionAtCharacterOffset(offset); 121 int target = findTagForwards(doc, subRegion.getStart() + region.getStartOffset(), 0); 129 int target = findTagBackwards(doc, subRegion.getStart() + region.getStartOffset(), -1); 140 * @param doc the documen [all...] |
| AndroidXmlAutoEditStrategy.java | 87 IStructuredDocument doc = (IStructuredDocument) document; local 91 && TextUtilities.endsWith(doc.getLegalLineDelimiters(), c.text) != -1) { 94 IStructuredModel model = modelManager.getModelForRead(doc); 98 int lineStart = findLineStart(doc, offset); 99 int textStart = findTextStart(doc, lineStart, offset); 101 IStructuredDocumentRegion region = doc.getRegionAtCharacterOffset(textStart); 103 Pair<Integer,Integer> balance = getBalance(doc, textStart, offset); 109 lineIndent = doc.get(lineStart, textStart - lineStart); 122 ITextRegion left = getRegionAt(doc, offset, true /*biasLeft*/); 133 ITextRegion right = getRegionAt(doc, offset, false /*biasLeft*/) [all...] |
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/otherxml/ |
| OtherXmlEditorDelegate.java | 101 Document doc = null; local 103 doc = getUiRootNode().getXmlDocument(); 119 onDescriptorsChanged(doc);
|
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/ |
| UiTextValueNode.java | 78 /* (non-java doc) 106 Document doc = element.getOwnerDocument(); local 107 if (doc != null) { 108 Text text = doc.createTextNode(value);
|
| /cts/tests/pdf/src/android/graphics/pdf/cts/ |
| PdfDocumentTest.java | 56 PdfDocument doc = new PdfDocument(); local 57 doc.close(); 58 assertEquals(0, doc.getPages().size()); 63 PdfDocument doc = new PdfDocument(); local 64 doc.close(); 67 doc.close(); 72 PdfDocument doc = new PdfDocument(); local 73 doc.close(); 77 verifyException(() -> doc.writeTo(os), IllegalStateException.class); 82 PdfDocument doc = new PdfDocument() local 91 PdfDocument doc = new PdfDocument(); local 103 PdfDocument doc = new PdfDocument(); local 114 PdfDocument doc = new PdfDocument(); local 126 PdfDocument doc = new PdfDocument(); local 142 PdfDocument doc = new PdfDocument(); local 174 PdfDocument doc = new PdfDocument(); local 225 PdfDocument doc = new PdfDocument(); local 287 PdfDocument doc = new PdfDocument(); local 294 PdfDocument doc = new PdfDocument(); local 301 PdfDocument doc = new PdfDocument(); local 362 PdfDocument doc = new PdfDocument(); local 376 PdfDocument doc = new PdfDocument(); local 390 PdfDocument doc = new PdfDocument(); local 404 PdfDocument doc = new PdfDocument(); local [all...] |
| /external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/table/ |
| BarColumnTest.java | 49 private HTMLDocument doc; field in class:BarColumnTest 62 doc = new HTMLDocument(root.createFile("Test.html"), "UTF-8"); 63 doc.head().title(); 64 td = doc.body().table("somestyle").tr().td(); 79 doc.close(); 85 doc.close(); 86 final Document doc = support.parse(output.getFile("Test.html")); local 88 support.findStr(doc, "/html/body/table/tr/td/text()")); 97 doc.close(); 98 final Document doc = support.parse(output.getFile("Test.html")) local 126 final Document doc = support.parse(output.getFile("Test.html")); local 146 final Document doc = support.parse(output.getFile("Test.html")); local 166 final Document doc = support.parse(output.getFile("Test.html")); local 179 final Document doc = support.parse(output.getFile("Test.html")); local [all...] |
| CounterColumnTest.java | 51 private HTMLDocument doc; field in class:CounterColumnTest 64 doc = new HTMLDocument(root.createFile("Test.html"), "UTF-8"); 65 doc.head().title(); 66 td = doc.body().table("somestyle").tr().td(); 83 doc.close(); 92 doc.close(); 102 doc.close(); 103 final Document doc = support.parse(output.getFile("Test.html")); local 105 support.findStr(doc, "/html/body/table/tr/td[1]/text()")); 115 doc.close() 116 final Document doc = support.parse(output.getFile("Test.html")); local 129 final Document doc = support.parse(output.getFile("Test.html")); local 142 final Document doc = support.parse(output.getFile("Test.html")); local 155 final Document doc = support.parse(output.getFile("Test.html")); local [all...] |
| LabelColumnTest.java | 44 private HTMLDocument doc; field in class:LabelColumnTest 57 doc = new HTMLDocument(root.createFile("Test.html"), "UTF-8"); 58 doc.head().title(); 59 td = doc.body().table("somestyle").tr().td(); 73 doc.close(); 80 doc.close(); 81 final Document doc = support.parse(output.getFile("Test.html")); local 83 support.findStr(doc, "/html/body/table/tr/td/text()")); 89 doc.close(); 90 final Document doc = support.parse(output.getFile("Test.html")) local 101 final Document doc = support.parse(output.getFile("Test.html")); local [all...] |
| PercentageColumnTest.java | 48 private HTMLDocument doc; field in class:PercentageColumnTest 61 doc = new HTMLDocument(root.createFile("Test.html"), "UTF-8"); 62 doc.head().title(); 63 td = doc.body().table("somestyle").tr().td(); 77 doc.close(); 84 doc.close(); 85 final Document doc = support.parse(output.getFile("Test.html")); local 87 support.findStr(doc, "/html/body/table/tr/td[1]/text()")); 94 doc.close(); 95 final Document doc = support.parse(output.getFile("Test.html")) local 105 final Document doc = support.parse(output.getFile("Test.html")); local 117 final Document doc = support.parse(output.getFile("Test.html")); local 130 final Document doc = support.parse(output.getFile("Test.html")); local 139 final Document doc = support.parse(output.getFile("Test.html")); local [all...] |
| /libcore/ojluni/src/main/java/java/util/ |
| XMLUtils.java | 73 Document doc = null; local 75 doc = getLoadingDoc(in); 79 Element propertiesElement = doc.getDocumentElement(); 142 Document doc = db.newDocument(); local 144 doc.appendChild(doc.createElement("properties")); 148 doc.createElement("comment")); 149 comments.appendChild(doc.createTextNode(comment)); 155 doc.createElement("entry")); 157 entry.appendChild(doc.createTextNode(props.getProperty(key))) [all...] |
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/ |
| AbstractPropertiesFieldsPart.java | 146 IDocument doc = mEditor.getDocument(); local 147 int numLines = doc.getNumberOfLines(); 151 delim = numLines > 0 ? doc.getLineDelimiter(0) : null; 162 IRegion info = doc.getLineInformation(i); 163 String line = doc.get(info.getOffset(), info.getLength()); 183 doc.replace(info.getOffset(), info.getLength(), line); 207 numLines = doc.getNumberOfLines(); 209 IRegion info = numLines > 0 ? doc.getLineInformation(numLines - 1) : null; 212 doc.replace(info.getOffset(), info.getLength(), line); 215 String eofDelim = doc.getLineDelimiter(numLines - 1) 273 IDocument doc = editor.getDocument(); local [all...] |
| /cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/ |
| MyDocumentsProvider.java | 92 row.add(Root.COLUMN_DOCUMENT_ID, "doc:local"); 98 row.add(Root.COLUMN_DOCUMENT_ID, "doc:create"); 106 row.add(Root.COLUMN_DOCUMENT_ID, "doc:local"); 112 private Map<String, Doc> mDocs = new HashMap<>(); 114 private Doc mLocalRoot; 115 private Doc mCreateRoot; 118 private Doc buildDoc(String docId, String displayName, String mimeType, 120 final Doc doc = new Doc(); local 243 final Doc doc = buildDoc(docId, displayName, mimeType, null); local 258 final Doc doc = mDocs.get(documentId); local 270 final Doc doc = mDocs.get(documentId); local 278 final Doc doc = mDocs.get(sourceDocumentId); local 293 final Doc doc = mDocs.get(sourceDocumentId); local 357 final Doc doc = mDocs.get(documentId); local 430 final Doc doc = mDocs.get(documentId); local 442 final Doc doc = mDocs.get(documentId); local 465 final Doc doc = mDocs.get(documentId); local [all...] |
| /packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
| DirectoryListBot.java | 171 UiObject doc = findDocument(label); local 172 doc.click(); 264 UiObject doc = new UiObject(docList.childSelector(new UiSelector())); local 265 doc.waitForExists(mTimeout); 267 assertTrue(doc.isFocused());
|
| /art/tools/ahat/src/main/com/android/ahat/ |
| DocString.java | 37 DocString doc = new DocString(); local 38 return doc.append(str); 45 DocString doc = new DocString(); local 46 return doc.appendFormat(format, args); 53 DocString doc = new DocString(); local 54 return doc.appendLink(uri, content); 65 * Append literal text to the given doc string. 74 * Append formatted text to the given doc string. 154 DocString doc = new DocString(); local 155 return doc.appendDelta(noCurrent, noBaseline, current, baseline) [all...] |
| /build/make/core/ |
| apidiff.mk | 38 full_target := $(call doc-timestamp-for,$(LOCAL_MODULE)-diff) 92 # Lists the input files for the doc build into a text file 97 define prepare-doc-source-list 155 $(call prepare-doc-source-list,$(PRIVATE_SRC_LIST_FILE),$(PRIVATE_JAVA_FILES), \
|