Home
last modified time | relevance | path

Searched refs:adjustment (Results 1 - 18 of 18) sorted by relevance

/third_party/gn/src/base/strings/
H A Dutf_offset_string_conversions.cc42 int adjustment = 0; in AdjustOffset() local
51 adjustment += static_cast<int>(i->original_length - i->output_length); in AdjustOffset()
53 *offset -= adjustment; in AdjustOffset()
75 int adjustment = 0; in UnadjustOffset() local
78 if (*offset + adjustment <= i->original_offset) in UnadjustOffset()
80 adjustment += static_cast<int>(i->original_length - i->output_length); in UnadjustOffset()
81 if ((*offset + adjustment) < (i->original_offset + i->original_length)) { in UnadjustOffset()
86 *offset += adjustment; in UnadjustOffset()
114 // adjustment that needs revising. in MergeSequentialAdjustments()
144 // The first adjustment adjuste in MergeSequentialAdjustments()
[all...]
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
H A DHolidayBorderPanel.java172 int adjustment = 0; in getInsets()
181 adjustment = height - thickness; in getInsets()
193 return new Insets(dist + adjustment, dist, dist, dist); in getInsets()
421 // set adjustment in paint()
427 // Calculate adjustment for text in paint()
428 int adjustment = 0; in paint()
431 adjustment = (ascent - thickness) / 2; in paint()
434 // The adjustment is there so that we always draw the in paint()
439 int y = thickness / 2 + adjustment; in paint()
441 int h = height - thickness - 1 - adjustment; in paint()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
H A DDecimalQuantity_64BitBCD.java123 int adjustment = (i > 0) ? i : 0; in readLongToBcd()
124 bcd = result >>> (adjustment * 4); in readLongToBcd()
139 int adjustment = (i > 0) ? i : 0; in readBigIntegerToBcd()
140 bcd = result >>> (adjustment * 4); in readBigIntegerToBcd()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/impl/number/
H A DDecimalQuantity_64BitBCD.java126 int adjustment = (i > 0) ? i : 0; in readLongToBcd()
127 bcd = result >>> (adjustment * 4); in readLongToBcd()
142 int adjustment = (i > 0) ? i : 0; in readBigIntegerToBcd()
143 bcd = result >>> (adjustment * 4); in readBigIntegerToBcd()
/third_party/node/deps/v8/src/objects/
H A Dmanaged.cc20 int64_t adjustment = 0 - static_cast<int64_t>(destructor->estimated_size_); in ManagedObjectFinalizerSecondPass() local
23 data.GetIsolate()->AdjustAmountOfExternalAllocatedMemory(adjustment); in ManagedObjectFinalizerSecondPass()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/
H A Dfont_header_table.cc141 void FontHeaderTable::Builder::SetChecksumAdjustment(int64_t adjustment) { in SetChecksumAdjustment() argument
142 InternalWriteData()->WriteULong(Offset::kCheckSumAdjustment, adjustment); in SetChecksumAdjustment()
H A Dfont_header_table.h59 virtual void SetChecksumAdjustment(int64_t adjustment);
101 // Get the checksum adjustment. To compute: set it to 0, sum the entire font
/third_party/node/deps/histogram/src/
H A Dhdr_histogram.c37 int32_t adjustment = 0; in normalize_index() local
47 adjustment = h->counts_len; in normalize_index()
51 adjustment = -h->counts_len; in normalize_index()
54 return normalized_index + adjustment; in normalize_index()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
H A DFontHeaderTable.java36 * Checksum adjustment base value. To compute the checksum adjustment:
112 * Get the checksum adjustment. To compute: set it to 0, sum the entire font
115 * @return checksum adjustment
479 * adjustment for the header table during build time.
501 * adjustment for the header table during build time.
532 public void setCheckSumAdjustment(long adjustment) { in setCheckSumAdjustment() argument
533 this.internalWriteData().writeULong(Offset.checkSumAdjustment.offset, adjustment); in setCheckSumAdjustment()
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_mesh.cpp849 unsigned adjustment = (urb_global_offset >> 11) << 11; in adjust_handle_and_offset() local
851 if (adjustment) { in adjust_handle_and_offset()
853 ubld8.ADD(urb_handle, urb_handle, brw_imm_ud(adjustment)); in adjust_handle_and_offset()
854 urb_global_offset -= adjustment; in adjust_handle_and_offset()
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_vbuf.c522 * accidentally add one to this value. This adjustment avoids in u_vbuf_translate_buffers()
780 unsigned adjustment = 0; in u_vbuf_translate_begin() local
784 adjustment = aligned - te->output_offset; in u_vbuf_translate_begin()
788 k->output_stride += mgr->ve->native_format_size[i] + adjustment; in u_vbuf_translate_begin()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dfolding_rules.cpp2409 int32_t adjustment = op0_length - new_op0_size;
2411 if (adjustment != 0) {
2414 new_operands[i].words[0] -= adjustment;
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dfolding_rules.cpp2409 int32_t adjustment = op0_length - new_op0_size;
2411 if (adjustment != 0) {
2414 new_operands[i].words[0] -= adjustment;
/third_party/vixl/src/
H A Dutils-vixl.h1422 uint64_t adjustment = (halfbit_mantissa & ~onebit_mantissa);
1423 uint64_t adjusted = mantissa - adjustment;
/third_party/spirv-tools/source/opt/
H A Dfolding_rules.cpp2791 int32_t adjustment = op0_length - new_op0_size;
2793 if (adjustment != 0) {
2797 new_operands[i].words[0] -= adjustment;
/third_party/ffmpeg/fftools/
H A Dffmpeg_opt.c295 int64_t adjustment; in apply_sync_offsets() local
330 adjustment = (self_start_time - ref_start_time) + !copy_ts*(self_seek_start - ref_seek_start) + ref->input_ts_offset; in apply_sync_offsets()
332 self->ts_offset += adjustment; in apply_sync_offsets()
334 av_log(NULL, AV_LOG_INFO, "Adjusted ts offset for Input #%d by %"PRId64" us to sync with Input #%d.\n", i, adjustment, self->input_sync_ref); in apply_sync_offsets()
336 av_log(NULL, AV_LOG_INFO, "Unable to identify start times for Inputs #%d and %d both. No sync adjustment made.\n", i, self->input_sync_ref); in apply_sync_offsets()
/third_party/node/deps/v8/src/execution/arm64/
H A Dsimulator-arm64.h192 uint64_t adjustment = (halfbit_mantissa & ~onebit_mantissa); in FPRound() local
193 uint64_t adjusted = mantissa - adjustment; in FPRound()
/third_party/skia/third_party/externals/libjpeg-turbo/simd/i386/
H A Djchuff-sse2.asm429 ; %1 - stack pointer adjustment

Completed in 38 milliseconds