/external/dng_sdk/source/ |
D | dng_1d_table.cpp | 50 bool subDivide = (range > (kTableSize >> 8)); in SubDivide() 72 fTable [middle] = (real32) function.Evaluate (middle * (1.0 / (real64) kTableSize)); in SubDivide() 113 fBuffer.Reset (allocator.Allocate ((kTableSize + 2) * sizeof (real32))); in Initialize() 121 fTable [kTableSize] = (real32) function.Evaluate (1.0); in Initialize() 123 real32 maxDelta = Max_real32 (Abs_real32 (fTable [kTableSize] - in Initialize() 129 kTableSize, in Initialize() 137 for (uint32 j = 0; j <= kTableSize; j++) in Initialize() 140 real64 x = j * (1.0 / (real64) kTableSize); in Initialize() 150 fTable [kTableSize + 1] = fTable [kTableSize]; in Initialize() 159 real64 step = (real64) kTableSize / 65535.0; in Expand16()
|
D | dng_1d_table.h | 44 kTableSize = (1 << kTableBits) //< Number of entries in table. enumerator 76 real32 y = x * (real32) kTableSize; in Interpolate() 80 if (index < 0 || index > kTableSize) in Interpolate() 87 DNG_ASSERT (index >= 0 && index <= kTableSize, in Interpolate()
|
D | dng_render.cpp | 400 const uint32 kTableSize = sizeof (kTable ) / in Evaluate() local 403 real32 y = (real32) x * (real32) (kTableSize - 1); in Evaluate() 405 int32 index = Pin_int32 (0, (int32) y, kTableSize - 2); in Evaluate() 680 const uint32 kTableSize = sizeof (kTable ) / in EvaluateInverse() local 683 real32 y = (real32) x * (real32) (kTableSize - 1); in EvaluateInverse() 685 int32 index = Pin_int32 (0, (int32) y, kTableSize - 2); in EvaluateInverse()
|
D | dng_read_image.cpp | 392 kTableSize = 4096 enumerator 461 fBuffer.Allocate (kTableSize * sizeof (LZWExpanderNode)); in dng_lzw_expander() 496 DNG_ASSERT ((w >= 0) && (w <= kTableSize), in AddTable() 505 DNG_ASSERT ((nextCode >= 0) && (nextCode <= kTableSize), in AddTable() 717 if (localCode < 0 || localCode > kTableSize) in Expand() 771 if (code > kTableSize) in Expand() 790 if (fNextCode < kTableSize) in Expand()
|
D | dng_image_writer.cpp | 3257 kTableSize = 4096 enumerator 3302 DNG_ASSERT ((w >= 0) && (w <= kTableSize), in SearchTable() 3348 fBuffer.Allocate (kTableSize, sizeof (LZWCompressorNode)); in dng_lzw_compressor() 3384 DNG_ASSERT ((w >= 0) && (w <= kTableSize), in AddTable() 3391 DNG_ASSERT ((nextCode >= 0) && (nextCode <= kTableSize), in AddTable()
|
/external/webrtc/webrtc/common_audio/vad/ |
D | vad_core.h | 24 enum { kTableSize = kNumChannels * kNumGaussians }; enumerator 33 int16_t noise_means[kTableSize]; 34 int16_t speech_means[kTableSize]; 35 int16_t noise_stds[kTableSize]; 36 int16_t speech_stds[kTableSize];
|
D | vad_core.c | 37 static const int16_t kNoiseDataWeights[kTableSize] = { 40 static const int16_t kSpeechDataWeights[kTableSize] = { 43 static const int16_t kNoiseDataMeans[kTableSize] = { 46 static const int16_t kSpeechDataMeans[kTableSize] = { 50 static const int16_t kNoiseDataStds[kTableSize] = { 53 static const int16_t kSpeechDataStds[kTableSize] = { 138 int16_t deltaN[kTableSize], deltaS[kTableSize]; in GmmProbability() 139 int16_t ngprvec[kTableSize] = { 0 }; // Conditional probability = 0. in GmmProbability() 140 int16_t sgprvec[kTableSize] = { 0 }; // Conditional probability = 0. in GmmProbability() 503 for (i = 0; i < kTableSize; i++) { in WebRtcVad_InitCore()
|
/external/grpc-grpc/test/core/slice/ |
D | slice_weak_hash_table_test.cc | 72 constexpr int kTableSize = 10; in TEST() local 73 auto table = SliceWeakHashTable<UniquePtr<char>, kTableSize>::Create(); in TEST() 75 for (int i = 0; i < kTableSize * 2; ++i) { in TEST() 85 for (int i = 0; i < kTableSize * 2; ++i) { in TEST() 93 ASSERT_GE(num_missing, kTableSize); in TEST()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | resize_bicubic_op_test.cc | 59 static const int64 kTableSize = (1 << 10); member in tensorflow::ResizeBicubicOpTest 65 float* coeffs_tab = new float[(kTableSize + 1) * 2]; in InitCoeffsTable() 67 for (int i = 0; i <= kTableSize; ++i) { in InitCoeffsTable() 68 float x = i * 1.0 / kTableSize; in InitCoeffsTable() 93 const int64 offset = lrintf(delta * kTableSize); in GetWeightsAndIndices() 96 coeffs_tab[(kTableSize - offset) * 2], in GetWeightsAndIndices() 97 coeffs_tab[(kTableSize - offset) * 2 + 1]}}; in GetWeightsAndIndices()
|
D | resize_bicubic_op.cc | 36 static const int64 kTableSize = (1 << 10); variable 42 float* coeffs_table = new float[(kTableSize + 1) * 2]; in InitCoeffsTable() 43 for (int i = 0; i <= kTableSize; ++i) { in InitCoeffsTable() 44 float x = i * 1.0 / kTableSize; in InitCoeffsTable() 92 const int64 offset = lrintf(delta * kTableSize); in GetWeightsAndIndices() 108 (out->index_2 == in_loc + 1 ? coeffs_table[(kTableSize - offset) * 2] in GetWeightsAndIndices() 112 ? coeffs_table[(kTableSize - offset) * 2 + 1] in GetWeightsAndIndices() 127 out->weight_2 = coeffs_table[(kTableSize - offset) * 2]; in GetWeightsAndIndices() 128 out->weight_3 = coeffs_table[(kTableSize - offset) * 2 + 1]; in GetWeightsAndIndices()
|
/external/tensorflow/tensorflow/core/util/ |
D | presized_cuckoo_map_test.cc | 63 static constexpr int kTableSize = 1000; in TEST() local 64 PresizedCuckooMap<int> pscm(kTableSize); in TEST() 65 for (uint64 i = 0; i < kTableSize; i++) { in TEST() 73 for (uint64 i = kTableSize; i < (2 * kTableSize); i++) { in TEST()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_clock.h | 28 static const uptr kTableSize = kSize / sizeof(u32); member 32 u32 table[kTableSize];
|
D | tsan_fd.cc | 22 const int kTableSize = kTableSizeL1 * kTableSizeL2; variable 47 return fd < 0 || fd >= kTableSize; in bogusfd() 76 CHECK_LT(fd, kTableSize); in fddesc()
|
/external/v8/src/snapshot/ |
D | snapshot.h | 123 static constexpr uint32_t kTableSize = Builtins::builtin_count; variable 130 return sizeof(struct Metadata) * kTableSize; in MetadataSize()
|
D | snapshot-common.cc | 387 std::vector<struct Metadata> metadata(kTableSize); in FromIsolate()
|
D | serializer.cc | 867 STATIC_ASSERT(EmbeddedData::kTableSize == Builtins::builtin_count); in VisitOffHeapTarget()
|
/external/v8/src/regexp/ |
D | regexp-macro-assembler.h | 35 static const int kTableSize = 1 << kTableSizeBits; variable 36 static const int kTableMask = kTableSize - 1;
|
D | regexp-macro-assembler-tracer.cc | 343 for (int i = 0; i < kTableSize; i++) { in CheckBitInTable()
|
D | regexp-macro-assembler-irregexp.cc | 363 for (int i = 0; i < kTableSize; i += kBitsPerByte) { in CheckBitInTable()
|
D | jsregexp.cc | 874 for (int i = 0; i < RegExpMacroAssembler::kTableSize; i++) { in FrequencyCollator() 913 CharacterFrequency frequencies_[RegExpMacroAssembler::kTableSize]; 1773 static const int kSize = RegExpMacroAssembler::kTableSize; in EmitUseLookupTable() 1860 static const int kSize = RegExpMacroAssembler::kTableSize; in SplitSearchSpace() 3642 static const int kSize = RegExpMacroAssembler::kTableSize; in FindBestInterval() 3695 const int kSize = RegExpMacroAssembler::kTableSize; in GetSkipTable() 3720 const int kSize = RegExpMacroAssembler::kTableSize; in EmitSkipInstructions() 6408 RegExpMacroAssembler::kTableSize);
|
/external/webp/src/dec/ |
D | vp8l_dec.c | 89 static const uint16_t kTableSize[12] = { variable 375 const int table_size = kTableSize[color_cache_bits]; in ReadHuffmanCodes()
|
/external/v8/src/regexp/mips64/ |
D | regexp-macro-assembler-mips64.cc | 520 __ And(a1, current_character(), Operand(kTableSize - 1)); in CheckBitInTable()
|
/external/v8/src/regexp/ia32/ |
D | regexp-macro-assembler-ia32.cc | 512 __ mov(ebx, kTableSize - 1); in CheckBitInTable()
|
/external/v8/src/regexp/arm/ |
D | regexp-macro-assembler-arm.cc | 483 __ and_(r1, current_character(), Operand(kTableSize - 1)); in CheckBitInTable()
|
/external/v8/src/regexp/mips/ |
D | regexp-macro-assembler-mips.cc | 489 __ And(a1, current_character(), Operand(kTableSize - 1)); in CheckBitInTable()
|