Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 67) sorted by relevance

123

/build/tools/droiddoc/src/
DTodoFile.java48 public static void setHDF(HDF data, String base, SourcePositionInfo pos, String name, in setHDF() argument
50 data.setValue(base + ".pos", pos.toString()); in setHDF()
51 data.setValue(base + ".name", name); in setHDF()
52 data.setValue(base + ".descr", descr); in setHDF()
66 HDF data = DroidDoc.makeHDF(); in writeTodoFile() local
67 DroidDoc.setPageTitle(data, "Missing Documentation"); in writeTodoFile()
87 setHDF(data, base + errors, cl.position(), "<class comment>", MISSING); in writeTodoFile()
97 setHDF(data, base + errors, m.position(), m.name() + m.prettySignature(), in writeTodoFile()
112 setHDF(data, base + errors, m.position(), m.name() + m.prettySignature(), in writeTodoFile()
128 setHDF(data, base + errors, f.position(), f.name(), MISSING); in writeTodoFile()
[all …]
DTagInfo.java58 public void makeHDF(HDF data, String base) in makeHDF() argument
60 data.setValue(base + ".name", name()); in makeHDF()
61 data.setValue(base + ".text", text()); in makeHDF()
62 data.setValue(base + ".kind", kind()); in makeHDF()
65 public static void makeHDF(HDF data, String base, TagInfo[] tags) in makeHDF() argument
67 makeHDF(data, base, tags, null, 0, 0); in makeHDF()
70 public static void makeHDF(HDF data, String base, InheritedTags tags) in makeHDF() argument
72 makeHDF(data, base, tags.tags(), tags.inherited(), 0, 0); in makeHDF()
75 private static int makeHDF(HDF data, String base, TagInfo[] tags, in makeHDF() argument
81 j = makeHDF(data, base, inherited.tags(), inherited.inherited(), j, depth+1); in makeHDF()
[all …]
DAttributeInfo.java78 public void makeHDF(HDF data, String base) { in makeHDF() argument
79 data.setValue(base + ".name", name()); in makeHDF()
80 data.setValue(base + ".anchor", anchor()); in makeHDF()
81 data.setValue(base + ".href", htmlPage()); in makeHDF()
82 data.setValue(base + ".R.name", attrField.name()); in makeHDF()
83 data.setValue(base + ".R.href", attrField.htmlPage()); in makeHDF()
84 TagInfo.makeHDF(data, base + ".deprecated", attrField.comment().deprecatedTags()); in makeHDF()
85 TagInfo.makeHDF(data, base + ".shortDescr", comment().briefTags()); in makeHDF()
86 TagInfo.makeHDF(data, base + ".descr", comment().tags()); in makeHDF()
91 data.setValue(s + ".href", m.htmlPage()); in makeHDF()
[all …]
DTypeInfo.java128 public void makeHDF(HDF data, String base) in makeHDF() argument
130 makeHDFRecursive(data, base, false, false, new HashSet<String>()); in makeHDF()
133 public void makeQualifiedHDF(HDF data, String base) in makeQualifiedHDF() argument
135 makeHDFRecursive(data, base, true, false, new HashSet<String>()); in makeQualifiedHDF()
138 public void makeHDF(HDF data, String base, boolean isLastVararg, in makeHDF() argument
141 makeHDFRecursive(data, base, false, isLastVararg, typeVariables); in makeHDF()
144 public void makeQualifiedHDF(HDF data, String base, HashSet<String> typeVariables) in makeQualifiedHDF() argument
146 makeHDFRecursive(data, base, true, false, typeVariables); in makeQualifiedHDF()
149 private void makeHDFRecursive(HDF data, String base, boolean qualified, in makeHDFRecursive() argument
154 data.setValue(base + ".label", label); in makeHDFRecursive()
[all …]
DFieldInfo.java215 public void makeHDF(HDF data, String base) in makeHDF() argument
217 data.setValue(base + ".kind", kind()); in makeHDF()
218 type().makeHDF(data, base + ".type"); in makeHDF()
219 data.setValue(base + ".name", name()); in makeHDF()
220 data.setValue(base + ".href", htmlPage()); in makeHDF()
221 data.setValue(base + ".anchor", anchor()); in makeHDF()
222 TagInfo.makeHDF(data, base + ".shortDescr", firstSentenceTags()); in makeHDF()
223 TagInfo.makeHDF(data, base + ".descr", inlineTags()); in makeHDF()
224 TagInfo.makeHDF(data, base + ".deprecated", comment().deprecatedTags()); in makeHDF()
225 TagInfo.makeHDF(data, base + ".seeAlso", comment().seeTags()); in makeHDF()
[all …]
DPackageInfo.java111 public void makeLink(HDF data, String base) in makeLink() argument
114 data.setValue(base + ".link", htmlPage()); in makeLink()
116 data.setValue(base + ".name", name()); in makeLink()
117 data.setValue(base + ".since", getSince()); in makeLink()
120 public void makeClassLinkListHDF(HDF data, String base) in makeClassLinkListHDF() argument
122 makeLink(data, base); in makeClassLinkListHDF()
123 ClassInfo.makeLinkListHDF(data, base + ".interfaces", interfaces()); in makeClassLinkListHDF()
124 ClassInfo.makeLinkListHDF(data, base + ".classes", ordinaryClasses()); in makeClassLinkListHDF()
125 ClassInfo.makeLinkListHDF(data, base + ".enums", enums()); in makeClassLinkListHDF()
126 ClassInfo.makeLinkListHDF(data, base + ".exceptions", exceptions()); in makeClassLinkListHDF()
[all …]
DDroidDoc.java280 HDF data = makeHDF(); in writeIndex() local
281 ClearPage.write(data, "index.cs", javadocDir + "index" + htmlExtension); in writeIndex()
286 HDF data = makeHDF(); in readTemplateSettings() local
287 htmlExtension = data.getValue("template.extension", ".html"); in readTemplateSettings()
290 String k = data.getValue("template.escape." + i + ".key", ""); in readTemplateSettings()
291 String v = data.getValue("template.escape." + i + ".value", ""); in readTemplateSettings()
335 public static void setPageTitle(HDF data, String title) in setPageTitle() argument
341 data.setValue("page.title", s); in setPageTitle()
453 HDF data = new HDF(); in makeHDF() local
456 data.setValue(p[0], p[1]); in makeHDF()
[all …]
DSeeTagInfo.java49 public void makeHDF(HDF data, String base) in makeHDF() argument
58 super.makeHDF(data, base); in makeHDF()
60 data.setValue(base + ".label", linkRef.label); in makeHDF()
62 data.setValue(base + ".href", linkRef.href); in makeHDF()
70 public static void makeHDF(HDF data, String base, SeeTagInfo[] tags) in makeHDF() argument
75 tag.makeHDF(data, base + "." + j); in makeHDF()
DParameterInfo.java51 public void makeHDF(HDF data, String base, boolean isLastVararg, in makeHDF() argument
54 data.setValue(base + ".name", this.name()); in makeHDF()
55 type().makeHDF(data, base + ".type", isLastVararg, typeVariables); in makeHDF()
58 public static void makeHDF(HDF data, String base, ParameterInfo[] params, in makeHDF() argument
62 params[i].makeHDF(data, base + "." + i, in makeHDF()
DClearPage.java72 public static void write(HDF data, String templ, String filename) in write() argument
74 write(data, templ, filename, false); in write()
77 public static void write(HDF data, String templ, String filename, boolean fullPath) in write() argument
80 data.setValue("hasindex", "true"); in write()
97 data.setValue("toroot", toroot); in write()
99 data.setValue("filename", filename); in write()
107 data.setValue("hdf.loadpaths." + i, htmlDir); in write()
112 data.setValue("hdf.loadpaths." + i, dir); in write()
116 data.setValue("hdf.loadpaths." + i, "templates"); in write()
119 CS cs = new CS(data); in write()
DKeywordEntry.java29 public void makeHDF(HDF data, String base) in makeHDF() argument
31 data.setValue(base + ".label", this.label); in makeHDF()
32 data.setValue(base + ".href", this.href); in makeHDF()
33 data.setValue(base + ".comment", this.comment); in makeHDF()
DClassInfo.java840 public void makeLink(HDF data, String base) in makeLink() argument
842 data.setValue(base + ".label", this.name()); in makeLink()
844 data.setValue(base + ".link", this.htmlPage()); in makeLink()
848 public static void makeLinkListHDF(HDF data, String base, ClassInfo[] classes) { in makeLinkListHDF() argument
853 cl.asTypeInfo().makeHDF(data, base + "." + i); in makeLinkListHDF()
861 public void makeShortDescrHDF(HDF data, String base) in makeShortDescrHDF() argument
863 mTypeInfo.makeHDF(data, base + ".type"); in makeShortDescrHDF()
864 data.setValue(base + ".kind", this.kind()); in makeShortDescrHDF()
865 TagInfo.makeHDF(data, base + ".shortDescr", this.firstSentenceTags()); in makeShortDescrHDF()
866 TagInfo.makeHDF(data, base + ".deprecated", deprecatedTags()); in makeShortDescrHDF()
[all …]
DParamTagInfo.java80 public void makeHDF(HDF data, String base) in makeHDF() argument
82 data.setValue(base + ".name", parameterName()); in makeHDF()
83 data.setValue(base + ".isTypeParameter", isTypeParameter() ? "1" : "0"); in makeHDF()
84 TagInfo.makeHDF(data, base + ".comment", commentTags()); in makeHDF()
87 public static void makeHDF(HDF data, String base, ParamTagInfo[] tags) in makeHDF() argument
92 tags[i].makeHDF(data, base + "." + i); in makeHDF()
DMethodInfo.java540 public void makeHDF(HDF data, String base) in makeHDF() argument
542 data.setValue(base + ".kind", kind()); in makeHDF()
543 data.setValue(base + ".name", name()); in makeHDF()
544 data.setValue(base + ".href", htmlPage()); in makeHDF()
545 data.setValue(base + ".anchor", anchor()); in makeHDF()
548 returnType().makeHDF(data, base + ".returnType", false, typeVariables()); in makeHDF()
549 data.setValue(base + ".abstract", mIsAbstract ? "abstract" : ""); in makeHDF()
552 data.setValue(base + ".synchronized", mIsSynchronized ? "synchronized" : ""); in makeHDF()
553 data.setValue(base + ".final", isFinal() ? "final" : ""); in makeHDF()
554 data.setValue(base + ".static", isStatic() ? "static" : ""); in makeHDF()
[all …]
DSorter.java20 public Object data; field in Sorter
25 data = d; in Sorter()
/build/tools/applypatch/
Dimgdiff_test.sh15 WORK_DIR=/data/local/tmp
25 emulator -wipe-data -noaudio -no-window -port $EMULATOR_PORT &
91 run_command rm /data/local/tmp/target
93 run_command /data/local/tmp/applypatch /data/local/tmp/source \
94 /data/local/tmp/target $(sha1 $tmpdir/target) $(size $tmpdir/target) \
95 $(sha1 $tmpdir/source):/data/local/tmp/patch \
97 $ADB pull /data/local/tmp/target $tmpdir/result
Dapplypatch.c39 file->data = NULL; in LoadFileContents()
53 file->data = malloc(file->size); in LoadFileContents()
58 free(file->data); in LoadFileContents()
59 file->data = NULL; in LoadFileContents()
63 size_t bytes_read = fread(file->data, 1, file->size, f); in LoadFileContents()
67 free(file->data); in LoadFileContents()
68 file->data = NULL; in LoadFileContents()
73 SHA(file->data, file->size, file->sha1); in LoadFileContents()
174 file->data = malloc(size[index[pairs-1]]); in LoadMTDContents()
175 char* p = (char*)file->data; in LoadMTDContents()
[all …]
Dimgdiff.c133 unsigned char* data; // data to be patched (uncompressed, for deflate chunks) member
286 curr->data = img; in ReadZip()
306 curr->data = malloc(curr->len); in ReadZip()
320 strm.next_out = curr->data; in ReadZip()
346 curr->data = img + pos; in ReadZip()
412 curr->data = p; in ReadImage()
429 curr->data = malloc(allocated); in ReadImage()
446 strm.next_out = curr->data + curr->len; in ReadImage()
451 curr->data = realloc(curr->data, allocated); in ReadImage()
466 curr->data = img+pos; in ReadImage()
[all …]
/build/core/
Darmelf.x29 .rel.data.rel.ro : { *(.rel.data.rel.ro*) }
30 .rela.data.rel.ro : { *(.rel.data.rel.ro*) }
31 .rel.data : { *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*) }
32 .rela.data : { *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*) }
129 .data.rel.ro : { *(.data.rel.ro.local) *(.data.rel.ro*) }
132 .data :
135 *(.data .data.* .gnu.linkonce.d.*)
Darmelf.xsc22 *(.rel.data.rel.ro* .rel.gnu.linkonce.d.rel.ro.*)
23 *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*)
37 *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*)
78 /* Adjust the address for the data segment. We want to align at exactly
129 ….data.rel.ro : { *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*) *(.data.rel.ro* .gnu.linkon…
132 .data :
135 *(.data .data.* .gnu.linkonce.d.*)
152 pad the .data section. */
198 invalid data. */
/build/tools/releasetools/
Dsign_target_files_apks117 def SharedUserForApk(data): argument
119 tmp.write(data)
124 data, _ = p.communicate()
127 lines = data.split("\n")
144 data = input_tf_zip.read(info.filename)
147 shared_user = SharedUserForApk(data)
179 def SignApk(data, keyname, pw): argument
181 unsigned.write(data)
188 data = signed.read()
192 return data
[all …]
/build/tools/
Dcompare_fileslist.py33 data = {}
42 if not data.has_key(fn):
43 data[fn] = {}
44 data[fn][index] = sz
47 for fn,sizes in data.iteritems():
/build/tools/soslim/
Dsymfilter.c18 static int match_hash_table_section(Elf *elf, Elf_Scn *sect, void *data);
19 static int match_dynsym_section(Elf *elf, Elf_Scn *sect, void *data);
74 (unsigned long)filter->hash.data->d_size); in build_symfilter()
82 filter->num_symbols_to_keep = filter->symtab.data->d_size / symsize; in build_symfilter()
119 for (idx = 0; idx < filter->symtab.data->d_size / elsize; in build_symfilter()
124 sym = gelf_getsymshndx (filter->symtab.data, NULL, in build_symfilter()
160 sym = gelf_getsymshndx (filter->symtab.data, NULL, in build_symfilter()
203 static int match_hash_table_section(Elf *elf, Elf_Scn *sect, void *data) in match_hash_table_section() argument
205 symfilter_t *filter = (symfilter_t *)data; in match_hash_table_section()
225 static int match_dynsym_section(Elf *elf, Elf_Scn *sect, void *data) in match_dynsym_section() argument
[all …]
/build/tools/apriori/
Dsource.c6 Elf_Data **data) in find_section() argument
16 *data = elf_getdata(*scn, NULL); in find_section()
17 FAILIF_LIBELF(NULL == *data, elf_getdata); in find_section()
Dapriori.c63 Elf_Data *data = elf_getdata(scn, NULL); in print_shdr() local
67 data, in print_shdr()
69 data->d_buf, data->d_off, data->d_size); in print_shdr()
176 Elf_Data *data = elf_newdata(scn); in create_elf_sections() local
177 FAILIF_LIBELF(NULL == data, elf_newdata); in create_elf_sections()
178 *data = *olddata; in create_elf_sections()
181 data->d_buf = MALLOC(data->d_size); in create_elf_sections()
182 memcpy(data->d_buf, olddata->d_buf, olddata->d_size); in create_elf_sections()
197 source->shdr_info[cnt].data = data; in create_elf_sections()
471 source->symtab.data = elf_getdata(scn, NULL); in do_init_source()
[all …]

123