/external/chromium_org/third_party/boringssl/src/crypto/cipher/ |
D | aead_test.c | 73 const unsigned int lengths[NUM_TYPES], in run_test_case() 79 if (!EVP_AEAD_CTX_init(&ctx, aead, bufs[KEY], lengths[KEY], lengths[TAG], in run_test_case() 86 lengths[NONCE], bufs[IN], lengths[IN], bufs[AD], in run_test_case() 87 lengths[AD])) { in run_test_case() 92 if (ciphertext_len != lengths[CT] + lengths[TAG]) { in run_test_case() 94 (unsigned)ciphertext_len, (unsigned)(lengths[CT] + lengths[TAG])); in run_test_case() 98 if (memcmp(out, bufs[CT], lengths[CT]) != 0) { in run_test_case() 103 if (memcmp(out + lengths[CT], bufs[TAG], lengths[TAG]) != 0) { in run_test_case() 111 if (!EVP_AEAD_CTX_init(&ctx, aead, bufs[KEY], lengths[KEY], lengths[TAG], in run_test_case() 117 if (!EVP_AEAD_CTX_open(&ctx, out2, &plaintext_len, lengths[IN], bufs[NONCE], in run_test_case() [all …]
|
/external/zlib/src/contrib/puff/ |
D | puff.c | 546 short lengths[FIXLCODES]; in fixed() local 556 lengths[symbol] = 8; in fixed() 558 lengths[symbol] = 9; in fixed() 560 lengths[symbol] = 7; in fixed() 562 lengths[symbol] = 8; in fixed() 563 construct(&lencode, lengths, FIXLCODES); in fixed() 567 lengths[symbol] = 5; in fixed() 568 construct(&distcode, lengths, MAXDCODES); in fixed() 670 short lengths[MAXCODES]; /* descriptor code lengths */ in dynamic() local 692 lengths[order[index]] = bits(s, 3); in dynamic() [all …]
|
/external/openssl/apps/ |
D | speed.c | 259 static int lengths[SIZE_NUM]={16,64,256,1024,8*1024}; variable 1304 c[D_MD2][i]=c[D_MD2][0]*4*lengths[0]/lengths[i]; in MAIN() 1305 c[D_MDC2][i]=c[D_MDC2][0]*4*lengths[0]/lengths[i]; in MAIN() 1306 c[D_MD4][i]=c[D_MD4][0]*4*lengths[0]/lengths[i]; in MAIN() 1307 c[D_MD5][i]=c[D_MD5][0]*4*lengths[0]/lengths[i]; in MAIN() 1308 c[D_HMAC][i]=c[D_HMAC][0]*4*lengths[0]/lengths[i]; in MAIN() 1309 c[D_SHA1][i]=c[D_SHA1][0]*4*lengths[0]/lengths[i]; in MAIN() 1310 c[D_RMD160][i]=c[D_RMD160][0]*4*lengths[0]/lengths[i]; in MAIN() 1311 c[D_SHA256][i]=c[D_SHA256][0]*4*lengths[0]/lengths[i]; in MAIN() 1312 c[D_SHA512][i]=c[D_SHA512][0]*4*lengths[0]/lengths[i]; in MAIN() [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
D | Huffman.java | 39 private final byte[] lengths; field in Huffman.Codec 45 Codec(int[] codes, byte[] lengths) { in Codec() argument 46 buildTree(codes, lengths); in Codec() 48 this.lengths = lengths; in Codec() 58 int nbits = lengths[b]; in encode() 82 len += lengths[b]; in encodedLength() 131 private void buildTree(int[] codes, byte[] lengths) { in buildTree() argument 132 for (int i = 0; i < lengths.length; i++) { in buildTree() 133 addCode(i, codes[i], lengths[i]); in buildTree()
|
/external/chromium_org/third_party/mesa/src/src/mesa/math/ |
D | m_norm_tmp.h | 46 const GLfloat *lengths, in TAG() 59 if (!lengths) { in TAG() 98 GLfloat len = lengths[i]; in TAG() 113 const GLfloat *lengths, in TAG() 126 if (!lengths) { in TAG() 163 GLfloat len = lengths[i]; in TAG() 178 const GLfloat *lengths, in TAG() 191 (void) lengths; in TAG() 207 const GLfloat *lengths, in TAG() 223 (void) lengths; in TAG() [all …]
|
/external/mesa3d/src/mesa/math/ |
D | m_norm_tmp.h | 46 const GLfloat *lengths, in TAG() 59 if (!lengths) { in TAG() 98 GLfloat len = lengths[i]; in TAG() 113 const GLfloat *lengths, in TAG() 126 if (!lengths) { in TAG() 163 GLfloat len = lengths[i]; in TAG() 178 const GLfloat *lengths, in TAG() 191 (void) lengths; in TAG() 207 const GLfloat *lengths, in TAG() 223 (void) lengths; in TAG() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/animation/animatable/ |
D | AnimatableStrokeDasharrayList.cpp | 41 RefPtr<SVGLengthList> lengths = passLengths; in AnimatableStrokeDasharrayList() local 42 SVGLengthList::ConstIterator it = lengths->begin(); in AnimatableStrokeDasharrayList() 43 SVGLengthList::ConstIterator itEnd = lengths->end(); in AnimatableStrokeDasharrayList() 50 RefPtr<SVGLengthList> lengths = SVGLengthList::create(); in toSVGLengthList() local 55 lengths->append(length); in toSVGLengthList() 57 return lengths.release(); in toSVGLengthList()
|
/external/chromium_org/courgette/ |
D | streams.cc | 261 unsigned int lengths[kMaxStreams]; in Init() local 265 finger = Varint::Parse32WithLimit(finger, end, &lengths[i]); in Init() 268 accumulated_length += lengths[i]; in Init() 277 stream(i)->Init(start + accumulated_length, lengths[i]); in Init() 278 accumulated_length += lengths[i]; in Init() 295 uint32 lengths[kMaxStreams] = {}; // i.e. all zero. in ReadSet() local 298 if (!control_stream->ReadVarint32(&lengths[i])) in ReadSet() 303 if (!this->stream(i)->ReadSubstream(lengths[i], set->stream(i))) in ReadSet() 367 uint32 lengths[kMaxStreams]; in WriteSet() local 373 lengths[i] = static_cast<uint32>(stream->Length()); in WriteSet() [all …]
|
/external/chromium_org/chrome/browser/net/spdyproxy/ |
D | data_reduction_proxy_settings_android.cc | 123 DataReductionProxySettings::ContentLengthList lengths = in GetDailyContentLengths() local 126 if (!lengths.empty()) { in GetDailyContentLengths() 127 DCHECK_EQ(lengths.size(), data_reduction_proxy::kNumDaysInHistory); in GetDailyContentLengths() 128 env->SetLongArrayRegion(result, 0, lengths.size(), &lengths[0]); in GetDailyContentLengths()
|
/external/zopfli/src/zopfli/ |
D | tree.c | 30 void ZopfliLengthsToSymbols(const unsigned* lengths, size_t n, unsigned maxbits, in ZopfliLengthsToSymbols() argument 47 assert(lengths[i] <= maxbits); in ZopfliLengthsToSymbols() 48 bl_count[lengths[i]]++; in ZopfliLengthsToSymbols() 60 unsigned len = lengths[i]; in ZopfliLengthsToSymbols()
|
/external/mesa3d/src/gallium/state_trackers/clover/api/ |
D | program.cpp | 30 const char **strings, const size_t *lengths, in clCreateProgramWithSource() argument 43 source += (lengths && lengths[i] ? in clCreateProgramWithSource() 44 std::string(strings[i], strings[i] + lengths[i]) : in clCreateProgramWithSource() 58 const cl_device_id *devs, const size_t *lengths, in clCreateProgramWithBinary() argument 64 if (!count || !devs || !lengths || !binaries) in clCreateProgramWithBinary() 88 binaries, binaries + count, lengths); in clCreateProgramWithBinary()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/api/ |
D | program.cpp | 30 const char **strings, const size_t *lengths, in clCreateProgramWithSource() argument 43 source += (lengths && lengths[i] ? in clCreateProgramWithSource() 44 std::string(strings[i], strings[i] + lengths[i]) : in clCreateProgramWithSource() 58 const cl_device_id *devs, const size_t *lengths, in clCreateProgramWithBinary() argument 64 if (!count || !devs || !lengths || !binaries) in clCreateProgramWithBinary() 88 binaries, binaries + count, lengths); in clCreateProgramWithBinary()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | DiskLruCache.java | 324 size += entry.lengths[t]; in processJournal() 437 return new Snapshot(key, entry.sequenceNumber, ins, entry.lengths); in get() 529 long oldLength = entry.lengths[i]; in completeEdit() 531 entry.lengths[i] = newLength; in completeEdit() 585 size -= entry.lengths[i]; in remove() 586 entry.lengths[i] = 0; in remove() 669 private final long[] lengths; field in DiskLruCache.Snapshot 671 private Snapshot(String key, long sequenceNumber, InputStream[] ins, long[] lengths) { in Snapshot() argument 675 this.lengths = lengths; in Snapshot() 699 return lengths[index]; in getLength() [all …]
|
/external/mesa3d/src/mesa/tnl/ |
D | t_vb_normals.c | 54 const GLfloat *lengths; in run_normal_stage() local 63 lengths = NULL; in run_normal_stage() 65 lengths = VB->NormalLengthPtr; in run_normal_stage() 70 lengths, in run_normal_stage()
|
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
D | t_vb_normals.c | 54 const GLfloat *lengths; in run_normal_stage() local 63 lengths = NULL; in run_normal_stage() 65 lengths = VB->NormalLengthPtr; in run_normal_stage() 70 lengths, in run_normal_stage()
|
/external/icu/icu4c/source/test/perf/dicttrieperf/ |
D | dicttrieperf.cpp | 348 int32_t *lengths, int &count, int limit ) { in ucharsTrieMatches() argument 365 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too. in ucharsTrieMatches() 441 int32_t lengths[20]; in call() local 452 lengths, count, LENGTHOF(lengths)); in call() 453 if(count==0 || lengths[count-1]!=lines[i].len) { in call() 547 int32_t *lengths, int &count, int limit ) { in bytesTrieMatches() argument 559 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too. in bytesTrieMatches() 590 int32_t lengths[20]; in call() local 601 lengths, count, LENGTHOF(lengths)); in call() 602 if(count==0 || lengths[count-1]!=lines[i].len) { in call()
|
/external/chromium_org/third_party/icu/source/test/perf/dicttrieperf/ |
D | dicttrieperf.cpp | 348 int32_t *lengths, int &count, int limit ) { in ucharsTrieMatches() argument 365 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too. in ucharsTrieMatches() 441 int32_t lengths[20]; in call() local 452 lengths, count, LENGTHOF(lengths)); in call() 453 if(count==0 || lengths[count-1]!=lines[i].len) { in call() 547 int32_t *lengths, int &count, int limit ) { in bytesTrieMatches() argument 559 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too. in bytesTrieMatches() 590 int32_t lengths[20]; in call() local 601 lengths, count, LENGTHOF(lengths)); in call() 602 if(count==0 || lengths[count-1]!=lines[i].len) { in call()
|
/external/libvorbis/vq/ |
D | latticetune.c | 42 long *lengths; in main() local 85 lengths=_ogg_calloc(entries,sizeof(long)); in main() 133 build_tree_from_lengths0(entries,hits,lengths); in main() 135 c->lengthlist=lengths; in main()
|
/external/chromium_org/third_party/icu/source/common/ |
D | dictbe.cpp | 104 int32_t lengths[POSSIBLE_WORD_LIST_MAX]; member in PossibleWord 147 … prefix = dict->matches(text, rangeEnd-start, lengths, count, sizeof(lengths)/sizeof(lengths[0])); in candidates() 154 utext_setNativeIndex(text, start+lengths[count-1]); in candidates() 163 utext_setNativeIndex(text, offset + lengths[mark]); in acceptMarked() 164 return lengths[mark]; in acceptMarked() 170 utext_setNativeIndex(text, offset + lengths[--current]); in backUp() 1042 AutoBuffer<int32_t, maxWordSize> lengths(numChars); in divideUpDictionaryRange() local 1056 …fDictionary->matches(&normalizedText, maxSearchLength, lengths.elems(), count, maxSearchLength, va… in divideUpDictionaryRange() 1063 if((count == 0 || lengths[0] != 1) && in divideUpDictionaryRange() 1066 lengths[count++] = 1; in divideUpDictionaryRange() [all …]
|
D | dictionarydata.h | 71 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count, 84 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count, 101 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count,
|
/external/icu/icu4c/source/common/ |
D | dictbe.cpp | 107 int32_t lengths[POSSIBLE_WORD_LIST_MAX]; member in PossibleWord 150 … prefix = dict->matches(text, rangeEnd-start, lengths, count, sizeof(lengths)/sizeof(lengths[0])); in candidates() 157 utext_setNativeIndex(text, start+lengths[count-1]); in candidates() 166 utext_setNativeIndex(text, offset + lengths[mark]); in acceptMarked() 167 return lengths[mark]; in acceptMarked() 173 utext_setNativeIndex(text, offset + lengths[--current]); in backUp() 1045 AutoBuffer<int32_t, maxWordSize> lengths(numChars); in divideUpDictionaryRange() local 1059 …fDictionary->matches(&normalizedText, maxSearchLength, lengths.elems(), count, maxSearchLength, va… in divideUpDictionaryRange() 1066 if((count == 0 || lengths[0] != 1) && in divideUpDictionaryRange() 1069 lengths[count++] = 1; in divideUpDictionaryRange() [all …]
|
D | dictionarydata.h | 71 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count, 84 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count, 101 virtual int32_t matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count,
|
/external/chromium_org/v8/test/mjsunit/ |
D | string-indexof-1.js | 116 var lengths = [1, 4, 15]; // Single char, simple and complex. variable 118 for (var lengthIndex = 0; lengthIndex < lengths.length; lengthIndex++) { 119 var length = lengths[lengthIndex];
|
/external/skia/src/animator/ |
D | SkGetCondensedInfo.cpp | 22 static int _searchByName(const unsigned char* lengths, int count, const char* strings, const char t… in _searchByName() argument 27 if (strcmp(&strings[lengths[mid << 2]], target) < 0) in _searchByName() 32 if (strcmp(&strings[lengths[hi << 2]], target) != 0) in _searchByName()
|
/external/chromium_org/third_party/skia/src/animator/ |
D | SkGetCondensedInfo.cpp | 22 static int _searchByName(const unsigned char* lengths, int count, const char* strings, const char t… in _searchByName() argument 27 if (strcmp(&strings[lengths[mid << 2]], target) < 0) in _searchByName() 32 if (strcmp(&strings[lengths[hi << 2]], target) != 0) in _searchByName()
|