Home
last modified time | relevance | path

Searched refs:Pos (Results 1 - 25 of 231) sorted by relevance

12345678910

/third_party/json/tests/thirdparty/Fuzzer/
H A DFuzzerIOWindows.cpp164 size_t Pos = Offset; in ParseFileName() local
166 for(; Pos < End && !IsSeparator(FileName[Pos]); ++Pos) in ParseFileName()
168 return Pos - Offset; in ParseFileName()
174 size_t Pos = Offset; in ParseDir() local
176 if (Pos >= End || IsSeparator(FileName[Pos])) in ParseDir()
178 for(; Pos < End && !IsSeparator(FileName[Pos]); in ParseDir()
190 size_t Pos = Offset, Res; ParseServerAndShare() local
215 size_t Pos = 0, Res; ParseLocation() local
[all...]
H A DFuzzerUtil.cpp98 for (size_t Pos = L; Pos <= R; Pos++) { in ParseOneDictionaryEntry()
99 uint8_t V = (uint8_t)Str[Pos]; in ParseOneDictionaryEntry()
103 if (Pos + 1 <= R && (Str[Pos + 1] == '\\' || Str[Pos + 1] == '"')) { in ParseOneDictionaryEntry()
104 U->push_back(Str[Pos + 1]); in ParseOneDictionaryEntry()
105 Pos++; in ParseOneDictionaryEntry()
109 if (Pos in ParseOneDictionaryEntry()
139 size_t Pos = 0; ParseDictionaryFile() local
[all...]
H A DFuzzerTraceState.cpp26 // For now, very simple: put Size bytes of Data at position Pos.
28 uint32_t Pos; member
90 MD.AddWordToAutoDictionary({M.W, M.Pos}); in StopTraceRecording()
96 void AddMutation(uint32_t Pos, uint32_t Size, const uint8_t *Data) { in AddMutation() argument
99 M.Pos = Pos; in AddMutation()
103 void AddMutation(uint32_t Pos, uint32_t Size, uint64_t Data) { in AddMutation() argument
105 AddMutation(Pos, Size, reinterpret_cast<uint8_t*>(&Data)); in AddMutation()
163 size_t Pos = Cur - Beg; in TryToAddDesiredData() local
164 assert(Pos < UnitSiz in TryToAddDesiredData()
187 size_t Pos = Cur - Beg; global() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
H A DWholeProgramDevirt.h45 std::pair<uint8_t *, uint8_t *> getPtrToData(uint64_t Pos, uint8_t Size) { in getPtrToData()
46 if (Bytes.size() < Pos + Size) { in getPtrToData()
47 Bytes.resize(Pos + Size); in getPtrToData()
48 BytesUsed.resize(Pos + Size); in getPtrToData()
50 return std::make_pair(Bytes.data() + Pos, BytesUsed.data() + Pos); in getPtrToData()
53 // Set little-endian value Val with size Size at bit position Pos,
55 void setLE(uint64_t Pos, uint64_t Val, uint8_t Size) { in setLE()
56 assert(Pos % 8 == 0); in setLE()
57 auto DataUsed = getPtrToData(Pos / in setLE()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DLineIterator.cpp53 const char *Pos = CurrentLine.end(); in advance() local
54 assert(Pos == Buffer->getBufferStart() || isAtLineEnd(Pos) || *Pos == '\0'); in advance()
56 if (skipIfAtLineEnd(Pos)) in advance()
58 if (!SkipBlanks && isAtLineEnd(Pos)) { in advance()
62 while (skipIfAtLineEnd(Pos)) in advance()
67 if (isAtLineEnd(Pos) && !SkipBlanks) in advance()
69 if (*Pos == CommentMarker) in advance()
71 ++Pos; in advance()
[all...]
H A DFileUtilities.cpp55 static const char *BackupNumber(const char *Pos, const char *FirstChar) { in BackupNumber() argument
57 if (!isNumberChar(*Pos)) return Pos; in BackupNumber()
61 while (Pos > FirstChar && isNumberChar(Pos[-1])) { in BackupNumber()
63 if (Pos[-1] == '.') { in BackupNumber()
69 --Pos; in BackupNumber()
70 if (Pos > FirstChar && isSignedChar(Pos[0]) && !isExponentChar(Pos[ in BackupNumber()
79 EndOfNumber(const char *Pos) EndOfNumber() argument
[all...]
H A DFoldingSet.cpp92 unsigned Pos = 0; in AddString() local
98 Pos = (Units + 1) * 4; in AddString()
106 for (Pos += 4; Pos <= Size; Pos += 4) { in AddString()
107 unsigned V = ((unsigned char)String[Pos - 4] << 24) | in AddString()
108 ((unsigned char)String[Pos - 3] << 16) | in AddString()
109 ((unsigned char)String[Pos - 2] << 8) | in AddString()
110 (unsigned char)String[Pos - 1]; in AddString()
114 for (Pos in AddString()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DAllocationOrder.h32 int Pos; member in llvm::AllocationOrder
55 if (Pos < 0) in next()
56 return Hints.end()[Pos++]; in next()
61 while (Pos < int(Limit)) { in next()
62 unsigned Reg = Order[Pos++]; in next()
74 if (Pos < 0) in nextWithDups()
75 return Hints.end()[Pos++]; in nextWithDups()
78 if (Pos < int(Limit)) in nextWithDups()
79 return Order[Pos++]; in nextWithDups()
84 void rewind() { Pos
[all...]
H A DRenameIndependentSubregs.cpp189 SlotIndex Pos = LIS->getInstructionIndex(*MO.getParent()); in findComponents() local
190 Pos = MO.isDef() ? Pos.getRegSlot(MO.isEarlyClobber()) in findComponents()
191 : Pos.getBaseIndex(); in findComponents()
192 const VNInfo *VNI = SR.getVNInfoAt(Pos); in findComponents()
223 SlotIndex Pos = LIS->getInstructionIndex(*MI); in rewriteOperands() local
224 Pos = MO.isDef() ? Pos.getRegSlot(MO.isEarlyClobber()) in rewriteOperands()
225 : Pos.getBaseIndex(); in rewriteOperands()
234 const VNInfo *VNI = SR.getVNInfoAt(Pos); in rewriteOperands()
291 subRangeLiveAt(const LiveInterval &LI, SlotIndex Pos) subRangeLiveAt() argument
355 SlotIndex Pos = LIS->getInstructionIndex(*MO.getParent()); computeMainRangesFixFlags() local
360 SlotIndex Pos = LIS->getInstructionIndex(*MO.getParent()).getDeadSlot(); computeMainRangesFixFlags() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
H A DMipsBranchExpansion.cpp161 MachineBasicBlock::iterator Pos, DebugLoc DL);
366 MachineBasicBlock::iterator Pos, in buildProperJumpMI()
387 BuildMI(*MBB, Pos, DL, TII->get(JumpOp)).addReg(ATReg); in buildProperJumpMI()
400 MachineBasicBlock::iterator Pos; in expandToLongBranch() local
454 Pos = LongBrMBB->begin(); in expandToLongBranch()
456 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::ADDiu), Mips::SP) in expandToLongBranch()
459 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::SW)) in expandToLongBranch()
480 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::LONG_BRANCH_LUi), Mips::AT) in expandToLongBranch()
492 LongBrMBB->insert(Pos, ADDiuInstr); in expandToLongBranch()
493 LongBrMBB->insert(Pos, BalInst in expandToLongBranch()
365 buildProperJumpMI(MachineBasicBlock *MBB, MachineBasicBlock::iterator Pos, DebugLoc DL) buildProperJumpMI() argument
[all...]
/third_party/python/Lib/tomllib/
H A D_parser.py20 from ._types import Key, ParseFloat, Pos namespace
232 def skip_chars(src: str, pos: Pos, chars: Iterable[str]) -> Pos:
243 pos: Pos,
248 ) -> Pos:
263 def skip_comment(src: str, pos: Pos) -> Pos:
275 def skip_comments_and_array_ws(src: str, pos: Pos) -> Pos:
284 def create_dict_rule(src: str, pos: Pos, ou
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
H A DStringTableBuilder.cpp79 // Returns the character at Pos from end of a string.
80 static int charTailAt(StringPair *P, size_t Pos) { in charTailAt() argument
82 if (Pos >= S.size()) in charTailAt()
84 return (unsigned char)S[S.size() - Pos - 1]; in charTailAt()
89 static void multikeySort(MutableArrayRef<StringPair *> Vec, int Pos) { in multikeySort() argument
97 int Pivot = charTailAt(Vec[0], Pos); in multikeySort()
101 int C = charTailAt(Vec[K], Pos); in multikeySort()
110 multikeySort(Vec.slice(0, I), Pos); in multikeySort()
111 multikeySort(Vec.slice(J), Pos); in multikeySort()
113 // multikeySort(Vec.slice(I, J - I), Pos in multikeySort()
147 size_t Pos = Size - S.size() - (K != RAW); finalizeStringTable() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
H A DTableGenBackend.cpp23 size_t Pos = (size_t)OS.tell(); in printLine() local
27 for (size_t i = (size_t)OS.tell() - Pos, e = MAX_LINE_LEN - Suffix.size(); in printLine()
40 size_t Pos = 0U; in emitSourceFileHeader()
42 size_t Length = std::min(Desc.size() - Pos, MAX_LINE_LEN - PSLen); in emitSourceFileHeader()
43 printLine(OS, Prefix + Desc.substr(Pos, Length), ' ', Suffix); in emitSourceFileHeader()
44 Pos += Length; in emitSourceFileHeader()
45 } while (Pos < Desc.size()); in emitSourceFileHeader()
/third_party/node/deps/v8/third_party/zlib/contrib/optimizations/
H A Dinsert_string.h51 local INLINE Pos insert_string_simd(deflate_state* const s, const Pos str) { in insert_string_simd()
52 Pos ret; in insert_string_simd()
94 local INLINE Pos insert_string_c(deflate_state* const s, const Pos str) { in insert_string_c()
95 Pos ret; in insert_string_c()
108 local INLINE Pos insert_string(deflate_state* const s, const Pos str) { in insert_string()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LineEditor/
H A DLineEditor.h102 /// \param Pos The zero-based cursor position in the StringRef
103 CompletionAction getCompletionAction(StringRef Buffer, size_t Pos) const;
118 virtual CompletionAction complete(StringRef Buffer, size_t Pos) const = 0;
123 CompletionAction complete(StringRef Buffer, size_t Pos) const override;
126 size_t Pos) const = 0;
132 CompletionAction complete(StringRef Buffer, size_t Pos) const override {
133 return Value(Buffer, Pos);
142 size_t Pos) const override {
143 return Value(Buffer, Pos);
/third_party/skia/third_party/externals/zlib/contrib/optimizations/
H A Dinsert_string.h51 local INLINE Pos insert_string_simd(deflate_state* const s, const Pos str) { in insert_string_simd()
52 Pos ret; in insert_string_simd()
94 local INLINE Pos insert_string_c(deflate_state* const s, const Pos str) { in insert_string_c()
95 Pos ret; in insert_string_c()
108 local INLINE Pos insert_string(deflate_state* const s, const Pos str) { in insert_string()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
H A DIceBitVector.h194 template <SizeT Pos>
195 typename std::enable_if<Pos == BitsElements, int>::type find_first() const {
199 template <SizeT Pos>
201 Pos<BitsElements, int>::type find_first() const {
202 if (Bits[Pos] != 0) {
203 return NumBitsPerPos * Pos + llvm::countTrailingZeros(Bits[Pos]);
205 return find_first<Pos + 1>();
208 template <SizeT Pos>
209 typename std::enable_if<Pos
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DMapVector.h113 typename MapType::const_iterator Pos = Map.find(Key); in lookup() local
114 return Pos == Map.end()? ValueT() : Vector[Pos->second].second; in lookup()
143 typename MapType::const_iterator Pos = Map.find(Key); in count() local
144 return Pos == Map.end()? 0 : 1; in count()
148 typename MapType::const_iterator Pos = Map.find(Key); in find() local
149 return Pos == Map.end()? Vector.end() : in find()
150 (Vector.begin() + Pos->second); in find()
154 typename MapType::const_iterator Pos = Map.find(Key); in find() local
155 return Pos in find()
161 typename MapType::iterator Pos = Map.find(Vector.back().first); pop_back() local
[all...]
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/span/
H A Dtoken.go22 // Range represents a source code range in token.Pos form.
27 Start token.Pos
28 End token.Pos
41 func NewRange(fset *token.FileSet, start, end token.Pos) Range {
98 func offset(f *token.File, pos token.Pos) (int, error) {
122 Start: converter.file.Pos(s.Start().Offset()),
123 End: converter.file.Pos(s.End().Offset()),
131 pos := l.file.Pos(offset)
159 pos += token.Pos(col - 1)
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/span/
H A Dtoken.go22 // Range represents a source code range in token.Pos form.
27 Start token.Pos
28 End token.Pos
41 func NewRange(fset *token.FileSet, start, end token.Pos) Range {
98 func offset(f *token.File, pos token.Pos) (int, error) {
122 Start: converter.file.Pos(s.Start().Offset()),
123 End: converter.file.Pos(s.End().Offset()),
131 pos := l.file.Pos(offset)
159 pos += token.Pos(col - 1)
/third_party/spirv-tools/utils/vscode/src/lsp/span/
H A Dtoken.go22 // Range represents a source code range in token.Pos form.
27 Start token.Pos
28 End token.Pos
41 func NewRange(fset *token.FileSet, start, end token.Pos) Range {
98 func offset(f *token.File, pos token.Pos) (int, error) {
122 Start: converter.file.Pos(s.Start().Offset()),
123 End: converter.file.Pos(s.End().Offset()),
131 pos := l.file.Pos(offset)
159 pos += token.Pos(col - 1)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Demangle/
H A DDemangle.cpp17 size_t Pos = MangledName.find_first_not_of('_'); in isItaniumEncoding() local
19 return Pos > 0 && Pos <= 4 && MangledName[Pos] == 'Z'; in isItaniumEncoding()
/third_party/typescript/tests/baselines/reference/
H A DramdaToolsNoInfinite.js49 type Pos<I extends any[]> =
62 Pos<I> extends Index
68 0: Reverse<T, Prepend<T[Pos<I>], R>, Next<I>>;
71 Pos<I> extends Length<T>
91 T1[Tools.Pos<I>] extends R.Placeholder
92 ? Tools.Append<T2[Tools.Pos<I>], TN>
97 1: Tools.Concat<TN, Tools.Drop<Tools.Pos<I>, T2> extends infer D ? Tools.Cast<D, any[]> : never>;
100 Tools.Pos<I> extends Tools.Length<T1>
/third_party/lzma/CS/7zip/Compress/LzmaAlone/
H A DLzmaBench.cs64 UInt32 Pos; field in SevenZip.LzmaBench.CBenchRandomGenerator
75 Pos = 0; in Set()
96 while (Pos < BufferSize) in Generate()
98 if (GetRndBit() == 0 || Pos < 1) in Generate()
99 Buffer[Pos++] = (Byte)RG.GetRnd(8); in Generate()
109 while (Rep0 >= Pos); in Generate()
113 for (UInt32 i = 0; i < len && Pos < BufferSize; i++, Pos++) in Generate()
114 Buffer[Pos] = Buffer[Pos in Generate()
[all...]
/third_party/lzma/Java/SevenZip/
H A DLzmaBench.java59 int Pos; field in LzmaBench.CBenchRandomGenerator
69 Pos = 0; in Set()
90 while (Pos < BufferSize) in Generate()
92 if (GetRndBit() == 0 || Pos < 1) in Generate()
93 Buffer[Pos++] = (byte)(RG.GetRnd(8)); in Generate()
103 while (Rep0 >= Pos); in Generate()
107 for (int i = 0; i < len && Pos < BufferSize; i++, Pos++) in Generate()
108 Buffer[Pos] = Buffer[Pos in Generate()
[all...]

Completed in 11 milliseconds

12345678910