HomeSort by relevance Sort by last modified time
    Searched refs:document (Results 26 - 50 of 1882) sorted by null

12 3 4 5 6 7 8 91011>>

  /packages/apps/Test/connectivity/sl4n/utils/
command_receiver.h 19 #include <rapidjson/document.h>
21 typedef void (*MFP)(rapidjson::Document&);
38 // passes the document to the corresponding wrapper function.
39 void Call(rapidjson::Document& doc);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DosLineEndingsFix.java 47 public void apply(IDocument document) {
49 for (int i = document.getLength() - 1; i >= 0; i--) {
51 char c = document.getChar(i);
53 document.replace(i, 1, "\n"); //$NON-NLS-1$
DocumentFix.java 36 protected abstract void apply(IDocument document, IStructuredModel model, Node node,
40 public void apply(IDocument document) {
41 if (!(document instanceof IStructuredDocument)) {
42 AdtPlugin.log(null, "Unexpected document type: %1$s. Can't fix.",
43 document.getClass().getName());
50 IStructuredModel model = manager.getModelForEdit((IStructuredDocument) document);
51 Node node = DomUtilities.getNode(document, start);
53 apply(document, model, node, start, end);
  /external/pdfium/public/
fpdf_save.h 53 // Saves the copy of specified document in custom way.
55 // document - Handle to document. Returned by
62 FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_SaveAsCopy(FPDF_DOCUMENT document,
68 // saved document could be specified by user.
70 // document - Handle to document.
79 FPDF_SaveWithVersion(FPDF_DOCUMENT document,
fpdf_doc.h 19 // Go to a destination within current document.
21 // Go to a destination within another document.
52 // document - handle to the document.
59 FPDFBookmark_GetFirstChild(FPDF_DOCUMENT document, FPDF_BOOKMARK bookmark);
63 // document - handle to the document.
69 FPDFBookmark_GetNextSibling(FPDF_DOCUMENT document, FPDF_BOOKMARK bookmark);
89 // Find the bookmark with |title| in |document|.
91 // document - handle to the document
    [all...]
fpdf_attachment.h 16 // Get the number of embedded files in |document|.
18 // document - handle to a document.
20 // Returns the number of embedded files in |document|.
22 FPDFDoc_GetAttachmentCount(FPDF_DOCUMENT document);
25 // Add an embedded file with |name| in |document|. If |name| is empty, or if
26 // |name| is the name of a existing embedded file in |document|, or if
27 // |document|'s embedded file name tree is too deep (i.e. |document| has too
30 // document - handle to a document
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/xml/dom/
CommentImpl.java 34 CommentImpl(DocumentImpl document, String data) {
35 super(document, data);
EntityReferenceImpl.java 36 EntityReferenceImpl(DocumentImpl document, String name) {
37 super(document);
LeafNodeImpl.java 41 LeafNodeImpl(DocumentImpl document) {
42 super(document);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
AndroidXmlFormatter.java 39 public final void format(IDocument document, IRegion region) {
52 format(document, context);
61 public void format(IDocument document, IFormattingContext context) {
62 context.setProperty(FormattingContextProperties.CONTEXT_MEDIUM, document);
63 formatMaster(context, document, 0, document.getLength());
66 protected void formatMaster(IFormattingContext context, IDocument document, int offset,
69 final int delta= offset - document.getLineInformationOfOffset(offset).getOffset();
  /libcore/luni/src/test/java/libcore/xml/
NormalizeTest.java 26 import org.w3c.dom.Document;
56 private Document document; field in class:NormalizeTest
65 document = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
66 domConfiguration = document.getDomConfig();
343 document.getDocumentElement().normalize();
344 assertEquals(xml, domToString(document));
348 document.getDocumentElement().normalize();
349 assertEquals(xml, domToString(document));
356 document.normalizeDocument()
    [all...]
  /frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/pom/
PomDocument.kt 24 import org.jdom2.Document
30 class PomDocument(val file: ArchiveFile, private val document: Document) {
36 val document = XmlUtils.createDocumentFromByteArray(file.data)
37 val pomDoc = PomDocument(file, document)
49 val propertiesGroup = document.rootElement
50 .getChild("properties", document.rootElement.namespace)
57 dependenciesGroup = document.rootElement
58 .getChild("dependencies", document.rootElement.namespace) ?: return
65 * Validates that this document is consistent with the provided [rules]
    [all...]
  /external/pdfium/fpdfsdk/
fpdfppo_embeddertest.cpp 31 EXPECT_FALSE(FPDF_CopyViewerPreferences(output_doc, document()));
40 EXPECT_TRUE(FPDF_CopyViewerPreferences(output_doc, document()));
52 EXPECT_TRUE(FPDF_CopyViewerPreferences(output_doc, document()));
53 EXPECT_TRUE(FPDF_ImportPages(output_doc, document(), "1", 0));
65 EXPECT_TRUE(FPDF_CopyViewerPreferences(output_doc, document()));
80 EXPECT_TRUE(FPDF_CopyViewerPreferences(output_doc, document()));
98 EXPECT_FALSE(FPDF_ImportPages(output_doc, document(), "clams", 0));
99 EXPECT_FALSE(FPDF_ImportPages(output_doc, document(), "0", 0));
100 EXPECT_FALSE(FPDF_ImportPages(output_doc, document(), "42", 0));
101 EXPECT_FALSE(FPDF_ImportPages(output_doc, document(), "1,2", 0))
    [all...]
fpdfview_embeddertest.cpp 46 TEST_F(FPDFViewEmbeddertest, Document) {
52 EXPECT_TRUE(FPDF_GetFileVersion(document(), &version));
55 EXPECT_EQ(0xFFFFFFFF, FPDF_GetDocPermissions(document()));
56 EXPECT_EQ(-1, FPDF_GetSecurityHandlerRevision(document()));
71 EXPECT_FALSE(FPDF_GetFileVersion(document(), &version));
81 EXPECT_EQ(kExpected, FPDF_GetDocPermissions(document()));
84 EXPECT_EQ(-1, FPDF_GetSecurityHandlerRevision(document()));
86 EXPECT_EQ(0, FPDF_GetPageCount(document()));
88 EXPECT_TRUE(FPDF_VIEWERREF_GetPrintScaling(document()));
89 EXPECT_EQ(1, FPDF_VIEWERREF_GetNumCopies(document()));
    [all...]
fpdfsave_embeddertest.cpp 22 EXPECT_TRUE(FPDF_SaveAsCopy(document(), this, 0));
29 EXPECT_TRUE(FPDF_SaveWithVersion(document(), this, 0, 14));
35 EXPECT_TRUE(FPDF_SaveWithVersion(document(), this, 0, -1));
39 EXPECT_TRUE(FPDF_SaveWithVersion(document(), this, 0, 0));
43 EXPECT_TRUE(FPDF_SaveWithVersion(document(), this, 0, 18));
55 EXPECT_TRUE(FPDF_ImportPages(output_doc, document(), "1", 0));
77 EXPECT_TRUE(FPDF_SaveAsCopy(document(), this, 0));
83 // Make sure new document renders the same as the old one.
97 EXPECT_TRUE(FPDF_SaveAsCopy(document(), this, 0));
  /external/pdfium/core/fpdfapi/parser/
cpdf_document_unittest.cpp 164 std::unique_ptr<CPDF_TestDocumentForPages> document = local
167 CPDF_Dictionary* page = document->GetPage(i);
172 CPDF_Dictionary* page = document->GetPage(kNumTestPages);
177 auto document = pdfium::MakeUnique<CPDF_TestDocumentWithPageWithoutPageNum>(); local
178 const CPDF_Dictionary* page = document->GetPage(2);
180 ASSERT_EQ(document->inlined_page(), page);
182 const CPDF_Dictionary* second_call_page = document->GetPage(2);
188 std::unique_ptr<CPDF_TestDocumentForPages> document = local
191 CPDF_Dictionary* page = document->GetPage(i);
196 CPDF_Dictionary* page = document->GetPage(kNumTestPages)
201 std::unique_ptr<CPDF_TestDocumentForPages> document = local
248 std::unique_ptr<CPDF_TestDocumentForPages> document = local
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/
Chapter2_1Test.java 32 YamlDocument document = new YamlDocument("example2_1.yaml"); local
33 List<String> list = (List<String>) document.getNativeData();
38 assertEquals("[Mark McGwire, Sammy Sosa, Ken Griffey]\n", document.getPresentation());
43 YamlDocument document = new YamlDocument("example2_2.yaml"); local
44 Map<String, Object> map = (Map<String, Object>) document.getNativeData();
57 YamlDocument document = new YamlDocument("example2_3.yaml"); local
58 Map<String, List<String>> map = (Map<String, List<String>>) document.getNativeData();
74 YamlDocument document = new YamlDocument("example2_4.yaml"); local
75 List<Map<String, Object>> list = (List<Map<String, Object>>) document.getNativeData();
84 YamlDocument document = new YamlDocument("example2_5.yaml") local
98 YamlDocument document = new YamlDocument("example2_6.yaml"); local
    [all...]
Chapter2_4Test.java 44 YamlDocument document = new YamlDocument("example2_19.yaml"); local
45 Map<String, Object> map = (Map<String, Object>) document.getNativeData();
58 YamlDocument document = new YamlDocument("example2_20.yaml"); local
59 Map<String, Object> map = (Map<String, Object>) document.getNativeData();
73 YamlDocument document = new YamlDocument("example2_21.yaml"); local
74 Map<String, Object> map = (Map<String, Object>) document.getNativeData();
84 YamlDocument document = new YamlDocument("example2_22.yaml"); local
85 Map<String, Object> map = (Map<String, Object>) document.getNativeData();
110 YamlDocument document = new YamlDocument("example2_23_non_date.yaml"); local
111 Map<String, Object> map = (Map<String, Object>) document.getNativeData()
121 YamlDocument document = new YamlDocument("example2_23_picture.yaml", false); local
146 YamlDocument document = new YamlDocument("example2_23.yaml", false, local
157 YamlDocument document = new YamlDocument("example2_25.yaml"); local
167 YamlDocument document = new YamlDocument("example2_26.yaml"); local
    [all...]
  /packages/apps/DocumentsUI/tests/common/com/android/documentsui/
StubProvider.java 31 import android.provider.DocumentsContract.Document;
84 Document.COLUMN_DOCUMENT_ID, Document.COLUMN_MIME_TYPE, Document.COLUMN_DISPLAY_NAME,
85 Document.COLUMN_LAST_MODIFIED, Document.COLUMN_FLAGS, Document.COLUMN_SIZE,
137 mStorage.put(rootInfo.document.documentId, rootInfo.document);
163 row.add(Root.COLUMN_DOCUMENT_ID, info.document.documentId)
195 final StubDocument document = StubDocument.createRegularDocument(file, mimeType, parent); local
209 final StubDocument document = mStorage.get(documentId); local
256 StubDocument document; local
289 StubDocument document = mStorage.get(getDocumentIdForFile(file)); local
341 final StubDocument document = mStorage.get(docId); local
387 final StubDocument document = mStorage.get(docId); local
413 final StubDocument document = mStorage.get(DocumentsContract.getDocumentId(uri)); local
591 final StubDocument document = StubDocument.createDocumentWithFlags(file, mimeType, parent, local
707 final StubDocument document = StubDocument.createRegularDocument(file, mimeType, parent); local
722 final StubDocument document = StubDocument.createVirtualDocument( local
772 public final StubDocument document; field in class:StubProvider.RootInfo
    [all...]
  /external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/
InsertHeader.java 23 import org.eclipse.jface.text.Document;
38 Document document = context.document(); local
40 document.replace(0, 0, header);
  /frameworks/base/core/jni/android/graphics/pdf/
PdfDocument.cpp 91 sk_sp<SkDocument> document = SkDocument::MakePDF(stream); local
95 SkCanvas* canvas = document->beginPage(page->mWidth, page->mHeight,
99 document->endPage();
101 document->close();
127 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); local
128 SkCanvas* canvas = document->startPage(pageWidth, pageHeight,
134 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); local
135 document->finishPage();
140 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); local
142 document->write(skWStream)
147 PdfDocument* document = reinterpret_cast<PdfDocument*>(documentPtr); local
    [all...]
  /external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/
DateTimeShortcuts.js 68 var inputs = document.getElementsByTagName('input');
140 var shortcuts_span = document.createElement('span');
143 var now_link = document.createElement('a');
145 now_link.appendChild(document.createTextNode(gettext('Now')));
146 var clock_link = document.createElement('a');
150 shortcuts_span.appendChild(document.createTextNode('\240'));
152 shortcuts_span.appendChild(document.createTextNode('\240|\240'));
169 var clock_box = document.createElement('div');
174 document.body.appendChild(clock_box);
188 django.jQuery(document).bind('keyup', function(event)
    [all...]
  /developers/build/prebuilts/gradle/PermissionRequest/Application/src/main/assets/
sample.js 23 document.addEventListener('DOMContentLoaded', function () {
25 var video = document.querySelector('#video'),
26 toggle = document.querySelector('#toggle'),
  /developers/samples/android/content/webview/PermissionRequest/Application/src/main/assets/
sample.js 23 document.addEventListener('DOMContentLoaded', function () {
25 var video = document.querySelector('#video'),
26 toggle = document.querySelector('#toggle'),
  /external/oj-libjdwp/make/src/classes/build/tools/jdwpgen/
AbstractCommandNode.java 32 void document(PrintWriter writer) { method in class:AbstractCommandNode
38 node.document(writer);

Completed in 597 milliseconds

12 3 4 5 6 7 8 91011>>