/external/v8/test/js-perf-test/PropertyQueries/ |
D | property-queries.js | 5 function ObjectWithKeys(count, keyOffset = 0, keyGen) { argument 8 var key = keyGen(i + keyOffset); 19 function ObjectWithProperties(count, keyOffset) { argument 20 return ObjectWithKeys(count, keyOffset, (key) => "key" + key ); 23 function ObjectWithElements(count, keyOffset) { argument 24 return ObjectWithKeys(count, keyOffset, (key) => key ); 27 function ObjectWithMixedKeys(count, keyOffset) { argument 28 return ObjectWithKeys(count, keyOffset, (key) => { 40 var keyOffset = 0; 42 keyOffset += keys; [all …]
|
/external/v8/test/js-perf-test/Keys/ |
D | keys.js | 5 function ObjectWithKeys(count, keyOffset, keyGen) { argument 6 if (keyOffset === undefined) keyOffset = 0; 10 var key = keyGen(i + keyOffset); 16 function ObjectWithMixedKeys(count, keyOffset) { argument 17 return ObjectWithKeys(count, keyOffset, (key) => { 27 var keyOffset = 0; 29 keyOffset += keys; 30 current.__proto__ = ObjectWithKeys(keys, keyOffset);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ICUResourceBundleReader.java | 445 private static String makeKeyStringFromBytes(byte[] keyBytes, int keyOffset) { in makeKeyStringFromBytes() argument 448 while((b = keyBytes[keyOffset]) != 0) { in makeKeyStringFromBytes() 449 ++keyOffset; in makeKeyStringFromBytes() 454 private String getKey16String(int keyOffset) { in getKey16String() argument 455 if(keyOffset < localKeyLimit) { in getKey16String() 456 return makeKeyStringFromBytes(keyBytes, keyOffset); in getKey16String() 458 return makeKeyStringFromBytes(poolBundleReader.keyBytes, keyOffset - localKeyLimit); in getKey16String() 461 private String getKey32String(int keyOffset) { in getKey32String() argument 462 if(keyOffset >= 0) { in getKey32String() 463 return makeKeyStringFromBytes(keyBytes, keyOffset); in getKey32String() [all …]
|
D | UResource.java | 45 private Key(byte[] keyBytes, int keyOffset, int keyLength) { in Key() argument 47 offset = keyOffset; in Key() 61 public void setBytes(byte[] keyBytes, int keyOffset) { in setBytes() argument 63 offset = keyOffset; in setBytes() 64 for (length = 0; keyBytes[keyOffset + length] != 0; ++length) {} in setBytes()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ICUResourceBundleReader.java | 443 private static String makeKeyStringFromBytes(byte[] keyBytes, int keyOffset) { in makeKeyStringFromBytes() argument 446 while((b = keyBytes[keyOffset]) != 0) { in makeKeyStringFromBytes() 447 ++keyOffset; in makeKeyStringFromBytes() 452 private String getKey16String(int keyOffset) { in getKey16String() argument 453 if(keyOffset < localKeyLimit) { in getKey16String() 454 return makeKeyStringFromBytes(keyBytes, keyOffset); in getKey16String() 456 return makeKeyStringFromBytes(poolBundleReader.keyBytes, keyOffset - localKeyLimit); in getKey16String() 459 private String getKey32String(int keyOffset) { in getKey32String() argument 460 if(keyOffset >= 0) { in getKey32String() 461 return makeKeyStringFromBytes(keyBytes, keyOffset); in getKey32String() [all …]
|
D | UResource.java | 43 private Key(byte[] keyBytes, int keyOffset, int keyLength) { in Key() argument 45 offset = keyOffset; in Key() 59 public void setBytes(byte[] keyBytes, int keyOffset) { in setBytes() argument 61 offset = keyOffset; in setBytes() 62 for (length = 0; keyBytes[keyOffset + length] != 0; ++length) {} in setBytes()
|
/external/chromium-trace/catapult/third_party/flot/ |
D | jquery.flot.stack.js | 76 keyOffset = horizontal ? 1 : 0, 109 px = points[i + keyOffset]; 111 qx = otherpoints[j + keyOffset]; 129 …ry = py + (points[i - ps + accumulateOffset] - py) * (qx - px) / (points[i - ps + keyOffset] - px); 152 …ts[j - otherps + accumulateOffset] - qy) * (px - qx) / (otherpoints[j - otherps + keyOffset] - qx);
|
D | jquery.flot.stack.min.js | 7 …keyOffset=horizontal?1:0,accumulateOffset=horizontal?0:1,i=0,j=0,l,m;while(true){if(i>=points.leng…
|
/external/icu/icu4c/source/common/ |
D | uresdata.cpp | 40 #define RES_GET_KEY16(pResData, keyOffset) \ argument 41 ((keyOffset)<(pResData)->localKeyLimit ? \ 42 (const char *)(pResData)->pRoot+(keyOffset) : \ 43 (pResData)->poolBundleKeys+(keyOffset)-(pResData)->localKeyLimit) 45 #define RES_GET_KEY32(pResData, keyOffset) \ argument 46 ((keyOffset)>=0 ? \ 47 (const char *)(pResData)->pRoot+(keyOffset) : \ 48 (pResData)->poolBundleKeys+((keyOffset)&0x7fffffff)) 1129 int32_t keyOffset=ds->readUInt16(pKey16[i]); in ures_swapResource() local 1130 if(keyOffset<pTempTable->localKeyLimit) { in ures_swapResource() [all …]
|