Home
last modified time | relevance | path

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

123456

/build/tools/releasetools/
Drangelib.py26 def __init__(self, data=None): argument
28 if isinstance(data, str):
29 self._parse_internal(data)
30 elif data:
31 assert len(data) % 2 == 0
32 self.data = tuple(self._remove_pairs(data))
33 self.monotonic = all(x < y for x, y in zip(self.data, self.data[1:]))
35 self.data = ()
38 for i in range(0, len(self.data), 2):
39 yield self.data[i:i+2]
[all …]
Dsign_target_files_apks130 def SignApk(data, keyname, pw, platform_api_level, codename_to_api_level_map): argument
132 unsigned.write(data)
159 data = signed.read()
163 return data
176 def write_to_temp(fn, attr, data): argument
187 os.symlink(data, fn)
190 f.write(data)
196 data = input_tf_zip.read(info.filename)
216 write_to_temp(info.filename, info.external_attr, data)
224 signed_data = SignApk(data, key, key_passwords[key], platform_api_level,
[all …]
Dsign_target_files_apks.py130 def SignApk(data, keyname, pw, platform_api_level, codename_to_api_level_map): argument
132 unsigned.write(data)
159 data = signed.read()
163 return data
176 def write_to_temp(fn, attr, data): argument
187 os.symlink(data, fn)
190 f.write(data)
196 data = input_tf_zip.read(info.filename)
216 write_to_temp(info.filename, info.external_attr, data)
224 signed_data = SignApk(data, key, key_passwords[key], platform_api_level,
[all …]
Dsparse_img.py71 self.clobbered_blocks = rangelib.RangeSet(data=clobbered_blocks)
124 all_blocks = rangelib.RangeSet(data=(0, self.total_blocks))
133 def AppendFillChunk(self, data, blocks): argument
138 f.write(struct.pack("<2H3I", 0xCAC2, 0, blocks, 16, data))
249 data = f.read(self.blocksize)
252 data = reference
254 data = None
256 if data == reference:
275 out["__ZERO"] = rangelib.RangeSet(data=zero_blocks)
278 out["__NONZERO-%d" % i] = rangelib.RangeSet(data=blocks)
/build/tools/droiddoc/templates-sdk-dev/
Dfooter.cs6 …<a class="dac-footer-getnews" id="newsletter" data-modal-toggle="newsletter" href="javascript:;">G…
65 <div data-modal="newsletter" data-newsletter data-swap class="dac-modal newsletter">
70 <button class="dac-modal-header-close" data-modal-toggle></button>
72 <div class="dac-swap" data-swap-container>
74 <h2 class="norule dac-modal-header-title" data-t="newsletter.title"></h2>
75 <p class="dac-modal-header-subtitle" data-t="newsletter.requiredHint"></p>
78 <h2 class="norule dac-modal-header-title" data-t="newsletter.successTitle">Hooray!</h2>
82 <div class="dac-swap" data-swap-container>
85 <input type="hidden" name="entry.935454734" data-newsletter-language>
91 …<label for="newsletter-full-name" class="dac-form-floatlabel" data-t="newsletter.name">Full name</…
[all …]
Dcustomizations.cs13 <button data-fullscreen class="dac-nav-fullscreen">
49 <div class="dac-reference-nav" data-reference-tree>
50 <ul class="dac-reference-nav-list" data-reference-namespaces>
55 <ul data-reference-resources>
64 <ul data-reference-resources>
97 <form data-search class="dac-header-search">
98 <button class="dac-header-search-close" data-search-close>
105 <button class="dac-header-search-clear dac-hidden" data-search-clear>
119 …<div class="resource-flow-layout" data-history-query="history:most/visited" data-maxresults="3" da…
124 …ass="resource-flow-layout cols" data-history-query="history:recent" data-allow-duplicates="true" d…
[all …]
/build/kati/
Dparser.go148 w, data := firstWord(line)
150 d(p, data)
300 func (p *parser) parseIfdef(op string, data []byte) {
301 lhs, _, err := parseExpr(data, nil, parseOp{alloc: true})
371 func (p *parser) parseIfeq(op string, data []byte) {
372 lhsBytes, rhsBytes, extra, ok := p.parseEq(data)
411 func (p *parser) parseElse(data []byte) {
425 nextIf := data
445 func (p *parser) parseEndif(data []byte) {
465 if len(trimSpaceBytes(data)) > 0 {
[all …]
Dbuf.go71 func (b *buffer) Write(data []byte) (int, error) {
72 b.buf = append(b.buf, data...)
73 return len(data), nil
149 func (wb *wordBuffer) Write(data []byte) (int, error) {
150 if len(data) == 0 {
155 if !isWhitespace(rune(data[0])) && len(wb.buf.buf) > 0 {
158 ws := newWordScanner(data)
173 if isWhitespace(rune(data[len(data)-1])) {
176 return len(data), nil
Dstring_piece.h68 : ptr_(str.data()), length_(str.size()) { } in StringPiece()
70 : ptr_(str.data()), length_(str.size()) { } in StringPiece()
78 const char* data() const { return ptr_; } in data() function
87 void set(const char* data, size_type len) { in set() argument
88 ptr_ = data; in set()
95 void set(const void* data, size_type len) { in set() argument
96 ptr_ = reinterpret_cast<const char*>(data); in set()
123 return std::string(!empty() ? data() : "", size()); in as_string()
196 x.data(), y.data(), (x.size() < y.size() ? x.size() : y.size()));
225 #define SPF(s) static_cast<int>((s).size()), (s).data()
Dstring_piece.cc39 uint64_t xt = *reinterpret_cast<const uint64_t*>(x.data() + len); in operator ==()
40 uint64_t yt = *reinterpret_cast<const uint64_t*>(y.data() + len); in operator ==()
44 return StringPiece::wordmemcmp(x.data(), y.data(), len) == 0; in operator ==()
48 target->assign(!empty() ? data() : "", size()); in CopyToString()
53 target->append(data(), size()); in AppendToString()
116 const char* const data = characters_wanted.data(); in BuildLookupTable() local
118 table[static_cast<unsigned char>(data[i])] = true; in BuildLookupTable()
/build/soong/common/
Dandroidmk.go106 if data, err := ioutil.ReadFile(mkFile); err == nil {
107 matches := buf.Len() == len(data)
111 if value != data[i] {
136 data, err := provider.AndroidMk()
145 if data.SubName != "" {
146 name += "_" + data.SubName
154 if data.Custom != nil {
172 return data.Custom(w, name, prefix)
175 if data.Disabled {
179 if !data.OutputFile.Valid() {
[all …]
/build/target/product/
Dsdk_base.mk63 device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml \
65 frameworks/base/data/sounds/effects/camera_click.ogg:system/media/audio/ui/camera_click.ogg \
66 frameworks/base/data/sounds/effects/VideoRecord.ogg:system/media/audio/ui/VideoRecord.ogg \
67 frameworks/base/data/sounds/effects/VideoStop.ogg:system/media/audio/ui/VideoStop.ogg \
68 …device/generic/goldfish/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_h…
70 …frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_goog…
71 …frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_…
72 …frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_goog…
74 …frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permiss…
75 …frameworks/native/data/etc/android.hardware.camera.autofocus.xml:system/etc/permissions/android.ha…
[all …]
/build/soong/glob/
Dglob.go53 func writeFileIfChanged(filename string, data []byte, perm os.FileMode) error {
71 if info.Size() != int64(len(data)) {
79 if len(oldData) != len(data) {
82 for i := range data {
83 if oldData[i] != data[i] {
93 err = ioutil.WriteFile(filename, data, perm)
/build/soong/env/
Denv.go38 data, err := json.MarshalIndent(contents, "", " ")
43 data = append(data, '\n')
45 err = ioutil.WriteFile(filename, data, 0664)
54 data, err := ioutil.ReadFile(filename)
61 err = json.Unmarshal(data, &contents)
/build/tools/droiddoc/templates-sdk-dev/components/
Dmasthead.cs7 <a class="dac-nav-toggle" data-dac-toggle-nav href="javascript:;" title="Open navigation">
104 <div class="dac-nav-dimmer" data-dac-toggle-nav></div>
106 …<div class="dac-nav-sidebar" data-swap data-dynamic="false" data-transition-speed="300" data-dac-n…
107 <div data-swap-container>
147 <div class="dac-nav-dimmer" data-dac-toggle-nav></div>
149 …<div class="dac-nav-sidebar" data-swap data-dynamic="false" data-transition-speed="300" data-dac-n…
150 <div data-swap-container>
286 <div class="dac-toast" data-toast>
/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():
Devent_log_tags.py119 def WriteOutput(output_file, data): argument
123 if not isinstance(data, str):
124 data = data.getvalue()
131 out.write(data)
/build/tools/droiddoc/templates-ndk/
Dhead_tag.cs3 …####### If building devsite, add some meta data needed for when generating the top nav ######### ?>
63 data-helpouts-embed data-helpouts-vertical="programming"
64 data-helpouts-tags="<?cs var:page.tags ?>" data-helpouts-prefix="android"
65 data-helpouts-standalone="true"></script>
/build/target/board/generic_x86_64/
Ddevice.mk26 device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml \
28 …frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_goog…
29 …frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_…
30 …frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_goog…
/build/target/board/generic_x86/
Ddevice.mk26 device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml \
28 …frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_goog…
29 …frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_…
30 …frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_goog…
/build/target/board/generic/
Ddevice.mk26 device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml \
28 …frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_goog…
29 …frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_…
30 …frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_goog…
/build/target/board/generic_mips/
Ddevice.mk26 device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml \
28 …frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_goog…
29 …frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_…
30 …frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_goog…
/build/target/board/generic_mips64/
Ddevice.mk26 device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml \
28 …frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_goog…
29 …frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_…
30 …frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_goog…
/build/target/board/generic_arm64/
Ddevice.mk26 device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml \
28 …frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_goog…
29 …frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_…
30 …frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_goog…
/build/tools/droiddoc/templates-pdk/assets/
Dmicrotemplate.js6 this.tmpl = function tmpl(str, data){ argument
33 return data ? fn( data ) : fn;

123456