Home
last modified time | relevance | path

Searched refs:Adjustment (Results 1 – 25 of 95) sorted by relevance

1234

/external/libchrome/base/strings/
Dutf_offset_string_conversions_unittest.cc120 adjustments.push_back(OffsetAdjuster::Adjustment(3, 3, 1)); in TEST()
134 adjustments.push_back(OffsetAdjuster::Adjustment(0, 3, 1)); in TEST()
135 adjustments.push_back(OffsetAdjuster::Adjustment(4, 4, 2)); in TEST()
136 adjustments.push_back(OffsetAdjuster::Adjustment(10, 7, 4)); in TEST()
137 adjustments.push_back(OffsetAdjuster::Adjustment(20, 3, 1)); in TEST()
154 adjustments.push_back(OffsetAdjuster::Adjustment(0, 3, 0)); in TEST()
155 adjustments.push_back(OffsetAdjuster::Adjustment(4, 4, 4)); in TEST()
156 adjustments.push_back(OffsetAdjuster::Adjustment(11, 3, 3)); in TEST()
157 adjustments.push_back(OffsetAdjuster::Adjustment(15, 2, 0)); in TEST()
178 adjustments.push_back(OffsetAdjuster::Adjustment(3, 3, 1)); in TEST()
[all …]
Dutf_offset_string_conversions.h25 struct BASE_EXPORT Adjustment { struct
26 Adjustment(size_t original_offset,
34 typedef std::vector<Adjustment> Adjustments; argument
Dutf_offset_string_conversions.cc18 OffsetAdjuster::Adjustment::Adjustment(size_t original_offset, in Adjustment() function in base::OffsetAdjuster::Adjustment
216 adjustments->push_back(OffsetAdjuster::Adjustment( in ConvertUnicode()
/external/clang/lib/StaticAnalyzer/Core/
DRangeConstraintManager.cpp302 const llvm::APSInt& Adjustment) override;
306 const llvm::APSInt& Adjustment) override;
310 const llvm::APSInt& Adjustment) override;
314 const llvm::APSInt& Adjustment) override;
318 const llvm::APSInt& Adjustment) override;
322 const llvm::APSInt& Adjustment) override;
326 const llvm::APSInt &To, const llvm::APSInt &Adjustment) override;
330 const llvm::APSInt &To, const llvm::APSInt &Adjustment) override;
346 const llvm::APSInt &Adjustment);
349 const llvm::APSInt &Adjustment);
[all …]
DSimpleConstraintManager.cpp229 static void computeAdjustment(SymbolRef &Sym, llvm::APSInt &Adjustment) { in computeAdjustment() argument
235 Adjustment = APSIntType(Adjustment).convert(SE->getRHS()); in computeAdjustment()
241 Adjustment = -Adjustment; in computeAdjustment()
265 llvm::APSInt Adjustment = WraparoundType.getZeroValue(); in assumeSymRel() local
266 computeAdjustment(Sym, Adjustment); in assumeSymRel()
275 Adjustment.setIsSigned(false); in assumeSymRel()
282 return assumeSymEQ(state, Sym, ConvertedInt, Adjustment); in assumeSymRel()
285 return assumeSymNE(state, Sym, ConvertedInt, Adjustment); in assumeSymRel()
288 return assumeSymGT(state, Sym, ConvertedInt, Adjustment); in assumeSymRel()
291 return assumeSymGE(state, Sym, ConvertedInt, Adjustment); in assumeSymRel()
[all …]
DSimpleConstraintManager.h69 const llvm::APSInt& Adjustment) = 0;
73 const llvm::APSInt& Adjustment) = 0;
77 const llvm::APSInt& Adjustment) = 0;
81 const llvm::APSInt& Adjustment) = 0;
85 const llvm::APSInt& Adjustment) = 0;
89 const llvm::APSInt& Adjustment) = 0;
94 const llvm::APSInt &To, const llvm::APSInt &Adjustment) = 0;
98 const llvm::APSInt &To, const llvm::APSInt &Adjustment) = 0;
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DRangedConstraintManager.cpp100 llvm::APSInt Adjustment = WraparoundType.getZeroValue(); in assumeSymInclusiveRange() local
102 computeAdjustment(AdjustedSym, Adjustment); in assumeSymInclusiveRange()
112 Adjustment.setIsSigned(false); in assumeSymInclusiveRange()
116 ConvertedTo, Adjustment); in assumeSymInclusiveRange()
118 ConvertedTo, Adjustment); in assumeSymInclusiveRange()
168 llvm::APSInt Adjustment = WraparoundType.getZeroValue(); in assumeSymRel() local
169 computeAdjustment(Sym, Adjustment); in assumeSymRel()
178 Adjustment.setIsSigned(false); in assumeSymRel()
185 return assumeSymEQ(State, Sym, ConvertedInt, Adjustment); in assumeSymRel()
188 return assumeSymNE(State, Sym, ConvertedInt, Adjustment); in assumeSymRel()
[all …]
DRangeConstraintManager.cpp569 const llvm::APSInt &Adjustment) { in extract()
571 if (!Int.isNullValue() || !Adjustment.isNullValue()) in extract()
1294 const llvm::APSInt &Adjustment) override;
1298 const llvm::APSInt &Adjustment) override;
1302 const llvm::APSInt &Adjustment) override;
1306 const llvm::APSInt &Adjustment) override;
1310 const llvm::APSInt &Adjustment) override;
1314 const llvm::APSInt &Adjustment) override;
1318 const llvm::APSInt &To, const llvm::APSInt &Adjustment) override;
1322 const llvm::APSInt &To, const llvm::APSInt &Adjustment) override;
[all …]
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DRangedConstraintManager.h179 const llvm::APSInt &Adjustment) = 0;
183 const llvm::APSInt &Adjustment) = 0;
187 const llvm::APSInt &Adjustment) = 0;
191 const llvm::APSInt &Adjustment) = 0;
195 const llvm::APSInt &Adjustment) = 0;
199 const llvm::APSInt &Adjustment) = 0;
203 const llvm::APSInt &To, const llvm::APSInt &Adjustment) = 0;
207 const llvm::APSInt &To, const llvm::APSInt &Adjustment) = 0;
213 static void computeAdjustment(SymbolRef &Sym, llvm::APSInt &Adjustment);
/external/libvpx/libvpx/vp8/encoder/
Dratectrl.c587 int Adjustment; in calc_pframe_target_size() local
593 Adjustment = (cpi->kf_bitrate_adjustment <= cpi->kf_overspend_bits) in calc_pframe_target_size()
597 if (Adjustment > (cpi->per_frame_bandwidth - min_frame_target)) { in calc_pframe_target_size()
598 Adjustment = (cpi->per_frame_bandwidth - min_frame_target); in calc_pframe_target_size()
601 cpi->kf_overspend_bits -= Adjustment; in calc_pframe_target_size()
607 cpi->this_frame_target = cpi->per_frame_bandwidth - Adjustment; in calc_pframe_target_size()
621 Adjustment = (cpi->non_gf_bitrate_adjustment <= cpi->gf_overspend_bits) in calc_pframe_target_size()
625 if (Adjustment > (cpi->this_frame_target - min_frame_target)) { in calc_pframe_target_size()
626 Adjustment = (cpi->this_frame_target - min_frame_target); in calc_pframe_target_size()
629 cpi->gf_overspend_bits -= Adjustment; in calc_pframe_target_size()
[all …]
/external/llvm/include/llvm/Support/
DARMWinEH.h198 uint16_t Adjustment = RF.StackAdjust(); in StackAdjustment() local
199 if (Adjustment >= 0x3f4) in StackAdjustment()
200 return (Adjustment & 0x3) ? ((Adjustment & 0x3) << 2) - 1 : 0; in StackAdjustment()
201 return Adjustment; in StackAdjustment()
DAllocator.h215 size_t Adjustment = alignmentAdjustment(CurPtr, Alignment); in Allocate() local
216 assert(Adjustment + Size >= Size && "Adjustment + Size must not overflow"); in Allocate()
219 if (Adjustment + Size <= size_t(End - CurPtr)) { in Allocate()
220 char *AlignedPtr = CurPtr + Adjustment; in Allocate()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DARMWinEH.h197 uint16_t Adjustment = RF.StackAdjust(); in StackAdjustment() local
198 if (Adjustment >= 0x3f4) in StackAdjustment()
199 return (Adjustment & 0x3) ? ((Adjustment & 0x3) << 2) - 1 : 0; in StackAdjustment()
200 return Adjustment; in StackAdjustment()
DAllocator.h219 size_t Adjustment = offsetToAlignedAddr(CurPtr, Alignment); in Allocate() local
220 assert(Adjustment + Size >= Size && "Adjustment + Size must not overflow"); in Allocate()
229 if (Adjustment + SizeToAllocate <= size_t(End - CurPtr)) { in Allocate()
230 char *AlignedPtr = CurPtr + Adjustment; in Allocate()
/external/llvm-project/llvm/include/llvm/Support/
DARMWinEH.h200 uint16_t Adjustment = RF.StackAdjust(); in StackAdjustment() local
201 if (Adjustment >= 0x3f4) in StackAdjustment()
202 return (Adjustment & 0x3) ? ((Adjustment & 0x3) << 2) - 1 : 0; in StackAdjustment()
203 return Adjustment; in StackAdjustment()
DAllocator.h148 size_t Adjustment = offsetToAlignedAddr(CurPtr, Alignment); in Allocate() local
149 assert(Adjustment + Size >= Size && "Adjustment + Size must not overflow"); in Allocate()
158 if (Adjustment + SizeToAllocate <= size_t(End - CurPtr)) { in Allocate()
159 char *AlignedPtr = CurPtr + Adjustment; in Allocate()
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringX8632.h49 void _add_sp(Operand *Adjustment);
52 void _sub_sp(Operand *Adjustment);
DIceTargetLoweringX8664.h52 void _add_sp(Operand *Adjustment);
55 void _sub_sp(Operand *Adjustment);
DIceTargetLoweringX8632.cpp155 void TargetX8632::_add_sp(Operand *Adjustment) { in _add_sp() argument
157 _add(esp, Adjustment); in _add_sp()
204 void TargetX8632::_sub_sp(Operand *Adjustment) { in _sub_sp() argument
206 _sub(esp, Adjustment); in _sub_sp()
DIceTargetLoweringX8664.cpp142 void TargetX8664::_add_sp(Operand *Adjustment) { in _add_sp() argument
146 _add(rsp, Adjustment); in _add_sp()
179 _add(esp, Adjustment); in _add_sp()
522 void TargetX8664::_sub_sp(Operand *Adjustment) { in _sub_sp() argument
538 _sub(esp, Adjustment); in _sub_sp()
542 _sub(rsp, Adjustment); in _sub_sp()
/external/llvm-project/llvm/include/llvm/Demangle/
DMicrosoftDemangle.h80 size_t Adjustment = AlignedP - P; in allocArray() local
82 Head->Used += Size + Adjustment; in allocArray()
99 size_t Adjustment = AlignedP - P; in alloc() local
101 Head->Used += Size + Adjustment; in alloc()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
DMicrosoftDemangle.h80 size_t Adjustment = AlignedP - P; in allocArray() local
82 Head->Used += Size + Adjustment; in allocArray()
99 size_t Adjustment = AlignedP - P; in alloc() local
101 Head->Used += Size + Adjustment; in alloc()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DAllocator.h218 size_t Adjustment = alignmentAdjustment(CurPtr, Alignment); in Allocate() local
219 assert(Adjustment + Size >= Size && "Adjustment + Size must not overflow"); in Allocate()
222 if (Adjustment + Size <= size_t(End - CurPtr)) { in Allocate()
223 char *AlignedPtr = CurPtr + Adjustment; in Allocate()
/external/arm-trusted-firmware/
D.editorconfig57 # Adjustment for ReStructuredText (RST) documentation
63 # Adjustment for python which prefers a different style
/external/clang/lib/AST/
DMicrosoftMangle.cpp2487 const ThisAdjustment &Adjustment, in mangleThunkThisAdjustment() argument
2490 if (!Adjustment.Virtual.isEmpty()) { in mangleThunkThisAdjustment()
2505 if (Adjustment.Virtual.Microsoft.VBPtrOffset) { in mangleThunkThisAdjustment()
2508 static_cast<uint32_t>(Adjustment.Virtual.Microsoft.VBPtrOffset)); in mangleThunkThisAdjustment()
2510 static_cast<uint32_t>(Adjustment.Virtual.Microsoft.VBOffsetOffset)); in mangleThunkThisAdjustment()
2512 static_cast<uint32_t>(Adjustment.Virtual.Microsoft.VtordispOffset)); in mangleThunkThisAdjustment()
2513 Mangler.mangleNumber(static_cast<uint32_t>(Adjustment.NonVirtual)); in mangleThunkThisAdjustment()
2517 static_cast<uint32_t>(Adjustment.Virtual.Microsoft.VtordispOffset)); in mangleThunkThisAdjustment()
2518 Mangler.mangleNumber(-static_cast<uint32_t>(Adjustment.NonVirtual)); in mangleThunkThisAdjustment()
2520 } else if (Adjustment.NonVirtual != 0) { in mangleThunkThisAdjustment()
[all …]

1234