/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 | 212 int new_offset = -1; in TEST() local 213 TF_EXPECT_OK(IncrementOffset(0, 10, 20, &new_offset)); in TEST() 214 EXPECT_EQ(10, new_offset); in TEST() 216 new_offset = -1; in TEST() 217 TF_EXPECT_OK(IncrementOffset(10, 4, 20, &new_offset)); in TEST() 218 EXPECT_EQ(14, new_offset); in TEST() 220 new_offset = -1; in TEST() 221 TF_EXPECT_OK(IncrementOffset(99, 1, 100, &new_offset)); in TEST() 222 EXPECT_EQ(100, new_offset); in TEST() 224 new_offset = -1; in TEST() [all …]
|
D | wav_io.h | 65 int* new_offset); 72 int new_offset; in ReadValue() local 74 IncrementOffset(*offset, sizeof(T), data.size(), &new_offset)); in ReadValue() 86 *offset = new_offset; in ReadValue()
|
/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/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/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 | 64 new_offset = abs(defined_freq - freq) 65 if old_offset is None or new_offset < old_offset: 66 old_offset = new_offset
|
/external/boringssl/src/ssl/ |
D | ssl_buffer.cc | 69 size_t new_offset = in EnsureCap() local 73 OPENSSL_memcpy(new_buf + new_offset, buf_ + offset_, size_); in EnsureCap() 78 offset_ = new_offset; in EnsureCap()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | heap_simulator.cc | 625 const int64 new_offset = RoundUpToNearest(best.offset, alignment_); in Alloc() local 626 const int64 new_end = new_offset + size; in Alloc() 634 result_.chunk_map.emplace(buffer, Chunk{new_offset, size}); in Alloc() 636 AddFreeChunk(best.offset, new_offset - best.offset); in Alloc() 658 const int64 new_offset = RoundUpToNearest(last.offset, alignment_); in Alloc() local 659 if (new_offset >= last.chunk_end()) { in Alloc() 666 result_.chunk_map.emplace(buffer, Chunk{new_offset, size}); in Alloc() 668 AddFreeChunk(last.offset, new_offset - last.offset); in Alloc() 670 const int64 new_end = new_offset + size; in Alloc()
|
/external/tensorflow/tensorflow/contrib/android/ |
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/python/cpython3/Python/ |
D | peephole.c | 434 unsigned int offset_delta, new_offset; in PyCode_Optimize() local 437 new_offset = blocks[cum_orig_offset / sizeof(_Py_CODEUNIT)] * in PyCode_Optimize() 439 offset_delta = new_offset - last_offset; in PyCode_Optimize() 442 last_offset = new_offset; in PyCode_Optimize()
|
/external/u-boot/lib/efi_loader/ |
D | efi_runtime.c | 361 ulong new_offset = map->virtual_start - in efi_set_virtual_address_map() local 364 efi_runtime_relocate(new_offset, map); in efi_set_virtual_address_map() 367 efi_runtime_detach(new_offset); in efi_set_virtual_address_map()
|
/external/autotest/client/cros/ |
D | dhcp_packet.py | 190 (new_offset, domain_parts) = DomainListOption._read_domain_name( 195 if new_offset <= offset: 198 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_T2_32.c | 1988 sljit_u32 new_offset, mask; in hardfloat_call_with_args() local 1995 new_offset = 0; in hardfloat_call_with_args() 1999 new_offset++; in hardfloat_call_with_args() 2004 if (offset != new_offset) in hardfloat_call_with_args() 2005 FAIL_IF(push_inst32(compiler, VMOV_F32 | DD4((new_offset >> 1) + 1) in hardfloat_call_with_args() 2006 | ((new_offset & 0x1) ? 0x400000 : 0) | DM4((offset >> 1) + 1))); in hardfloat_call_with_args() 2011 new_offset = 0; in hardfloat_call_with_args() 2015 new_offset += 2; in hardfloat_call_with_args() 2020 if (offset != new_offset) in hardfloat_call_with_args() 2021 …FAIL_IF(push_inst32(compiler, VMOV_F32 | SLJIT_F32_OP | DD4((new_offset >> 1) + 1) | DM4((offset >… in hardfloat_call_with_args()
|
D | sljitNativeARM_32.c | 2299 sljit_u32 new_offset, mask; in hardfloat_call_with_args() local 2306 new_offset = 0; in hardfloat_call_with_args() 2310 new_offset++; in hardfloat_call_with_args() 2315 if (offset != new_offset) in hardfloat_call_with_args() 2317 0, (new_offset >> 1) + 1, (offset >> 1) + 1, 0) | ((new_offset & 0x1) ? 0x400000 : 0))); in hardfloat_call_with_args() 2322 new_offset = 0; in hardfloat_call_with_args() 2326 new_offset += 2; in hardfloat_call_with_args() 2331 if (offset != new_offset) in hardfloat_call_with_args() 2332 …FAIL_IF(push_inst(compiler, EMIT_FPU_OPERATION(VMOV_F32, SLJIT_F32_OP, (new_offset >> 1) + 1, (off… in hardfloat_call_with_args()
|
/external/kernel-headers/original/uapi/linux/raid/ |
D | md_p.h | 265 __le32 new_offset; /* signed number to add to data_offset in new member
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_exec_api.c | 370 GLint new_offset = exec->vtx.attrptr[j] - exec->vtx.vertex; in vbo_exec_wrap_upgrade_vertex() local 380 COPY_SZ_4V(dest + new_offset, newSize, tmp); in vbo_exec_wrap_upgrade_vertex() 383 COPY_SZ_4V(dest + new_offset, sz, current); in vbo_exec_wrap_upgrade_vertex() 387 COPY_SZ_4V(dest + new_offset, sz, data + old_offset); in vbo_exec_wrap_upgrade_vertex()
|
/external/harfbuzz_ng/src/ |
D | hb-ot-layout-common.hh | 601 OffsetTo<FeatureParams> new_offset; in sanitize() local 603 new_offset.set (new_offset_int); in sanitize() 604 if (new_offset == new_offset_int && in sanitize() 605 c->try_set (&featureParams, new_offset) && in sanitize()
|
/external/dng_sdk/source/ |
D | dng_info.cpp | 1567 uint64 new_offset = fShared->fDNGPrivateDataOffset + section_offset + 14; in ParseDNGPrivateData() local 1575 new_offset); in ParseDNGPrivateData()
|
/external/v8/src/ |
D | frames.cc | 1681 void InterpretedFrame::PatchBytecodeOffset(int new_offset) { in PatchBytecodeOffset() argument 1686 int raw_offset = new_offset + BytecodeArray::kHeaderSize - kHeapObjectTag; in PatchBytecodeOffset()
|
D | frames.h | 878 void PatchBytecodeOffset(int new_offset);
|