/third_party/libsnd/ossfuzz/ |
H A D | sndfile_fuzz_header.h | 19 sf_count_t new_offset ; in vfseek() local 23 new_offset = offset ; in vfseek() 27 new_offset = vf->offset + offset ; in vfseek() 31 new_offset = vf->length + offset ; in vfseek() 39 if (new_offset > vf->length) in vfseek() 41 printf("vf overseek: new_offset(%" PRId64 ") > vf->length(%" PRId64 ");" in vfseek() 43 new_offset, vf->length, whence, vf->offset, offset) ; in vfseek() 44 new_offset = vf->length ; in vfseek() 46 else if (new_offset < 0) in vfseek() 48 printf("vf underseek: new_offset( in vfseek() [all...] |
/third_party/musl/src/misc/ |
H A D | ioctl.c | 85 int new_offset = 0; in convert_ioctl_struct() local 104 if (dir==W) memcpy(old+old_offset, new+new_offset, len); in convert_ioctl_struct() 105 else memcpy(new+new_offset, old+old_offset, len); in convert_ioctl_struct() 106 new_offset += len; in convert_ioctl_struct() 111 new_offset += (align-1) & -new_offset; in convert_ioctl_struct() 113 memcpy(&new_ts, new+new_offset, sizeof new_ts); in convert_ioctl_struct() 119 memcpy(new+new_offset, &new_ts, sizeof new_ts); in convert_ioctl_struct() 121 new_offset += sizeof new_ts; in convert_ioctl_struct() 124 if (dir==W) memcpy(old+old_offset, new+new_offset, old_siz in convert_ioctl_struct() [all...] |
/third_party/mesa3d/src/freedreno/ir3/ |
H A 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() 175 nir_ssa_def *new_offset = intrinsic->src[2].ssa; in scalarize_load() local 181 nir_iadd(b, new_offset, nir_imm_int(b, i)), in scalarize_load() 231 nir_ssa_def *new_offset = ir3_nir_try_propagate_bit_shift(b, offset, -shift); in lower_offset_for_ssbo() local 257 if (new_offset) in lower_offset_for_ssbo() 258 offset = new_offset; in lower_offset_for_ssbo() [all...] |
H A D | ir3_nir_analyze_ubo_ranges.c | 307 nir_ssa_def *new_offset = ir3_nir_try_propagate_bit_shift(b, ubo_offset, -2); in lower_ubo_load_to_uniform() local 309 if (new_offset) { in lower_ubo_load_to_uniform() 310 uniform_offset = new_offset; in lower_ubo_load_to_uniform()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/data/ |
H A D | font_data.cc | 38 const int32_t new_offset = bound_offset_ + offset; in Bound() local 43 // |array_|'s size. Just make sure |new_offset| is still within bounds. in Bound() 44 CHECK(new_offset <= array_->Size()); in Bound() 46 // When |length| has any other value, |new_offset| + |length| points to the in Bound() 49 CHECK(new_offset <= array_->Size() - length); in Bound() 52 bound_offset_ = new_offset; in Bound()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | scalar_analysis_simplification.cpp | 414 std::unique_ptr<SENode> new_offset{new SEAddNode(&analysis_)}; in FoldRecurrentAddExpressions() 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() 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()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | scalar_analysis_simplification.cpp | 414 std::unique_ptr<SENode> new_offset{new SEAddNode(&analysis_)}; in FoldRecurrentAddExpressions() 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() 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()
|
/third_party/spirv-tools/source/opt/ |
H A D | scalar_analysis_simplification.cpp | 413 std::unique_ptr<SENode> new_offset{new SEAddNode(&analysis_)}; in FoldRecurrentAddExpressions() 421 new_offset->AddChild(node->GetOffset()); in FoldRecurrentAddExpressions() 425 new_offset->AddChild(analysis_.CreateNegation(node->GetOffset())); in FoldRecurrentAddExpressions() 436 analysis_.SimplifyExpression(new_offset.get()); in FoldRecurrentAddExpressions() 501 std::unique_ptr<SENode> new_offset{ in SimplifyRecurrentAddExpression() 503 new_offset->AddChild(recurrent_expr->GetOffset()); in SimplifyRecurrentAddExpression() 507 new_offset->AddChild(child); in SimplifyRecurrentAddExpression() 512 SENode* simplified_child = analysis_.SimplifyExpression(new_offset.get()); in SimplifyRecurrentAddExpression() 519 recurrent_expr->AddOffset(analysis_.GetCachedOrAdd(std::move(new_offset))); in SimplifyRecurrentAddExpression()
|
/third_party/ltp/testcases/kernel/fs/doio/ |
H A 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 in shrinkfile() [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_variable_initializers.c | 189 nir_ssa_def *new_offset = nir_iadd_imm(&b, offset, chunk_size * local_count); in nir_zero_initialize_shared_memory() local 190 nir_store_var(&b, it, new_offset, 0x1); in nir_zero_initialize_shared_memory()
|
H A D | nir_opt_load_store_vectorize.c | 479 uint64_t new_offset; in parse_entry_key_from_offset() local 480 parse_offset(&base, &new_mul, &new_offset); in parse_entry_key_from_offset() 481 *offset += new_offset * base_mul; in parse_entry_key_from_offset()
|
/third_party/ffmpeg/libavfilter/ |
H A D | src_avsynctest.c | 276 int new_offset; in video_frame() local 318 new_offset = offset(w, 1, 2); in video_frame() 320 av_clip(new_offset + step * intpart, 0, w - 2), in video_frame() 346 av_clip(new_offset + step * i, 0, w - 2), in video_frame()
|
/third_party/ffmpeg/tools/ |
H A D | qt-faststart.c | 303 uint64_t new_offset; in upgrade_stco_atom() local 322 new_offset = (uint64_t)original_offset + context->new_moov_size; in upgrade_stco_atom() 323 AV_WB64(context->dest, new_offset); in upgrade_stco_atom()
|
/third_party/gn/src/base/containers/ |
H A D | circular_deque.h | 285 difference_type new_offset = OffsetFromBegin() + delta; in Add() 286 DCHECK(new_offset >= 0 && in Add() 287 new_offset <= static_cast<difference_type>(parent_deque_->size())); in Add() 288 index_ = (new_offset + parent_deque_->begin_) % in Add()
|
/third_party/mesa3d/src/mesa/vbo/ |
H A D | vbo_exec_api.c | 378 GLint new_offset = exec->vtx.attrptr[j] - exec->vtx.vertex; in vbo_exec_wrap_upgrade_vertex() local 388 COPY_SZ_4V(dest + new_offset, newSize, tmp); in vbo_exec_wrap_upgrade_vertex() 391 COPY_SZ_4V(dest + new_offset, sz, current); in vbo_exec_wrap_upgrade_vertex() 395 COPY_SZ_4V(dest + new_offset, sz, data + old_offset); in vbo_exec_wrap_upgrade_vertex()
|
/third_party/pcre2/pcre2/src/sljit/ |
H A D | sljitNativeARM_32.c | 2867 sljit_u32 new_offset = SLJIT_FR0; in hardfloat_call_with_args() local 2876 if (offset != new_offset) in hardfloat_call_with_args() 2878 SLJIT_32, new_offset, offset, 0))); in hardfloat_call_with_args() 2880 new_offset++; in hardfloat_call_with_args() 2889 if (offset != new_offset) in hardfloat_call_with_args() 2891 0, new_offset, offset, 0))); in hardfloat_call_with_args() 2892 f32_offset = new_offset; in hardfloat_call_with_args() 2893 new_offset++; in hardfloat_call_with_args()
|
H A D | sljitNativeARM_T2_32.c | 2446 sljit_u32 new_offset = SLJIT_FR0; in hardfloat_call_with_args() local 2455 if (offset != new_offset) in hardfloat_call_with_args() 2456 FAIL_IF(push_inst32(compiler, VMOV_F32 | SLJIT_32 | DD4(new_offset) | DM4(offset))); in hardfloat_call_with_args() 2458 new_offset++; in hardfloat_call_with_args() 2466 if (offset != new_offset) in hardfloat_call_with_args() 2467 FAIL_IF(push_inst32(compiler, VMOV_F32 | 0x400000 | DD4(new_offset) | DM4(offset))); in hardfloat_call_with_args() 2468 f32_offset = new_offset; in hardfloat_call_with_args() 2469 new_offset++; in hardfloat_call_with_args()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_info.cpp | 1567 uint64 new_offset = fShared->fDNGPrivateDataOffset + section_offset + 14; in ParseDNGPrivateData() local 1575 new_offset); in ParseDNGPrivateData()
|
/third_party/mbedtls/library/ |
H A D | aes.c | 1012 unsigned new_offset = mbedtls_aes_rk_offset(ctx->buf); in aes_maybe_realign() local 1013 if (new_offset != ctx->rk_offset) { in aes_maybe_realign() 1014 memmove(ctx->buf + new_offset, // new address in aes_maybe_realign() 1017 ctx->rk_offset = new_offset; in aes_maybe_realign()
|
/third_party/python/Modules/ |
H A D | _zoneinfo.c | 1245 CalendarRule new_offset = { in calendarrule_new() local 1255 *out = new_offset; in calendarrule_new()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-layout-common.hh | 1194 Offset16To<FeatureParams> new_offset; in sanitize() local 1196 new_offset = new_offset_int; in sanitize() 1197 if (new_offset == new_offset_int && in sanitize()
|
/third_party/node/deps/v8/src/execution/ |
H A D | frames.cc | 2003 void InterpretedFrame::PatchBytecodeOffset(int new_offset) { in PatchBytecodeOffset() argument 2008 int raw_offset = BytecodeArray::kHeaderSize - kHeapObjectTag + new_offset; in PatchBytecodeOffset()
|
H A D | frames.h | 888 void PatchBytecodeOffset(int new_offset);
|
/third_party/mesa3d/src/panfrost/bifrost/ |
H A D | bifrost_compile.c | 1956 unsigned new_offset = (src.swizzle[i] >> subword_shift); in bi_alu_src_index() local 1959 assert(offset == new_offset && "wrong vectorization"); in bi_alu_src_index() 1961 offset = new_offset; in bi_alu_src_index()
|
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_instruction_selection.cpp | 11541 Temp new_offset = bld.vadd32(bld.def(v1), offset, tid); 11544 bld.vop2(aco_opcode::v_lshlrev_b32, bld.def(v1), Operand::c32(2u), new_offset);
|