Home
last modified time | relevance | path

Searched refs:length (Results 1 – 25 of 40) 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/soong/android/
Ddepset_generic.go125 length := slice.Len()
126 out := make([]*depSet, length)
127 for i := 0; i < length; i++ {
256 length := slice.Len()
258 for readIndex := 0; readIndex < length; readIndex++ {
288 length := slice.Len()
290 for readIndex := 0; readIndex < length; readIndex++ {
310 length := slice.Len()
311 for i, j := 0, length-1; i < j; i, j = i+1, j-1 {
326 length := slice.Len()
[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/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,))
/build/make/tools/signapk/src/com/android/signapk/
DSignApk.java263 byte[] bytes = new byte[(int) file.length()]; in readPrivateKey()
365 inspectEntryRequest.getDataSink().consume(entryData, 0, entryData.length); in addV1Signature()
450 offset += JarFile.LOCHDR + outEntry.getName().length(); in copyFiles()
474 offset += extra.length; in copyFiles()
687 if (data.length < 2) in finish()
689 write(data, 0, data.length - 2); in finish()
698 write(b, 0, b.length); in write()
828 if (zipData[zipData.length-22] != 0x50 || in signWholeFile()
829 zipData[zipData.length-21] != 0x4b || in signWholeFile()
830 zipData[zipData.length-20] != 0x05 || in signWholeFile()
[all …]
DCountingOutputStream.java41 mWrittenBytes += b.length; in write()
/build/make/tools/product_config/src/com/android/build/config/
DRegexSet.java28 mPatterns = new Pattern[patterns.length]; in RegexSet()
29 for (int i = 0; i < patterns.length; i++) { in RegexSet()
DStr.java39 public int length() { in length() method in Str
40 return mValue.length(); in length()
DPosition.java82 if (filename.length() == 0 || UNKNOWN.equals(filename)) { in parse()
87 if (lineString == null || lineString.length() == 0) { in parse()
DCsvParser.java200 if (pos >= buf.length) { in parse()
202 buf = new char[old.length + CHUNK_SIZE]; in parse()
203 System.arraycopy(old, 0, buf, 0, old.length); in parse()
DConvertMakeToGenericConfig.java145 if (varVal.length() == 0) { in convertAssignment()
183 varText = varText.substring(0, varText.length() - marker.length()).trim(); in convertInheritedVar()
222 final int needleLen = needle.length(); in split()
DValue.java113 if (s.length() > 0) { in normalize()
138 if (s.length() > 0 && (val.mVarType == VarType.LIST || m.find())) { in oneLinePerWord()
DOptions.java112 while (mIndex < mArgs.length) { in parse()
182 if (mIndex == mArgs.length - 1) { in getNextNonFlagArg()
/build/make/tools/product_config/test/com/android/build/config/
DCsvParserTest.java42 if (fields.length != actual.getFields().size()) { in assertLineEquals()
43 throw new RuntimeException("getFields().size() mismatch: expected=" + fields.length in assertLineEquals()
47 for (int i = 0; i < fields.length; i++) { in assertLineEquals()
/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()
/build/bazel/json_module_graph/
DvariantTransitions.jq6 filterMatchingDeps | select(.Deps | length > 0) |
/build/soong/cc/
Dcflag_artifacts.go84 length := len(modules)
86 if length == 0 {

12