/external/tensorflow/tensorflow/core/lib/wav/ |
D | wav_io.cc | 89 int* new_offset) { in IncrementOffset() argument 98 *new_offset = old_offset + increment; in IncrementOffset() 99 if (*new_offset > max_size) { in IncrementOffset() 104 if (*new_offset < 0) { in IncrementOffset() 106 *new_offset); in IncrementOffset() 113 int new_offset; in ExpectText() local 115 IncrementOffset(*offset, expected_text.size(), data.size(), &new_offset)); in ExpectText() 116 const string found_text(data.begin() + *offset, data.begin() + new_offset); in ExpectText() 121 *offset = new_offset; in ExpectText() 127 int new_offset; in ReadString() local [all …]
|
D | wav_io_test.cc | 213 int new_offset = -1; in TEST() local 214 TF_EXPECT_OK(IncrementOffset(0, 10, 20, &new_offset)); in TEST() 215 EXPECT_EQ(10, new_offset); in TEST() 217 new_offset = -1; in TEST() 218 TF_EXPECT_OK(IncrementOffset(10, 4, 20, &new_offset)); in TEST() 219 EXPECT_EQ(14, new_offset); in TEST() 221 new_offset = -1; in TEST() 222 TF_EXPECT_OK(IncrementOffset(99, 1, 100, &new_offset)); in TEST() 223 EXPECT_EQ(100, new_offset); in TEST() 225 new_offset = -1; in TEST() [all …]
|
D | wav_io.h | 78 int* new_offset); 85 int new_offset; in ReadValue() local 87 IncrementOffset(*offset, sizeof(T), data.size(), &new_offset)); in ReadValue() 99 *offset = new_offset; in ReadValue()
|
/external/mesa3d/src/freedreno/ir3/ |
D | ir3_nir_lower_io_offsets.c | 133 nir_ssa_def *new_offset = NULL; in ir3_nir_try_propagate_bit_shift() local 145 new_offset = nir_ishl(b, src0, shift_ssa); in ir3_nir_try_propagate_bit_shift() 150 new_offset = nir_ishr(b, src0, shift_ssa); in ir3_nir_try_propagate_bit_shift() 155 new_offset = nir_ushr(b, src0, shift_ssa); in ir3_nir_try_propagate_bit_shift() 161 return new_offset; in ir3_nir_try_propagate_bit_shift() 201 nir_ssa_def *new_offset = ir3_nir_try_propagate_bit_shift(b, offset, -shift); in lower_offset_for_ssbo() local 227 if (new_offset) in lower_offset_for_ssbo() 228 offset = new_offset; in lower_offset_for_ssbo()
|
D | ir3_nir_analyze_ubo_ranges.c | 305 nir_ssa_def *new_offset = ir3_nir_try_propagate_bit_shift(b, ubo_offset, -2); in lower_ubo_load_to_uniform() local 307 if (new_offset) { in lower_ubo_load_to_uniform() 308 uniform_offset = new_offset; in lower_ubo_load_to_uniform()
|
/external/sfntly/cpp/src/sfntly/data/ |
D | font_data.cc | 38 const int32_t new_offset = bound_offset_ + offset; in Bound() local 44 CHECK(new_offset <= array_->Size()); in Bound() 49 CHECK(new_offset <= array_->Size() - length); in Bound() 52 bound_offset_ = new_offset; in Bound()
|
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/ |
D | StackMapEntry.java | 288 public void setByteCodeOffset( final int new_offset ) { in setByteCodeOffset() argument 289 if (new_offset < 0 || new_offset > 32767) { in setByteCodeOffset() 290 throw new RuntimeException("Invalid StackMap offset: " + new_offset); in setByteCodeOffset() 295 if (new_offset > Const.SAME_FRAME_MAX) { in setByteCodeOffset() 298 frame_type = new_offset; in setByteCodeOffset() 302 if (new_offset > Const.SAME_FRAME_MAX) { in setByteCodeOffset() 305 frame_type = Const.SAME_LOCALS_1_STACK_ITEM_FRAME + new_offset; in setByteCodeOffset() 317 byte_code_offset = new_offset; in setByteCodeOffset()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | scalar_analysis_simplification.cpp | 414 std::unique_ptr<SENode> new_offset{new SEAddNode(&analysis_)}; in FoldRecurrentAddExpressions() local 422 new_offset->AddChild(node->GetOffset()); in FoldRecurrentAddExpressions() 426 new_offset->AddChild(analysis_.CreateNegation(node->GetOffset())); in FoldRecurrentAddExpressions() 437 analysis_.SimplifyExpression(new_offset.get()); in FoldRecurrentAddExpressions() 502 std::unique_ptr<SENode> new_offset{ in SimplifyRecurrentAddExpression() local 504 new_offset->AddChild(recurrent_expr->GetOffset()); in SimplifyRecurrentAddExpression() 508 new_offset->AddChild(child); in SimplifyRecurrentAddExpression() 513 SENode* simplified_child = analysis_.SimplifyExpression(new_offset.get()); in SimplifyRecurrentAddExpression() 520 recurrent_expr->AddOffset(analysis_.GetCachedOrAdd(std::move(new_offset))); in SimplifyRecurrentAddExpression()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/ |
D | scalar_analysis_simplification.cpp | 414 std::unique_ptr<SENode> new_offset{new SEAddNode(&analysis_)}; in FoldRecurrentAddExpressions() local 422 new_offset->AddChild(node->GetOffset()); in FoldRecurrentAddExpressions() 426 new_offset->AddChild(analysis_.CreateNegation(node->GetOffset())); in FoldRecurrentAddExpressions() 437 analysis_.SimplifyExpression(new_offset.get()); in FoldRecurrentAddExpressions() 502 std::unique_ptr<SENode> new_offset{ in SimplifyRecurrentAddExpression() local 504 new_offset->AddChild(recurrent_expr->GetOffset()); in SimplifyRecurrentAddExpression() 508 new_offset->AddChild(child); in SimplifyRecurrentAddExpression() 513 SENode* simplified_child = analysis_.SimplifyExpression(new_offset.get()); in SimplifyRecurrentAddExpression() 520 recurrent_expr->AddOffset(analysis_.GetCachedOrAdd(std::move(new_offset))); in SimplifyRecurrentAddExpression()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | scalar_analysis_simplification.cpp | 414 std::unique_ptr<SENode> new_offset{new SEAddNode(&analysis_)}; in FoldRecurrentAddExpressions() local 422 new_offset->AddChild(node->GetOffset()); in FoldRecurrentAddExpressions() 426 new_offset->AddChild(analysis_.CreateNegation(node->GetOffset())); in FoldRecurrentAddExpressions() 437 analysis_.SimplifyExpression(new_offset.get()); in FoldRecurrentAddExpressions() 502 std::unique_ptr<SENode> new_offset{ in SimplifyRecurrentAddExpression() local 504 new_offset->AddChild(recurrent_expr->GetOffset()); in SimplifyRecurrentAddExpression() 508 new_offset->AddChild(child); in SimplifyRecurrentAddExpression() 513 SENode* simplified_child = analysis_.SimplifyExpression(new_offset.get()); in SimplifyRecurrentAddExpression() 520 recurrent_expr->AddOffset(analysis_.GetCachedOrAdd(std::move(new_offset))); in SimplifyRecurrentAddExpression()
|
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
D | DWARFDebugMacro.cpp | 67 lldb::offset_t new_offset = 0, str_offset = 0; in ReadMacroEntries() local 111 new_offset = debug_macro_data.GetU64(offset); in ReadMacroEntries() 113 new_offset = debug_macro_data.GetU32(offset); in ReadMacroEntries() 115 sym_file_dwarf->ParseDebugMacros(&new_offset))); in ReadMacroEntries()
|
/external/boringssl/src/ssl/ |
D | ssl_buffer.cc | 62 size_t new_offset; in EnsureCap() local 68 new_offset = 0; in EnsureCap() 83 new_offset = in EnsureCap() 89 OPENSSL_memmove(new_buf + new_offset, buf_ + offset_, size_); in EnsureCap() 97 offset_ = new_offset; in EnsureCap()
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/ |
D | ssl_buffer.cc | 62 size_t new_offset; in EnsureCap() local 68 new_offset = 0; in EnsureCap() 83 new_offset = in EnsureCap() 89 OPENSSL_memmove(new_buf + new_offset, buf_ + offset_, size_); in EnsureCap() 97 offset_ = new_offset; in EnsureCap()
|
/external/webrtc/modules/audio_processing/test/conversational_speech/ |
D | timing.h | 26 int new_offset, in Turn() 30 offset(new_offset), in Turn()
|
/external/e2fsprogs/ext2ed/ |
D | general_com.c | 206 long new_offset; in set_offset() local 248 new_offset=device_offset+atol (new_offset_buffer+1)*mult; in set_offset() 256 new_offset=device_offset-atol (new_offset_buffer+1)*mult; in set_offset() 257 if (new_offset<0) new_offset=0; in set_offset() 261 new_offset=atol (new_offset_buffer)*mult; in set_offset() 263 if ( (fseek (device_handle,new_offset,SEEK_SET))==-1) { in set_offset() 264 …wprintw (command_win,"Error - Failed to seek to offset %ld in device %s\n",new_offset,device_name); in set_offset() 268 device_offset=new_offset; in set_offset()
|
/external/ltp/testcases/kernel/fs/doio/ |
D | growfiles.c | 2358 int new_offset; in shrinkfile() local 2395 if ((new_offset = file_size(fd)) == -1) { in shrinkfile() 2400 if (new_offset < min_lseek) in shrinkfile() 2401 new_offset = min_lseek; in shrinkfile() 2403 new_offset = in shrinkfile() 2404 random_range(min_lseek, new_offset, 1, in shrinkfile() 2407 new_offset = in shrinkfile() 2412 if ((offset = lseek(fd, new_offset, SEEK_SET)) == -1) { in shrinkfile() 2416 new_offset, strerror(errno)); in shrinkfile() 2429 new_offset = cur_offset - trunc_incr; in shrinkfile() [all …]
|
/external/autotest/server/cros/network/ |
D | attenuator_controller.py | 65 new_offset = abs(defined_freq - freq) 66 if old_offset is None or new_offset < old_offset: 67 old_offset = new_offset
|
/external/tensorflow/tensorflow/tools/android/inference_interface/ |
D | asset_manager_filesystem.cc | 98 off64_t new_offset = AAsset_seek64(asset.get(), offset, SEEK_SET); in Read() local 100 if (new_offset < 0) { in Read() 105 std::min(length - new_offset, static_cast<off64_t>(to_read)); in Read()
|
/external/rust/crates/crossbeam-deque/src/ |
D | deque.rs | 1449 let new_offset = offset + advance; in steal_batch() localVariable 1462 let batch_size = new_offset - offset; in steal_batch() 1471 if new_offset == BLOCK_CAP { in steal_batch() 1521 if new_offset == BLOCK_CAP { in steal_batch() 1524 for i in offset..new_offset { in steal_batch() 1607 let new_offset = offset + advance; in steal_batch_and_pop() localVariable 1620 let batch_size = new_offset - offset - 1; in steal_batch_and_pop() 1629 if new_offset == BLOCK_CAP { in steal_batch_and_pop() 1685 if new_offset == BLOCK_CAP { in steal_batch_and_pop() 1688 for i in offset..new_offset { in steal_batch_and_pop()
|
/external/python/cpython3/Python/ |
D | peephole.c | 470 unsigned int offset_delta, new_offset; in PyCode_Optimize() local 473 new_offset = blocks[cum_orig_offset / sizeof(_Py_CODEUNIT)] * in PyCode_Optimize() 475 offset_delta = new_offset - last_offset; in PyCode_Optimize() 478 last_offset = new_offset; in PyCode_Optimize()
|
/external/autotest/client/cros/ |
D | dhcp_packet.py | 196 (new_offset, domain_parts) = DomainListOption._read_domain_name( 201 if new_offset <= offset: 204 offset = new_offset
|
/external/libchrome/base/containers/ |
D | circular_deque.h | 286 difference_type new_offset = OffsetFromBegin() + delta; in Add() local 287 DCHECK(new_offset >= 0 && in Add() 288 new_offset <= static_cast<difference_type>(parent_deque_->size())); in Add() 289 index_ = (new_offset + parent_deque_->begin_) % in Add()
|
/external/pcre/dist2/src/sljit/ |
D | sljitNativeARM_32.c | 2422 sljit_u32 new_offset, mask; in hardfloat_call_with_args() local 2429 new_offset = 0; in hardfloat_call_with_args() 2433 new_offset++; in hardfloat_call_with_args() 2438 if (offset != new_offset) in hardfloat_call_with_args() 2440 0, (new_offset >> 1) + 1, (offset >> 1) + 1, 0) | ((new_offset & 0x1) ? 0x400000 : 0))); in hardfloat_call_with_args() 2445 new_offset = 0; in hardfloat_call_with_args() 2449 new_offset += 2; in hardfloat_call_with_args() 2454 if (offset != new_offset) in hardfloat_call_with_args() 2455 …FAIL_IF(push_inst(compiler, EMIT_FPU_OPERATION(VMOV_F32, SLJIT_F32_OP, (new_offset >> 1) + 1, (off… in hardfloat_call_with_args()
|
D | sljitNativeARM_T2_32.c | 2021 sljit_u32 new_offset, mask; in hardfloat_call_with_args() local 2028 new_offset = 0; in hardfloat_call_with_args() 2032 new_offset++; in hardfloat_call_with_args() 2037 if (offset != new_offset) in hardfloat_call_with_args() 2038 FAIL_IF(push_inst32(compiler, VMOV_F32 | DD4((new_offset >> 1) + 1) in hardfloat_call_with_args() 2039 | ((new_offset & 0x1) ? 0x400000 : 0) | DM4((offset >> 1) + 1))); in hardfloat_call_with_args() 2044 new_offset = 0; in hardfloat_call_with_args() 2048 new_offset += 2; in hardfloat_call_with_args() 2053 if (offset != new_offset) in hardfloat_call_with_args() 2054 …FAIL_IF(push_inst32(compiler, VMOV_F32 | SLJIT_F32_OP | DD4((new_offset >> 1) + 1) | DM4((offset >… in hardfloat_call_with_args()
|
/external/llvm-project/lldb/source/Expression/ |
D | DWARFExpression.cpp | 1702 lldb::offset_t new_offset = offset + skip_offset; in Evaluate() local 1703 if (opcodes.ValidOffset(new_offset)) in Evaluate() 1704 offset = new_offset; in Evaluate() 1731 lldb::offset_t new_offset = offset + bra_offset; in Evaluate() local 1732 if (opcodes.ValidOffset(new_offset)) in Evaluate() 1733 offset = new_offset; in Evaluate()
|