/build/soong/third_party/zip/ |
D | writer.go | 72 b := writeBuf(buf[:]) 73 b.uint32(uint32(directoryHeaderSignature)) 74 b.uint16(h.CreatorVersion) 75 b.uint16(h.ReaderVersion) 76 b.uint16(h.Flags) 77 b.uint16(h.Method) 78 b.uint16(h.ModifiedTime) 79 b.uint16(h.ModifiedDate) 80 b.uint32(h.CRC32) 85 b.uint32(uint32max) // compressed size [all …]
|
D | reader.go | 190 func (r *checksumReader) Read(b []byte) (n int, err error) { 194 n, err = r.rc.Read(b) 195 r.hash.Write(b[:n]) 236 b := readBuf(buf[:]) 237 if sig := b.uint32(); sig != fileHeaderSignature { 240 b = b[22:] // skip over most of the header 241 filenameLen := int(b.uint16()) 242 extraLen := int(b.uint16()) 254 b := readBuf(buf[:]) 255 if sig := b.uint32(); sig != directoryHeaderSignature { [all …]
|
D | reader_test.go | 408 var b bytes.Buffer 409 _, err = io.Copy(&b, r) 418 if g := uint64(b.Len()); g != size { 430 if b.Len() != len(c) { 431 t.Errorf("%s: len=%d, want %d", f.Name, b.Len(), len(c)) 435 for i, b := range b.Bytes() { 436 if b != c[i] { 437 t.Errorf("%s: content[%d]=%q want %q", f.Name, i, b, c[i]) 454 b := make([]byte, size) 457 _, err := NewReader(bytes.NewReader(b), size) [all …]
|
D | android.go | 65 b := writeBuf(buf) 66 b.uint32(dataDescriptorSignature) 67 b.uint32(fh.CRC32) 69 b.uint64(fh.CompressedSize64) 70 b.uint64(fh.UncompressedSize64) 72 b.uint32(fh.CompressedSize) 73 b.uint32(fh.UncompressedSize) 193 b := writeBuf(buf) 194 b.uint32(dataDescriptorSignature) // de-facto standard, required by OS X 195 b.uint32(fh.CRC32) [all …]
|
D | zip_test.go | 115 b byte member 139 if lastByte := rp.b; len(p) > 0 && p[0] == lastByte { 141 for _, b := range p { 142 if b != lastByte { 154 for _, b := range p { 155 if rp == nil || rp.b != b { 156 r.buf = append(r.buf, repeatedByte{r.Size(), b, 1}) 182 p[n] = part.b 197 b := new(rleBuffer) 201 b.Write([]byte(w)) [all …]
|
/build/make/tools/droiddoc/templates-ndk/assets/js/ |
D | android_3p-bundle.js | 325 sortedAttrs.sort(function (a, b) { argument 326 return (a.name < b.name) ? -1 : a.name === b.name ? 0 : 1; 452 ranges.sort(function (a, b) { return (a[0] - b[0]) || (b[1] - a[1]); }); argument 2049 …lseif|end|false|for|function|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/, null], 2108 …bal|include|method|mixin|object|parallel|process|protected|pure|sealed|trait|virtual|volatile)\b/], 2323 …til|Variant|Wend|When|While|With|WithEvents|WriteOnly|Xor|EndIf|GoSub|Let|Variant|Wend)\b/i, null], 2328 …/^(?:True\b|False\b|Nothing\b|\d+(?:E[+\-]?\d+[FRD]?|[FRDSIL])?|(?:&H[0-9A-F]+|&O[0-7]+)[SIL]?|\d*… 2478 …b){var c=typeof b=="string",d=c&&!l.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,… argument 2614 …b,a,c){b.fn.jScrollPane=function(e){function d(D,O){var ay,Q=this,Y,aj,v,al,T,Z,y,q,az,aE,au,i,I,h… argument 2615 …b("html").bind("dragstart.jsp selectstart.jsp",aB);h.addClass("jspActive");var s=aI.pageX-h.positi… [all …]
|
D | prettify.js | 2 …arCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substr… 3 …b=[],o=f[0]==="^",c=o?1:0,i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var… 4 …b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join(""… 5 …1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");if(a.ignoreCase&… 6 {b:8,t:9,n:10,v:11,f:12,r:13},n=[],p=0,d=a.length;p<d;++p){g=a[p];if(g.global||g.multiline)throw Er… property 7 …n"],d=0,g=a.a.match(y)||[],r={},n=0,z=g.length;n<z;++n){var f=g[n],b=r[f],o=void 0,c;if(typeof b=== 8 …b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0];break}o||(b="pln")}if((c=b.length>=5… 10 …efine|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e… 12 …ush(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z…
|
/build/make/tools/droiddoc/templates-sac/assets/js/ |
D | android_3p-bundle.js | 325 sortedAttrs.sort(function (a, b) { argument 326 return (a.name < b.name) ? -1 : a.name === b.name ? 0 : 1; 452 ranges.sort(function (a, b) { return (a[0] - b[0]) || (b[1] - a[1]); }); argument 2049 …lseif|end|false|for|function|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/, null], 2108 …bal|include|method|mixin|object|parallel|process|protected|pure|sealed|trait|virtual|volatile)\b/], 2323 …til|Variant|Wend|When|While|With|WithEvents|WriteOnly|Xor|EndIf|GoSub|Let|Variant|Wend)\b/i, null], 2328 …/^(?:True\b|False\b|Nothing\b|\d+(?:E[+\-]?\d+[FRD]?|[FRDSIL])?|(?:&H[0-9A-F]+|&O[0-7]+)[SIL]?|\d*… 2478 …b){var c=typeof b=="string",d=c&&!l.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,… argument 2614 …b,a,c){b.fn.jScrollPane=function(e){function d(D,O){var ay,Q=this,Y,aj,v,al,T,Z,y,q,az,aE,au,i,I,h… argument 2615 …b("html").bind("dragstart.jsp selectstart.jsp",aB);h.addClass("jspActive");var s=aI.pageX-h.positi… [all …]
|
D | prettify.js | 2 …arCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substr… 3 …b=[],o=f[0]==="^",c=o?1:0,i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var… 4 …b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join(""… 5 …1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");if(a.ignoreCase&… 6 {b:8,t:9,n:10,v:11,f:12,r:13},n=[],p=0,d=a.length;p<d;++p){g=a[p];if(g.global||g.multiline)throw Er… property 7 …n"],d=0,g=a.a.match(y)||[],r={},n=0,z=g.length;n<z;++n){var f=g[n],b=r[f],o=void 0,c;if(typeof b=== 8 …b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0];break}o||(b="pln")}if((c=b.length>=5… 10 …efine|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e… 12 …ush(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z…
|
/build/make/tools/droiddoc/templates-pdk/assets/ |
D | jquery-1.6.2.min.js | 16 …b){function cv(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function … argument 17 …b=this[a];b&&b.events&&b.events[h]&&f.event.trigger(c,d,b.handle.elem)});return}if(e.nodeType===3|… argument
|
D | prettify.js | 11 …,ab,bb,cb,db,eb,fb,gb,hb,ib,jb,kb,lb],b=mb,c=0;c<a.length;++c)b+=O+a[c].replace(/([^=<>:&a-z])/g,n… 12 …b=a.indexOf(G);if(b<0)return a;for(--b;(b=a.indexOf(tb,b+1))>=0;){var c=a.indexOf(va,b);if(c>=0){v… argument 13 …b.push(I,c);for(var d=0;d<a.attributes.length;++d){var g=a.attributes[d];if(g.specified){b.push(xb… 17 k[e])k[e]=++b;for(h=e=0;e<s;++e){p=f[e];if(p===H){++h;if(k[h]===undefined)f[e]=dc}else if(Q===p.cha… 18 …b=document.createElement(gc);b.appendChild(document.createTextNode(hc));ha=!/</.test(b.innerHTML)}… 19 …b=0;break;default:++b}}if(!d)return c;d.push(c.substring(g));return d.join(P)}}var Vd=new RegExp(k… 20 …b[v].match(Qa);if(w&&w[2]===n)if(w[1]===ra){if(--q===0)break a}else++q}if(v<m){g.push(d,b.slice(i,… argument 21 …b.length,i=function(m){for(var l=m.source,n=m.b,q=[n,S],v=0,w=l.match(d)||[],j={},f=0,s=w.length;f… 22 …i,q)}else q.push(n+x,h)}m.c=q};return i}function C(a){var b=[],c=[];if(a.tripleQuotedStrings)b.pus…
|
/build/kati/ |
D | buf.go | 31 func writeByte(w io.Writer, b byte) error { 33 return bw.WriteByte(b) 35 _, err := w.Write([]byte{b}) 71 func (b *buffer) Write(data []byte) (int, error) { 72 b.buf = append(b.buf, data...) 76 func (b *buffer) WriteByte(c byte) error { 77 b.buf = append(b.buf, c) 81 func (b *buffer) WriteString(s string) (int, error) { 82 b.buf = append(b.buf, []byte(s)...) 86 func (b *buffer) Bytes() []byte { return b.buf } [all …]
|
D | func_test.go | 19 func BenchmarkFuncStrip(b *testing.B) { 30 b.ReportAllocs() 31 b.ResetTimer() 32 for i := 0; i < b.N; i++ { 38 func BenchmarkFuncSort(b *testing.B) { 49 b.ReportAllocs() 50 b.ResetTimer() 51 for i := 0; i < b.N; i++ { 57 func BenchmarkFuncPatsubst(b *testing.B) { 70 b.ReportAllocs() [all …]
|
D | shellutil_test.go | 68 for _, b := range shBuiltins { 69 if b.name != "shell-date" && b.name != "shell-date-quoted" { 72 m, ok := matchExpr(expr{tc.sharg}, b.pattern) 74 t.Logf("%s not match with %s", b.name, tc.sharg) 85 v := b.compact(f, m) 88 t.Errorf("%s: matched %s but not compacted", tc.sharg, b.name) 92 t.Errorf("%s: format=%q, want=%q - %s", tc.sharg, got, want, b.name)
|
D | stats.go | 169 func (b byTotalTime) Len() int { return len(b) } 170 func (b byTotalTime) Swap(i, j int) { b[i], b[j] = b[j], b[i] } 171 func (b byTotalTime) Less(i, j int) bool { 172 return b[i].Total > b[j].Total
|
/build/kati/testcase/ |
D | ninja_normalized_path.mk | 5 mkdir a b 7 test2: a/b a/../a/b a/./b b/a b/../b/a b/./a 12 b/%:
|
D | findstring.mk | 2 echo $(findstring a, a b c) 3 echo $(findstring b, a b c) 4 echo $(findstring b c, a b c) 5 echo $(findstring a, b c) 6 echo $(findstring a, b c, a)
|
D | multi_implicit_output_patterns.mk | 5 all: a.h.x a.c.x a.h.z a.c.z b.h.x b.c.x b.h.z b.c.z 12 b.h.% b.c.%: 15 b.h.z: pass 19 b.c.z: fail
|
D | colon_ws_in_target.mk | 3 test: a\ b 6 a\ b: a\:b 9 a\\\:b: 10 echo a\\\:b $@
|
D | static_pattern.mk | 1 srcs := a.cc b.cc c.cc 13 b.o: b.cc a.h b.h 14 c.o: b.cc a.h b.h c.h
|
D | join.mk | 1 foo:=$(join a b,.c .o) 6 echo $(join a b c, 0 1) 7 echo $(join a b, 0 1 2)
|
D | phony_targets.sh | 22 .PHONY: a b 23 b: 34 ${mk} b
|
D | ninja_phony_targets.sh | 28 .PHONY: a b 29 b: 40 build b
|
/build/blueprint/ |
D | ninja_defs.go | 264 b := &buildDef{ 270 if b.Variables == nil { 271 b.Variables = make(map[string]*ninjaString) 273 b.Variables[name] = value 285 b.Outputs, err = parseNinjaStrings(scope, params.Outputs) 290 b.ImplicitOutputs, err = parseNinjaStrings(scope, params.ImplicitOutputs) 295 b.Inputs, err = parseNinjaStrings(scope, params.Inputs) 300 b.Implicits, err = parseNinjaStrings(scope, params.Implicits) 305 b.OrderOnly, err = parseNinjaStrings(scope, params.OrderOnly) 310 b.Optional = params.Optional [all …]
|
/build/blueprint/proptools/ |
D | proptools.go | 54 func BoolPtr(b bool) *bool { 55 return &b 65 func Bool(b *bool) bool { 66 if b != nil { 67 return *b
|