Home
last modified time | relevance | path

Searched refs:length (Results 1 – 25 of 28) sorted by relevance

12

/build/make/tools/droiddoc/templates-pdk/assets/
Dandroid-developer-resource-browser.js25 for (var i = 0; i < loadedResults.length; i++) {
27 for (var j = 0; j < keywords.length; j++) {
75 for (var i = 0; i < ANDROID_RESOURCES.length; i++) {
80 for (var j = 0; j < resource.tags.length; j++)
112 for (i = 0; i < params.tag.length; i++) {
120 if (searchTags.length) {
134 for (i = 0; i < ANDROID_RESOURCES.length; i++) {
138 if (searchTags.length) {
139 for (j = 0; j < searchTags.length; j++)
156 if (results.length) {
[all …]
Dsearch_autocomplete.js72 if (gMatches.length > 0) {
74 var N = gMatches.length < ROW_COUNT ? gMatches.length : ROW_COUNT;
129 if (gSelectedIndex < gMatches.length-1
140 for (var i=0; i<DATA.length; i++) {
142 if (text.length != 0 &&
149 for (var i=0; i<gMatches.length; i++) {
163 if (!gMatches || !gMatches.length)
185 for (var i=0; i<s.length; i++)
219 for (var i=0; i<gMatches.length; i++) {
233 if (!gMatches || !gMatches.length)
[all …]
Dandroid-developer-docs.js108 var valStart = index + myCookie.length;
111 valEnd = document.cookie.length;
158 } else if ($("#side-nav").length) {
168 if (devdocNav.length) { // only dev guide, resources, and sdk
180 if (!topicList.length || !ANDROID_TAGS || !ANDROID_RESOURCES)
188 for (var i = 0; i < topics.length; i++) {
206 for (i = 0; i < ANDROID_RESOURCES.length; i++) {
210 for (j = 0; j < tags.length; j++)
220 for (i = 0; i < resources.length; i++) {
231 for (j = 0; j < tags.length; j++) {
[all …]
Dprettify.js11 …Ua,Va,Wa,O,Xa,Ya,Za,$a,ab,bb,cb,db,eb,fb,gb,hb,ib,jb,kb,lb],b=mb,c=0;c<a.length;++c)b+=O+a[c].repl…
13length;++d){var g=a.attributes[d];if(g.specified){b.push(xb);W(g,b)}}b.push(J);for(var i=a.firstCh…
15 …function q(j){for(var f=j.substring(1,j.length-1).match(new RegExp(Ub,R)),s=[],k=[],h=f[0]===M,e=h…
16length;++e){var A=k[e];if(A[0]<=E[1]+1)E[1]=Math.max(E[1],A[1]);else B.push(E=A)}var D=[L];h&&D.pu…
17length>=2&&u===L)f[e]=q(p);else if(u!==Q)f[e]=p.replace(/[a-zA-Z]/g,function(x){var B=x.charCodeAt…
18 …0,m=c.length;i<m;++i){var l=c.charAt(i);switch(l){case ic:d||(d=[]);d.push(c.substring(g,i));var n…
19 … i=0,m=b.length;i<m;++i){var l=b[i];if(l.length>1&&l.charAt(0)===I){if(!Wd.test(l))if(Xd.test(l)){…
20 …));i=v}else g.push(d,l)}else g.push(d,l)}else{var j=Sd(l);c.push(j);d+=j.length}}return{source:c.j…
21length;q<v;++q){var w=m[q],j=w[3];if(j)for(var f=j.length;--f>=0;)c[j.charAt(f)]=w;var s=w[1],k=P+…
22 …5))&&!(e&&e[1])){p=z;h=oc}p||(j[k]=h)}var x=v;v+=k.length;if(p){var B=e[1],E=k.indexOf(B),A=E+B.le…
Djquery-1.6.2.min.js16length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h… property
17length;h<i;h++){var j=d[h];if(e||c.namespace_re.test(j.namespace)){c.handler=j.handler,c.data=j.da…
Dandroid-developer-reference.js27 maxLevel = SINCE_DATA.length;
43 if (isNaN(minLevel) && minLevel.length) {
59 maxLevel = SINCE_DATA.length;
94 apiLevelEndIndex = apiLevelEndIndex != -1 ? apiLevelEndIndex : className.length;
96 if (apiLevel.length == 0) { // for odd cases when the since data is actually missing, just bail
230 if (full.substr(0, toroot.length) == toroot) {
231 return full.substr(toroot.length);
241 if (toroot.substr(toroot.length-3, 3) == "../" || toroot == "./") {
245 toroot = toroot.substr(0, toroot.length-3);
305 if (me.breadcrumbs != null && me.breadcrumbs.length != 0) {
Djquery-resizable.min.js12length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G…
19length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]…
29length;m++){if(j.options[n[m][0]]){n[m][1].apply(j.element,k)}}}},contains:function(k,j){return do…
40length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",s…
/build/make/tools/droiddoc/templates-ndk/assets/design/
Ddefault.js5 pagePath = pagePath.substr(SITE_ROOT.length);
6 if (pagePath == '' || pagePath.charAt(pagePath.length - 1) == '/') {
17 var upDirs = (SITE_ROOT.match(/(\.\.\/)+/) || [''])[0].length / 3;
22 relativePagePathParts.push(pathParts[pathParts.length - (upDirs - i) - 1]);
24 relativePagePathParts.push(pathParts[pathParts.length - 1]);
33 if ($selNavLink.length) {
42 if ($prevListItem.length) {
55 if ($prevLink.length) {
75 if (!$nextLink.length) {
80 if ($nextLink.length) {
[all …]
/build/make/tools/droiddoc/templates-pdk/assets/design/
Ddefault.js5 pagePath = pagePath.substr(SITE_ROOT.length);
6 if (pagePath == '' || pagePath.charAt(pagePath.length - 1) == '/') {
17 var upDirs = (SITE_ROOT.match(/(\.\.\/)+/) || [''])[0].length / 3;
22 relativePagePathParts.push(pathParts[pathParts.length - (upDirs - i) - 1]);
24 relativePagePathParts.push(pathParts[pathParts.length - 1]);
33 if ($selNavLink.length) {
42 if ($prevListItem.length) {
55 if ($prevLink.length) {
75 if (!$nextLink.length) {
80 if ($nextLink.length) {
[all …]
/build/make/tools/droiddoc/templates-ndk/assets/js/
Ddocs.js47 var start = GOOGLE_DATA.length;
48 for (var i=0; i<GCM_DATA.length; i++) {
154 if (pagePath == '' || pagePath.charAt(pagePath.length - 1) == '/') {
168 var upDirs = (SITE_ROOT.match(/(\.\.\/)+/) || [''])[0].length / 3;
173 relativePagePathParts.push(pathParts[pathParts.length - (upDirs - i) - 1]);
175 relativePagePathParts.push(pathParts[pathParts.length - 1]);
271 if ($selNavLink.length) {
278 var crossBoundaries = ($("body.design").length > 0) || ($("body.guide").length > 0) ? true :
280 if ($prevListItem.length) {
306 if ($selListItem.hasClass('nav-section') && $selListItem.children('div.empty').length == 0) {
[all …]
Dprettify.js2 …=="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-…
3length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c+1]?…
4length;++c)i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]"…
5length>=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);r…
6length;p<d;++p){g=a[p];if(g.global||g.multiline)throw Error(""+g);n.push("(?:"+y(g)+")")}return Re…
7 …ction e(a){for(var l=a.d,p=[l,"pln"],d=0,g=a.a.match(y)||[],r={},n=0,z=g.length;n<z;++n){var f=g[n…
8length>=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;…
9length;d<g;++d){var r=e[d],n=r[3];if(n)for(var k=n.length;--k>=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p…
12 "");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/…
Dandroid_3p-bundle.js213 for (var i = 0; i < preceders.length; ++i) {
320 var n = attrs.length;
364 for (var i = 0, n = regexs.length; i < n; ++i) {
407 var charsetParts = charSet.substring(1, charSet.length - 1).match(
420 for (var i = inverse ? 1 : 0, n = charsetParts.length; i < n; ++i) {
455 for (var i = 0; i < ranges.length; ++i) {
467 for (var i = 0; i < consolidatedRanges.length; ++i) {
496 var n = parts.length;
520 for (var i = 1; i < capturedGroups.length; ++i) {
552 if (p.length >= 2 && ch0 === '[') {
[all …]
/build/make/tools/signtos/
DSignTos.java128 byte[] bytes = new byte[(int) file.length()]; in readPrivateKey()
176 if (c.getParameterTypes().length == 0) { in loadProviderIfNecessary()
251 sig.sign(sigBlock, 1, sigBlock.length - 1); in signWholeFile()
265 if (args.length < 3) { in main()
273 while (argstart < args.length && args[argstart].startsWith("-")) { in main()
275 if (argstart + 1 >= args.length) { in main()
288 if (argstart != args.length - 3) { in main()
297 String keyFilename = args[args.length - 3]; in main()
298 String inputFilename = args[args.length - 2]; in main()
299 String outputFilename = args[args.length - 1]; in main()
/build/make/tools/releasetools/
Dcheck_ota_package_signature.py74 length = len(package_bytes)
75 assert length >= 6, "Not big enough to contain footer."
83 signature_start = length - signature_start_from_end
89 signed_len = length - comment_len - 2
91 print('Package length: %d' % (length,))
Dpylintrc227 # Minimum line length for functions/classes that require docstrings, shorter
229 docstring-min-length=-1
252 max-line-length=80
Dcommon.py877 def __init__(self, mount_point, fs_type, device, length, context, slotselect): argument
881 self.length = length
910 length = 0
915 length = int(i[7:])
931 device=pieces[0], length=length, context=context,
/build/make/tools/signapk/src/com/android/signapk/
DSignApk.java261 byte[] bytes = new byte[(int) file.length()]; in readPrivateKey()
363 inspectEntryRequest.getDataSink().consume(entryData, 0, entryData.length); in addV1Signature()
448 offset += JarFile.LOCHDR + outEntry.getName().length(); in copyFiles()
472 offset += extra.length; in copyFiles()
685 if (data.length < 2) in finish()
687 write(data, 0, data.length - 2); in finish()
696 write(b, 0, b.length); in write()
826 if (zipData[zipData.length-22] != 0x50 || in signWholeFile()
827 zipData[zipData.length-21] != 0x4b || in signWholeFile()
828 zipData[zipData.length-20] != 0x05 || in signWholeFile()
[all …]
DCountingOutputStream.java41 mWrittenBytes += b.length; in write()
/build/make/tools/atree/
Datree.cpp132 if (g_outputBase.length() != 0) { in main()
143 if (g_dependency.length() != 0) { in main()
184 if (g_outputBase.length() == 0) { in main()
340 if (g_dependency.length() != 0) { in main()
Dfiles.cpp26 if (base.length() > 0 && leaf.length() > 0) { in path_append()
154 result = result.replace(pos, it->first.length(), it->second); in replace_variables()
155 pos += it->second.length(); in replace_variables()
Dfs.cpp108 if (path.length() != 0 and path[0] == '/') pos++; in mkdir_recursively()
/build/soong/cc/
Dcflag_artifacts.go84 length := len(modules)
86 if length == 0 {
/build/make/tools/zipalign/
DZipFile.cpp807 status_t ZipFile::copyPartialFpToFp(FILE* dstFp, FILE* srcFp, size_t length, in copyPartialFpToFp() argument
816 while (length) { in copyPartialFpToFp()
820 if (readSize > length) in copyPartialFpToFp()
821 readSize = length; in copyPartialFpToFp()
837 length -= readSize; in copyPartialFpToFp()
DZipFile.h227 status_t copyPartialFpToFp(FILE* dstFp, FILE* srcFp, size_t length,
/build/soong/sdk/
Dupdate.go551 length := len(v)
552 if length > 1 {
555 for i := 0; i < length; i = i + 1 {
560 } else if length == 0 {

12