reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

examples/ParallelJIT/ParallelJIT.cpp
  196   void releaseThreads( size_t num )
  235   size_t n;
  236   size_t waitFor;
gen/include/llvm/IR/IntrinsicImpl.inc
   21   size_t Offset;
   22   size_t Count;
gen/lib/Target/AArch64/AArch64GenGlobalISel.inc
  143 const static size_t NumTypeObjects = 15;
gen/lib/Target/AArch64/AArch64GenSystemOperands.inc
 1508   size_t Idx = Enum;
 4966   size_t Idx = Encoding;
gen/lib/Target/AMDGPU/AMDGPUGenGlobalISel.inc
  206 const static size_t NumTypeObjects = 21;
gen/lib/Target/AMDGPU/AMDGPUGenSearchableTables.inc
  708   size_t Idx = BaseOpcode;
  733   size_t Idx = Dim;
  789   size_t Idx = Encoding;
gen/lib/Target/ARM/ARMGenGlobalISel.inc
  278 const static size_t NumTypeObjects = 15;
gen/lib/Target/Mips/MipsGenGlobalISel.inc
  194 const static size_t NumTypeObjects = 9;
gen/lib/Target/RISCV/RISCVGenGlobalISel.inc
   73 const static size_t NumTypeObjects = 2;
gen/lib/Target/X86/X86GenGlobalISel.inc
  420 const static size_t NumTypeObjects = 25;
gen/projects/openmp/runtime/src/omp-tools.h
  471   size_t *bytes
  477   size_t bytes,
  575   size_t *size,
  636   size_t size,
  910   size_t bytes,
  929   size_t bytes,
  940   size_t bytes;
  968   size_t *bytes,
  978   size_t *bytes;
gen/projects/openmp/runtime/src/omp.h
  142     extern void* __KAI_KMPC_CONVENTION  omp_target_alloc(size_t, int);
  145     extern int   __KAI_KMPC_CONVENTION  omp_target_memcpy(void *, void *, size_t, size_t, size_t, int, int);
  145     extern int   __KAI_KMPC_CONVENTION  omp_target_memcpy(void *, void *, size_t, size_t, size_t, int, int);
  145     extern int   __KAI_KMPC_CONVENTION  omp_target_memcpy(void *, void *, size_t, size_t, size_t, int, int);
  146     extern int   __KAI_KMPC_CONVENTION  omp_target_memcpy_rect(void *, void *, size_t, int, const size_t *,
  146     extern int   __KAI_KMPC_CONVENTION  omp_target_memcpy_rect(void *, void *, size_t, int, const size_t *,
  147                                             const size_t *, const size_t *, const size_t *, const size_t *, int, int);
  147                                             const size_t *, const size_t *, const size_t *, const size_t *, int, int);
  147                                             const size_t *, const size_t *, const size_t *, const size_t *, int, int);
  147                                             const size_t *, const size_t *, const size_t *, const size_t *, int, int);
  148     extern int   __KAI_KMPC_CONVENTION  omp_target_associate_ptr(void *, void *, size_t, size_t, int);
  148     extern int   __KAI_KMPC_CONVENTION  omp_target_associate_ptr(void *, void *, size_t, size_t, int);
  158     extern size_t __KAI_KMPC_CONVENTION  kmp_get_stacksize_s        (void);
  159     extern void   __KAI_KMPC_CONVENTION  kmp_set_stacksize_s        (size_t);
  201     extern void * __KAI_KMPC_CONVENTION  kmp_malloc  (size_t);
  202     extern void * __KAI_KMPC_CONVENTION  kmp_aligned_malloc  (size_t, size_t);
  202     extern void * __KAI_KMPC_CONVENTION  kmp_aligned_malloc  (size_t, size_t);
  203     extern void * __KAI_KMPC_CONVENTION  kmp_calloc  (size_t, size_t);
  203     extern void * __KAI_KMPC_CONVENTION  kmp_calloc  (size_t, size_t);
  204     extern void * __KAI_KMPC_CONVENTION  kmp_realloc (void *, size_t);
  325     extern void *__KAI_KMPC_CONVENTION omp_alloc(size_t size, omp_allocator_handle_t a = omp_null_allocator);
  334     extern size_t __KAI_KMPC_CONVENTION omp_get_affinity_format(char *, size_t);
  334     extern size_t __KAI_KMPC_CONVENTION omp_get_affinity_format(char *, size_t);
  336     extern size_t __KAI_KMPC_CONVENTION omp_capture_affinity(char *, size_t, char const *);
  336     extern size_t __KAI_KMPC_CONVENTION omp_capture_affinity(char *, size_t, char const *);
gen/tools/clang/include/clang/AST/Attrs.inc
  475     for (size_t I = 0, E = tags_Size; I != E;
 7926     for (size_t I = 0, E = sanitizers_Size; I != E;
 8941     for (size_t I = 0, E = implVendors_Size; I != E;
13364     for (size_t I = 0, E = diagnosticIdentifiers_Size; I != E;
gen/tools/lldb/scripts/LLDBWrapPython.cpp
  384   size_t                 size;		        /* Number of types in this module */
  583       size_t l = 0;
  584       size_t r = iter->size - 1;
  587 	size_t i = (l + r) >> 1;
  634       size_t i = 0;
  651 SWIG_PackData(char *c, void *ptr, size_t sz) {
  667 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
  695 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
  719 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
  719 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
  721   size_t lname = (name ? strlen(name) : 0);
  734 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
 2041   size_t size;
 2083   size_t i = v->size;
 2084   size_t j = w->size;
 2208 SwigPyPacked_New(void *ptr, size_t size, swig_type_info *ty)
 2227 SwigPyPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
 2485 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
 2677 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
 2755   size_t i;
 3581 SWIG_FromCharPtrAndSize(const char* carray, size_t size)
 3813                 size_t desc_len = description.GetSize();
 3820 SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
 4011                 size_t desc_len = description.GetSize();
 4029 SWIG_From_size_t  (size_t value)
 4032   if (sizeof(size_t) <= sizeof(unsigned long)) {
 4047                 size_t desc_len = description.GetSize();
 4054 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
 4058   if (sizeof(size_t) <= sizeof(unsigned long)) {
 4064   } else if (sizeof(size_t) <= sizeof(unsigned long long)) {
 4077                 size_t desc_len = description.GetSize();
 4086                 size_t desc_len = description.GetSize();
 4093 SWIG_AsCharArray(PyObject * obj, char *val, size_t size)
 4095   char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
 4148                 size_t desc_len = description.GetSize();
 4162                 size_t desc_len = description.GetSize();
 4235                 size_t desc_len = description.GetSize();
 4253                 size_t desc_len = description.GetSize();
 4262                 size_t desc_len = description.GetSize();
 4271                 size_t desc_len = description.GetSize();
 4280                 size_t desc_len = description.GetSize();
 4298                 size_t desc_len = description.GetSize();
 4307                 size_t desc_len = description.GetSize();
 4316                 size_t desc_len = description.GetSize();
 4325                 size_t desc_len = description.GetSize();
 4334                 size_t desc_len = description.GetSize();
 4343                 size_t desc_len = description.GetSize();
 4352                 size_t desc_len = description.GetSize();
 4361                 size_t desc_len = description.GetSize();
 4370                 size_t desc_len = description.GetSize();
 4379                 size_t desc_len = description.GetSize();
 4388                 size_t desc_len = description.GetSize();
 4408                 size_t desc_len = description.GetSize();
 4417                 size_t desc_len = description.GetSize();
 4426                 size_t desc_len = description.GetSize();
 4477                 size_t desc_len = description.GetSize();
 4486                 size_t desc_len = description.GetSize();
 4495                 size_t desc_len = description.GetSize();
 4504                 size_t desc_len = description.GetSize();
 4513                 size_t desc_len = description.GetSize();
 4522                 size_t desc_len = description.GetSize();
 4531                 size_t desc_len = description.GetSize();
 4540                 size_t desc_len = description.GetSize();
 4549                 size_t desc_len = description.GetSize();
 4558                 size_t desc_len = description.GetSize();
 4567                 size_t desc_len = description.GetSize();
 4576                 size_t desc_len = description.GetSize();
 4585                 size_t desc_len = description.GetSize();
 4592                 const size_t n = self->GetSize();
 4595                     for (size_t i=0; i<n; ++i)
 4603                 size_t desc_len = description.GetSize();
 4612                 size_t desc_len = description.GetSize();
 9044   size_t result;
 9070   size_t result;
 9538   size_t result;
 9561   size_t arg2 ;
 9564   size_t val2 ;
15282   size_t result;
15308   size_t result;
15500   size_t result;
15543   size_t result;
15584   size_t result;
15677   size_t result;
17197   size_t arg3 ;
17203   size_t val3 ;
17214   size_t result;
17260   size_t arg3 ;
17265   size_t val3 ;
17273   size_t result;
18514   size_t result;
19258   size_t arg5 ;
19269   size_t result;
19333   size_t arg4 ;
19497   size_t arg4 ;
19569   size_t arg4 ;
19641   size_t arg4 ;
19713   size_t arg4 ;
19785   size_t arg4 ;
19894   size_t arg3 ;
19957   size_t arg3 ;
20020   size_t arg3 ;
20083   size_t arg3 ;
20146   size_t arg3 ;
22698   size_t arg2 ;
22702   size_t val2 ;
23064   size_t arg3 ;
28925   size_t arg3 ;
28931   size_t val3 ;
28972   size_t arg3 ;
28979   size_t val3 ;
29395   size_t arg3 ;
29396   size_t *arg4 = (size_t *) 0 ;
29399   size_t temp4 ;
29448   size_t arg3 ;
29449   size_t *arg4 = (size_t *) 0 ;
29452   size_t temp4 ;
33692   size_t result;
34288   size_t result;
34361   size_t result;
39301   size_t result;
39324   size_t arg2 ;
39327   size_t val2 ;
39640   size_t result;
39663   size_t arg2 ;
39666   size_t val2 ;
40966   size_t result;
40990   size_t arg3 ;
40995   size_t val3 ;
41434   size_t result;
41457   size_t arg2 ;
41460   size_t val2 ;
43702   size_t arg3 ;
43707   size_t result;
43752   size_t arg3 ;
43757   size_t result;
43806   size_t arg3 ;
43811   size_t result;
43860   size_t arg3 ;
43865   size_t result;
44371   size_t arg2 ;
44374   size_t val2 ;
45211   size_t arg4 ;
45223   size_t result;
45287   size_t arg4 ;
45299   size_t result;
45358   size_t arg4 ;
45370   size_t result;
45595   size_t result;
45621   size_t arg2 ;
45624   size_t val2 ;
48031   size_t result;
48054   size_t arg2 ;
48057   size_t val2 ;
48656   size_t result;
48749   size_t result;
48945   size_t result;
49783   size_t arg2 ;
49786   size_t val2 ;
50098   size_t result;
50197   size_t arg2 ;
50200   size_t val2 ;
50554   size_t arg3 ;
50559   size_t result;
55411   size_t arg4 ;
55423   size_t result;
58665   size_t arg3 ;
58673   size_t val3 ;
59140   size_t arg4 ;
59208   size_t arg5 ;
60204   size_t result;
60336   size_t arg3 ;
60341   size_t result;
63126   size_t result;
63149   size_t arg2 ;
63152   size_t val2 ;
63560   size_t result;
64295   size_t arg4 ;
64296   size_t arg5 ;
64302   size_t val5 ;
64309   size_t result;
64385   size_t arg4 ;
64386   size_t arg5 ;
64392   size_t val5 ;
64399   size_t result;
73685   size_t result;
78587   size_t result;
79800     size_t init_num_args = pfunc.GetNumInitArguments().count;
79992 SWIGEXPORT size_t
80025     size_t ret_val = int_result.GetInteger();
85465   size_t i;
85612   size_t i;
85857       size_t size = strlen(name)+1;
85884     size_t i;
85913     size_t i;
85932             size_t shift = (ci->ptype) - types;
85934             size_t ldoc = (c - methods[i].ml_doc);
85935             size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
include/llvm-c/Core.h
  583 unsigned LLVMGetEnumAttributeKindForName(const char *Name, size_t SLen);
  680 const char *LLVMGetModuleIdentifier(LLVMModuleRef M, size_t *Len);
  690 void LLVMSetModuleIdentifier(LLVMModuleRef M, const char *Ident, size_t Len);
  700 const char *LLVMGetSourceFileName(LLVMModuleRef M, size_t *Len);
  711 void LLVMSetSourceFileName(LLVMModuleRef M, const char *Name, size_t Len);
  753 LLVMModuleFlagEntry *LLVMCopyModuleFlagsMetadata(LLVMModuleRef M, size_t *Len);
  775                                         unsigned Index, size_t *Len);
  792                                   const char *Key, size_t KeyLen);
  801                        const char *Key, size_t KeyLen,
  833 const char *LLVMGetModuleInlineAsm(LLVMModuleRef M, size_t *Len);
  840 void LLVMSetModuleInlineAsm2(LLVMModuleRef M, const char *Asm, size_t Len);
  847 void LLVMAppendModuleInlineAsm(LLVMModuleRef M, const char *Asm, size_t Len);
  855                               char *AsmString, size_t AsmStringSize,
  856                               char *Constraints, size_t ConstraintsSize,
  909                                         const char *Name, size_t NameLen);
  919                                                 size_t NameLen);
  927                                      size_t *NameLen);
 1636 const char *LLVMGetValueName2(LLVMValueRef Val, size_t *Length);
 1643 void LLVMSetValueName2(LLVMValueRef Val, const char *Name, size_t NameLen);
 1993 const char *LLVMGetAsString(LLVMValueRef c, size_t *Length);
 2251                                                   size_t *NumEntries);
 2330                                      const char *Name, size_t NameLen);
 2420 unsigned LLVMLookupIntrinsicID(const char *Name, size_t NameLen);
 2438                                          size_t ParamCount);
 2447                                  LLVMTypeRef *ParamTypes, size_t ParamCount);
 2454 const char *LLVMIntrinsicGetName(unsigned ID, size_t *NameLength);
 2467                                             size_t ParamCount,
 2468                                             size_t *NameLength);
 2649                                 const char *Name, size_t NameLen,
 2661                                      const char *Name, size_t NameLen);
 2756                                        size_t SLen);
 2764                                      size_t Count);
 3085                                                size_t *NumEntries);
 3977                                                           size_t InputDataLength,
 3981                                                               size_t InputDataLength,
 3984 size_t LLVMGetBufferSize(LLVMMemoryBufferRef MemBuf);
include/llvm-c/DebugInfo.h
  257     LLVMMetadataRef FileRef, const char *Producer, size_t ProducerLen,
  258     LLVMBool isOptimized, const char *Flags, size_t FlagsLen,
  259     unsigned RuntimeVer, const char *SplitName, size_t SplitNameLen,
  273                         size_t FilenameLen, const char *Directory,
  274                         size_t DirectoryLen);
  292                           const char *Name, size_t NameLen,
  293                           const char *ConfigMacros, size_t ConfigMacrosLen,
  294                           const char *IncludePath, size_t IncludePathLen,
  295                           const char *ISysRoot, size_t ISysRootLen);
  309                              const char *Name, size_t NameLen,
  332     size_t NameLen, const char *LinkageName, size_t LinkageNameLen,
  332     size_t NameLen, const char *LinkageName, size_t LinkageNameLen,
  426                                        const char *Name, size_t NameLen);
  518                                                   size_t NumElements);
  552                                          const char *Name, size_t NameLen,
  553                                          const char *Value, size_t ValueLen);
  578                                               const char *Name, size_t NameLen,
  598     size_t NameLen, LLVMMetadataRef File, unsigned LineNumber,
  621     size_t NameLen, LLVMMetadataRef File, unsigned LineNumber,
  624     const char *UniqueId, size_t UniqueIdLen);
  665                                    size_t NameLen);
  679                              size_t NameLen, uint64_t SizeInBits,
  696     const char *Name, size_t NameLen);
  718     size_t NameLen, LLVMMetadataRef File, unsigned LineNumber,
  722     const char *UniqueId, size_t UniqueIdLen);
  740     size_t NameLen, LLVMMetadataRef File, unsigned LineNo,
  761     size_t NameLen, LLVMMetadataRef File, unsigned LineNumber,
  797                             const char *Name, size_t NameLen,
  819                                 const char *Name, size_t NameLen,
  821                                 const char *GetterName, size_t GetterNameLen,
  822                                 const char *SetterName, size_t SetterNameLen,
  876                            const char *Name, size_t NameLen,
  914     size_t NameLen, LLVMMetadataRef Scope, LLVMMetadataRef File, unsigned Line,
  916     const char *UniqueIdentifier, size_t UniqueIdentifierLen);
  938     size_t NameLen, LLVMMetadataRef Scope, LLVMMetadataRef File, unsigned Line,
  941     size_t UniqueIdentifierLen);
  960                                       const char *Name, size_t NameLen,
  990     LLVMMetadataRef Scope, const char *Name, size_t NameLen,
  996     const char *UniqueIdentifier, size_t UniqueIdentifierLen);
 1014 const char *LLVMDITypeGetName(LLVMMetadataRef DType, size_t *Length);
 1074                                               size_t NumElements);
 1084                                               int64_t *Addr, size_t Length);
 1117     size_t NameLen, const char *Linkage, size_t LinkLen, LLVMMetadataRef File,
 1117     size_t NameLen, const char *Linkage, size_t LinkLen, LLVMMetadataRef File,
 1171                                     size_t NumElements);
 1209     size_t NameLen, const char *Linkage, size_t LnkLen, LLVMMetadataRef File,
 1209     size_t NameLen, const char *Linkage, size_t LnkLen, LLVMMetadataRef File,
 1290     size_t NameLen, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty,
 1308     size_t NameLen, unsigned ArgNo, LLVMMetadataRef File, unsigned LineNo,
include/llvm-c/Disassembler.h
  101 size_t LLVMDisasmInstruction(LLVMDisasmContextRef DC, uint8_t *Bytes,
  103                              char *OutString, size_t OutStringSize);
include/llvm-c/ExecutionEngine.h
   89   struct LLVMMCJITCompilerOptions *Options, size_t SizeOfOptions);
  110   struct LLVMMCJITCompilerOptions *Options, size_t SizeOfOptions,
include/llvm-c/Object.h
  118                                                         size_t ArchLen,
include/llvm-c/lto.h
  145 lto_module_has_objc_category(const void *mem, size_t length);
  153                                                       size_t length);
  161 lto_module_is_object_file_in_memory_for_target(const void* mem, size_t length,
  180 lto_module_create_from_memory(const void* mem, size_t length);
  189 lto_module_create_from_memory_with_path(const void* mem, size_t length,
  204 lto_module_create_in_local_context(const void *mem, size_t length,
  218 lto_module_create_in_codegen_context(const void *mem, size_t length,
  228 lto_module_create_from_fd(int fd, const char *path, size_t file_size);
  237 lto_module_create_from_fd_at_offset(int fd, const char *path, size_t file_size,
  238                                     size_t map_size, off_t offset);
  469 lto_codegen_compile(lto_code_gen_t cg, size_t* length);
  504 lto_codegen_compile_optimized(lto_code_gen_t cg, size_t* length);
  565                                     size_t buffer_size,
  592                                                     size_t index,
  593                                                     size_t *size);
  601 extern const char *const *lto_runtime_lib_symbols_list(size_t *size);
  618   size_t Size;
include/llvm/ADT/AllocatorList.h
  167   size_t size() { return List.size(); }
include/llvm/ADT/ArrayRef.h
   45     using size_type = size_t;
   70     /*implicit*/ ArrayRef(const T *data, size_t length)
  148     size_t size() const { return Length; }
  178     ArrayRef<T> slice(size_t N, size_t M) const {
  178     ArrayRef<T> slice(size_t N, size_t M) const {
  184     ArrayRef<T> slice(size_t N) const { return slice(N, size() - N); }
  187     ArrayRef<T> drop_front(size_t N = 1) const {
  193     ArrayRef<T> drop_back(size_t N = 1) const {
  211     ArrayRef<T> take_front(size_t N = 1) const {
  218     ArrayRef<T> take_back(size_t N = 1) const {
  239     const T &operator[](size_t Index) const {
  305     /*implicit*/ MutableArrayRef(T *data, size_t length)
  350     MutableArrayRef<T> slice(size_t N, size_t M) const {
  350     MutableArrayRef<T> slice(size_t N, size_t M) const {
  356     MutableArrayRef<T> slice(size_t N) const {
  361     MutableArrayRef<T> drop_front(size_t N = 1) const {
  366     MutableArrayRef<T> drop_back(size_t N = 1) const {
  386     MutableArrayRef<T> take_front(size_t N = 1) const {
  393     MutableArrayRef<T> take_back(size_t N = 1) const {
  416     T &operator[](size_t Index) const {
  426     OwningArrayRef(size_t Size) : MutableArrayRef<T>(new T[Size], Size) {}
  456   ArrayRef<T> makeArrayRef(const T *data, size_t length) {
  514   MutableArrayRef<T> makeMutableArrayRef(T *data, size_t length) {
include/llvm/ADT/BitVector.h
  139     size_t Capacity = NumBitWords(s);
  153     size_t Capacity = NumBitWords(RHS.size());
  605     for (size_t i = 0, e = NumBitWords(RHS.size()); i != e; ++i)
  613     for (size_t i = 0, e = NumBitWords(RHS.size()); i != e; ++i)
  846   MutableArrayRef<BitWord> allocate(size_t NumWords) {
  885     size_t NewCapacity = std::max<size_t>(NumBitWords(NewSize), Bits.size() * 2);
  885     size_t NewCapacity = std::max<size_t>(NumBitWords(NewSize), Bits.size() * 2);
  927   size_t getMemorySize() const { return Bits.size() * sizeof(BitWord); }
  928   size_t getBitCapacity() const { return Bits.size() * BITWORD_SIZE; }
  931 inline size_t capacity_in_bytes(const BitVector &X) {
include/llvm/ADT/DenseMap.h
  404       for (size_t i = 0; i < getNumBuckets(); ++i) {
  642   size_t getMemorySize() const {
 1269 inline size_t capacity_in_bytes(const DenseMap<KeyT, ValueT, KeyInfoT> &X) {
include/llvm/ADT/DenseSet.h
   76   size_t getMemorySize() const { return TheMap.getMemorySize(); }
   80   void resize(size_t Size) { TheMap.resize(Size); }
   84   void reserve(size_t Size) { TheMap.reserve(Size); }
include/llvm/ADT/DirectedGraph.h
  194   size_t size() const { return Nodes.size(); }
include/llvm/ADT/EquivalenceClasses.h
  261     using size_type = size_t;
include/llvm/ADT/FoldingSet.h
  279   size_t Size = 0;
  283   FoldingSetNodeIDRef(const unsigned *D, size_t S) : Data(D), Size(S) {}
  298   size_t getSize() const { return Size; }
include/llvm/ADT/FunctionExtras.h
   46   static constexpr size_t InlineStorageSize = sizeof(void *) * 3;
  106       size_t Size;
  107       size_t Alignment;
  144   size_t getOutOfLineStorageSize() const {
  147   size_t getOutOfLineStorageAlignment() const {
  151   void setOutOfLineStorage(void *Ptr, size_t Size, size_t Alignment) {
  151   void setOutOfLineStorage(void *Ptr, size_t Size, size_t Alignment) {
include/llvm/ADT/Hashing.h
   72   size_t value;
   80   hash_code(size_t value) : value(value) {}
   83   /*explicit*/ operator size_t() const { return value; }
   93   friend size_t hash_value(const hash_code &code) { return code.value; }
  169 inline uint64_t rotate(uint64_t val, size_t shift) {
  189 inline uint64_t hash_1to3_bytes(const char *s, size_t len, uint64_t seed) {
  198 inline uint64_t hash_4to8_bytes(const char *s, size_t len, uint64_t seed) {
  203 inline uint64_t hash_9to16_bytes(const char *s, size_t len, uint64_t seed) {
  209 inline uint64_t hash_17to32_bytes(const char *s, size_t len, uint64_t seed) {
  218 inline uint64_t hash_33to64_bytes(const char *s, size_t len, uint64_t seed) {
  241 inline uint64_t hash_short(const char *s, size_t length, uint64_t seed) {
  306   uint64_t finalize(size_t length) {
  371 typename std::enable_if<!is_hashable_data<T>::value, size_t>::type
  386                        size_t offset = 0) {
  387   size_t store_size = sizeof(value) - offset;
  414   size_t length = 64;
  450   const size_t length = std::distance(s_begin, s_end);
  514   char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
  520       size_t partial_store_size = buffer_end - buffer_ptr;
  553   hash_code combine(size_t length, char *buffer_ptr, char *buffer_end,
  566   hash_code combine(size_t length, char *buffer_ptr, char *buffer_end) {
include/llvm/ADT/MapVector.h
  180     size_t Index = Next - Vector.begin();
include/llvm/ADT/STLExtras.h
 1023 constexpr inline size_t array_lengthof(T (&)[N]) {
 1310   size_t range_size = size(Range);
 1375   size_t operator()(const std::pair<First, Second> &P) const {
 1436       : Result(std::numeric_limits<size_t>::max(), EndIter) {}
include/llvm/ADT/SmallBitVector.h
   99   void switchToSmall(uintptr_t NewSmallBits, size_t NewSize) {
  123   size_t getSmallSize() const { return getSmallRawBits() >> SmallNumDataBits; }
  125   void setSmallSize(size_t Size) {
  192   size_t size() const {
  339       for (size_t i = 0, e = getSmallSize(); i != e; ++i)
  349         size_t SmallSize = getSmallSize();
  351         for (size_t i = 0; i < SmallSize; ++i)
  494       for (size_t i = 0, e = size(); i != e; ++i) {
  515       size_t i, e;
  564       for (size_t i = 0, e = RHS.size(); i != e; ++i)
  577       for (size_t i = 0, e = RHS.size(); i != e; ++i)
include/llvm/ADT/SmallSet.h
  150   using size_type = size_t;
include/llvm/ADT/SmallString.h
   45   void assign(size_t NumElts, char Elt) {
   78   void append(size_t NumInputs, char Elt) {
  146   size_t find(char C, size_t From = 0) const {
  146   size_t find(char C, size_t From = 0) const {
  154   size_t find(StringRef Str, size_t From = 0) const {
  154   size_t find(StringRef Str, size_t From = 0) const {
  162   size_t rfind(char C, size_t From = StringRef::npos) const {
  162   size_t rfind(char C, size_t From = StringRef::npos) const {
  170   size_t rfind(StringRef Str) const {
  176   size_t find_first_of(char C, size_t From = 0) const {
  176   size_t find_first_of(char C, size_t From = 0) const {
  184   size_t find_first_of(StringRef Chars, size_t From = 0) const {
  184   size_t find_first_of(StringRef Chars, size_t From = 0) const {
  190   size_t find_first_not_of(char C, size_t From = 0) const {
  190   size_t find_first_not_of(char C, size_t From = 0) const {
  198   size_t find_first_not_of(StringRef Chars, size_t From = 0) const {
  198   size_t find_first_not_of(StringRef Chars, size_t From = 0) const {
  204   size_t find_last_of(char C, size_t From = StringRef::npos) const {
  204   size_t find_last_of(char C, size_t From = StringRef::npos) const {
  212   size_t find_last_of(
  213       StringRef Chars, size_t From = StringRef::npos) const {
  222   size_t count(char C) const {
  228   size_t count(StringRef Str) const {
  245   StringRef substr(size_t Start, size_t N = StringRef::npos) const {
  245   StringRef substr(size_t Start, size_t N = StringRef::npos) const {
  259   StringRef slice(size_t Start, size_t End) const {
  259   StringRef slice(size_t Start, size_t End) const {
include/llvm/ADT/SmallVector.h
   44   SmallVectorBase(void *FirstEl, size_t TotalCapacity)
   49   void grow_pod(void *FirstEl, size_t MinCapacity, size_t TSize);
   49   void grow_pod(void *FirstEl, size_t MinCapacity, size_t TSize);
   52   size_t size() const { return Size; }
   53   size_t capacity() const { return Capacity; }
   66   void set_size(size_t N) {
   94   SmallVectorTemplateCommon(size_t Size)
   97   void grow_pod(size_t MinCapacity, size_t TSize) {
   97   void grow_pod(size_t MinCapacity, size_t TSize) {
  112   using size_type = size_t;
  141   size_t capacity_in_bytes() const { return capacity() * sizeof(T); }
  181   SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
  208   void grow(size_t MinSize = 0);
  233 void SmallVectorTemplateBase<T, TriviallyCopyable>::grow(size_t MinSize) {
  238   size_t NewCapacity = size_t(NextPowerOf2(this->capacity() + 2));
  238   size_t NewCapacity = size_t(NextPowerOf2(this->capacity() + 2));
  261   SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
  299   void grow(size_t MinSize = 0) { this->grow_pod(MinSize, sizeof(T)); }
  477       size_t EltNo = I-this->begin();
  507       size_t EltNo = I-this->begin();
  528     size_t InsertElt = I - this->begin();
  548     if (size_t(this->end()-I) >= NumToInsert) {
  566     size_t NumOverwritten = OldEnd-I;
  583     size_t InsertElt = I - this->begin();
  593     size_t NumToInsert = std::distance(From, To);
  605     if (size_t(this->end()-I) >= NumToInsert) {
  623     size_t NumOverwritten = OldEnd-I;
  684   size_t NumShared = this->size();
  691     size_t EltDiff = this->size() - RHS.size();
  697     size_t EltDiff = RHS.size() - this->size();
  713   size_t RHSSize = RHS.size();
  714   size_t CurSize = this->size();
  772   size_t RHSSize = RHS.size();
  773   size_t CurSize = this->size();
  846   explicit SmallVector(size_t Size, const T &Value = T())
  906 inline size_t capacity_in_bytes(const SmallVector<T, N> &X) {
include/llvm/ADT/StringExtras.h
  144   size_t Length = Input.size();
  148   for (size_t i = 0; i < Length; ++i) {
  319   size_t Len = (std::distance(Begin, End) - 1) * Separator.size();
  348 inline size_t join_one_item_size(char) { return 1; }
  349 inline size_t join_one_item_size(const char *S) { return S ? ::strlen(S) : 0; }
  351 template <typename T> inline size_t join_one_item_size(const T &Str) {
  355 inline size_t join_items_size() { return 0; }
  357 template <typename A1> inline size_t join_items_size(const A1 &A) {
  361 inline size_t join_items_size(const A1 &A, Args &&... Items) {
  392   size_t NS = detail::join_one_item_size(Separator);
  393   size_t NI = detail::join_items_size(std::forward<Args>(Items)...);
include/llvm/ADT/StringMap.h
   39   size_t StrLen;
   42   explicit StringMapEntryBase(size_t Len) : StrLen(Len) {}
   44   size_t getKeyLength() const { return StrLen; }
  131   explicit StringMapEntryStorage(size_t strLen)
  134   StringMapEntryStorage(size_t strLen, InitTy &&... InitVals)
  147   explicit StringMapEntryStorage(size_t strLen, NoneType none = None)
  160   using StringMapEntryStorage<ValueTy>::StringMapEntryStorage;
  180     size_t KeyLength = Key.size();
  184     size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
  185     size_t Alignment = alignof(StringMapEntry);
  225     size_t AllocSize = sizeof(StringMapEntry) + this->getKeyLength() + 1;
  332   using size_type = size_t;
include/llvm/ADT/StringRef.h
   56     static const size_t npos = ~size_t(0);
   60     using size_type = size_t;
   67     size_t Length = 0;
   71     static int compareMemory(const char *Lhs, const char *Rhs, size_t Length) {
   77     static constexpr size_t strLen(const char *Str) {
  106     /*implicit*/ constexpr StringRef(const char *data, size_t length)
  150     size_t size() const { return Length; }
  248     char operator[](size_t Index) const {
  305     size_t find(char C, size_t From = 0) const {
  305     size_t find(char C, size_t From = 0) const {
  306       size_t FindBegin = std::min(From, Length);
  320     size_t find_lower(char C, size_t From = 0) const;
  320     size_t find_lower(char C, size_t From = 0) const;
  327     size_t find_if(function_ref<bool(char)> F, size_t From = 0) const {
  327     size_t find_if(function_ref<bool(char)> F, size_t From = 0) const {
  342     size_t find_if_not(function_ref<bool(char)> F, size_t From = 0) const {
  342     size_t find_if_not(function_ref<bool(char)> F, size_t From = 0) const {
  351     size_t find(StringRef Str, size_t From = 0) const;
  351     size_t find(StringRef Str, size_t From = 0) const;
  358     size_t find_lower(StringRef Str, size_t From = 0) const;
  358     size_t find_lower(StringRef Str, size_t From = 0) const;
  365     size_t rfind(char C, size_t From = npos) const {
  365     size_t rfind(char C, size_t From = npos) const {
  367       size_t i = From;
  381     size_t rfind_lower(char C, size_t From = npos) const;
  381     size_t rfind_lower(char C, size_t From = npos) const;
  388     size_t rfind(StringRef Str) const;
  395     size_t rfind_lower(StringRef Str) const;
  400     size_t find_first_of(char C, size_t From = 0) const {
  400     size_t find_first_of(char C, size_t From = 0) const {
  409     size_t find_first_of(StringRef Chars, size_t From = 0) const;
  409     size_t find_first_of(StringRef Chars, size_t From = 0) const;
  414     size_t find_first_not_of(char C, size_t From = 0) const;
  414     size_t find_first_not_of(char C, size_t From = 0) const;
  421     size_t find_first_not_of(StringRef Chars, size_t From = 0) const;
  421     size_t find_first_not_of(StringRef Chars, size_t From = 0) const;
  426     size_t find_last_of(char C, size_t From = npos) const {
  426     size_t find_last_of(char C, size_t From = npos) const {
  435     size_t find_last_of(StringRef Chars, size_t From = npos) const;
  435     size_t find_last_of(StringRef Chars, size_t From = npos) const;
  440     size_t find_last_not_of(char C, size_t From = npos) const;
  440     size_t find_last_not_of(char C, size_t From = npos) const;
  447     size_t find_last_not_of(StringRef Chars, size_t From = npos) const;
  447     size_t find_last_not_of(StringRef Chars, size_t From = npos) const;
  477     size_t count(char C) const {
  478       size_t Count = 0;
  479       for (size_t i = 0, e = Length; i != e; ++i)
  487     size_t count(StringRef Str) const;
  598     StringRef substr(size_t Start, size_t N = npos) const {
  598     StringRef substr(size_t Start, size_t N = npos) const {
  607     StringRef take_front(size_t N = 1) const {
  617     StringRef take_back(size_t N = 1) const {
  640     StringRef drop_front(size_t N = 1) const {
  648     StringRef drop_back(size_t N = 1) const {
  699     StringRef slice(size_t Start, size_t End) const {
  699     StringRef slice(size_t Start, size_t End) const {
  732       size_t Idx = find(Separator);
  750       size_t Idx = rfind(Separator);
  860     constexpr StringLiteral(const char *Str, size_t N) : StringRef(Str, N) {
include/llvm/ADT/TinyPtrVector.h
  131   TinyPtrVector(size_t Count, EltTy Value)
include/llvm/ADT/UniqueVector.h
   87   size_t size() const { return Vector.size(); }
include/llvm/ADT/simple_ilist.h
   99   using size_type = size_t;
include/llvm/Analysis/AliasSetTracker.h
  305     for (size_t i = 0, e = UnknownInsts.size(); i != e; ++i)
include/llvm/Analysis/BlockFrequencyInfoImpl.h
  199     static size_t getMaxIndex() {
  866   size_t getIndex(const rpot_iterator &I) const { return I - rpot_begin(); }
 1081   for (size_t Index = 0; Index < RPOT.size(); ++Index)
 1113   for (size_t Index = 0; Index < RPOT.size(); ++Index) {
include/llvm/Analysis/DomTreeUpdater.h
  261   size_t PendDTUpdateIndex = 0;
  262   size_t PendPDTUpdateIndex = 0;
include/llvm/Analysis/LoopCacheAnalysis.h
   54   size_t getNumSubscripts() const { return Subscripts.size(); }
include/llvm/Analysis/MemorySSA.h
  150   void *operator new(size_t) = delete;
  249   void *operator new(size_t) = delete;
  328   void *operator new(size_t s) { return User::operator new(s, 1); }
  388   void *operator new(size_t s) { return User::operator new(s, 2); }
  483   void *operator new(size_t s) { return User::operator new(s); }
include/llvm/Analysis/ScalarEvolutionExpressions.h
  149     size_t NumOperands;
  152                  const SCEV *const *O, size_t N)
  157     size_t getNumOperands() const { return NumOperands; }
  204                         enum SCEVTypes T, const SCEV *const *O, size_t N)
  226                 const SCEV *const *O, size_t N)
  248                 const SCEV *const *O, size_t N)
  302                    const SCEV *const *O, size_t N, const Loop *l)
  379                    const SCEV *const *O, size_t N)
  411     SCEVSMaxExpr(const FoldingSetNodeIDRef ID, const SCEV *const *O, size_t N)
  425     SCEVUMaxExpr(const FoldingSetNodeIDRef ID, const SCEV *const *O, size_t N)
  439     SCEVSMinExpr(const FoldingSetNodeIDRef ID, const SCEV *const *O, size_t N)
  453     SCEVUMinExpr(const FoldingSetNodeIDRef ID, const SCEV *const *O, size_t N)
include/llvm/BinaryFormat/AMDGPUMetadataVerifier.h
   41                    Optional<size_t> Size = None);
include/llvm/BinaryFormat/Minidump.h
  231   static constexpr size_t MaxParameters = 15;
include/llvm/BinaryFormat/MsgPackDocument.h
  203   size_t size() const { return Map->size(); }
  223   size_t size() const { return Array->size(); }
  233   DocNode &operator[](size_t Index);
include/llvm/BinaryFormat/MsgPackReader.h
   89     size_t Length;
  129   size_t remainingSpace() {
include/llvm/Bitstream/BitstreamReader.h
   82   size_t NextChar = 0;
   90   using word_t = size_t;
  100   static const constexpr size_t MaxChunkSize = sizeof(word_t) * 8;
  110   bool canSkipToPos(size_t pos) const {
  131     size_t ByteNo = size_t(BitNo/8) & ~(sizeof(word_t)-1);
  298   size_t SizeInBytes() const { return BitcodeBytes.size(); }
  360   static const size_t MaxChunkSize = sizeof(word_t) * 8;
  477     size_t NumFourBytes = MaybeNum.get();
  481     size_t SkipTo = GetCurrentBitNo() + NumFourBytes * 4 * 8;
include/llvm/Bitstream/BitstreamWriter.h
   49     size_t StartSizeWord;
   51     Block(unsigned PCS, size_t SSW) : PrevCodeSize(PCS), StartSizeWord(SSW) {}
   75   size_t GetBufferOffset() const { return Out.size(); }
   77   size_t GetWordIndex() const {
   78     size_t Offset = GetBufferOffset();
  207     size_t BlockSizeWordIndex = GetWordIndex();
  238     size_t SizeInWords = GetWordIndex() - B.StartSizeWord - 1;
include/llvm/CodeGen/DIE.h
  333   size_t Index;
  336   DIELocList(size_t I) : Index(I) {}
  339   size_t getValue() const { return Index; }
include/llvm/CodeGen/DbgEntityHistoryCalculator.h
   30   typedef size_t EntryIndex;
include/llvm/CodeGen/FaultMaps.h
   88   static const size_t FaultMapVersionOffset = 0;
   89   static const size_t Reserved0Offset =
   91   static const size_t Reserved1Offset = Reserved0Offset + sizeof(Reserved0Type);
   92   static const size_t NumFunctionsOffset =
   94   static const size_t FunctionInfosOffset =
  111     static const size_t FaultKindOffset = 0;
  112     static const size_t FaultingPCOffsetOffset =
  114     static const size_t HandlerPCOffsetOffset =
  121     static const size_t Size =
  145     static const size_t FunctionAddrOffset = 0;
  146     static const size_t NumFaultingPCsOffset =
  148     static const size_t ReservedOffset =
  150     static const size_t FunctionFaultInfosOffset =
  152     static const size_t FunctionInfoHeaderSize = FunctionFaultInfosOffset;
  179       size_t MySize = FunctionInfoHeaderSize +
include/llvm/CodeGen/GCMetadata.h
  136   size_t size() const { return SafePoints.size(); }
  141   size_t roots_size() const { return Roots.size(); }
  146   size_t live_size(const iterator &p) const { return roots_size(); }
include/llvm/CodeGen/GlobalISel/InstructionSelector.h
  420     ISelInfoTy(const LLT *TypeObjects, size_t NumTypeObjects,
  429       for (size_t I = 0; I < NumTypeObjects; ++I)
include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
 1253     for(size_t i=0; i<v.size(); ++i) {
include/llvm/CodeGen/LiveInterval.h
  296     size_t size() const {
include/llvm/CodeGen/MachineInstr.h
  204     size_t numTrailingObjects(OverloadToken<MachineMemOperand *>) const {
  207     size_t numTrailingObjects(OverloadToken<MCSymbol *>) const {
  210     size_t numTrailingObjects(OverloadToken<MDNode *>) const {
include/llvm/CodeGen/RegAllocPBQP.h
  105   unsigned operator[](size_t I) const { return Opts[I]; }
include/llvm/CodeGen/RegisterPressure.h
  328   size_t size() const {
include/llvm/CodeGen/ScoreboardHazardRecognizer.h
   45     size_t Depth = 0;
   48     size_t Head = 0;
   57     size_t getDepth() const { return Depth; }
   59     unsigned& operator[](size_t idx) const {
   67     void reset(size_t d = 1) {
include/llvm/CodeGen/SelectionDAGNodes.h
  751   size_t use_size() const { return std::distance(use_begin(), use_end()); }
  941   static constexpr size_t getMaxNumOperands() {
 2547   size_t operator-(SDNodeIterator Other) const {
include/llvm/DebugInfo/CodeView/CVRecord.h
   36   CVRecord(const RecordPrefix *P, size_t Size)
   80     size_t RealLen = Prefix->RecordLen + 2;
include/llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h
   72   TypeIndex insertRecordAs(GloballyHashedType Hash, size_t RecordSize,
include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h
  105   size_t getNumAttributes() const {
  143   Optional<size_t> getFixedAttributesByteSize(const DWARFUnit &U) const;
  168     size_t getByteSize(const DWARFUnit &U) const;
include/llvm/DebugInfo/DWARF/DWARFDataExtractor.h
   59   size_t size() const { return Section == nullptr ? 0 : Section->Data.size(); }
include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
   87               DIDumpOptions DumpOpts, unsigned Indent, size_t MaxEncodingStringLength) const;
include/llvm/DebugInfo/DWARF/DWARFListTable.h
  252   size_t MaxEncodingStringLength = 0;
include/llvm/DebugInfo/DWARF/DWARFUnit.h
  504   size_t getDebugInfoSize() const {
include/llvm/DebugInfo/GSYM/FileWriter.h
  104   void alignTo(size_t Align);
include/llvm/DebugInfo/GSYM/GsymReader.h
  117   Optional<uint64_t> getAddress(size_t Index) const;
  163   addressForIndex(size_t Index) const {
  222   Optional<uint64_t> getAddressInfoOffset(size_t Index) const;
include/llvm/DebugInfo/GSYM/Header.h
   27 constexpr size_t GSYM_MAX_UUID_SIZE = 20;
include/llvm/DebugInfo/GSYM/LineTable.h
  155   size_t isValid() const {
  158   size_t size() const {
  161   LineEntry &get(size_t i) {
  165   const LineEntry &get(size_t i) const {
  169   LineEntry &operator[](size_t i) {
  172   const LineEntry &operator[](size_t i) const {
include/llvm/DebugInfo/GSYM/Range.h
   85   size_t size() const { return Ranges.size(); }
   89   const AddressRange &operator[](size_t i) const {
include/llvm/DebugInfo/GSYM/StringTable.h
   28   StringRef operator[](size_t Offset) const { return getString(Offset); }
   42   const size_t Size = S.Data.size();
include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h
   26   static size_t length(const codeview::CVSymbol &Item) {
include/llvm/DebugInfo/PDB/Native/TpiStreamBuilder.h
   29   static size_t length(const codeview::CVType &Item) { return Item.length(); }
   74   size_t TypeRecordBytes = 0;
include/llvm/Demangle/Demangle.h
   31 char *itaniumDemangle(const char *mangled_name, char *buf, size_t *n,
   43 char *microsoftDemangle(const char *mangled_name, char *buf, size_t *n,
   69   char *finishDemangle(char *Buf, size_t *N) const;
   73   char *getFunctionBaseName(char *Buf, size_t *N) const;
   77   char *getFunctionDeclContextName(char *Buf, size_t *N) const;
   80   char *getFunctionName(char *Buf, size_t *N) const;
   83   char *getFunctionParameters(char *Buf, size_t *N) const;
   84   char *getFunctionReturnType(char *Buf, size_t *N) const;
include/llvm/Demangle/ItaniumDemangle.h
  214   size_t NumElements;
  218   NodeArray(Node **Elements_, size_t NumElements_)
  222   size_t size() const { return NumElements; }
  227   Node *operator[](size_t Idx) const { return Elements[Idx]; }
  231     for (size_t Idx = 0; Idx != NumElements; ++Idx) {
  232       size_t BeforeComma = S.getCurrentPosition();
  235       size_t AfterComma = S.getCurrentPosition();
 1135     size_t Idx = S.CurrentPackIndex;
 1140     size_t Idx = S.CurrentPackIndex;
 1145     size_t Idx = S.CurrentPackIndex;
 1150     size_t Idx = S.CurrentPackIndex;
 1156     size_t Idx = S.CurrentPackIndex;
 1162     size_t Idx = S.CurrentPackIndex;
 1205     size_t StreamPos = S.getCurrentPosition();
 1272   size_t Index;
 1281   ForwardTemplateReference(size_t Index_)
 2156     const size_t N = FloatData<Float>::mangled_size;
 2229   void reserve(size_t NewCap) {
 2230     size_t S = size();
 2304   void dropBack(size_t Index) {
 2313   size_t size() const { return static_cast<size_t>(Last - First); }
 2318   T& operator[](size_t Index) {
 2348     size_t OldNumTemplateParamLists;
 2381   size_t ParsingLambdaParamsAtLevel = (size_t)-1;
 2411     size_t sz = static_cast<size_t>(end - begin);
 2418   NodeArray popTrailingNodeArray(size_t FromPosition) {
 2450   size_t numLeft() const { return static_cast<size_t>(Last - First); }
 2454   bool parsePositiveInteger(size_t *Out);
 2457   bool parseSeqId(size_t *Out);
 2498     size_t ForwardTemplateRefsBegin;
 2505     size_t I = State.ForwardTemplateRefsBegin;
 2506     size_t E = ForwardTemplateRefs.size();
 2508       size_t Idx = ForwardTemplateRefs[I]->Index;
 2656     size_t BindingsBegin = Names.size();
 2692     SwapAndRestore<size_t> SwapParams(ParsingLambdaParamsAtLevel,
 2696     size_t ParamsBegin = Names.size();
 2758   size_t Length = 0;
 3447 bool AbstractManglingParser<Alloc, Derived>::parsePositiveInteger(size_t *Out) {
 3460   size_t Int = 0;
 3493     size_t SpecsBegin = Names.size();
 3516   size_t ParamsBegin = Names.size();
 4137   size_t Exprs = Names.size();
 4149     size_t InitsBegin = Names.size();
 4179     size_t ExprsBegin = Names.size();
 4543       size_t ExprsBegin = Names.size();
 4658       size_t InitsBegin = Names.size();
 4873       size_t ArgsBegin = Names.size();
 4908       size_t InitsBegin = Names.size();
 5106       size_t Count;
 5145     size_t BeforeArgs = Names.size();
 5169   size_t ParamsBegin = Names.size();
 5189     static const size_t mangled_size = 8;
 5190     static const size_t max_demangled_size = 24;
 5197     static const size_t mangled_size = 16;
 5198     static const size_t max_demangled_size = 32;
 5211     static const size_t mangled_size = 20;  // May need to be adjusted to 16 or 24 on other platforms
 5213     static const size_t max_demangled_size = 40;
 5220   const size_t N = FloatData<Float>::mangled_size;
 5235 bool AbstractManglingParser<Alloc, Derived>::parseSeqId(size_t *Out) {
 5240   size_t Id = 0;
 5322   size_t Index = 0;
 5340   size_t Level = 0;
 5349   size_t Index = 0;
 5424     size_t ParamsBegin = Names.size();
 5463     size_t ArgsBegin = Names.size();
 5506   size_t ArgsBegin = Names.size();
include/llvm/Demangle/MicrosoftDemangle.h
   26 constexpr size_t AllocUnit = 4096;
   31     size_t Used = 0;
   32     size_t Capacity = 0;
   36   void addNode(size_t Capacity) {
   58   char *allocUnalignedBuffer(size_t Size) {
   72   template <typename T, typename... Args> T *allocArray(size_t Count) {
   73     size_t Size = Count * sizeof(T);
   76     size_t P = (size_t)Head->Buf + Head->Used;
   80     size_t Adjustment = AlignedP - P;
   92     constexpr size_t Size = sizeof(T);
   95     size_t P = (size_t)Head->Buf + Head->Used;
   99     size_t Adjustment = AlignedP - P;
  116   static constexpr size_t Max = 10;
  119   size_t FunctionParamCount = 0;
  124   size_t NamesCount = 0;
include/llvm/Demangle/MicrosoftDemangleNodes.h
  522   size_t Count = 0;
include/llvm/Demangle/StringView.h
   28   static const size_t npos = ~size_t(0);
   34   StringView(const char *First_, size_t Len)
   39   StringView substr(size_t From) const {
   43   size_t find(char C, size_t From = 0) const {
   43   size_t find(char C, size_t From = 0) const {
   44     size_t FindBegin = std::min(From, size());
   54   StringView substr(size_t From, size_t To) const {
   54   StringView substr(size_t From, size_t To) const {
   62   StringView dropFront(size_t N = 1) const {
   68   StringView dropBack(size_t N = 1) const {
  111   const char &operator[](size_t Idx) const { return *(begin() + Idx); }
  115   size_t size() const { return static_cast<size_t>(Last - First); }
include/llvm/Demangle/Utility.h
   29   size_t CurrentPosition;
   30   size_t BufferCapacity;
   33   void grow(size_t N) {
   66   OutputStream(char *StartBuf, size_t Size)
   69   void reset(char *Buffer_, size_t BufferCapacity_) {
   81     size_t Size = R.size();
  129   size_t getCurrentPosition() const { return CurrentPosition; }
  130   void setCurrentPosition(size_t NewPos) { CurrentPosition = NewPos; }
  140   size_t getBufferCapacity() { return BufferCapacity; }
  174 inline bool initializeOutputStream(char *Buf, size_t *N, OutputStream &S,
  175                                    size_t InitSize) {
  176   size_t BufferSize;
include/llvm/ExecutionEngine/JITLink/EHFrameSupport.h
   26                              size_t EHFrameSectionSize);
   30                                size_t EHFrameSectionSize);
   37                                  size_t EHFrameSectionSize) = 0;
   39                                    size_t EHFrameSectionSize) = 0;
   56                          size_t EHFrameSectionSize) override {
   63                            size_t EHFrameSectionSize) override {
   75                      size_t EHFrameSectionSize)>;
include/llvm/ExecutionEngine/JITLink/JITLink.h
  192   size_t getSize() const { return Size; }
  231   size_t edges_size() const { return Edges.size(); }
  243   size_t Size = 0;
include/llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h
   36     SegmentRequest(uint64_t Alignment, size_t ContentSize,
   43     size_t getContentSize() const { return ContentSize; }
   47     size_t ContentSize = 0;
include/llvm/ExecutionEngine/Orc/Core.h
  485   size_t OutstandingSymbolsCount;
include/llvm/ExecutionEngine/Orc/ExecutionUtils.h
  311   size_t UnrealizedObjects = 0;
include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
  218   size_t NextCallbackId = 0;
include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
  170     size_t Size;
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
  153                           size_t Size) override {
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h
  121     Error allocate(void *&Addr, size_t Size, uint32_t Align) {
include/llvm/ExecutionEngine/Orc/SpeculateAnalyses.h
   38   size_t numBBToGet(size_t);
   38   size_t numBBToGet(size_t);
include/llvm/ExecutionEngine/Orc/SymbolStringPool.h
   42   using RefCountType = std::atomic<size_t>;
include/llvm/ExecutionEngine/RTDyldMemoryManager.h
   69   static void registerEHFramesInProcess(uint8_t *Addr, size_t Size);
   72   static void deregisterEHFramesInProcess(uint8_t *Addr, size_t Size);
   74   void registerEHFrames(uint8_t *Addr, uint64_t LoadAddr, size_t Size) override;
  143     size_t Size;
include/llvm/ExecutionEngine/RuntimeDyld.h
  140                                   size_t Size) = 0;
include/llvm/ExecutionEngine/SectionMemoryManager.h
   74     allocateMappedMemory(AllocationPurpose Purpose, size_t NumBytes,
include/llvm/FuzzMutate/FuzzerCLI.h
   43 using FuzzerTestFun = int (*)(const uint8_t *Data, size_t Size);
   58 std::unique_ptr<Module> parseModule(const uint8_t *Data, size_t Size,
   68 size_t writeModule(const Module &M, uint8_t *Dest, size_t MaxSize);
   68 size_t writeModule(const Module &M, uint8_t *Dest, size_t MaxSize);
   73 std::unique_ptr<Module> parseAndVerify(const uint8_t *Data, size_t Size,
include/llvm/FuzzMutate/IRMutator.h
   42   virtual uint64_t getWeight(size_t CurrentSize, size_t MaxSize,
   42   virtual uint64_t getWeight(size_t CurrentSize, size_t MaxSize,
   70   void mutateModule(Module &M, int Seed, size_t CurSize, size_t MaxSize);
   70   void mutateModule(Module &M, int Seed, size_t CurSize, size_t MaxSize);
   85   uint64_t getWeight(size_t CurrentSize, size_t MaxSize,
   85   uint64_t getWeight(size_t CurrentSize, size_t MaxSize,
   97   uint64_t getWeight(size_t CurrentSize, size_t MaxSize,
   97   uint64_t getWeight(size_t CurrentSize, size_t MaxSize,
include/llvm/IR/BasicBlock.h
  283   inline size_t                   size() const { return InstList.size();  }
include/llvm/IR/CFG.h
  362   static size_t size(Function *F) { return F->size(); }
  379   static size_t size(const Function *F) { return F->size(); }
include/llvm/IR/Constants.h
   67   void *operator new(size_t s) { return User::operator new(s, 0); }
  844   void *operator new(size_t s) { return User::operator new(s, 2); }
include/llvm/IR/Function.h
   74   size_t NumArgs;
  690   size_t                   size() const { return BasicBlocks.size();  }
  733   size_t arg_size() const { return NumArgs; }
include/llvm/IR/GlobalIndirectSymbol.h
   38   void *operator new(size_t s) {
include/llvm/IR/GlobalVariable.h
   73   void *operator new(size_t s) {
include/llvm/IR/IRBuilder.h
 1701       size_t i, e;
 1720       size_t i, e;
include/llvm/IR/InstrTypes.h
   71   void *operator new(size_t s) {
  204   void *operator new(size_t s) {
  780   void *operator new(size_t s) {
 1077   size_t input_size() const { return Inputs.size(); }
include/llvm/IR/Instructions.h
  351   void *operator new(size_t s) {
  479   void *operator new(size_t s) {
  558   void *operator new(size_t s) {
  754   void *operator new(size_t s) {
 1992   void *operator new(size_t s) {
 2439   void *operator new(size_t s) {
 2808   void *operator new(size_t s) {
 3143   void *operator new(size_t s) {
 3541   void *operator new(size_t s) {
 4246   void *operator new(size_t s) { return User::operator new(s); }
 4683   void *operator new(size_t s) {
include/llvm/IR/LegacyPassNameParser.h
   81   void printOptionInfo(const cl::Option &O, size_t GlobalWidth) const override {
include/llvm/IR/Metadata.h
  877   void *operator new(size_t Size, unsigned NumOps);
  904   void *operator new(size_t) = delete;
include/llvm/IR/Module.h
  607   size_t                  size() const  { return FunctionList.size(); }
  625   size_t               alias_size () const      { return AliasList.size();  }
  643   size_t               ifunc_size () const      { return IFuncList.size();  }
  721   size_t named_metadata_size() const { return NamedMDList.size();  }
include/llvm/IR/ModuleSummaryIndex.h
  996   size_t size() const { return GlobalValueMap.size(); }
include/llvm/IR/Operator.h
   37   void *operator new(size_t s) = delete;
include/llvm/IR/PredIteratorCache.h
   65   size_t size(BasicBlock *BB) const { return GetNumPreds(BB); }
include/llvm/IR/Statepoint.h
   98   void *operator new(size_t, unsigned) = delete;
   99   void *operator new(size_t s) = delete;
  169   size_t arg_size() const { return getNumCallArgs(); }
include/llvm/IR/SymbolTableListTraits.h
   79     size_t Offset(size_t(&((ItemParentClass*)nullptr->*ItemParentClass::
   79     size_t Offset(size_t(&((ItemParentClass*)nullptr->*ItemParentClass::
include/llvm/IR/TypeFinder.h
   56   size_t size() const { return StructTypes.size(); }
include/llvm/IR/UseListOrder.h
   31   UseListOrder(const Value *V, const Function *F, size_t ShuffleSize)
include/llvm/IR/User.h
   49   allocateFixedOperandUser(size_t, unsigned, unsigned);
   56   void *operator new(size_t Size);
   61   void *operator new(size_t Size, unsigned Us);
   71   void *operator new(size_t Size, unsigned Us, unsigned DescBytes);
include/llvm/IR/ValueMap.h
  144   void resize(size_t Size) { Map.resize(Size); }
include/llvm/LTO/LTO.h
  118   std::vector<std::pair<size_t, size_t>> ModuleSymIndices;
  118   std::vector<std::pair<size_t, size_t>> ModuleSymIndices;
include/llvm/LTO/legacy/LTOModule.h
   71   static bool isBitcodeFile(const void *mem, size_t length);
   89   makeBuffer(const void *mem, size_t length, StringRef name = "");
  103   createFromOpenFile(LLVMContext &Context, int fd, StringRef path, size_t size,
  107                           size_t map_size, off_t offset,
  110   createFromBuffer(LLVMContext &Context, const void *mem, size_t length,
  114                        size_t length, const TargetOptions &options,
  161   static lto::InputFile *createInputFile(const void *buffer, size_t buffer_size,
  164   static size_t getDependentLibraryCount(lto::InputFile *input);
  166   static const char *getDependentLibrary(lto::InputFile *input, size_t index, size_t *size);
  166   static const char *getDependentLibrary(lto::InputFile *input, size_t index, size_t *size);
include/llvm/LineEditor/LineEditor.h
  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 {
  142                                            size_t Pos) const override {
include/llvm/MC/MCAssembler.h
  342   size_t size() const { return Sections.size(); }
  358   size_t symbol_size() const { return Symbols.size(); }
  385   size_t indirect_symbol_size() const { return IndirectSymbols.size(); }
  414   size_t data_region_size() const { return DataRegions.size(); }
include/llvm/MC/MCCodeView.h
  176   std::pair<size_t, size_t> getLineExtent(unsigned FuncId);
  176   std::pair<size_t, size_t> getLineExtent(unsigned FuncId);
  178   ArrayRef<MCCVLoc> getLinesForExtent(size_t L, size_t R);
  178   ArrayRef<MCCVLoc> getLinesForExtent(size_t L, size_t R);
  250   std::map<unsigned, std::pair<size_t, size_t>> MCCVLineStartStop;
  250   std::map<unsigned, std::pair<size_t, size_t>> MCCVLineStartStop;
include/llvm/MC/MCContext.h
  727 inline void *operator new(size_t Bytes, llvm::MCContext &C,
  728                           size_t Alignment = 8) noexcept {
  737 inline void operator delete(void *Ptr, llvm::MCContext &C, size_t) noexcept {
  760 inline void *operator new[](size_t Bytes, llvm::MCContext &C,
  761                             size_t Alignment = 8) noexcept {
include/llvm/MC/MCFragment.h
  362       size_t InstSize;
  399   size_t getInstSize() const {
  407   void setInstAndInstSize(const MCInst &Inst, size_t InstSize) {
include/llvm/MC/MCInst.h
  191   size_t size() const { return Operands.size(); }
include/llvm/MC/MCParser/AsmLexer.h
   48   size_t peekTokens(MutableArrayRef<AsmToken> Buf,
include/llvm/MC/MCParser/MCAsmLexer.h
  109     size_t ReadCount = peekTokens(Buf, ShouldSkipSpace);
  118   virtual size_t peekTokens(MutableArrayRef<AsmToken> Buf,
include/llvm/MC/MCSymbol.h
  167   void *operator new(size_t s, const StringMapEntry<bool> *Name,
include/llvm/MC/StringTableBuilder.h
   28   DenseMap<CachedHashStringRef, size_t> StringIndexMap;
   29   size_t Size = 0;
   44   size_t add(CachedHashStringRef S);
   45   size_t add(StringRef S) { return add(CachedHashStringRef(S)); }
   57   size_t getOffset(CachedHashStringRef S) const;
   58   size_t getOffset(StringRef S) const {
   62   size_t getSize() const { return Size; }
include/llvm/MC/SubtargetFeature.h
   92   constexpr size_t size() const { return MAX_SUBTARGET_FEATURES; }
   98   size_t count() const {
   99     size_t Count = 0;
include/llvm/Object/COFF.h
 1031   size_t getSymbolTableEntrySize() const {
include/llvm/Object/ELF.h
  111   size_t getBufSize() const { return Buf.size(); }
  571   size_t Pos = Section->sh_offset + Entry * sizeof(T);
include/llvm/Object/ELFTypes.h
  582   size_t getSize() const {
  629   size_t RemainingSize = 0u;
  646   void advanceNhdr(const uint8_t *NhdrPos, size_t NoteSize) {
  666   Elf_Note_Iterator_Impl(const uint8_t *Start, size_t Size, Error &Err)
  677     size_t NoteSize = Nhdr->getSize();
include/llvm/Object/IRSymtab.h
  269   size_t getNumModules() const { return Modules.size(); }
include/llvm/Object/Minidump.h
   56   Expected<std::string> getString(size_t Offset) const;
  110     MemoryInfoIterator(ArrayRef<uint8_t> Storage, size_t Stride)
  131     size_t Stride;
  155                                                   size_t Offset, size_t Size);
  155                                                   size_t Offset, size_t Size);
  162                                               size_t Offset, size_t Count);
  162                                               size_t Offset, size_t Count);
  201                                                    size_t Offset,
  202                                                    size_t Count) {
  204   if (Count > std::numeric_limits<size_t>::max() / sizeof(T))
include/llvm/Object/Wasm.h
  276   llvm::Optional<size_t> DataCount;
include/llvm/Object/WindowsResource.h
   54 const size_t WIN_RES_MAGIC_SIZE = 16;
   55 const size_t WIN_RES_NULL_ENTRY_SIZE = 16;
include/llvm/Object/XCOFFObjectFile.h
  198   size_t getFileHeaderSize() const;
  199   size_t getSectionHeaderSize() const;
include/llvm/ProfileData/Coverage/CoverageMapping.h
  437   size_t size() const { return Instantiations.size(); }
  514   DenseMap<size_t, DenseSet<size_t>> RecordProvenance;
  514   DenseMap<size_t, DenseSet<size_t>> RecordProvenance;
  516   DenseMap<size_t, SmallVector<unsigned, 0>> FilenameHash2RecordIndices;
include/llvm/ProfileData/Coverage/CoverageMappingReader.h
  168                              unsigned InferredFileID, size_t NumFileIDs);
  180     size_t FilenamesBegin;
  181     size_t FilenamesSize;
  185                          size_t FilenamesBegin, size_t FilenamesSize)
  185                          size_t FilenamesBegin, size_t FilenamesSize)
  195   size_t CurrentRecord = 0;
include/llvm/ProfileData/GCOV.h
  287   size_t getNumBlocks() const { return Blocks.size(); }
  333   void addCount(size_t DstEdgeNo, uint64_t N);
  349   size_t getNumSrcEdges() const { return SrcEdges.size(); }
  350   size_t getNumDstEdges() const { return DstEdges.size(); }
include/llvm/ProfileData/InstrProf.h
  491   StringRef getFuncName(uint64_t FuncNameAddress, size_t NameSize);
  583   size_t S = PGOName.find_first_of(':');
  936   size_t max_s = INSTR_PROF_MAX_NUM_VAL_PER_SITE;
include/llvm/ProfileData/InstrProfData.inc
  432   ValueProfData *(*AllocValueProfData)(size_t TotalSizeInBytes);
include/llvm/Remarks/RemarkParser.h
   64   std::vector<size_t> Offsets;
   74   size_t size() const { return Offsets.size(); }
   75   Expected<StringRef> operator[](size_t Index) const;
include/llvm/Remarks/RemarkStringTable.h
   40   size_t SerializedSize = 0;
include/llvm/Support/ARMTargetParser.h
   61   size_t NameLength;
   80   size_t NameLength;
  102   size_t NameLength;
  165   size_t NameLength;
  190   size_t NameLength;
  192   size_t CPUAttrLength;
  194   size_t SubArchLength;
include/llvm/Support/ARMWinEH.h
  347 inline size_t HeaderWords(const ExceptionDataRecord &XR);
  405     size_t Offset = HeaderWords(*this);
  410     const size_t Offset = HeaderWords(*this)
  428 inline size_t HeaderWords(const ExceptionDataRecord &XR) {
include/llvm/Support/Allocator.h
   51   void *Allocate(size_t Size, size_t Alignment) {
   51   void *Allocate(size_t Size, size_t Alignment) {
   65   void Deallocate(const void *Ptr, size_t Size) {
   81   template <typename T> T *Allocate(size_t Num = 1) {
   89   Deallocate(T *Ptr, size_t Num = 1) {
   98   LLVM_ATTRIBUTE_RETURNS_NONNULL void *Allocate(size_t Size,
   99                                                 size_t /*Alignment*/) {
  106   void Deallocate(const void *Ptr, size_t /*Size*/) {
  120 void printBumpPtrAllocatorStats(unsigned NumSlabs, size_t BytesAllocated,
  121                                 size_t TotalMemory);
  215   Allocate(size_t Size, Align Alignment) {
  219     size_t Adjustment = offsetToAlignedAddr(CurPtr, Alignment);
  222     size_t SizeToAllocate = Size;
  229     if (Adjustment + SizeToAllocate <= size_t(End - CurPtr)) {
  242     size_t PaddedSize = SizeToAllocate + Alignment.value() - 1;
  271   Allocate(size_t Size, size_t Alignment) {
  271   Allocate(size_t Size, size_t Alignment) {
  282   void Deallocate(const void *Ptr, size_t Size) {
  289   size_t GetNumSlabs() const { return Slabs.size() + CustomSizedSlabs.size(); }
  299     for (size_t Idx = 0, E = Slabs.size(); Idx < E; Idx++) {
  308     for (size_t Idx = 0, E = CustomSizedSlabs.size(); Idx < E; Idx++) {
  310       size_t Size = CustomSizedSlabs[Idx].second;
  345   size_t getTotalMemory() const {
  346     size_t TotalMemory = 0;
  354   size_t getBytesAllocated() const { return BytesAllocated; }
  356   void setRedZoneSize(size_t NewSize) {
  378   SmallVector<std::pair<void *, size_t>, 0> CustomSizedSlabs;
  383   size_t BytesAllocated = 0;
  387   size_t RedZoneSize = 1;
  392   static size_t computeSlabSize(unsigned SlabIdx) {
  397     return SlabSize * ((size_t)1 << std::min<size_t>(30, SlabIdx / 128));
  403     size_t AllocatedSlabSize = computeSlabSize(Slabs.size());
  419       size_t AllocatedSlabSize =
  429       size_t Size = PtrAndSize.second;
  476       size_t AllocatedSlabSize = BumpPtrAllocator::computeSlabSize(
  487       size_t Size = PtrAndSize.second;
  496   T *Allocate(size_t num = 1) { return Allocator.Allocate<T>(num); }
  502 void *operator new(size_t Size,
include/llvm/Support/ArrayRecycler.h
   79     static Capacity get(size_t N) {
   84     size_t getSize() const { return size_t(1u) << Index; }
include/llvm/Support/BinaryItemStream.h
   22   static size_t length(const T &Item) = delete;
   93     size_t Idx = std::distance(ItemEndOffsets.begin(), Iter);
include/llvm/Support/CFGUpdate.h
   99   for (size_t i = 0, e = AllUpdates.size(); i != e; ++i) {
include/llvm/Support/Capacity.h
   22 static inline size_t capacity_in_bytes(const T &x) {
include/llvm/Support/CommandLine.h
  366   virtual size_t getOptionWidth() const = 0;
  371   virtual void printOptionInfo(size_t GlobalWidth) const = 0;
  373   virtual void printOptionValue(size_t GlobalWidth, bool Force) const = 0;
  377   static void printHelpStr(StringRef HelpStr, size_t Indent,
  378                            size_t FirstLineIndentedBy);
  696   virtual size_t getOptionWidth(const Option &O) const;
  703   virtual void printOptionInfo(const Option &O, size_t GlobalWidth) const;
  707                               size_t GlobalWidth) const;
  716                        size_t GlobalWidth) const {
  800     for (size_t i = 0, e = Values.size(); i != e; ++i)
  846   size_t getOptionWidth(const Option &O) const;
  851   void printOptionInfo(const Option &O, size_t GlobalWidth) const;
  855   void printOptionNoValue(const Option &O, size_t GlobalWidth) const;
  865   void printOptionName(const Option &O, size_t GlobalWidth) const;
  899                        size_t GlobalWidth) const;
  924                        size_t GlobalWidth) const;
  946                        size_t GlobalWidth) const;
  968                        size_t GlobalWidth) const;
  991                        size_t GlobalWidth) const;
 1015                        size_t GlobalWidth) const;
 1037                        size_t GlobalWidth) const;
 1059                        size_t GlobalWidth) const;
 1084                        size_t GlobalWidth) const;
 1109                        size_t GlobalWidth) const;
 1126                      const OptionValue<DT> &Default, size_t GlobalWidth) {
 1135              const OptionValue<ValDT> & /*Default*/, size_t GlobalWidth) {
 1144              const OptionValue<DT> &Default, size_t GlobalWidth) {
 1155     const ValDT &V, const OptionValue<ValDT> &Default, size_t GlobalWidth) {
 1356   size_t getOptionWidth() const override {
 1360   void printOptionInfo(size_t GlobalWidth) const override {
 1364   void printOptionValue(size_t GlobalWidth, bool Force) const override {
 1554   size_t getOptionWidth() const override {
 1558   void printOptionInfo(size_t GlobalWidth) const override {
 1563   void printOptionValue(size_t /*GlobalWidth*/, bool /*Force*/) const override {
 1700   size_t getOptionWidth() const override {
 1704   void printOptionInfo(size_t GlobalWidth) const override {
 1709   void printOptionValue(size_t /*GlobalWidth*/, bool /*Force*/) const override {
 1757   size_t getOptionWidth() const override;
 1758   void printOptionInfo(size_t GlobalWidth) const override;
 1761   void printOptionValue(size_t /*GlobalWidth*/, bool /*Force*/) const override {
include/llvm/Support/Compiler.h
  553 inline void *allocate_buffer(size_t Size, size_t Alignment) {
  553 inline void *allocate_buffer(size_t Size, size_t Alignment) {
  569 inline void deallocate_buffer(void *Ptr, size_t Size, size_t Alignment) {
  569 inline void deallocate_buffer(void *Ptr, size_t Size, size_t Alignment) {
include/llvm/Support/Compression.h
   36                  size_t &UncompressedSize);
   40                  size_t UncompressedSize);
include/llvm/Support/Error.h
 1224   friend Error createFileError(const Twine &, size_t, Error);
 1243   FileError(const Twine &F, Optional<size_t> LineNum,
 1253   static Error build(const Twine &F, Optional<size_t> Line, Error E) {
 1259   Optional<size_t> Line;
 1271 inline Error createFileError(const Twine &F, size_t Line, Error E) {
 1283 inline Error createFileError(const Twine &F, size_t Line, std::error_code EC) {
include/llvm/Support/FileOutputBuffer.h
   47   create(StringRef FilePath, size_t Size, unsigned Flags = 0);
   56   virtual size_t getBufferSize() const = 0;
include/llvm/Support/FileSystem.h
 1001 Expected<size_t> readNativeFile(file_t FileHandle, MutableArrayRef<char> Buf);
 1012 Expected<size_t> readNativeFileSlice(file_t FileHandle,
 1170   size_t Size;
 1185   mapped_file_region(sys::fs::file_t fd, mapmode mode, size_t length, uint64_t offset,
 1190   size_t size() const;
include/llvm/Support/FormatAdapters.h
   30   size_t Amount;
   34   AlignAdapter(T &&Item, AlignStyle Where, size_t Amount, char Fill)
   45   size_t Left;
   46   size_t Right;
   49   PadAdapter(T &&Item, size_t Left, size_t Right)
   49   PadAdapter(T &&Item, size_t Left, size_t Right)
   61   size_t Count;
   64   RepeatAdapter(T &&Item, size_t Count)
   69     for (size_t I = 0; I < Count; ++I) {
   85 detail::AlignAdapter<T> fmt_align(T &&Item, AlignStyle Where, size_t Amount,
   91 detail::PadAdapter<T> fmt_pad(T &&Item, size_t Left, size_t Right) {
   91 detail::PadAdapter<T> fmt_pad(T &&Item, size_t Left, size_t Right) {
   96 detail::RepeatAdapter<T> fmt_repeat(T &&Item, size_t Count) {
include/llvm/Support/FormatCommon.h
   22   size_t Amount;
   25   FmtAlign(detail::format_adapter &Adapter, AlignStyle Where, size_t Amount,
   48     size_t PadAmount = Amount - Item.size();
   55       size_t X = PadAmount / 2;
include/llvm/Support/FormatProviders.h
   62   static Optional<size_t> parseNumericPrecision(StringRef Str) {
   63     size_t Prec;
   64     Optional<size_t> Result;
   72       Result = std::min<size_t>(99u, Prec);
   92   static size_t consumeNumHexDigits(StringRef &Str, HexPrintStyle Style,
   93                                     size_t Default) {
  133     size_t Digits = 0;
  183     size_t Digits = consumeNumHexDigits(Style, HS, sizeof(void *) * 2);
  203     size_t N = StringRef::npos;
  315     Optional<size_t> Precision = parseNumericPrecision(Style);
  375       size_t End = Style.find_first_of(D[1]);
include/llvm/Support/FormatVariadic.h
   50   ReplacementItem(StringRef Spec, size_t Index, size_t Align, AlignStyle Where,
   50   ReplacementItem(StringRef Spec, size_t Index, size_t Align, AlignStyle Where,
   57   size_t Index = 0;
   58   size_t Align = 0;
   85                                  size_t &Align, char &Pad);
include/llvm/Support/FormattedStream.h
   43   void write_impl(const char *Ptr, size_t Size) override;
   57   void ComputePosition(const char *Ptr, size_t size);
   68     if (size_t BufferSize = TheStream->GetBufferSize())
  139     if (size_t BufferSize = GetBufferSize())
include/llvm/Support/GenericDomTree.h
   93   size_t getNumChildren() const { return Children.size(); }
include/llvm/Support/GenericDomTreeConstruction.h
  598     for (size_t i = 1, e = NumToNode.size(); i != e; ++i) {
  620     for (size_t i = 1, e = NumToNode.size(); i != e; ++i) {
 1156     const size_t NumUpdates = Updates.size();
 1176     const size_t NumLegalized = BUI.Updates.size();
 1219     for (size_t i = 0; i < NumLegalized && !BUI.IsRecalculated; ++i)
 1453       for (size_t i = 0, e = Children.size() - 1; i != e; ++i) {
 1611   const size_t NumLegalized = BUI.Updates.size();
include/llvm/Support/JSON.h
   77 bool isUTF8(llvm::StringRef S, size_t *ErrOffset = nullptr);
  113   size_t size() const { return M.size(); }
  169   Value &operator[](size_t I) { return V[I]; }
  170   const Value &operator[](size_t I) const { return V[I]; }
  184   size_t size() const { return V.size(); }
  185   void reserve(size_t S) { V.reserve(S); }
  611     for (size_t I = 0; I < A->size(); ++I)
include/llvm/Support/MD5.h
   60     const uint8_t &operator[](size_t I) const { return Bytes[I]; }
   61     uint8_t &operator[](size_t I) { return Bytes[I]; }
include/llvm/Support/MathExtras.h
  565 template <size_t kValue> constexpr inline size_t CTLog2() {
  571 template <> constexpr inline size_t CTLog2<1>() { return 0; }
include/llvm/Support/MemAlloc.h
   25 LLVM_ATTRIBUTE_RETURNS_NONNULL inline void *safe_malloc(size_t Sz) {
   38 LLVM_ATTRIBUTE_RETURNS_NONNULL inline void *safe_calloc(size_t Count,
   39                                                         size_t Sz) {
   52 LLVM_ATTRIBUTE_RETURNS_NONNULL inline void *safe_realloc(void *Ptr, size_t Sz) {
include/llvm/Support/Memory.h
   35     MemoryBlock(void *addr, size_t allocatedSize)
   40     size_t allocatedSize() const { return AllocatedSize; }
   44     size_t AllocatedSize; ///< Size, in bytes of the memory area
   87     static MemoryBlock allocateMappedMemory(size_t NumBytes,
  124     static void InvalidateInstructionCache(const void *Addr, size_t Len);
  147     size_t allocatedSize() const { return M.allocatedSize(); }
include/llvm/Support/MemoryBuffer.h
   61   size_t getBufferSize() const { return BufferEnd-BufferStart; }
  192   getNewUninitMemBuffer(size_t Size, const Twine &BufferName = "");
  198   getNewMemBuffer(size_t Size, const Twine &BufferName = "");
  278   size_t getBufferSize() const { return Buffer.size(); }
include/llvm/Support/NativeFormatting.h
   25 size_t getDefaultPrecision(FloatStyle Style);
   29 void write_integer(raw_ostream &S, unsigned int N, size_t MinDigits,
   31 void write_integer(raw_ostream &S, int N, size_t MinDigits, IntegerStyle Style);
   32 void write_integer(raw_ostream &S, unsigned long N, size_t MinDigits,
   34 void write_integer(raw_ostream &S, long N, size_t MinDigits,
   36 void write_integer(raw_ostream &S, unsigned long long N, size_t MinDigits,
   38 void write_integer(raw_ostream &S, long long N, size_t MinDigits,
   42                Optional<size_t> Width = None);
   44                   Optional<size_t> Precision = None);
include/llvm/Support/OnDiskHashTable.h
   89   void insert(Bucket *Buckets, size_t Size, Item *E) {
   97   void resize(size_t NewSize) {
  101     for (size_t I = 0; I < NumBuckets; ++I)
include/llvm/Support/Parallel.h
   96                          const Comparator &Comp, TaskGroup &TG, size_t Depth) {
include/llvm/Support/Path.h
   57   size_t    Position;  ///< The iterators current position within Path.
   83   size_t    Position;  ///< The iterators current position within Path.
include/llvm/Support/PointerLikeTypeTraits.h
   31     : std::integral_constant<size_t, ConstantLog2<N / 2>::value + 1> {};
   32 template <> struct ConstantLog2<1> : std::integral_constant<size_t, 0> {};
include/llvm/Support/Process.h
   70   static size_t GetMallocUsage();
include/llvm/Support/RandomNumberGenerator.h
   66 std::error_code getRandomBytes(void *Buffer, size_t Size);
include/llvm/Support/Recycler.h
   27 void PrintRecyclerStats(size_t Size, size_t Align, size_t FreeListSize);
   27 void PrintRecyclerStats(size_t Size, size_t Align, size_t FreeListSize);
   27 void PrintRecyclerStats(size_t Size, size_t Align, size_t FreeListSize);
  107   size_t S = 0;
include/llvm/Support/RecyclingAllocator.h
   62 inline void *operator new(size_t size,
include/llvm/Support/SpecialCaseList.h
  142   bool parse(const MemoryBuffer *MB, StringMap<size_t> &SectionsMap,
include/llvm/Support/TrailingObjects.h
  193   static constexpr size_t additionalSizeToAllocImpl(
  194       size_t SizeSoFar, size_t Count1,
  194       size_t SizeSoFar, size_t Count1,
  195       typename ExtractSecondType<MoreTys, size_t>::type... MoreCounts) {
  215   static constexpr size_t additionalSizeToAllocImpl(size_t SizeSoFar) {
  215   static constexpr size_t additionalSizeToAllocImpl(size_t SizeSoFar) {
  276   static size_t
  283   static size_t callNumTrailingObjects(const BaseTy *Obj,
  330       std::is_same<Foo<TrailingTys...>, Foo<Tys...>>::value, size_t>::type
  332                         TrailingTys, size_t>::type... Counts) {
  342       std::is_same<Foo<TrailingTys...>, Foo<Tys...>>::value, size_t>::type
  344                    TrailingTys, size_t>::type... Counts) {
include/llvm/Support/TrigramIndex.h
   64   std::unordered_map<unsigned, SmallVector<size_t, 4>> Index{256};
include/llvm/Support/Valgrind.h
   27   void ValgrindDiscardTranslations(const void *Addr, size_t Len);
include/llvm/Support/YAMLParser.h
  135   void *operator new(size_t Size, BumpPtrAllocator &Alloc,
  136                      size_t Alignment = 16) noexcept {
  141                        size_t Size) noexcept {
include/llvm/Support/YAMLTraits.h
  452   using Signature_size = size_t (*)(class IO&, T&);
  516   using Signature_size = size_t (*)(class IO &, T &);
 1777   const size_t count = DocumentListTraits<T>::size(yout, docList);
 1778   for(size_t i=0; i < count; ++i) {
 1885   static size_t size(IO &io, T &seq) { return seq.size(); }
 1887   static type &element(IO &io, T &seq, size_t index) {
include/llvm/Support/circular_raw_ostream.h
   50     size_t BufferSize;
   82     void write_impl(const char *Ptr, size_t Size) override;
  108                          size_t BuffSize = 0, bool Owns = REFERENCE_ONLY)
include/llvm/Support/raw_os_ostream.h
   28   void write_impl(const char *Ptr, size_t Size) override;
include/llvm/Support/raw_ostream.h
  122   void SetBufferSize(size_t Size) {
  127   size_t GetBufferSize() const {
  145   size_t GetNumBytesInBuffer() const {
  181     size_t Size = Str.size();
  241   raw_ostream &write(const char *Ptr, size_t Size);
  317   virtual void write_impl(const char *Ptr, size_t Size) = 0;
  327   void SetBuffer(char *BufferStart, size_t Size) {
  332   virtual size_t preferred_buffer_size() const;
  343   void SetBufferAndMode(char *BufferStart, size_t Size, BufferKind Mode);
  351   void copy_to_buffer(const char *Ptr, size_t Size);
  360   virtual void pwrite_impl(const char *Ptr, size_t Size, uint64_t Offset) = 0;
  366   void pwrite(const char *Ptr, size_t Size, uint64_t Offset) {
  401   void write_impl(const char *Ptr, size_t Size) override;
  403   void pwrite_impl(const char *Ptr, size_t Size, uint64_t Offset) override;
  410   size_t preferred_buffer_size() const override;
  507   void write_impl(const char *Ptr, size_t Size) override;
  534   void write_impl(const char *Ptr, size_t Size) override;
  536   void pwrite_impl(const char *Ptr, size_t Size, uint64_t Offset) override;
  561   void write_impl(const char *Ptr, size_t size) override;
  562   void pwrite_impl(const char *Ptr, size_t Size, uint64_t Offset) override;
include/llvm/Support/raw_sha1_ostream.h
   27   void write_impl(const char *Ptr, size_t Size) override {
include/llvm/TableGen/Record.h
  717   size_t         size () const { return NumValues;  }
  932   size_t numTrailingObjects(OverloadToken<Init *>) const {
  985   inline size_t              case_size () const { return NumConds; }
  991   inline size_t              val_size () const { return NumConds; }
 1249   size_t         args_size () const { return NumArgs; }
 1315   size_t numTrailingObjects(OverloadToken<Init *>) const { return NumArgs; }
 1377   inline size_t              arg_size () const { return NumArgs; }
 1383   inline size_t              name_size () const { return NumArgNames; }
 1793       size_t Len = 0;
 1797       for (size_t I = 0, E = Rec.size(); I != E; ++I, ++Len) {
 1810     size_t size() { return Parts.size(); }
 1812     std::pair<bool, StringRef> getPart(size_t i) {
 1822     size_t LHSNumParts = LHSParts.size();
 1823     size_t RHSNumParts = RHSParts.size();
 1830     for (size_t I = 0, E = LHSNumParts; I < E; I+=2) {
 1839     for (size_t I = 1, E = LHSNumParts; I < E; I+=2) {
include/llvm/Testing/Support/Annotations.h
   51     size_t Begin = 0;
   52     size_t End = 0;
   69   size_t point(llvm::StringRef Name = "") const;
   71   std::vector<size_t> points(llvm::StringRef Name = "") const;
   81   llvm::StringMap<llvm::SmallVector<size_t, 1>> Points;
include/llvm/TextAPI/MachO/ArchitectureSet.h
   56   size_t count() const;
   68       : public std::iterator<std::forward_iterator_tag, Architecture, size_t> {
include/llvm/Transforms/IPO/Attributor.h
 1559   virtual size_t getNumReturnValues() const = 0;
include/llvm/Transforms/Instrumentation/InstrProfiling.h
   63   size_t NamesSize;
include/llvm/Transforms/Utils/ASanStackFrameLayout.h
   34   size_t LifetimeSize; // Size in bytes to use for lifetime analysis check.
   36   size_t Alignment;    // Alignment of the variable (power of 2).
   38   size_t Offset;       // Offset from the beginning of the frame;
   45   size_t Granularity;     // Shadow granularity.
   46   size_t FrameAlignment;  // Alignment for the entire frame.
   47   size_t FrameSize;       // Size of the frame in bytes.
   54     size_t Granularity,
   58     size_t MinHeaderSize);
kythe_builtins/include/mm_malloc.h
   39 extern "C" int posix_memalign(void **__memptr, size_t __alignment, size_t __size);
   39 extern "C" int posix_memalign(void **__memptr, size_t __alignment, size_t __size);
   46 _mm_malloc(size_t __size, size_t __align)
   46 _mm_malloc(size_t __size, size_t __align)
lib/Analysis/BlockFrequencyInfoImpl.cpp
  486   for (size_t Index = 0; Index < BFI.Freqs.size(); ++Index) {
  523   for (size_t Index = 0; Index < Working.size(); ++Index)
  535   for (size_t Index = 0; Index < Working.size(); ++Index) {
lib/Analysis/ConstantFolding.cpp
  655     size_t StrLen = Str.size();
lib/Analysis/DivergenceAnalysis.cpp
  169   for (size_t i = 0; i < Phi.getNumIncomingValues(); ++i) {
lib/Analysis/DomTreeUpdater.cpp
  421   const size_t dropIndex = std::min(PendDTUpdateIndex, PendPDTUpdateIndex);
lib/Analysis/ScalarEvolution.cpp
 2271                              const SCEV *const *Ops, size_t NumOperands,
lib/Analysis/StackSafetyAnalysis.cpp
   61   size_t ParamNo = 0;
   67   PassAsArgInfo(const GlobalValue *Callee, size_t ParamNo, ConstantRange Offset)
  550   size_t Count = 0;
lib/BinaryFormat/AMDGPUMetadataVerifier.cpp
   53     Optional<size_t> Size) {
lib/BinaryFormat/Magic.cpp
   41       size_t MinSize =
  130       size_t MinSize;
  140       size_t MinSize;
lib/BinaryFormat/MsgPackDocument.cpp
   53 DocNode &ArrayDocNode::operator[](size_t Index) {
   64   size_t Length;
lib/BinaryFormat/MsgPackDocumentYAML.cpp
  226   static size_t size(IO &IO, ArrayDocNode &A) { return A.size(); }
  228   static DocNode &element(IO &IO, ArrayDocNode &A, size_t Index) {
lib/BinaryFormat/MsgPackWriter.cpp
  102   size_t Size = s.size();
  124   size_t Size = Buffer.getBufferSize();
  174   size_t Size = Buffer.getBufferSize();
lib/Bitcode/Reader/BitcodeReader.cpp
  832   void parseTypeIdCompatibleVtableInfo(ArrayRef<uint64_t> Record, size_t &Slot,
  902 static bool hasImplicitComdat(size_t Val) {
 2799         for (size_t I = 0, E = BBID; I != E; ++I) {
 4643       size_t NumArgs = (Record.size() - 1) / 2;
 5661 parseWholeProgramDevirtResolutionByArg(ArrayRef<uint64_t> Record, size_t &Slot,
 5676                                               StringRef Strtab, size_t &Slot,
 5694   size_t Slot = 0;
 5711     ArrayRef<uint64_t> Record, size_t &Slot,
 5720   size_t Slot = 0;
 6015         size_t NumRefsIndex = 5;
lib/Bitcode/Reader/MetadataLoader.cpp
  138   BitcodeReaderMetadataList(LLVMContext &C, size_t RefsUpperBound)
  579         size_t HistoricSize;
lib/Bitcode/Reader/ValueList.cpp
   46   void *operator new(size_t s) { return User::operator new(s, 1); }
lib/Bitcode/Reader/ValueList.h
   54   BitcodeReaderValueList(LLVMContext &C, size_t RefsUpperBound)
lib/Bitcode/Writer/BitcodeWriter.cpp
  279   size_t addToStrtab(StringRef Str);
  392   void writeModuleHash(size_t BlockStartPos);
 1087 size_t ModuleBitcodeWriter::addToStrtab(StringRef Str) {
 4201 void ModuleBitcodeWriter::writeModuleHash(size_t BlockStartPos) {
 4226   size_t BlockStartPos = Buffer.size();
lib/Bitcode/Writer/ValueEnumerator.cpp
  235   for (size_t I = 0, E = List.size(); I != E; ++I)
lib/Bitstream/Reader/BitstreamReader.cpp
  219     size_t NewEnd = GetCurrentBitNo()+((NumElts+3)&~3)*8;
  344     size_t CurBitPos = GetCurrentBitNo();
  345     size_t NewEnd = CurBitPos+((NumElts+3)&~3)*8;
lib/CodeGen/AsmPrinter/AccelTable.cpp
  267   for (size_t i = 0, e = Buckets.size(); i < e; ++i) {
  311   for (size_t i = 0, e = Buckets.size(); i < e; ++i) {
  331   for (size_t i = 0, e = Buckets.size(); i < e; ++i) {
  416     size_t LargestCUIndex = CompUnits.size() - 1;
lib/CodeGen/AsmPrinter/ByteStreamer.h
  100       for (size_t i = 1; i < Length; ++i)
  112       for (size_t i = 1; i < Length; ++i)
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  208   size_t Cursor = 0;
  220     size_t PrevSlash = Filepath.rfind('\\', Cursor - 1);
lib/CodeGen/AsmPrinter/DebugLocStream.h
   36     size_t EntryOffset;
   37     List(DwarfCompileUnit *CU, size_t EntryOffset)
   43     size_t ByteOffset;
   44     size_t CommentOffset;
   60   size_t getNumLists() const { return Lists.size(); }
   61   const List &getList(size_t LI) const { return Lists[LI]; }
   80   size_t startList(DwarfCompileUnit *CU) {
   81     size_t LI = Lists.size();
  111     size_t LI = getIndex(L);
  117     size_t EI = getIndex(E);
  122     size_t EI = getIndex(E);
  128   size_t getIndex(const List &L) const {
  133   size_t getIndex(const Entry &E) const {
  138   size_t getNumEntries(size_t LI) const {
  138   size_t getNumEntries(size_t LI) const {
  143   size_t getNumBytes(size_t EI) const {
  143   size_t getNumBytes(size_t EI) const {
  148   size_t getNumComments(size_t EI) const {
  148   size_t getNumComments(size_t EI) const {
  161   size_t ListIndex;
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
 1398     size_t Index = std::distance(EB, EI);
 1544     size_t HistSize = HistoryMapEntries.size();
 1852   size_t NumAbstractScopes = LScopes.getAbstractScopesList().size();
 2544     for (size_t n = 1, e = List.size(); n < e; n++) {
lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
   56   size_t Letter = SymName.size();
  158       size_t LiveCount = FI.live_size(J);
lib/CodeGen/AsmPrinter/WinException.cpp
  778     for (size_t I = 0, E = FuncInfo.TryBlockMap.size(); I != E; ++I) {
  820     for (size_t I = 0, E = FuncInfo.TryBlockMap.size(); I != E; ++I) {
lib/CodeGen/BranchFolding.cpp
 1690           size_t PI = 0;
lib/CodeGen/CodeGenPrepare.cpp
 2836   size_t CurrentIndex = 0;
 2841   PhiNodeSetIterator(PhiNodeSet * const Set, size_t Start);
 2861   using MapType = SmallDenseMap<PHINode *, size_t, 32>;
 2877   size_t FirstValidElement = 0;
 2923   size_t size() const {
 2928   size_t count(PHINode *Ptr) const {
 2938   void SkipRemovedElements(size_t &CurrentIndex) {
 2950 PhiNodeSetIterator::PhiNodeSetIterator(PhiNodeSet *const Set, size_t Start)
lib/CodeGen/DwarfEHPrepare.cpp
   55     size_t
  141 size_t DwarfEHPrepare::pruneUnreachableResumes(
  145   size_t ResumeIndex = 0;
  165   size_t ResumesLeft = 0;
  166   for (size_t I = 0, E = Resumes.size(); I < E; ++I) {
  204   size_t ResumesLeft = pruneUnreachableResumes(Fn, Resumes, CleanupLPads);
lib/CodeGen/GlobalISel/InstructionSelect.cpp
  100   const size_t NumBlocks = MF.size();
lib/CodeGen/GlobalISel/Legalizer.cpp
  154   const size_t NumBlocks = MF.size();
lib/CodeGen/GlobalISel/LegalizerInfo.cpp
  534   for (size_t i = 0; i < v.size(); ++i) {
  553   for (size_t i = 0; i < v.size(); ++i) {
lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
  301   SmallVector<size_t, 8> Hashes(NumBreakDowns);
lib/CodeGen/GlobalMerge.cpp
  258     UsedGlobalSet(size_t Size) : Globals(Size) {}
  283   DenseMap<Function *, size_t /*UsedGlobalSetIdx*/> GlobalUsesByFunction;
  292   std::vector<size_t> EncounteredUGS;
  294   for (size_t GI = 0, GE = Globals.size(); GI != GE; ++GI) {
  304     size_t CurGVOnlySetIdx = 0;
  336         size_t UGSIdx = GlobalUsesByFunction[ParentFn];
  364         if (size_t ExpandedIdx = EncounteredUGS[UGSIdx]) {
  399     for (size_t i = 0, e = UsedGlobalSets.size(); i != e; ++i) {
  418   for (size_t i = 0, e = UsedGlobalSets.size(); i != e; ++i) {
lib/CodeGen/InterferenceCache.h
  148   size_t PhysRegEntriesCount = 0;
lib/CodeGen/LiveInterval.cpp
  357   size_t Len = size();
  359     size_t Mid = Len >> 1;
 1256   size_t GapSize = ReadI - WriteI;
 1257   size_t NumMoved = std::min(Spills.size(), GapSize);
 1293   size_t GapSize = ReadI - WriteI;
 1296     size_t WritePos = WriteI - LR->begin();
lib/CodeGen/MIRCanonicalizerPass.cpp
  114     const size_t i = S.find("=");
lib/CodeGen/MIRParser/MIParser.cpp
  160   for (size_t I = 0, E = RegMasks.size(); I < E; ++I)
lib/CodeGen/MachineBasicBlock.cpp
 1364   const size_t index = std::distance(Successors.begin(), I);
 1373   const size_t index = std::distance(Successors.begin(), I);
lib/CodeGen/MachineDominators.cpp
   96   size_t Idx = 0;
lib/CodeGen/MachineFunction.cpp
  917   for (size_t i = 0, e = JumpTables.size(); i != e; ++i)
  930   for (size_t j = 0, e = JTE.MBBs.size(); j != e; ++j)
lib/CodeGen/MachineInstr.cpp
 1979   SmallVector<size_t, 8> HashComponents;
lib/CodeGen/MachineOperand.cpp
  689       size_t e = CFI.getValues().size() - 1;
  690       for (size_t i = 0; i < e; ++i)
lib/CodeGen/MachineOutliner.cpp
  174   size_t size() const {
  994   for (size_t i = 0, e = OF.Candidates.size(); i < e; i++) {
lib/CodeGen/MachineVerifier.cpp
  932     size_t TypeIdx = MCID.OpInfo[I].getGenericTypeIndex();
lib/CodeGen/RegAllocPBQP.cpp
  258       std::tuple<LiveInterval*, size_t, PBQP::GraphBase::NodeId>;
lib/CodeGen/RenameIndependentSubregs.cpp
  304   for (size_t I = 0, E = Intervals.size(); I < E; ++I) {
  392   for (size_t I = 0, E = MRI->getNumVirtRegs(); I < E; ++I) {
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
15546     size_t StartIdx = 0;
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 8419   for (size_t I = 0; I != Order.size(); ++I) {
 9586   size_t Limit = SDNode::getMaxNumOperands();
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 9003     for (size_t i = 0, e = OldRetTys.size(); i != e; ++i) {
lib/CodeGen/SelectionDAG/StatepointLowering.cpp
  105   const size_t NumSlots = AllocatedStackSlots.size();
  285   for (size_t i = 0, e = Ptrs.size(); i < e; i++) {
lib/CodeGen/ShadowStackGCLowering.cpp
  159   for (size_t I = 0; I != Roots.size(); I++)
lib/CodeGen/SwitchLoweringUtils.cpp
  350       size_t NumClusters = Last - First + 1;
lib/CodeGen/TargetInstrInfo.cpp
  353   size_t StartSize = Accesses.size();
  367   size_t StartSize = Accesses.size();
lib/CodeGen/TargetLoweringBase.cpp
 1852 static bool parseRefinementStep(StringRef In, size_t &Position,
 1887     size_t RefPos;
 1914     size_t RefPos;
 1947     size_t RefPos;
 1968     size_t RefPos;
lib/CodeGen/WinEHPrepare.cpp
  740       size_t NumColorsForBB = ColorsForBB.size();
 1023     size_t NumColors = BlockColors[&BB].size();
lib/DebugInfo/CodeView/TypeRecordMapping.cpp
  153     size_t BytesLeft = IO.maxFieldLength();
  155       size_t BytesNeeded = Name.size() + UniqueName.size() + 2;
  159         size_t BytesToDrop = (BytesNeeded - BytesLeft);
  160         size_t DropN = std::min(N.size(), BytesToDrop / 2);
  161         size_t DropU = std::min(U.size(), BytesToDrop - DropN);
  459     for (size_t SlotIndex = 0; SlotIndex < Slots.size(); SlotIndex += 2) {
lib/DebugInfo/CodeView/TypeStreamMerger.cpp
   23 static inline size_t slotForIndex(TypeIndex Idx) {
  233   size_t MapPos = slotForIndex(Idx);
  417     for (size_t I = 0; I < Ref.Count; ++I) {
lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
  185 size_t DWARFAbbreviationDeclaration::FixedSizeInfo::getByteSize(
  187   size_t ByteSize = NumBytes;
  210 Optional<size_t> DWARFAbbreviationDeclaration::getFixedAttributesByteSize(
lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
   49   if (Optional<size_t> FixedSize = AbbrevDecl->getFixedAttributesByteSize(U)) {
lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
  230                                      size_t MaxEncodingStringLength) const {
  306   size_t MaxEncodingStringLength = 0;
lib/DebugInfo/DWARF/DWARFUnit.cpp
  708   for (size_t I = getDIEIndex(Die) + 1, EndIdx = DieArray.size(); I < EndIdx;
  725   for (size_t I = getDIEIndex(Die); I > 0;) {
  740   size_t I = getDIEIndex(Die) + 1;
  751   for (size_t I = getDIEIndex(Die) + 1, EndIdx = DieArray.size(); I < EndIdx;
lib/DebugInfo/GSYM/FileWriter.cpp
   71 void FileWriter::alignTo(size_t Align) {
lib/DebugInfo/GSYM/GsymCreator.cpp
  113   for (size_t i = 0, n = Funcs.size(); i < n; ++i)
  121   size_t NumFiles = Files.size();
lib/DebugInfo/GSYM/GsymReader.cpp
  210 Optional<uint64_t> GsymReader::getAddress(size_t Index) const {
  220 Optional<uint64_t> GsymReader::getAddressInfoOffset(size_t Index) const {
lib/DebugInfo/GSYM/LineTable.cpp
  166     const size_t NumDeltaInfos = DeltaInfos.size();
lib/DebugInfo/GSYM/Range.cpp
   61   size_t Size = AR.size();
   62   for (size_t I = 0; I < Size; ++I) {
lib/DebugInfo/PDB/Native/DbiModuleList.cpp
  226   for (size_t I = 0; I < FileInfoHeader->NumModules; ++I) {
lib/DebugInfo/PDB/Native/DbiStream.cpp
  268   size_t StreamLen = SHS->getLength();
  273   size_t NumSections = StreamLen / sizeof(object::coff_section);
  294   size_t StreamLen = FS->getLength();
  299   size_t NumRecords = StreamLen / sizeof(object::FpoData);
lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
  119   size_t LS = S1.size();
  120   size_t RS = S2.size();
  145     size_t BucketIdx = hashStringV1(Name) % IPHR_HASH;
  155   for (size_t BucketIdx = 0; BucketIdx < IPHR_HASH + 1; ++BucketIdx) {
lib/DebugInfo/PDB/Native/GlobalsStream.cpp
   53   size_t ExpandedBucketIndex = hashStringV1(Name) % IPHR_HASH;
  138   size_t BitmapSizeInBits = alignTo(IPHR_HASH + 1, 32);
lib/DebugInfo/PDB/Native/PDBStringTable.cpp
  116   size_t Count = IDs.size();
  118   for (size_t I = 0; I < Count; ++I) {
lib/DebugInfo/PDB/Native/TpiStreamBuilder.cpp
   47   size_t NewSize = TypeRecordBytes + Record.size();
   48   constexpr size_t EightKB = 8 * 1024;
lib/DebugInfo/Symbolize/DIPrinter.cpp
   47   size_t MaxLineNumberWidth = std::ceil(std::log10(LastLine));
lib/DebugInfo/Symbolize/Symbolize.cpp
  433   size_t ColonPos = ModuleName.find_last_of(':');
  492     size_t AtPos = SymbolName.rfind('@');
lib/Demangle/Demangle.cpp
   17   size_t Pos = MangledName.find_first_not_of('_');
lib/Demangle/ItaniumDemangle.cpp
  259     size_t Current;
  262   static constexpr size_t AllocSize = 4096;
  263   static constexpr size_t UsableAllocSize = AllocSize - sizeof(BlockMeta);
  275   void* allocateMassive(size_t NBytes) {
  288   void* allocate(size_t N) {
  324   void *allocateNodeArray(size_t sz) {
  337                             size_t *N, int *Status) {
  391   size_t Len = std::strlen(MangledName);
  397 static char *printNode(const Node *RootNode, char *Buf, size_t *N) {
  408 char *ItaniumPartialDemangler::getFunctionBaseName(char *Buf, size_t *N) const {
  438                                                           size_t *N) const {
  483 char *ItaniumPartialDemangler::getFunctionName(char *Buf, size_t *N) const {
  491                                                      size_t *N) const {
  510     char *Buf, size_t *N) const {
  528 char *ItaniumPartialDemangler::finishDemangle(char *Buf, size_t *N) const {
lib/Demangle/MicrosoftDemangle.cpp
  146   size_t End = S.find('?');
  759   size_t MD5Last = MangledName.find('@', strlen("??@"));
  903   for (size_t i = 0; i < MangledName.size(); ++i) {
  944   for (size_t i = 0; i < Backrefs.NamesCount; ++i)
  955   size_t I = MangledName[0] - '0';
 1281   size_t CrcEndPos = 0;
 1395   for (size_t i = 0; i < MangledName.size(); ++i) {
 1419   size_t EndPos = MangledName.find('@');
 1558                                           size_t Count) {
 1562   for (size_t I = 0; I < Count; ++I) {
 1576   size_t Count = 1;
 2123   size_t Count = 0;
 2129       size_t N = MangledName[0] - '0';
 2142     size_t OldSize = MangledName.size();
 2151     size_t CharsConsumed = OldSize - MangledName.size();
 2184   size_t Count = 0;
 2315   for (size_t I = 0; I < Backrefs.FunctionParamCount; ++I) {
 2329   for (size_t I = 0; I < Backrefs.NamesCount; ++I) {
 2337 char *llvm::microsoftDemangle(const char *MangledName, char *Buf, size_t *N,
lib/Demangle/MicrosoftDemangleNodes.cpp
   70   size_t Pos1 = OS.getCurrentPosition();
   74   size_t Pos2 = OS.getCurrentPosition();
  160   for (size_t I = 1; I < Count; ++I) {
  561   for (size_t I = 1; I < Dimensions->Count; ++I) {
lib/ExecutionEngine/ExecutionEngine.cpp
  109     size_t GVSize = (size_t)TD.getTypeAllocSize(ElTy);
 1306   size_t GVSize = (size_t)getDataLayout().getTypeAllocSize(ElTy);
lib/ExecutionEngine/ExecutionEngineBindings.cpp
  151                                         size_t SizeOfPassedOptions) {
  162     LLVMMCJITCompilerOptions *PassedOptions, size_t SizeOfPassedOptions,
lib/ExecutionEngine/GDBRegistrationListener.cpp
  160   size_t      Size = DebugObj.getBinary()->getMemoryBufferRef().getBufferSize();
lib/ExecutionEngine/Interpreter/Execution.cpp
  447     for( size_t _i=0; _i<Src1.AggregateVal.size(); _i++)
  593       for( size_t _i=0;_i<Src1.AggregateVal.size();_i++)
  600       for( size_t _i=0;_i<Src1.AggregateVal.size();_i++)
  624       for( size_t _i=0;_i<Src1.AggregateVal.size();_i++)
  631         for( size_t _i=0;_i<Src1.AggregateVal.size();_i++)
  654       for( size_t _i=0; _i<Src1.AggregateVal.size(); _i++)
  850       for (size_t i = 0; i < Src1.AggregateVal.size(); ++i)
 1251     size_t src1Size = Src1.AggregateVal.size();
lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
  405       size_t Len = strlen(Buffer);
  475   size_t len = (size_t)Args[2].IntVal.getZExtValue();
lib/ExecutionEngine/Interpreter/Interpreter.cpp
   91   const size_t ArgCount = F->getFunctionType()->getNumParams();
lib/ExecutionEngine/JITLink/EHFrameSupport.cpp
   29     size_t RecordOffset = EHFrameReader.getOffset();
   37     size_t RecordLength = 0;
   59       if (ExtendedLengthField + 12 > std::numeric_limits<size_t>::max())
   72     size_t CIEPointerAddress = EHFrameAddress + EHFrameReader.getOffset();
  153 Error EHFrameBinaryParser::processCIE(size_t RecordOffset,
  154                                       size_t RecordLength) {
  276 Error EHFrameBinaryParser::processFDE(size_t RecordOffset, size_t RecordLength,
  276 Error EHFrameBinaryParser::processFDE(size_t RecordOffset, size_t RecordLength,
  470                              size_t EHFrameSectionSize) {
  487                                size_t EHFrameSectionSize) {
  521     size_t Size = 0;
lib/ExecutionEngine/JITLink/EHFrameSupportImpl.h
   46                   Symbol &CIE, size_t CIEOffset, Symbol &Func,
   47                   size_t FuncOffset, Symbol *LSDA, size_t LSDAOffset) = 0;
   47                   size_t FuncOffset, Symbol *LSDA, size_t LSDAOffset) = 0;
   57   Error processCIE(size_t RecordOffset, size_t RecordLength);
   57   Error processCIE(size_t RecordOffset, size_t RecordLength);
   58   Error processFDE(size_t RecordOffset, size_t RecordLength,
   58   Error processFDE(size_t RecordOffset, size_t RecordLength,
lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp
  195     size_t SegContentSize = 0;
lib/ExecutionEngine/JITLink/JITLinkMemoryManager.cpp
   50       size_t SlabSize = SlabEnd - (char *)SlabStart;
   86   size_t TotalSize = 0;
lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h
   69                                        size_t CIEOffset, Symbol &Func,
   70                                        size_t FuncOffset, Symbol *LSDA,
   71                                        size_t LSDAOffset) override {
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h
  100                           size_t Size) override {
lib/ExecutionEngine/Orc/SpeculateAnalyses.cpp
   77 size_t BlockFreqQuery::numBBToGet(size_t numBB) {
   77 size_t BlockFreqQuery::numBBToGet(size_t numBB) {
  118   for (size_t i = 0; i < Topk; i++)
lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
  121                                                     size_t Size) {
  131                                                       size_t Size) {
  138                                           size_t Size) {
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
  450   for (size_t Idx = 0, Cnt = SectionSizes.size(); Idx < Cnt; Idx++) {
  626   size_t GotEntrySize = getGOTEntrySize();
  630   size_t GotSize = 0;
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
   38     size_t EQIdx = Expr.find('=');
  208     size_t FirstNonSymbol = Expr.find_first_not_of("0123456789"
  336     size_t ComaIdx = RemainingExpr.find(',');
  373     size_t ComaIdx = RemainingExpr.find(',');
  446     size_t FirstNonDigit = StringRef::npos;
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
  233     size_t EHFrameSize = Sections[EHFrameSID].getSize();
 1770 size_t RuntimeDyldELF::getGOTEntrySize() {
 1773   size_t Result = 0;
 1861     size_t TotalSize = CurrentGOTIndex * getGOTEntrySize();
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
   98   size_t getGOTEntrySize() override;
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h
   54   size_t Size;
   68   size_t AllocationSize;
   75   SectionEntry(StringRef name, uint8_t *address, size_t size,
   76                size_t allocationSize, uintptr_t objAddress)
   95   size_t getSize() const { return Size; }
  451   virtual size_t getGOTEntrySize() { return 0; }
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFX86_64.h
  275       size_t EHFrameSize = Sections[EHFrameSID].getSize();
lib/ExecutionEngine/SectionMemoryManager.cpp
  175   static const size_t PageSize = sys::Process::getPageSizeEstimate();
  177   size_t StartOverlap =
  180   size_t TrimmedSize = M.allocatedSize();
  246                        size_t NumBytes, const sys::MemoryBlock *const NearBlock,
lib/FuzzMutate/FuzzerCLI.cpp
  170     const uint8_t *Data, size_t Size, LLVMContext &Context) {
  189 size_t llvm::writeModule(const Module &M, uint8_t *Dest, size_t MaxSize) {
  189 size_t llvm::writeModule(const Module &M, uint8_t *Dest, size_t MaxSize) {
  201 std::unique_ptr<Module> llvm::parseAndVerify(const uint8_t *Data, size_t Size,
lib/FuzzMutate/IRMutator.cpp
   54 void IRMutator::mutateModule(Module &M, int Seed, size_t CurSize,
   55                              size_t MaxSize) {
  114   size_t IP = uniform<size_t>(IB.Rand, 0, Insts.size() - 1);
  114   size_t IP = uniform<size_t>(IB.Rand, 0, Insts.size() - 1);
  139 uint64_t InstDeleterIRStrategy::getWeight(size_t CurrentSize, size_t MaxSize,
  139 uint64_t InstDeleterIRStrategy::getWeight(size_t CurrentSize, size_t MaxSize,
lib/IR/AsmWriter.cpp
  240   for (size_t I = 0, E = List.size(); I != E; ++I)
lib/IR/AttributeImpl.h
  253   size_t numTrailingObjects(OverloadToken<AttributeSet>) { return NumAttrSets; }
lib/IR/Attributes.cpp
 1046   for (size_t I = ArgAttrs.size(); I != 0; --I) {
lib/IR/AutoUpgrade.cpp
 1635   size_t Pos;
lib/IR/ConstantsContext.h
   53   void *operator new(size_t s) {
   73   void *operator new(size_t s) {
   93   void *operator new(size_t s) {
  114   void *operator new(size_t s) {
  136   void *operator new(size_t s) {
  161   void *operator new(size_t s) {
  182   void *operator new(size_t s) {
  214   void *operator new(size_t s) {
  279   void *operator new(size_t s) {
lib/IR/Core.cpp
  133 unsigned LLVMGetEnumAttributeKindForName(const char *Name, size_t SLen) {
  243 const char *LLVMGetModuleIdentifier(LLVMModuleRef M, size_t *Len) {
  249 void LLVMSetModuleIdentifier(LLVMModuleRef M, const char *Ident, size_t Len) {
  253 const char *LLVMGetSourceFileName(LLVMModuleRef M, size_t *Len) {
  259 void LLVMSetSourceFileName(LLVMModuleRef M, const char *Name, size_t Len) {
  289   size_t KeyLen;
  332 LLVMModuleFlagEntry *LLVMCopyModuleFlagsMetadata(LLVMModuleRef M, size_t *Len) {
  362                                         unsigned Index, size_t *Len) {
  377                                   const char *Key, size_t KeyLen) {
  382                        const char *Key, size_t KeyLen,
  428 void LLVMSetModuleInlineAsm2(LLVMModuleRef M, const char *Asm, size_t Len) {
  436 void LLVMAppendModuleInlineAsm(LLVMModuleRef M, const char *Asm, size_t Len) {
  440 const char *LLVMGetModuleInlineAsm(LLVMModuleRef M, size_t *Len) {
  447                               char *AsmString, size_t AsmStringSize,
  448                               char *Constraints, size_t ConstraintsSize,
  819 const char *LLVMGetValueName2(LLVMValueRef Val, size_t *Length) {
  825 void LLVMSetValueName2(LLVMValueRef Val, const char *Name, size_t NameLen) {
  898 llvm_getMetadata(size_t *NumEntries,
  917                                                size_t *NumEntries) {
 1049                                        size_t SLen) {
 1054                                      size_t Count) {
 1163                                         const char *Name, size_t NameLen) {
 1168                                                 const char *Name, size_t NameLen) {
 1172 const char *LLVMGetNamedMetadataName(LLVMNamedMDNodeRef NMD, size_t *NameLen) {
 1391 const char *LLVMGetAsString(LLVMValueRef C, size_t *Length) {
 2024                                                   size_t *NumEntries) {
 2208                                      const char *Name, size_t NameLen) {
 2326                                          size_t ParamCount) {
 2332 const char *LLVMIntrinsicGetName(unsigned ID, size_t *NameLength) {
 2340                                  LLVMTypeRef *ParamTypes, size_t ParamCount) {
 2348                                             size_t ParamCount,
 2349                                             size_t *NameLength) {
 2357 unsigned LLVMLookupIntrinsicID(const char *Name, size_t NameLen) {
 2498                                 const char *Name, size_t NameLen,
 2508                                      const char *Name, size_t NameLen) {
 4024     size_t InputDataLength,
 4035     size_t InputDataLength,
 4047 size_t LLVMGetBufferSize(LLVMMemoryBufferRef MemBuf) {
lib/IR/DebugInfo.cpp
  756     LLVMMetadataRef FileRef, const char *Producer, size_t ProducerLen,
  757     LLVMBool isOptimized, const char *Flags, size_t FlagsLen,
  758     unsigned RuntimeVer, const char *SplitName, size_t SplitNameLen,
  774                         size_t FilenameLen, const char *Directory,
  775                         size_t DirectoryLen) {
  782                           const char *Name, size_t NameLen,
  783                           const char *ConfigMacros, size_t ConfigMacrosLen,
  784                           const char *IncludePath, size_t IncludePathLen,
  785                           const char *ISysRoot, size_t ISysRootLen) {
  795                                              const char *Name, size_t NameLen,
  803     size_t NameLen, const char *LinkageName, size_t LinkageNameLen,
  803     size_t NameLen, const char *LinkageName, size_t LinkageNameLen,
  876                                        const char *Name, size_t NameLen) {
  936                                          const char *Name, size_t NameLen,
  937                                          const char *Value, size_t ValueLen) {
  953                                               const char *Name, size_t NameLen,
  962   size_t NameLen, LLVMMetadataRef File, unsigned LineNumber,
  974   size_t NameLen, LLVMMetadataRef File, unsigned LineNumber,
  977   const char *UniqueId, size_t UniqueIdLen) {
 1011                              size_t NameLen, uint64_t SizeInBits,
 1022     const char *Name, size_t NameLen) {
 1030     size_t NameLen, LLVMMetadataRef File, unsigned LineNumber,
 1034     const char *UniqueId, size_t UniqueIdLen) {
 1046     size_t NameLen, LLVMMetadataRef File, unsigned LineNo, uint64_t SizeInBits,
 1056                                    size_t NameLen) {
 1063     size_t NameLen, LLVMMetadataRef File, unsigned LineNumber,
 1075                             const char *Name, size_t NameLen,
 1089                                 const char *Name, size_t NameLen,
 1091                                 const char *GetterName, size_t GetterNameLen,
 1092                                 const char *SetterName, size_t SetterNameLen,
 1109                            const char *Name, size_t NameLen,
 1131     size_t NameLen, LLVMMetadataRef Scope, LLVMMetadataRef File, unsigned Line,
 1133     const char *UniqueIdentifier, size_t UniqueIdentifierLen) {
 1143     size_t NameLen, LLVMMetadataRef Scope, LLVMMetadataRef File, unsigned Line,
 1146     size_t UniqueIdentifierLen) {
 1189                                       const char *Name, size_t NameLen,
 1203     LLVMMetadataRef Scope, const char *Name, size_t NameLen,
 1209     const char *UniqueIdentifier, size_t UniqueIdentifierLen) {
 1228 const char *LLVMDITypeGetName(LLVMMetadataRef DType, size_t *Length) {
 1256                                                   size_t Length) {
 1274                                               int64_t *Addr, size_t Length) {
 1287     size_t NameLen, const char *Linkage, size_t LinkLen, LLVMMetadataRef File,
 1287     size_t NameLen, const char *Linkage, size_t LinkLen, LLVMMetadataRef File,
 1319                                     size_t Count) {
 1337     size_t NameLen, const char *Linkage, size_t LnkLen, LLVMMetadataRef File,
 1337     size_t NameLen, const char *Linkage, size_t LnkLen, LLVMMetadataRef File,
 1391     size_t NameLen, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty,
 1401     size_t NameLen, unsigned ArgNo, LLVMMetadataRef File, unsigned LineNo,
 1416                                               size_t Length) {
lib/IR/Function.cpp
  301 static MutableArrayRef<Argument> makeArgArray(Argument *Args, size_t Count) {
  609     for (size_t i = 0; i < FT->getNumParams(); i++)
lib/IR/IntrinsicInst.cpp
   70   size_t CmpEnd = 4; // Skip the "llvm" component.
   75     size_t CmpStart = CmpEnd;
lib/IR/LLVMContextImpl.h
 1180   size_t size() const { return Attachments.size(); }
lib/IR/Metadata.cpp
  480 void *MDNode::operator new(size_t Size, unsigned NumOps) {
  481   size_t OpSize = NumOps * sizeof(MDOperand);
  494   size_t OpSize = N->NumOperands * sizeof(MDOperand);
lib/IR/PassTimingInfo.cpp
  231   size_t prefix_pos = PassID.find('<');
lib/IR/SafepointIRVerifier.cpp
  620     size_t OldInCount = BBS->AvailableIn.size();
  636     size_t OldOutCount = BBS->AvailableOut.size();
lib/IR/User.cpp
   49   size_t size = N * sizeof(Use) + sizeof(Use::UserRef);
  112 void *User::allocateFixedOperandUser(size_t Size, unsigned Us,
  141 void *User::operator new(size_t Size, unsigned Us) {
  145 void *User::operator new(size_t Size, unsigned Us, unsigned DescBytes) {
  149 void *User::operator new(size_t Size) {
lib/IR/Verifier.cpp
 1030     size_t Size;
lib/LTO/LTO.cpp
  443     size_t Begin = File->Symbols.size();
lib/LTO/LTOModule.cpp
   55 bool LTOModule::isBitcodeFile(const void *Mem, size_t Length) {
  124                               size_t size, const TargetOptions &options) {
  130                                    size_t map_size, off_t offset,
  146                             size_t length, const TargetOptions &options,
  155                                 const void *mem, size_t length,
  240 LTOModule::makeBuffer(const void *mem, size_t length, StringRef name) {
  653                                            size_t buffer_size, const char *path,
  669 size_t LTOModule::getDependentLibraryCount(lto::InputFile *input) {
  673 const char *LTOModule::getDependentLibrary(lto::InputFile *input, size_t index,
  674                                            size_t *size) {
lib/LineEditor/LineEditor.cpp
   43     size_t Len = std::min(CommonPrefix.size(), I->TypedText.size());
   44     size_t CommonLen = 0;
   55 LineEditor::ListCompleterConcept::complete(StringRef Buffer, size_t Pos) const {
   84                                                              size_t Pos) const {
lib/Linker/IRMover.cpp
  732   size_t DotPos = Name.rfind('.');
lib/MC/ELFObjectWriter.cpp
 1283     size_t Pos = AliasName.find('@');
lib/MC/MCAsmStreamer.cpp
  378     size_t Position = Comments.find('\n');
  409     size_t p = 2, len = c.size() - 2;
  412       size_t newp = std::min(len, c.find_first_of("\r\n", p));
  951   const size_t Cols = 4;
  952   for (size_t I = 0, EI = alignTo(Data.size(), Cols); I < EI; I += Cols) {
  953     size_t J = I, EJ = std::min(I + Cols, Data.size());
 1563     size_t e = Values.size() - 1;
 1564     for (size_t i = 0; i < e; ++i)
lib/MC/MCCodeView.cpp
  266   size_t Offset = MCCVLines.size();
  280     for (size_t Idx = I->second.first, End = I->second.second; Idx != End;
  310 std::pair<size_t, size_t> CodeViewContext::getLineExtent(unsigned FuncId) {
  310 std::pair<size_t, size_t> CodeViewContext::getLineExtent(unsigned FuncId) {
  318 ArrayRef<MCCVLoc> CodeViewContext::getLinesForExtent(size_t L, size_t R) {
  318 ArrayRef<MCCVLoc> CodeViewContext::getLinesForExtent(size_t L, size_t R) {
  463   size_t LocBegin;
  464   size_t LocEnd;
  517     size_t MaxBufferSize = MaxRecordLength - InlineSiteSize - AnnotationSize;
  629   for (size_t I = 0, E = Frag.getRanges().size(); I != E;) {
  634     size_t J = I + 1;
  662       size_t RecordSize = FixedSizePortion.size() +
lib/MC/MCDisassembler/Disassembler.cpp
  153     size_t Position = Comments.find('\n');
  252 size_t LLVMDisasmInstruction(LLVMDisasmContextRef DCR, uint8_t *Bytes,
  254                              size_t OutStringSize){
  288     size_t OutputSize = std::min(OutStringSize-1, InsnStr.size());
lib/MC/MCDwarf.cpp
  324   size_t Offset = LineStrings.add(Path);
lib/MC/MCLinkerOptimizationHint.cpp
   47     void write_impl(const char *, size_t size) override { Count += size; }
lib/MC/MCParser/AsmLexer.cpp
  508 size_t AsmLexer::peekTokens(MutableArrayRef<AsmToken> Buf,
  519   size_t ReadCount;
  561     size_t num = peekTokens(Buf, true);
lib/MC/MCParser/AsmParser.cpp
  100   size_t CondStackDepth;
  103   MacroInstantiation(SMLoc IL, int EB, SMLoc EL, size_t CondStackDepth);
  666                             size_t Len);
 1391   for (size_t Pos = 0; Pos < AltMacroStr.size(); Pos++) {
 2524                                        size_t CondStackDepth)
 2924       size_t length = Str.size();
 5686                                      size_t Len) {
lib/MC/MCParser/DarwinAsmParser.cpp
  712       size_t B = SectionVal.find(',') + 1, E = SectionVal.find(',', B);
lib/MC/MCSubtargetInfo.cpp
   88 static size_t getLongestEntryLength(ArrayRef<T> Table) {
   89   size_t MaxLen = 0;
lib/MC/MCSymbol.cpp
   31 void *MCSymbol::operator new(size_t s, const StringMapEntry<bool> *Name,
   35   size_t Size = s + (Name ? sizeof(NameEntryStorageTy) : 0);
lib/MC/StringTableBuilder.cpp
   62 using StringPair = std::pair<CachedHashStringRef, size_t>;
   80 static int charTailAt(StringPair *P, size_t Pos) {
   98   size_t I = 0;
   99   size_t J = Vec.size();
  100   for (size_t K = 1; K < J;) {
  147         size_t Pos = Size - S.size() - (K != RAW);
  180 size_t StringTableBuilder::getOffset(CachedHashStringRef S) const {
  187 size_t StringTableBuilder::add(CachedHashStringRef S) {
  194     size_t Start = alignTo(Size, Alignment);
lib/MC/WinCOFFObjectWriter.cpp
  106   static size_t size() { return COFF::RelocationSize; }
  872   size_t I = 1;
lib/MC/XCOFFObjectWriter.cpp
  210   size_t auxiliaryHeaderSize() const {
lib/Object/Archive.cpp
  181       size_t End = Parent->getStringTable().find('\n', /*From=*/StringOffset);
  457   size_t SpaceToSkip = Data.size();
lib/Object/COFFImportFile.cpp
   61   size_t S = B.size();
   74   size_t Pos = B.size();
   75   size_t Offset = B.size();
  111   size_t Pos = S.find(From);
  466   size_t ImpSize = ImportName.size() + Sym.size() + 2; // +2 for NULs
  467   size_t Size = sizeof(coff_import_header) + ImpSize;
lib/Object/COFFModuleDefinition.cpp
  101       size_t End = Buf.find('\n');
  121       size_t End = Buf.find_first_of("=,;\r\n \t\v");
lib/Object/COFFObjectFile.cpp
 1025   size_t SymbolSize = getSymbolTableEntrySize();
 1049   size_t Index = Offset / getSymbolTableEntrySize();
lib/Object/Decompressor.cpp
   96   size_t Size = Buffer.size();
lib/Object/ELF.cpp
  313   const size_t WordSize = sizeof(Word);
  317   const size_t NBits = 8*WordSize - 1;
  502   size_t DynSecSize = 0;
lib/Object/MachOObjectFile.cpp
  108 static const char *getPtr(const MachOObjectFile &O, size_t Offset) {
  972                              size_t SizeOfCmd, const char *CmdStructName,
 2309   size_t a, b, c, d, Idx;
lib/Object/Minidump.cpp
   25 Expected<std::string> MinidumpFile::getString(size_t Offset) const {
   33   size_t Size = (*ExpectedSize)[0];
   83   size_t ListSize = ExpectedSize.get()[0];
   85   size_t ListOffset = 4;
  102 MinidumpFile::getDataSlice(ArrayRef<uint8_t> Data, size_t Offset, size_t Size) {
  102 MinidumpFile::getDataSlice(ArrayRef<uint8_t> Data, size_t Offset, size_t Size) {
lib/Object/Object.cpp
  137                                                         size_t ArchLen,
lib/Object/WasmObjectFile.cpp
  682   for (size_t I = 0; I < Fields; ++I) {
  703     for (size_t J = 0; J < ValueCount; ++J) {
  723   for (size_t I = 0; I < FeatureCount; ++I) {
 1648     for (size_t I = 0;; ++I) {
lib/Object/WindowsResource.cpp
   53   size_t LeadingSize = WIN_RES_MAGIC_SIZE + WIN_RES_NULL_ENTRY_SIZE;
lib/Object/XCOFFObjectFile.cpp
  388 size_t XCOFFObjectFile::getFileHeaderSize() const {
  392 size_t XCOFFObjectFile::getSectionHeaderSize() const {
lib/ObjectYAML/DWARFEmitter.cpp
   44 static void writeVariableSizedInteger(uint64_t Integer, size_t Size,
   58 static void ZeroFillBytes(raw_ostream &OS, size_t Size) {
lib/ObjectYAML/ELFEmitter.cpp
  194 template <class T> static size_t arrayDataSize(ArrayRef<T> A) {
  367   size_t SuffixPos = S.rfind(" [");
  380   for (size_t I = 0; I < Doc.Sections.size(); ++I) {
  466 static size_t findFirstNonGlobal(ArrayRef<ELFYAML::Symbol> Symbols) {
  467   for (size_t I = 0; I < Symbols.size(); ++I)
  476   size_t ContentSize = 0;
  496   size_t I = 0;
  882   for (size_t I = 0; I < Section.Entries.size(); ++I) {
  899     for (size_t J = 0; J < E.VerNames.size(); ++J, ++AuxCnt) {
  925   for (size_t I = 0; I < Section.VerneedV.size(); ++I) {
  940     for (size_t J = 0; J < VE.AuxV.size(); ++J, ++AuxCnt) {
 1111     for (size_t I = 0, S = V.size(); I < S; ++I) {
 1171   const size_t SectionContentBeginOffset =
lib/ObjectYAML/MachOEmitter.cpp
   56   void ZeroToOffset(raw_ostream &OS, size_t offset);
  108 size_t writeLoadCommandData(MachOYAML::LoadCommand &LC, raw_ostream &OS,
  114 size_t writeLoadCommandData<MachO::segment_command>(MachOYAML::LoadCommand &LC,
  117   size_t BytesWritten = 0;
  130 size_t writeLoadCommandData<MachO::segment_command_64>(
  132   size_t BytesWritten = 0;
  145 size_t writePayloadString(MachOYAML::LoadCommand &LC, raw_ostream &OS) {
  146   size_t BytesWritten = 0;
  155 size_t writeLoadCommandData<MachO::dylib_command>(MachOYAML::LoadCommand &LC,
  162 size_t writeLoadCommandData<MachO::dylinker_command>(MachOYAML::LoadCommand &LC,
  169 size_t writeLoadCommandData<MachO::rpath_command>(MachOYAML::LoadCommand &LC,
  176 size_t writeLoadCommandData<MachO::build_version_command>(
  178   size_t BytesWritten = 0;
  190 void ZeroFillBytes(raw_ostream &OS, size_t Size) {
  196 void Fill(raw_ostream &OS, size_t Size, uint32_t Data) {
  202 void MachOWriter::ZeroToOffset(raw_ostream &OS, size_t Offset) {
  210     size_t BytesWritten = 0;
  479   void ZeroToOffset(raw_ostream &OS, size_t offset);
  498   for (size_t i = 0; i < FatFile.Slices.size(); i++) {
  562 void UniversalWriter::ZeroToOffset(raw_ostream &OS, size_t Offset) {
lib/ObjectYAML/MachOYAML.cpp
   44   size_t CopySize = 16 >= Scalar.size() ? 16 : Scalar.size();
   63   size_t OutIdx = 0;
   64   for (size_t Idx = 0; Idx < Scalar.size(); ++Idx) {
lib/ObjectYAML/MinidumpEmitter.cpp
   31   size_t tell() const { return NextOffset; }
   33   size_t allocateCallback(size_t Size,
   33   size_t allocateCallback(size_t Size,
   35     size_t Offset = NextOffset;
   41   size_t allocateBytes(ArrayRef<uint8_t> Data) {
   46   size_t allocateBytes(yaml::BinaryRef Data) {
   52   template <typename T> size_t allocateArray(ArrayRef<T> Data) {
   58   std::pair<size_t, MutableArrayRef<T>>
   61   template <typename T> size_t allocateObject(const T &Data) {
   66   std::pair<size_t, T *> allocateNewObject(Types &&... Args) {
   71   size_t allocateString(StringRef Str);
   76   size_t NextOffset = 0;
   84 std::pair<size_t, MutableArrayRef<T>>
   86   size_t Num = std::distance(Range.begin(), Range.end());
   92 size_t BlobAllocator::allocateString(StringRef Str) {
  101   size_t Result =
  108   size_t BeginOffset = OS.tell();
  121 static size_t layout(BlobAllocator &File, MinidumpYAML::ExceptionStream &S) {
  124   size_t DataEnd = File.tell();
  155 static size_t layout(BlobAllocator &File,
  162   size_t DataEnd = File.tell();
  176   Optional<size_t> DataEnd;
lib/ObjectYAML/MinidumpYAML.cpp
  387   for (size_t Index = 0; Index < Exception.MaxParameters; ++Index) {
lib/Option/OptTable.cpp
  199     for (size_t I = 0; In.Prefixes[I]; I++)
  211   for (size_t I = FirstSearchableIndex, E = OptionInfos.size(); I < E; I++) {
  231   for (size_t I = FirstSearchableIndex, E = OptionInfos.size(); I < E; I++) {
  323   for (size_t I = FirstSearchableIndex, E = OptionInfos.size(); I < E; I++) {
lib/Passes/PassBuilder.cpp
 1758     size_t Pos = Text.find_first_of(",()");
lib/ProfileData/Coverage/CoverageMapping.cpp
  199   size_t FilenameHash = hash_value(Filename);
lib/ProfileData/Coverage/CoverageMappingReader.cpp
   99   for (size_t I = 0; I < NumFilenames; ++I) {
  155     size_t NumFileIDs) {
  160   for (size_t I = 0; I < NumRegions; ++I) {
  258   for (size_t I = 0; I < NumFileMappings; ++I) {
  280   for (size_t I = 0; I < NumExpressions; ++I) {
  366 StringRef InstrProfSymtab::getFuncName(uint64_t Pointer, size_t Size) {
  414   DenseMap<NameRefType, size_t> FunctionRecords;
  426                                      StringRef Mapping, size_t FilenamesBegin) {
  442     size_t OldRecordIndex = InsertResult.first->second;
  494     size_t FilenamesBegin = Filenames.size();
  651   size_t Pad = offsetToAlignedAddr(CoverageMapping.data(), Align(8));
lib/ProfileData/GCOV.cpp
   75   for (size_t i = 0, e = Functions.size(); i < e; ++i) {
  322     for (size_t EdgeNo = 0, End = Block.getNumDstEdges(); EdgeNo < End;
  388 void GCOVBlock::addCount(size_t DstEdgeNo, uint64_t N) {
  466   const size_t index = it - Blocked.begin();
  513       const size_t index = find(Blocked, W) - Blocked.begin();
  814             size_t NumEdges = Block->getNumDstEdges();
lib/ProfileData/InstrProf.cpp
  297   size_t found = VarName.find_first_of(InvalidChars);
  484   for (size_t F = 0, E = Counts.size(); F < E; ++F)
  491     for (size_t I = 0; I < NumValueSites; ++I) {
  581   for (size_t I = 0, E = Other.Counts.size(); I < E; ++I) {
  591     for (size_t I = 0, E = Other.Counts.size(); I < E; ++I)
  664   for (size_t I = 0, E = Other.Counts.size(); I < E; ++I) {
  754 ValueProfData *allocValueProfDataInstrProf(size_t TotalSizeInBytes) {
lib/ProfileData/InstrProfReader.cpp
  143   size_t count = std::min(Buffer.getBufferSize(), sizeof(uint64_t));
lib/ProfileData/ProfileSummaryBuilder.cpp
   40   for (size_t I = 1, E = R.Counts.size(); I < E; ++I)
lib/ProfileData/SampleProfReader.cpp
   73   size_t n2 = Input.rfind(':');
   74   size_t n1 = Input.rfind(':', n2 - 1);
  106   size_t n1 = Input.find(':');
  108   size_t n2 = Loc.find('.');
  123     size_t n3 = Rest.find(' ');
  180     size_t n3 = Rest.find_last_of(':');
  595   size_t UCSize = DecompressBufSize;
lib/Remarks/RemarkParser.cpp
   36 Expected<StringRef> ParsedStringTable::operator[](size_t Index) const {
   43   size_t Offset = Offsets[Index];
   46   size_t NextOffset =
lib/Remarks/RemarkStringTable.cpp
   32   size_t NextID = StrTab.size();
lib/Remarks/YAMLRemarkSerializer.cpp
  126   static size_t size(IO &io, ArrayRef<T> &seq) { return seq.size(); }
  127   static Argument &element(IO &io, ArrayRef<T> &seq, size_t index) {
lib/Support/APFloat.cpp
 2621   size_t slen = str.size();
lib/Support/APInt.cpp
  499   size_t slen = str.size();
 2100   size_t slen = str.size();
lib/Support/ARMAttributeParser.cpp
   85   size_t Length = std::strlen(String);
  635   size_t VendorNameLength = std::strlen(VendorName);
lib/Support/ARMTargetParser.cpp
  274   size_t offset = StringRef::npos;
  502   size_t StartingNumFeatures = Features.size();
lib/Support/Allocator.cpp
   20 void printBumpPtrAllocatorStats(unsigned NumSlabs, size_t BytesAllocated,
   21                                 size_t TotalMemory) {
   31 void PrintRecyclerStats(size_t Size,
   32                         size_t Align,
   33                         size_t FreeListSize) {
lib/Support/BinaryStreamReader.cpp
   83     size_t Pos = S.find_first_of('\0');
   92   size_t Length = FoundOffset - OriginalOffset;
lib/Support/BuryPointer.cpp
   21   static const size_t kGraveYardMaxSize = 16;
lib/Support/CachePruning.cpp
  246   size_t NumFiles = FileInfos.size();
lib/Support/Chrono.cpp
   89   size_t Len = strftime(Buffer, sizeof(Buffer), Format.c_str(), &LT);
lib/Support/CommandLine.cpp
   95 static size_t argPlusPrefixesSize(StringRef ArgName) {
   96   size_t Len = ArgName.size();
  515   size_t EqualPos = Arg.find('=');
  706 static Option *getOptionPred(StringRef Name, size_t &Length,
  742   size_t Length = 0;
  813   for (size_t I = 0, E = Src.size(); I != E; ++I) {
  887 static size_t parseBackslash(StringRef Src, size_t I, SmallString<128> &Token) {
  887 static size_t parseBackslash(StringRef Src, size_t I, SmallString<128> &Token) {
  888   size_t E = Src.size();
  916   for (size_t I = 0, E = Src.size(); I != E; ++I) {
 1103     size_t End;
 1317     for (size_t i = 0, e = PositionalOpts.size(); i != e; ++i) {
 1497     for (size_t i = 0, e = PositionalOpts.size(); i != e; ++i) {
 1531     for (size_t j = 1, e = PositionalOpts.size(); j != e; ++j)
 1647 size_t alias::getOptionWidth() const {
 1651 void Option::printHelpStr(StringRef HelpStr, size_t Indent,
 1652                           size_t FirstLineIndentedBy) {
 1664 void alias::printOptionInfo(size_t GlobalWidth) const {
 1677 size_t basic_parser_impl::getOptionWidth(const Option &O) const {
 1678   size_t Len = argPlusPrefixesSize(O.ArgStr);
 1681     size_t FormattingLen = 3;
 1694                                         size_t GlobalWidth) const {
 1710                                         size_t GlobalWidth) const {
 1832 static size_t OptionPrefixesSize = OptionPrefix.size() + ArgHelpPrefix.size();
 1841 size_t generic_parser_base::getOptionWidth(const Option &O) const {
 1843     size_t Size =
 1849       size_t NameSize = Name.empty() ? EmptyOption.size() : Name.size();
 1854     size_t BaseSize = 0;
 1865                                           size_t GlobalWidth) const {
 1890       size_t NumSpaces = GlobalWidth - OptionName.size() - OptionPrefixesSize;
 1912 static const size_t MaxOptWidth = 8; // arbitrary spacing for printOptionDiff
 1919     const GenericOptionValue &Default, size_t GlobalWidth) const {
 1929     size_t L = getOption(i).size();
 1930     size_t NumSpaces = MaxOptWidth > L ? MaxOptWidth - L : 0;
 1978                                           size_t GlobalWidth) const {
 1981   size_t NumSpaces = MaxOptWidth > V.size() ? MaxOptWidth - V.size() : 0;
 1992                                            size_t GlobalWidth) const {
 2060   virtual void printOptions(StrOptionPairVector &Opts, size_t MaxArgLen) {
 2061     for (size_t i = 0, e = Opts.size(); i != e; ++i)
 2065   void printSubCommands(StrSubCommandPairVector &Subs, size_t MaxSubLen) {
 2131       size_t MaxSubLen = 0;
 2132       for (size_t i = 0, e = Subs.size(); i != e; ++i)
 2147     size_t MaxArgLen = 0;
 2148     for (size_t i = 0, e = Opts.size(); i != e; ++i)
 2178   void printOptions(StrOptionPairVector &Opts, size_t MaxArgLen) override {
 2205     for (size_t I = 0, E = Opts.size(); I != E; ++I) {
 2354   size_t MaxArgLen = 0;
 2355   for (size_t i = 0, e = Opts.size(); i != e; ++i)
 2358   for (size_t i = 0, e = Opts.size(); i != e; ++i)
lib/Support/Compression.cpp
   95                        size_t &UncompressedSize) {
  100                        size_t UncompressedSize) {
lib/Support/Debug.cpp
   74   for (size_t T = 0; T < Count; ++T)
lib/Support/DebugCounter.cpp
   22   void printOptionInfo(size_t GlobalWidth) const override {
   38       size_t NumSpaces = GlobalWidth - Info.first.size() - 8;
lib/Support/FileCheck.cpp
  119     Optional<size_t> LineNumber, const SourceMgr &SM) {
  153                                           Optional<size_t> LineNumber,
  177   Optional<size_t> DefLineNumber = NumericVariable->getDefLineNumber();
  189                                       Optional<size_t> LineNumber,
  225     bool IsLegacyLineExpr, Optional<size_t> LineNumber,
  270     bool IsLegacyLineExpr, Optional<size_t> LineNumber,
  276   size_t DefEnd = Expr.find(':');
  377       size_t End = PatternStr.find("}}");
  413       size_t End = FindRegexVarEnd(UnparsedPatternStr, SM);
  436       size_t SubstInsertIdx = RegExStr.size();
  440         size_t VarEndIdx = MatchStr.find(":");
  441         size_t SpacePos = MatchStr.substr(0, VarEndIdx).find_first_of(" \t");
  577     size_t FixedMatchEnd = PatternStr.find("{{");
  612 Expected<size_t> FileCheckPattern::match(StringRef Buffer, size_t &MatchLen,
  612 Expected<size_t> FileCheckPattern::match(StringRef Buffer, size_t &MatchLen,
  623     size_t Pos = IgnoreCase ? Buffer.find_lower(FixedStr)
  641     size_t InsertOffset = 0;
  699   size_t MatchStartSkip = CheckTy == Check::CheckEmpty;
  766                                   StringRef Buffer, size_t Pos, size_t Len,
  766                                   StringRef Buffer, size_t Pos, size_t Len,
  788   size_t NumLinesForward = 0;
  789   size_t Best = StringRef::npos;
  793   for (size_t i = 0, e = std::min(size_t(4096), Buffer.size()); i != e; ++i) {
  847                                                 size_t InsertIdx) {
  855     std::unique_ptr<FileCheckExpressionAST> ExpressionAST, size_t InsertIdx) {
  861 size_t FileCheckPattern::FindRegexVarEnd(StringRef Str, SourceMgr &SM) {
  863   size_t Offset = 0;
  865   size_t BracketDepth = 0;
 1042 static size_t SkipWord(StringRef Str, size_t Loc) {
 1042 static size_t SkipWord(StringRef Str, size_t Loc) {
 1088     size_t Loc = Prefix.data() - Buffer.data();
 1213     size_t EOL = Buffer.find_first_of("\n\r");
 1290                        int MatchedCount, StringRef Buffer, size_t MatchPos,
 1291                        size_t MatchLen, const FileCheckRequest &Req,
 1327                        StringRef Buffer, size_t MatchPos, size_t MatchLen,
 1327                        StringRef Buffer, size_t MatchPos, size_t MatchLen,
 1425 size_t FileCheckString::Check(const SourceMgr &SM, StringRef Buffer,
 1426                               bool IsLabelScanMode, size_t &MatchLen,
 1429   size_t LastPos = 0;
 1444   size_t LastMatchEnd = LastPos;
 1445   size_t FirstMatchPos = 0;
 1451     size_t CurrentMatchLen;
 1453     Expected<size_t> MatchResult = Pat.match(MatchBuffer, CurrentMatchLen, SM);
 1461     size_t MatchPos = *MatchResult;
 1476     size_t MatchPos = FirstMatchPos - LastPos;
 1575     size_t MatchLen = 0;
 1576     Expected<size_t> MatchResult = Pat->match(Buffer, MatchLen, SM);
 1583     size_t Pos = *MatchResult;
 1594 size_t
 1603   size_t StartPos = 0;
 1606     size_t Pos;
 1607     size_t End;
 1631     size_t MatchLen = 0, MatchPos = StartPos;
 1637       Expected<size_t> MatchResult = Pat.match(MatchBuffer, MatchLen, SM);
 1645       size_t MatchPosBuf = *MatchResult;
 1782   SmallVector<std::pair<size_t, size_t>, 4> CmdlineDefsIndices;
 1782   SmallVector<std::pair<size_t, size_t>, 4> CmdlineDefsIndices;
 1785     size_t EqIdx = CmdlineDef.find('=');
 1817   for (std::pair<size_t, size_t> CmdlineDefIndices : CmdlineDefsIndices) {
 1817   for (std::pair<size_t, size_t> CmdlineDefIndices : CmdlineDefsIndices) {
 1948       size_t MatchLabelLen = 0;
 1949       size_t MatchLabelPos =
 1971       size_t MatchLen = 0;
 1972       size_t MatchPos =
lib/Support/FileCheckImpl.h
   93   Optional<size_t> DefLineNumber;
   99                                     Optional<size_t> DefLineNumber = None)
  117   Optional<size_t> getDefLineNumber() { return DefLineNumber; }
  188   size_t InsertIdx;
  192                         size_t InsertIdx)
  201   size_t getIndex() const { return InsertIdx; }
  211                               StringRef VarName, size_t InsertIdx)
  228                                size_t InsertIdx)
  312                                                 size_t InsertIdx);
  319                           size_t InsertIdx);
  429   Optional<size_t> LineNumber;
  436                    Optional<size_t> Line = None)
  476       bool IsLegacyLineExpr, Optional<size_t> LineNumber,
  499   Expected<size_t> match(StringRef Buffer, size_t &MatchLen,
  499   Expected<size_t> match(StringRef Buffer, size_t &MatchLen,
  529   size_t FindRegexVarEnd(StringRef Str, SourceMgr &SM);
  538       Optional<size_t> LineNumber, const SourceMgr &SM);
  547                           Optional<size_t> LineNumber,
  560                       Optional<size_t> LineNumber,
  571              bool IsLegacyLineExpr, Optional<size_t> LineNumber,
  598   size_t Check(const SourceMgr &SM, StringRef Buffer, bool IsLabelScanMode,
  599                size_t &MatchLen, FileCheckRequest &Req,
  616   size_t CheckDag(const SourceMgr &SM, StringRef Buffer,
lib/Support/FileOutputBuffer.cpp
   46   size_t getBufferSize() const override { return Buffer->size(); }
   89   size_t getBufferSize() const override { return BufferSize; }
  112   size_t BufferSize;
  118 createInMemoryBuffer(StringRef Path, size_t Size, unsigned Mode) {
  128 createOnDiskBuffer(StringRef Path, size_t Size, unsigned Mode) {
  166 FileOutputBuffer::create(StringRef Path, size_t Size, unsigned Flags) {
lib/Support/FormatVariadic.cpp
   27                                              size_t &Align, char &Pad) {
   66   size_t Index = 0;
  105       size_t NumEscapedBraces = Braces.size() / 2;
lib/Support/FormattedStream.cpp
   23 static void UpdatePosition(std::pair<unsigned, unsigned> &Position, const char *Ptr, size_t Size) {
   48 void formatted_raw_ostream::ComputePosition(const char *Ptr, size_t Size) {
   76 void formatted_raw_ostream::write_impl(const char *Ptr, size_t Size) {
lib/Support/GlobPattern.cpp
   80     size_t End = S.find(']', 2);
  166       for (size_t I = 0, E = S.size(); I < E; ++I)
lib/Support/Host.cpp
   81   size_t CPULen = 0;
  294       size_t Pos = Lines[I].find(":");
  313       size_t Pos = Lines[I].find("machine = ");
lib/Support/ItaniumManglingCanonicalizer.cpp
  145   void *allocateNodeArray(size_t sz) {
lib/Support/JSON.cpp
  209     size_t ErrOffset;
  532 bool isUTF8(llvm::StringRef S, size_t *ErrOffset) {
lib/Support/LineIterator.cpp
   87   size_t Length = 0;
lib/Support/MemoryBuffer.cpp
   72 void *operator new(size_t N, const NamedBufferAlloc &Alloc) {
  217     Expected<size_t> ReadBytes = sys::fs::readNativeFile(
  274 WritableMemoryBuffer::getNewUninitMemBuffer(size_t Size, const Twine &BufferName) {
  282   size_t AlignedStringLen = alignTo(sizeof(MemBuffer) + NameRef.size() + 1, 16);
  283   size_t RealLen = AlignedStringLen + Size + 1;
  300 WritableMemoryBuffer::getNewMemBuffer(size_t Size, const Twine &BufferName) {
  309                           size_t FileSize,
  310                           size_t MapSize,
  342   size_t End = Offset + MapSize;
  466     Expected<size_t> ReadBytes =
lib/Support/NativeFormatting.cpp
   51 static void write_unsigned_impl(raw_ostream &S, T N, size_t MinDigits,
   58   size_t Len = 0;
   65     for (size_t I = Len; I < MinDigits; ++I)
   77 static void write_unsigned(raw_ostream &S, T N, size_t MinDigits,
   88 static void write_signed(raw_ostream &S, T N, size_t MinDigits,
  103 void llvm::write_integer(raw_ostream &S, unsigned int N, size_t MinDigits,
  108 void llvm::write_integer(raw_ostream &S, int N, size_t MinDigits,
  113 void llvm::write_integer(raw_ostream &S, unsigned long N, size_t MinDigits,
  118 void llvm::write_integer(raw_ostream &S, long N, size_t MinDigits,
  123 void llvm::write_integer(raw_ostream &S, unsigned long long N, size_t MinDigits,
  128 void llvm::write_integer(raw_ostream &S, long long N, size_t MinDigits,
  134                      Optional<size_t> Width) {
  135   const size_t kMaxWidth = 128u;
  137   size_t W = std::min(kMaxWidth, Width.getValueOr(0u));
  164                         Optional<size_t> Precision) {
  165   size_t Prec = Precision.getValueOr(getDefaultPrecision(Style));
  253 size_t llvm::getDefaultPrecision(FloatStyle Style) {
lib/Support/Parallel.cpp
   44       for (size_t i = 1; i < ThreadCount; ++i) {
lib/Support/Path.cpp
   80       size_t end = path.find_first_of(separators(style), 2);
   89     size_t end = path.find_first_of(separators(style));
   95   size_t filename_pos(StringRef str, Style style) {
   99     size_t pos = str.find_last_of(separators(style), str.size() - 1);
  114   size_t root_dir_start(StringRef str, Style style) {
  137   size_t parent_path_end(StringRef path, Style style) {
  138     size_t end_pos = filename_pos(path, style);
  144     size_t root_dir_pos = root_dir_start(path, style);
  281   size_t end_pos = Path.find_first_of(separators(S), Position);
  313   size_t root_dir_pos = root_dir_start(Path, S);
  316   size_t end_pos = Position;
  331   size_t start_pos = filename_pos(Path.substr(0, end_pos), S);
  435       size_t loc = component.find_first_not_of(separators(style));
  467   size_t end_pos = parent_path_end(path, style);
  475   size_t end_pos = parent_path_end(StringRef(path.begin(), path.size()), style);
  487   size_t pos = p.find_last_of('.');
  569   size_t pos = fname.find_last_of('.');
  582   size_t pos = fname.find_last_of('.');
  940   const size_t BufSize = 4096;
  998   constexpr size_t BufSize = 4096;
lib/Support/RandomNumberGenerator.cpp
   58 std::error_code llvm::getRandomBytes(void *Buffer, size_t Size) {
lib/Support/Regex.cpp
   60   size_t len = llvm_regerror(error, preg, nullptr, 0);
lib/Support/ScaledNumber.cpp
  192   size_t NonZero = Float.find_last_not_of('0');
  239   size_t DigitsOut = 0;
  259   size_t SinceDot = 0;
  260   size_t AfterDot = Str.size();
  285   size_t Truncate =
lib/Support/Signals.cpp
   56 static constexpr size_t MaxSignalHandlerCallbacks = 8;
   61   for (size_t I = 0; I < MaxSignalHandlerCallbacks; ++I) {
   77   for (size_t I = 0; I < MaxSignalHandlerCallbacks; ++I) {
lib/Support/SmallVector.cpp
   42 void SmallVectorBase::grow_pod(void *FirstEl, size_t MinCapacity,
   43                                size_t TSize) {
   48   size_t NewCapacity = 2 * capacity() + 1; // Always grow.
lib/Support/SourceMgr.cpp
   38 static const size_t TabStop = 8;
   80     size_t Sz = Buffer->getBufferSize();
   83     for (size_t N = 0; N < Sz; ++N) {
  133   size_t Sz = SB.Buffer->getBufferSize();
  145   size_t NewlineOffs = StringRef(BufStart, Ptr-BufStart).find_last_of("\n\r");
  278   size_t PrevHintEndCol = 0;
  343     size_t NextTab = LineContents.find('\t', i);
  423   size_t NumColumns = LineContents.size();
  480   for (size_t i = 0, e = FixItInsertionLine.size(), OutCol = 0; i < e; ++i) {
lib/Support/SpecialCaseList.cpp
   43   for (size_t pos = 0; (pos = Regexp.find('*', pos)) != std::string::npos;
   99   StringMap<size_t> Sections;
  118   StringMap<size_t> Sections;
  125                             StringMap<size_t> &SectionsMap,
lib/Support/Statistic.cpp
  175   for (size_t i = 0, e = Stats.Stats.size(); i != e; ++i) {
  190   for (size_t i = 0, e = Stats.Stats.size(); i != e; ++i)
lib/Support/StringExtras.cpp
   22   size_t N = s2.size(), M = s1.size();
   25   for (size_t i = 0, e = M - N + 1; i != e; ++i)
lib/Support/StringRef.cpp
   21 const size_t StringRef::npos;
   26 static int ascii_strncasecmp(const char *LHS, const char *RHS, size_t Length) {
   27   for (size_t I = 0; I < Length; ++I) {
   57 size_t StringRef::find_lower(char C, size_t From) const {
   57 size_t StringRef::find_lower(char C, size_t From) const {
   64   for (size_t I = 0, E = std::min(Length, RHS.Length); I != E; ++I) {
   69       size_t J;
  132 size_t StringRef::find(StringRef Str, size_t From) const {
  132 size_t StringRef::find(StringRef Str, size_t From) const {
  137   size_t Size = Length - From;
  140   size_t N = Str.size();
  181 size_t StringRef::find_lower(StringRef Str, size_t From) const {
  181 size_t StringRef::find_lower(StringRef Str, size_t From) const {
  192 size_t StringRef::rfind_lower(char C, size_t From) const {
  192 size_t StringRef::rfind_lower(char C, size_t From) const {
  194   size_t i = From;
  207 size_t StringRef::rfind(StringRef Str) const {
  208   size_t N = Str.size();
  211   for (size_t i = Length - N + 1, e = 0; i != e;) {
  219 size_t StringRef::rfind_lower(StringRef Str) const {
  220   size_t N = Str.size();
  223   for (size_t i = Length - N + 1, e = 0; i != e;) {
  236                                               size_t From) const {
  249 StringRef::size_type StringRef::find_first_not_of(char C, size_t From) const {
  261                                                   size_t From) const {
  277                                              size_t From) const {
  290 StringRef::size_type StringRef::find_last_not_of(char C, size_t From) const {
  302                                                  size_t From) const {
  323     size_t Idx = S.find(Separator);
  349     size_t Idx = S.find(Separator);
  372 size_t StringRef::count(StringRef Str) const {
  373   size_t Count = 0;
  374   size_t N = Str.size();
  377   for (size_t i = 0, e = Length - N + 1; i != e; ++i)
lib/Support/TarWriter.cpp
   95   for (size_t I = 0; I < sizeof(Hdr); ++I)
  134   size_t Sep = Path.rfind('/', sizeof(UstarHeader::Prefix) + 1);
  148                              StringRef Name, size_t Size) {
lib/Support/TargetRegistry.cpp
  119   size_t Width = 0;
lib/Support/TimeProfiler.cpp
   31 typedef std::pair<size_t, DurationType> CountAndDurationType;
lib/Support/Timer.cpp
  112 static inline size_t getMemUsage() {
lib/Support/TrigramIndex.cpp
   94   for (size_t I = 0; I < Query.size(); I++) {
  101     for (size_t J : II->second) {
lib/Support/Unicode.cpp
  345   for (size_t i = 0, e = Text.size(); i < e; i += Length) {
lib/Support/Unix/Memory.inc
   85 Memory::allocateMappedMemory(size_t NumBytes,
  120   static const size_t PageSize = Process::getPageSizeEstimate();
  121   const size_t NumPages = (NumBytes+PageSize-1)/PageSize;
  221                                         size_t Len) {
lib/Support/Unix/Path.inc
  777 mapped_file_region::mapped_file_region(int fd, mapmode mode, size_t length,
  791 size_t mapped_file_region::size() const {
 1002 Expected<size_t> readNativeFile(file_t FD, MutableArrayRef<char> Buf) {
 1010 Expected<size_t> readNativeFileSlice(file_t FD, MutableArrayRef<char> Buf,
lib/Support/Unix/Process.inc
   85 size_t Process::GetMallocUsage() {
lib/Support/Unix/Program.inc
  482   size_t ArgLength = Program.size() + 1;
lib/Support/Unix/Signals.inc
  238 static const size_t NumSigs =
  258   const size_t AltStackSize = MINSIGSTKSZ + 64 * 1024;
  443 static int dl_iterate_phdr_cb(dl_phdr_info *info, size_t size, void *arg) {
lib/Support/Valgrind.cpp
   51 void llvm::sys::ValgrindDiscardTranslations(const void *Addr, size_t Len) {
lib/Support/VirtualFileSystem.cpp
 1440     size_t RootPathLen = sys::path::root_path(Trimmed).size();
lib/Support/circular_raw_ostream.cpp
   17 void circular_raw_ostream::write_impl(const char *Ptr, size_t Size) {
lib/Support/raw_os_ostream.cpp
   25 void raw_os_ostream::write_impl(const char *Ptr, size_t Size) {
lib/Support/raw_ostream.cpp
   89 size_t raw_ostream::preferred_buffer_size() const {
   96   if (size_t Size = preferred_buffer_size())
  103 void raw_ostream::SetBufferAndMode(char *BufferStart, size_t Size,
  217   size_t Length = OutBufCur - OutBufStart;
  242 raw_ostream &raw_ostream::write(const char *Ptr, size_t Size) {
  255     size_t NumBytes = OutBufEnd - OutBufCur;
  262       size_t BytesToWrite = Size - (Size % NumBytes);
  264       size_t BytesRemaining = Size - BytesToWrite;
  285 void raw_ostream::copy_to_buffer(const char *Ptr, size_t Size) {
  308   size_t NextBufferSize = 127;
  309   size_t BufferBytesLeft = OutBufEnd - OutBufCur;
  311     size_t BytesUsed = Fmt.print(OutBufCur, BufferBytesLeft);
  333     size_t BytesUsed = Fmt.print(V.data(), NextBufferSize);
  356   const size_t Difference = FS.Width - FS.Str.size();
  406   size_t LineIndex = 0;
  408   const size_t Size = Bytes.size();
  415     size_t Lines = Size / FB.NumPerLine;
  439     size_t CharsPrinted = 0;
  441     for (size_t I = 0; I < Line.size(); ++I, CharsPrinted += 2) {
  687 void raw_fd_ostream::write_impl(const char *Ptr, size_t Size) {
  702   size_t MaxWriteSize = INT32_MAX;
  711     size_t ChunkSize = std::min(Size, MaxWriteSize);
  767 void raw_fd_ostream::pwrite_impl(const char *Ptr, size_t Size,
  775 size_t raw_fd_ostream::preferred_buffer_size() const {
  816     size_t len = strlen(colorcode);
  832     size_t len = strlen(colorcode);
  848     size_t len = strlen(colorcode);
  902 void raw_string_ostream::write_impl(const char *Ptr, size_t Size) {
  912 void raw_svector_ostream::write_impl(const char *Ptr, size_t Size) {
  916 void raw_svector_ostream::pwrite_impl(const char *Ptr, size_t Size,
  934 void raw_null_ostream::write_impl(const char *Ptr, size_t Size) {
  941 void raw_null_ostream::pwrite_impl(const char *Ptr, size_t Size,
lib/Support/regcomp.c
  236 static void doemit(struct parse *, sop, size_t);
  237 static void doinsert(struct parse *, sop, size_t, sopno);
  299 	size_t len;
  943 	size_t len;
 1007 	size_t len;
 1197 	size_t nc;
 1198 	size_t nbytes;
 1200 	size_t css = (size_t)p->g->csetsize;
 1257 	size_t i;
 1259 	size_t css = (size_t)p->g->csetsize;
 1280 	size_t i;
 1283 	size_t css = (size_t)p->g->csetsize;
 1310 	size_t i;
 1311 	size_t css = (size_t)p->g->csetsize;
 1326 	size_t i;
 1327 	size_t css = (size_t)p->g->csetsize;
 1342 	size_t oldend = cs->smultis;
 1475 doemit(struct parse *p, sop op, size_t opnd)
 1497 doinsert(struct parse *p, sop op, size_t opnd, sopno pos)
lib/Support/regengine.inc
   87 static int matcher(struct re_guts *, const char *, size_t,
  131 matcher(struct re_guts *g, const char *string, size_t nmatch,
  136 	size_t i;
  493 	size_t len;
lib/Support/regerror.c
   83 size_t
   84 llvm_regerror(int errcode, const llvm_regex_t *preg, char *errbuf, size_t errbuf_size)
   87 	size_t len;
lib/Support/regex2.h
  115 	size_t smultis;
  154 	size_t nsub;		/* copy of re_nsub */
lib/Support/regex_impl.h
   50   size_t re_nsub;		/* number of parenthesized subexpressions */
   98 size_t	llvm_regerror(int, const llvm_regex_t *, char *, size_t);
   98 size_t	llvm_regerror(int, const llvm_regex_t *, char *, size_t);
   99 int	llvm_regexec(const llvm_regex_t *, const char *, size_t,
  102 size_t  llvm_strlcpy(char *dst, const char *src, size_t siz);
  102 size_t  llvm_strlcpy(char *dst, const char *src, size_t siz);
lib/Support/regexec.c
  141 llvm_regexec(const llvm_regex_t *preg, const char *string, size_t nmatch,
lib/Support/regstrlcpy.c
   28 size_t
   29 llvm_strlcpy(char *dst, const char *src, size_t siz)
   33 	size_t n = siz;
lib/Support/xxhash.cpp
   47 static uint64_t rotl64(uint64_t X, size_t R) {
   72   size_t Len = Data.size();
lib/TableGen/TableGenBackend.cpp
   19 const size_t MAX_LINE_LEN = 80U;
   23   size_t Pos = (size_t)OS.tell();
   27   for (size_t i = (size_t)OS.tell() - Pos, e = MAX_LINE_LEN - Suffix.size();
   38   size_t PSLen = Prefix.size() + Suffix.size();
   40   size_t Pos = 0U;
   42     size_t Length = std::min(Desc.size() - Pos, MAX_LINE_LEN - PSLen);
lib/Target/AArch64/AArch64ISelLowering.cpp
 9999       for (size_t i = 0; i < Mask.size(); ++i)
lib/Target/AArch64/AArch64RegisterInfo.cpp
   90   for (size_t i = 0; i < AArch64::GPR64commonRegClass.getNumRegs(); ++i) {
  157   for (size_t i = 0; i < AArch64::GPR64commonRegClass.getNumRegs(); ++i) {
  205   for (size_t i = 0; i < AArch64::GPR32commonRegClass.getNumRegs(); ++i) {
lib/Target/AArch64/AArch64Subtarget.h
  301   bool isXRegisterReserved(size_t i) const { return ReserveXRegister[i]; }
  303   bool isXRegCustomCalleeSaved(size_t i) const {
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
 3138   size_t Start = 0, Next = Name.find('.');
 3776   size_t Start = 0, Next = Name.find('.');
lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
  566     for (size_t i = 0, e = Instrs.size(); i != e; ++i) {
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  555     for (size_t i = 0; i < DisasmLines.size(); ++i) {
lib/Target/AMDGPU/AMDGPUAsmPrinter.h
  148   size_t DisasmLineMaxLen;
lib/Target/AMDGPU/AMDGPUInline.cpp
   53 static cl::opt<size_t>
  223     size_t Size = Caller->size() + Callee->size() - 1;
lib/Target/AMDGPU/AMDGPULibCalls.cpp
  417   size_t size;
lib/Target/AMDGPU/AMDGPULibFunc.cpp
  461 inline static void drop_front(StringRef& str, size_t n = 1) {
  485   size_t const savedSize = s.size();
  530   size_t const Len = eatNumber(mangledName);
lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
  360       for (size_t i = 0; i < CodeBytes.size(); i += 4) {
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
   57                                StringRef fmt, size_t num_ops) const;
  104     size_t NumOps) const {
  111   size_t CurFmtSpecifierIdx = 0;
  112   size_t PrevFmtSpecifierIdx = 0;
  119     size_t pTag = CurFmt.find_last_of("%");
  257                 size_t SizeStr = Init->isZeroValue()
  260                 size_t Rem = SizeStr % DWORD_ALIGN;
  261                 size_t NSizeStr = 0;
  285       for (size_t I = 0; I < Str.size(); ++I) {
  447             size_t SizeStr = strlen(S) + 1;
  448             size_t Rem = SizeStr % DWORD_ALIGN;
  449             size_t NSizeStr = 0;
lib/Target/AMDGPU/AMDILCFGStructurizer.cpp
  182     size_t i = 0;
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
 5555   for (size_t i = 0; i < Ctl.size(); ++i) {
 6519   for (size_t i = 1; i < 8; ++i) {
 6535   for (size_t i = 0; i < 8; ++i)
lib/Target/AMDGPU/GCNSchedStrategy.cpp
  454   size_t CurRegion = RegionIdx;
  455   for (size_t E = Regions.size(); CurRegion != E; ++CurRegion)
lib/Target/AMDGPU/GCNSchedStrategy.h
   81   size_t RegionIdx;
lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
  689   for (size_t i = 1; i < 8; ++i) {
lib/Target/AMDGPU/R600OpenCLImageTypeLoweringPass.cpp
   96   size_t NumOps = Node->getNumOperands();
  105   size_t ExpectNumArgNodeOps = F->arg_size() + 1;
  106   for (size_t i = 0; i < NumKernelArgMDNodes; ++i) {
lib/Target/ARM/ARMFrameLowering.cpp
  215                                       size_t StackSizeInBytes) {
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
 2284       for (size_t i = Ops.size() - NumMove, e = Ops.size(); i != e; ++i) {
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
 4961   size_t Start = 0, Next = Mask.find('_');
 6771   size_t Start = 0, Next = Name.find('.');
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
 1114   for (size_t i = 0, e = Instrs.size(); i != e; ++i) {
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
  313     for (size_t i = 0; i < Contents.size(); ++i)
  417   size_t calculateContentSize() const;
 1036 size_t ARMTargetELFStreamer::calculateContentSize() const {
 1037   size_t Result = 0;
 1038   for (size_t i = 0; i < Contents.size(); ++i) {
 1096   const size_t VendorHeaderSize = 4 + CurrentVendor.size() + 1;
 1099   const size_t TagHeaderSize = 1 + 4;
 1101   const size_t ContentsSize = calculateContentSize();
 1112   for (size_t i = 0; i < Contents.size(); ++i) {
 1451   for (size_t i = 0; i < RegList.size(); ++i) {
lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.cpp
   31     size_t Pos = 3;
   43     void EmitSize(size_t Size) {
   44       size_t SizeInWords = (Size + 3) / 4;
  136     size_t ULEBSize = encodeULEB128((Offset - 0x204) >> 2, Buff + 1);
  162     size_t TotalSize = Ops.size() + 1;
  163     size_t RoundUpSize = (TotalSize + 3) / 4 * 4;
  178       size_t TotalSize = Ops.size() + 2;
  179       size_t RoundUpSize = (TotalSize + 3) / 4 * 4;
  187   for (size_t i = OpBegins.size() - 1; i > 0; --i)
  188     for (size_t j = OpBegins[i - 1], end = OpBegins[i]; j < end; ++j)
lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.h
   83   void EmitBytes(const uint8_t *Opcode, size_t Size) {
lib/Target/AVR/AsmParser/AVRAsmParser.cpp
  427   size_t ReadCount = Parser.getLexer().peekTokens(tokens);
  648   size_t ReadCount = Parser.getLexer().peekTokens(Tokens);
lib/Target/AVR/MCTargetDesc/AVRMCCodeEmitter.cpp
  272   size_t WordCount = Size / 2;
lib/Target/BPF/BTFDebug.cpp
  944   size_t FirstDollar = AccessPattern.find_first_of('$');
  945   size_t FirstColon = AccessPattern.find_first_of(':');
  946   size_t SecondColon = AccessPattern.find_first_of(':', FirstColon + 1);
lib/Target/BPF/BTFDebug.h
  335   size_t addString(StringRef S) { return StringTable.addString(S); }
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
  827 static bool previousEqual(OperandVector &Operands, size_t Index,
  837 static bool previousIsLoop(OperandVector &Operands, size_t Index) {
 1000       size_t First = RawString.find('.');
lib/Target/Hexagon/HexagonBitTracker.cpp
  176   size_t size() const { return Vector.size(); }
lib/Target/Hexagon/HexagonCommonGEP.cpp
  318 inline void *operator new(size_t, SpecificBumpPtrAllocator<GepNode> &A) {
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
 1667   size_t size() {
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp
  776     size_t H = Mask.size()/2;
  780     size_t H = Mask.size()/2;
 1213   size_t S = Bytes.size() / 2;
lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp
  340 uint32_t HexagonMCCodeEmitter::parseBits(size_t Last, MCInst const &MCB,
  378   size_t Last = HexagonMCInstrInfo::bundleSize(HMB) - 1;
  723   size_t OperandNumber = ~0U;
lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.h
   44     size_t Index = 0;
   83   uint32_t parseBits(size_t Last, MCInst const &MCB, MCInst const &MCI) const;
lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.cpp
  115 size_t HexagonMCInstrInfo::bundleSize(MCInst const &MCI) {
  191                                                    size_t Index) {
  444 bool HexagonMCInstrInfo::hasExtenderForIndex(MCInst const &MCB, size_t Index) {
  474 MCInst const &HexagonMCInstrInfo::instruction(MCInst const &MCB, size_t Index) {
  762 int64_t HexagonMCInstrInfo::minConstant(MCInst const &MCI, size_t Index) {
lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.h
   66 size_t const innerLoopOffset = 0;
   69 size_t const outerLoopOffset = 1;
   74 size_t const memReorderDisabledOffset = 2;
   77 size_t const bundleInstructionsOffset = 1;
   89 size_t bundleSize(MCInst const &MCI);
  106 MCInst const *extenderForIndex(MCInst const &MCB, size_t Index);
  176 bool hasExtenderForIndex(MCInst const &MCB, size_t Index);
  186 int64_t minConstant(MCInst const &MCI, size_t Index);
  188 bool inRange(MCInst const &MCI, size_t Index) {
  192 bool inSRange(MCInst const &MCI, size_t Index) {
  195 template <unsigned N> bool inRange(MCInst const &MCI, size_t Index) {
  200 MCInst const &instruction(MCInst const &MCB, size_t Index);
lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp
 1037   size_t Next = Name.find('.');
 1075       size_t Next = Mnemonic.rfind('.', Name.size());
lib/Target/MSP430/MCTargetDesc/MSP430MCCodeEmitter.cpp
   93   size_t WordCount = Size / 2;
lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
 1574   size_t Dot = Name.find('.');
lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
  989     size_t ReadCount = getLexer().peekTokens(Buf);
lib/Target/RISCV/RISCVRegisterInfo.cpp
   73   for (size_t Reg = 0; Reg < getNumRegs(); Reg++) {
lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
 1097   for (size_t i = 0; i < Operands.size(); i++) {
lib/Target/SystemZ/SystemZHazardRecognizer.cpp
  183     size_t Pos = FU.find("Unit");
lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
  752       size_t NumBits = 0;
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.cpp
  198   static const size_t BufBytes = 128;
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp
  144       size_t PaddedSize = 5;
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
  173     for (size_t I = 0, E = Debug->getNumOperands(); I < E; ++I) {
  185     for (size_t I = 0, E = Ident->getNumOperands(); I < E; ++I) {
lib/Target/WebAssembly/WebAssemblyFrameLowering.h
   29   static const size_t RedZoneSize = 128;
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
 1295   const size_t Lanes = Op.getNumOperands();
 1337   using ValueEntry = std::pair<SDValue, size_t>;
 1340   using SwizzleEntry = std::pair<std::pair<SDValue, SDValue>, size_t>;
 1361   size_t NumConstantLanes = 0;
 1364   for (size_t I = 0; I < Lanes; ++I) {
 1381   size_t NumSplatLanes;
 1386   size_t NumSwizzleLanes = 0;
 1393   std::function<bool(size_t, const SDValue &)> IsLaneConstructed;
 1438   for (size_t I = 0; I < Lanes; ++I) {
 1455   size_t LaneBytes = VecType.getVectorElementType().getSizeInBits() / 8;
 1459   size_t OpIdx = 0;
 1465     for (size_t J = 0; J < LaneBytes; ++J) {
lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h
   78   void setNumLocals(size_t NumLocals) { Locals.resize(NumLocals, MVT::i32); }
   79   void setLocal(size_t i, MVT VT) { Locals[i] = VT; }
lib/Target/WebAssembly/WebAssemblyRegColoring.cpp
  136   for (size_t I = 0, E = SortedIntervals.size(); I < E; ++I) {
  139     size_t Color = I;
  167   for (size_t I = 0, E = SortedIntervals.size(); I < E; ++I) {
lib/Target/X86/Disassembler/X86DisassemblerDecoder.h
  551   size_t length;
lib/Target/X86/X86CallingConv.cpp
   45   const size_t RequiredGprsUponSplit = 2;
  301   size_t ArgCount = State.getMachineFunction().getFunction().arg_size();
lib/Target/X86/X86ISelLowering.cpp
 6955     size_t MaskSize = std::max(SrcMask0.size(), SrcMask1.size());
 6959     for (size_t i = 0; i != MaskSize; ++i) {
lib/Target/X86/X86ISelLowering.h
 1675   void scaleShuffleMask(size_t Scale, ArrayRef<T> Mask,
 1678     size_t NumElts = Mask.size();
 1681     for (size_t i = 0; i != NumElts; ++i) {
 1686         for (size_t s = 0; s != Scale; ++s)
 1692       for (size_t s = 0; s != Scale; ++s)
lib/Testing/Support/Annotations.cpp
   31   llvm::SmallVector<std::pair<llvm::StringRef, size_t>, 8> OpenRanges;
   67 size_t Annotations::point(llvm::StringRef Name) const {
   74 std::vector<size_t> Annotations::points(llvm::StringRef Name) const {
lib/TextAPI/MachO/ArchitectureSet.cpp
   27 size_t ArchitectureSet::count() const {
   29   size_t Cnt = 0;
lib/TextAPI/MachO/TextStub.cpp
 1079   static size_t size(IO &IO, std::vector<const MachO::InterfaceFile *> &Seq) {
 1083   element(IO &IO, std::vector<const InterfaceFile *> &Seq, size_t Index) {
lib/Transforms/Coroutines/CoroFrame.cpp
   48   size_t size() const { return V.size(); }
   56   size_t blockToIndex(BasicBlock *BB) const {
  105     size_t const DefIndex = Mapping.blockToIndex(DefBB);
  106     size_t const UseIndex = Mapping.blockToIndex(UseBB);
  161   for (size_t I = 0, N = BV.size(); I < N; ++I)
  168   for (size_t I = 0, N = Block.size(); I < N; ++I) {
  180   const size_t N = Mapping.size();
  184   for (size_t I = 0; I < N; ++I) {
  223     for (size_t I = 0; I < N; ++I) {
lib/Transforms/Coroutines/CoroSplit.cpp
  290   size_t SuspendIndex = 0;
  450   for (size_t I = 0, E = Args.size(); I != E; ++I)
 1140   size_t I = 0, N = S.size();
 1241   for (size_t i = 0, e = Shape.CoroSuspends.size(); i != e; ++i) {
 1293         for (size_t I = 1, E = ReturnPHIs.size(); I != E; ++I)
 1303     size_t NextPHIIndex = 1;
 1310   for (size_t i = 0, e = Shape.CoroSuspends.size(); i != e; ++i) {
lib/Transforms/Coroutines/Coroutines.cpp
  250   size_t FinalSuspendIndex = 0;
  453       for (size_t I = 0, E = ResumeTys.size(); I != E; ++I) {
lib/Transforms/IPO/Attributor.cpp
  926   size_t getNumReturnValues() const override {
 1079   size_t NumUnresolvedCalls = UnresolvedCalls.size();
 2110     for (size_t i = 0; i < ToBeExploredPaths.size(); ++i)
 2388     size_t Size = ToBeExploredPaths.size();
 3741   size_t NumBadMallocs = BadMallocCalls.size();
 4465     size_t NumAAs = AllAbstractAttributes.size();
 4522   size_t NumFinalAAs = AllAbstractAttributes.size();
lib/Transforms/IPO/ConstantMerge.cpp
  146   size_t ChangesMade = 0;
  147   size_t OldChangesMade = 0;
lib/Transforms/IPO/LowerTypeTests.cpp
  262   size_t NTypes;
  275   size_t numTrailingObjects(OverloadToken<MDNode *>) const { return NTypes; }
  333   size_t NTargets;
lib/Transforms/IPO/WholeProgramDevirt.cpp
 1503   for (size_t I = 0, Size = B.Before.Bytes.size(); I != Size / 2; ++I)
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  834     size_t SelectLHSIdx;
  839   UDivFoldAction(FoldUDivOperandCb FA, Value *InputOperand, size_t SLHS)
  885 static size_t visitUDivOperand(Value *Op0, Value *Op1, const BinaryOperator &I,
  907     if (size_t LHSIdx =
 1027         size_t SelectRHSIdx = i - 1;
 1029         size_t SelectLHSIdx = UDivActions[i].SelectLHSIdx;
lib/Transforms/Instrumentation/AddressSanitizer.cpp
  124 static const size_t kMinStackMallocSize = 1 << 6;   // 64B
  125 static const size_t kMaxStackMallocSize = 1 << 16;  // 64K
  181 static const size_t kNumberOfAccessSizes = 5;
  534 static size_t RedzoneSizeForScale(int MappingScale) {
  637                                  bool IsWrite, size_t AccessSizeIndex,
  796   size_t MinRedzoneSizeForGlobal() const {
 1097                     size_t Begin, size_t End, IRBuilder<> &IRB,
 1097                     size_t Begin, size_t End, IRBuilder<> &IRB,
 1100                           ArrayRef<uint8_t> ShadowBytes, size_t Begin,
 1101                           size_t End, IRBuilder<> &IRB, Value *ShadowBase);
 1243 static size_t TypeSizeToSizeIndex(uint32_t TypeSize) {
 1244   size_t Res = countTrailingZeros(TypeSize / 8);
 1609                                                  size_t AccessSizeIndex,
 1641   size_t Granularity = static_cast<size_t>(1) << Mapping.Scale;
 1665   size_t AccessSizeIndex = TypeSizeToSizeIndex(TypeSize);
 1704   size_t Granularity = 1ULL << Mapping.Scale;
 2045   for (size_t i = 0; i < ExtendedGlobals.size(); i++) {
 2070   for (size_t i = 0; i < ExtendedGlobals.size(); i++) {
 2133   for (size_t i = 0; i < ExtendedGlobals.size(); i++) {
 2223   size_t n = GlobalsToChange.size();
 2254   for (size_t i = 0; i < n; i++) {
 2386   for (size_t i = 0; i < n; i++) {
 2474     for (size_t AccessIsWrite = 0; AccessIsWrite <= 1; AccessIsWrite++) {
 2494       for (size_t AccessSizeIndex = 0; AccessSizeIndex < kNumberOfAccessSizes;
 2776   for (size_t Val : {0x00, 0xf1, 0xf2, 0xf3, 0xf5, 0xf8}) {
 2792                                                size_t Begin, size_t End,
 2792                                                size_t Begin, size_t End,
 2798   const size_t LargestStoreSizeInBytes =
 2799       std::min<size_t>(sizeof(uint64_t), ASan.LongSize / 8);
 2807   for (size_t i = Begin; i < End;) {
 2814     size_t StoreSizeInBytes = LargestStoreSizeInBytes;
 2820     for (size_t j = StoreSizeInBytes - 1; j && !ShadowMask[i + j]; --j) {
 2826     for (size_t j = 0; j < StoreSizeInBytes; j++) {
 2850                                          size_t Begin, size_t End,
 2850                                          size_t Begin, size_t End,
 2853   size_t Done = Begin;
 2854   for (size_t i = Begin, j = Begin + 1; i < End; i = j++) {
 2943   size_t FrameAlignment = std::max(L.FrameAlignment, (size_t)ClRealignStack);
 3025   size_t Granularity = 1ULL << Mapping.Scale;
 3026   size_t MinHeaderSize = std::max((size_t)ASan.LongSize / 2, Granularity);
 3173       size_t Begin = Desc.Offset / L.Granularity;
 3174       size_t End = Begin + (APC.Size + L.Granularity - 1) / L.Granularity;
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
 1242   for (size_t I = 0; I < Splits.size(); ++I) {
 1258   for (size_t I = 0; I < Splits.size(); ++I) {
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  637   size_t Pos = Asm.find(SearchStr);
  911         size_t N = i - FnsToInstrument.begin(),
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
   66 static const size_t kNumberOfAccessSizes = 5;
   68 static const size_t kDefaultShadowScale = 4;
  219   bool tagAlloca(IRBuilder<> &IRB, AllocaInst *AI, Value *Tag, size_t Size);
  436   for (size_t AccessIsWrite = 0; AccessIsWrite <= 1; AccessIsWrite++) {
  444     for (size_t AccessSizeIndex = 0; AccessSizeIndex < kNumberOfAccessSizes;
  577 static size_t TypeSizeToSizeIndex(uint32_t TypeSize) {
  578   size_t Res = countTrailingZeros(TypeSize / 8);
  745     size_t AccessSizeIndex = TypeSizeToSizeIndex(TypeSize);
  775                                    Value *Tag, size_t Size) {
  776   size_t AlignedSize = alignTo(Size, Mapping.getObjectAlignment());
  786     size_t ShadowSize = Size >> Mapping.Scale;
 1072     size_t Size = getAllocaSizeInBytes(*AI);
lib/Transforms/Instrumentation/InstrProfiling.cpp
  873   size_t TotalNS = 0;
lib/Transforms/Instrumentation/MemorySanitizer.cpp
  213 static const size_t kNumberOfAccessSizes = 4;
  793   for (size_t AccessSizeIndex = 0; AccessSizeIndex < kNumberOfAccessSizes;
 1295       size_t NumValues = PN->getNumIncomingValues();
 1296       for (size_t v = 0; v < NumValues; v++) {
 2074   size_t VectorOrPrimitiveTypeSizeInBits(Type *Ty) {
 2087     size_t srcSizeInBits = VectorOrPrimitiveTypeSizeInBits(srcTy);
 2088     size_t dstSizeInBits = VectorOrPrimitiveTypeSizeInBits(dstTy);
 3663     for (size_t i = 0, n = Constraints.size(); i < n; i++) {
 3723     for (size_t i = 0, n = I.getNumOperands(); i < n; i++) {
 3957     for (size_t i = 0, n = VAStartInstrumentationList.size(); i < n; i++) {
 4100     for (size_t i = 0, n = VAStartInstrumentationList.size(); i < n; i++) {
 4294     for (size_t i = 0, n = VAStartInstrumentationList.size(); i < n; i++) {
 4537     for (size_t i = 0, n = VAStartInstrumentationList.size(); i < n; i++) {
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  206   GlobalVariable *CreateFunctionLocalArrayInSection(size_t NumElements,
  211   void InjectCoverageAtBlock(Function &F, BasicBlock &BB, size_t Idx,
  644     size_t NumElements, Function &F, Type *Ty, const char *Section) {
  669   size_t N = AllBlocks.size();
  673   for (size_t i = 0; i < N; i++) {
  713   for (size_t i = 0, N = AllBlocks.size(); i < N; i++)
  848                                                     size_t Idx,
lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  115   static const size_t kNumberOfAccessSizes = 5;
  217   for (size_t i = 0; i < kNumberOfAccessSizes; ++i) {
  732   size_t Idx = countTrailingZeros(TypeSize / 8);
lib/Transforms/ObjCARC/BlotMapVector.h
   24   using MapTy = DenseMap<KeyT, size_t>;
   59       size_t Num = Vector.size();
   71       size_t Num = Vector.size();
lib/Transforms/Scalar/ADCE.cpp
  220   size_t NumInsts = 0;
lib/Transforms/Scalar/GVNSink.cpp
  251   static ModelledPHI createDummy(size_t ID) {
  386   DenseMap<size_t, uint32_t> HashNumbering;
lib/Transforms/Scalar/LoopFuse.cpp
  469   size_t size() const { return LoopsOnLevel.size() - RemovedLoops.size(); }
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
 1506   size_t IdiomCanonicalSize = 6;
lib/Transforms/Scalar/LoopRerollPass.cpp
  219       Instruction *get(size_t i) const {
  224       Instruction *operator [] (size_t i) const { return get(i); }
  227       size_t size() const {
 1448   for (size_t i = 0, e = RootSets.size(); i != e; ++i)
lib/Transforms/Scalar/LoopStrengthReduce.cpp
  240   void countRegister(const SCEV *Reg, size_t LUIdx);
  241   void dropRegister(const SCEV *Reg, size_t LUIdx);
  242   void swapAndDropUse(size_t LUIdx, size_t LastLUIdx);
  242   void swapAndDropUse(size_t LUIdx, size_t LastLUIdx);
  244   bool isRegUsedByUsesOtherThan(const SCEV *Reg, size_t LUIdx) const;
  262 RegUseTracker::countRegister(const SCEV *Reg, size_t LUIdx) {
  273 RegUseTracker::dropRegister(const SCEV *Reg, size_t LUIdx) {
  282 RegUseTracker::swapAndDropUse(size_t LUIdx, size_t LastLUIdx) {
  282 RegUseTracker::swapAndDropUse(size_t LUIdx, size_t LastLUIdx) {
  297 RegUseTracker::isRegUsedByUsesOtherThan(const SCEV *Reg, size_t LUIdx) const {
  373   size_t getNumRegs() const;
  379   bool hasRegsUsedByUsesOtherThan(size_t LUIdx,
  548 size_t Formula::getNumRegs() const {
  575 bool Formula::hasRegsUsedByUsesOtherThan(size_t LUIdx,
 1201   void RecomputeRegs(size_t LUIdx, RegUseTracker &Reguses);
 1352   size_t NumBaseParts = F.getNumRegs();
 1574 void LSRUse::RecomputeRegs(size_t LUIdx, RegUseTracker &RegUses) {
 1977   std::pair<size_t, int64_t> getUse(const SCEV *&Expr, LSRUse::KindType Kind,
 1980   void DeleteUse(LSRUse &LU, size_t LUIdx);
 1984   void InsertInitialFormula(const SCEV *S, LSRUse &LU, size_t LUIdx);
 1985   void InsertSupplementalFormula(const SCEV *S, LSRUse &LU, size_t LUIdx);
 1986   void CountRegisters(const Formula &F, size_t LUIdx);
 1996                                   size_t Idx, bool IsScaledReg = false);
 1999                                    const Formula &Base, size_t Idx,
 2005                                    size_t Idx, bool IsScaledReg = false);
 2015   size_t EstimateSearchSpaceComplexity() const;
 2564 std::pair<size_t, int64_t> LSRInstance::getUse(const SCEV *&Expr,
 2581     size_t LUIdx = P.first->second;
 2589   size_t LUIdx = Uses.size();
 2600 void LSRInstance::DeleteUse(LSRUse &LU, size_t LUIdx) {
 2615   for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) {
 3299         for (size_t i = 0, e = Factors.size(); i != e; ++i)
 3307     std::pair<size_t, int64_t> P = getUse(S, Kind, AccessTy);
 3308     size_t LUIdx = P.first;
 3338 LSRInstance::InsertInitialFormula(const SCEV *S, LSRUse &LU, size_t LUIdx) {
 3353                                        LSRUse &LU, size_t LUIdx) {
 3362 void LSRInstance::CountRegisters(const Formula &F, size_t LUIdx) {
 3458         std::pair<size_t, int64_t> P = getUse(
 3460         size_t LUIdx = P.first;
 3571                                              unsigned Depth, size_t Idx,
 3669   for (size_t i = 0, e = Base.BaseRegs.size(); i != e; ++i)
 3743                                               const Formula &Base, size_t Idx,
 3766   for (size_t i = 0, e = Base.BaseRegs.size(); i != e; ++i)
 3776     const SmallVectorImpl<int64_t> &Worklist, size_t Idx, bool IsScaledReg) {
 3855   for (size_t i = 0, e = Base.BaseRegs.size(); i != e; ++i)
 3922     for (size_t i = 0, e = F.BaseRegs.size(); i != e; ++i) {
 3992     for (size_t i = 0, e = Base.BaseRegs.size(); i != e; ++i) {
 4075   size_t LUIdx;
 4079   WorkItem(size_t LI, int64_t I, const SCEV *R)
 4122   SmallSet<std::pair<size_t, int64_t>, 32> UniqueItems;
 4164       for (size_t i = 0, e = array_lengthof(OtherImms); i != e; ++i) {
 4185     size_t LUIdx = WI.LUIdx;
 4195     for (size_t L = 0, LE = LU.Formulae.size(); L != LE; ++L) {
 4230         for (size_t N = 0, NE = F.BaseRegs.size(); N != NE; ++N) {
 4276   for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) {
 4278     for (size_t i = 0, f = LU.Formulae.size(); i != f; ++i)
 4280     for (size_t i = 0, f = LU.Formulae.size(); i != f; ++i)
 4283   for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) {
 4285     for (size_t i = 0, f = LU.Formulae.size(); i != f; ++i)
 4287     for (size_t i = 0, f = LU.Formulae.size(); i != f; ++i)
 4289     for (size_t i = 0, f = LU.Formulae.size(); i != f; ++i)
 4291     for (size_t i = 0, f = LU.Formulae.size(); i != f; ++i)
 4294   for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) {
 4296     for (size_t i = 0, f = LU.Formulae.size(); i != f; ++i)
 4324   for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) {
 4330     for (size_t FIdx = 0, NumForms = LU.Formulae.size();
 4411 size_t LSRInstance::EstimateSearchSpaceComplexity() const {
 4412   size_t Power = 1;
 4414     size_t FSize = LU.Formulae.size();
 4437     for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) {
 4440       for (size_t i = 0, e = LU.Formulae.size(); i != e; ++i) {
 4504   for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) {
 4531       for (size_t i = 0, e = LUThatHas->Formulae.size(); i != e; ++i) {
 4592   using BestFormulaeTy = DenseMap<std::pair<const SCEV *, int64_t>, size_t>;
 4601   for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) {
 4612       size_t FARegNum = 0;
 4617       size_t FBRegNum = 0;
 4637     for (size_t FIdx = 0, NumForms = LU.Formulae.size(); FIdx != NumForms;
 4751   for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) {
 4761     size_t MinIdx = 0;
 4762     for (size_t i = 0, e = LU.Formulae.size(); i != e; ++i) {
 4849     for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) {
 4854       for (size_t i = 0, e = LU.Formulae.size(); i != e; ++i) {
 5382         for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx)
 5478   for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx)
lib/Transforms/Scalar/MergeICmps.cpp
  442   for (size_t BlockIdx = 0; BlockIdx < Blocks.size(); ++BlockIdx) {
  683     for (size_t I = 1; I < Comparisons_.size(); ++I) {
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
  866     const size_t OldSize = States.size();
 1208   for (size_t i = 0; i < records.size(); i++) {
 1279     size_t Index = std::distance(LiveVec.begin(), ValIt);
 1920   for (size_t i = 0; i < records.size(); i++) {
 2230     for (size_t i = 0; i < Records.size(); i++) {
 2250   for (size_t i = 0; i < Records.size(); i++) {
 2299   for (size_t i = 0; i < Records.size(); i++)
 2313   for (size_t i = 0; i < Records.size(); i++)
 2338   for (size_t i = 0; i < Records.size(); i++) {
lib/Transforms/Scalar/SROA.cpp
 2401     size_t LastSROAPrefix = OldName.rfind(".sroa.");
 2405       size_t IndexEnd = OldName.find_first_not_of("0123456789");
 2409         size_t OffsetEnd = OldName.find_first_not_of("0123456789");
lib/Transforms/Scalar/StructurizeCFG.cpp
  646     for (size_t i = 0; i < InsertedPhis.size(); ++i) {
lib/Transforms/Utils/ASanStackFrameLayout.cpp
   36 static const size_t kMinAlignment = 16;
   41 static size_t VarAndRedzoneSize(size_t Size, size_t Granularity,
   41 static size_t VarAndRedzoneSize(size_t Size, size_t Granularity,
   41 static size_t VarAndRedzoneSize(size_t Size, size_t Granularity,
   42                                 size_t Alignment) {
   43   size_t Res = 0;
   55                             size_t Granularity, size_t MinHeaderSize) {
   55                             size_t Granularity, size_t MinHeaderSize) {
   60   const size_t NumVars = Vars.size();
   62   for (size_t i = 0; i < NumVars; i++)
   70   size_t Offset = std::max(std::max(MinHeaderSize, Granularity),
   73   for (size_t i = 0; i < NumVars; i++) {
   75     size_t Alignment = std::max(Granularity, Vars[i].Alignment);
   77     size_t Size = Vars[i].Size;
   82     size_t NextAlignment = IsLast ? Granularity
   84     size_t SizeWithRedzone = VarAndRedzoneSize(Size, Granularity,
  121   const size_t Granularity = Layout.Granularity;
  138   const size_t Granularity = Layout.Granularity;
  142     const size_t LifetimeShadowSize =
  144     const size_t Offset = Var.Offset / Granularity;
lib/Transforms/Utils/FunctionComparator.cpp
  160   for (size_t I = 0; I < L->getNumOperands(); ++I) {
  592     for (size_t i = 0, e = LIndices.size(); i != e; ++i) {
  603     for (size_t i = 0, e = LIndices.size(); i != e; ++i) {
lib/Transforms/Utils/LoopSimplify.cpp
  299   for (size_t I = 0; I != SubLoops.size(); )
lib/Transforms/Utils/LoopUtils.cpp
  499   for (size_t I = 0; I < Worklist.size(); I++)
lib/Transforms/Utils/PredicateInfo.cpp
  541   size_t Start = RevIter - RenameStack.rbegin();
lib/Transforms/Utils/SimplifyCFG.cpp
 4317   for (size_t I = 1, E = Cases.size(); I != E; ++I) {
 4413       for (size_t I = 0, E = Weights.size(); I != E; ++I) {
 4989   for (size_t I = 0, E = Values.size(); I != E; ++I) {
 5449     for (size_t I = 0, E = ResultList.size(); I != E; ++I) {
lib/Transforms/Utils/SimplifyLibCalls.cpp
  374   size_t I = (0xFF & CharC->getSExtValue()) == 0
  402   size_t I = (0xFF & CharC->getSExtValue()) == 0
  765     size_t I = S1.find_first_of(S2);
  803     size_t Pos = S1.find_first_not_of(S2);
  823     size_t Pos = S1.find_first_of(S2);
  871     size_t Offset = SearchStr.find(ToFindStr);
  979   size_t I = Str.find(CharC->getSExtValue() & 0xFF);
lib/Transforms/Vectorize/SLPVectorizer.cpp
 2280   size_t NumUniqueScalarValues = UniqueValues.size();
lib/Transforms/Vectorize/VPlan.h
  443   size_t getNumSuccessors() const { return Successors.size(); }
  444   size_t getNumPredecessors() const { return Predecessors.size(); }
 1022   inline size_t size() const { return Recipes.size(); }
lib/XRay/FDRTraceWriter.cpp
   27   static size_t write(support::endian::Writer &OS, Tuple &&T) {
   38   static size_t write(support::endian::Writer &OS, Tuple &&) {
lib/XRay/InstrumentationMap.cpp
  114   static constexpr size_t ELF64SledEntrySize = 32;
  176 loadYAML(sys::fs::file_t Fd, size_t FileSize, StringRef Filename,
projects/compiler-rt/include/xray/xray_interface.h
  118 extern size_t __xray_max_function_id();
projects/compiler-rt/include/xray/xray_log_interface.h
  172   XRayLogInitStatus (*log_init)(size_t, size_t, void *, size_t);
  172   XRayLogInitStatus (*log_init)(size_t, size_t, void *, size_t);
  172   XRayLogInitStatus (*log_init)(size_t, size_t, void *, size_t);
  272 XRayLogInitStatus __xray_log_init(size_t BufferSize, size_t MaxBuffers,
  272 XRayLogInitStatus __xray_log_init(size_t BufferSize, size_t MaxBuffers,
  273                                   void *Args, size_t ArgsSize);
  297                                            size_t ConfigSize);
  312   size_t Size;
projects/compiler-rt/lib/asan/asan_linux.cpp
  146 static int FindFirstDSOCallback(struct dl_phdr_info *info, size_t size,
projects/compiler-rt/lib/asan/asan_new_delete.cpp
   68 enum class align_val_t: size_t {};
   98 void *operator new(size_t size)
  101 void *operator new[](size_t size)
  104 void *operator new(size_t size, std::nothrow_t const&)
  107 void *operator new[](size_t size, std::nothrow_t const&)
  110 void *operator new(size_t size, std::align_val_t align)
  113 void *operator new[](size_t size, std::align_val_t align)
  116 void *operator new(size_t size, std::align_val_t align, std::nothrow_t const&)
  119 void *operator new[](size_t size, std::align_val_t align, std::nothrow_t const&)
  171 void operator delete(void *ptr, size_t size) NOEXCEPT
  174 void operator delete[](void *ptr, size_t size) NOEXCEPT
  189 void operator delete(void *ptr, size_t size, std::align_val_t align) NOEXCEPT
  192 void operator delete[](void *ptr, size_t size, std::align_val_t align) NOEXCEPT
projects/compiler-rt/lib/builtins/emutls.c
   65 static __inline void *emutls_memalign_alloc(size_t align, size_t size) {
   65 static __inline void *emutls_memalign_alloc(size_t align, size_t size) {
  258 static size_t emutls_num_object = 0; // number of allocated TLS objects
  295   size_t size = control->size;
  296   size_t align = control->align;
projects/compiler-rt/lib/builtins/enable_execute_stack.c
   64   size_t length = endPage - startPage;
projects/compiler-rt/lib/cfi/cfi.cpp
  274 int dl_iterate_phdr_cb(dl_phdr_info *info, size_t size, void *data) {
projects/compiler-rt/lib/dfsan/dfsan_custom.cpp
   79   for (size_t i = 0;; ++i) {
   98                                                 size_t n, dfsan_label s1_label,
  105   for (size_t i = 0; i != n; ++i) {
  136   for (size_t i = 0;; ++i) {
  153   for (size_t i = 0;; ++i) {
  173                                                  size_t n, dfsan_label s1_label,
  185   for (size_t i = 0;; ++i) {
  200 __dfsw_strncasecmp(const char *s1, const char *s2, size_t n,
  208   for (size_t i = 0;; ++i) {
  223 SANITIZER_INTERFACE_ATTRIBUTE void *__dfsw_calloc(size_t nmemb, size_t size,
  223 SANITIZER_INTERFACE_ATTRIBUTE void *__dfsw_calloc(size_t nmemb, size_t size,
  233 SANITIZER_INTERFACE_ATTRIBUTE size_t
  235   size_t ret = strlen(s);
  245 static void *dfsan_memcpy(void *dest, const void *src, size_t n) {
  252 static void dfsan_memset(void *s, int c, dfsan_label c_label, size_t n) {
  258 void *__dfsw_memcpy(void *dest, const void *src, size_t n,
  266 void *__dfsw_memset(void *s, int c, size_t n,
  276   size_t len = strlen(s);
  284 __dfsw_strncpy(char *s1, const char *s2, size_t n, dfsan_label s1_label,
  287   size_t len = strlen(s2);
  300 __dfsw_pread(int fd, void *buf, size_t count, off_t offset,
  312 __dfsw_read(int fd, void *buf, size_t count,
  388                              size_t size, void *data, dfsan_label info_label,
  395 int dl_iterate_phdr_cb(struct dl_phdr_info *info, size_t size, void *data) {
  410                                size_t size, void *data, dfsan_label info_label,
  449 char *__dfsw_getcwd(char *buf, size_t size, dfsan_label buf_label,
  472 int __dfsw_gethostname(char *name, size_t len, dfsan_label name_label,
  659                       char *buf, size_t buflen, struct passwd **result,
  713 int __dfsw_sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *mask,
  761 SANITIZER_INTERFACE_ATTRIBUTE void *__dfsw_memchr(void *s, int c, size_t n,
  770     size_t len =
  803     size_t len = ret ? ret + strlen(needle) - haystack : strlen(haystack) + 1;
  865 __dfsw_write(int fd, const void *buf, size_t count,
  886   Formatter(char *str_, const char *fmt_, size_t size_)
  914     size_t fmt_size = fmt_cur - fmt_start + 1;
  924   size_t num_written_bytes(int retval) {
  929     size_t num_avail = str_off < size ? size - str_off : 0;
  934     size_t num_written = retval;
  945   size_t str_off;
  946   size_t size;
  965 static int format_buffer(char *str, size_t size, const char *fmt,
 1124 int __dfsw_snprintf(char *str, size_t size, const char *format,
projects/compiler-rt/lib/fuzzer/FuzzerDictionary.h
   24   static const size_t kMaxSize = kMaxSizeT;
   38   static size_t GetMaxSize() { return kMaxSize; }
   53   DictionaryEntry(Word W, size_t PositionHint) : W(W), PositionHint(PositionHint) {}
   57   size_t GetPositionHint() const {
   63   size_t GetUseCount() const { return UseCount; }
   64   size_t GetSuccessCount() const {return SuccessCount; }
   75   size_t PositionHint = std::numeric_limits<size_t>::max();
   76   size_t UseCount = 0;
   77   size_t SuccessCount = 0;
   82   static const size_t kMaxDictSize = 1 << 14;
   91   DictionaryEntry & operator[] (size_t Idx) {
  101   size_t size() const { return Size; }
  105   size_t Size = 0;
projects/compiler-rt/lib/fuzzer/FuzzerDriver.cpp
   81 static const size_t kNumFlags =
   97   size_t MaxFlagLen = 0;
  101   for (size_t F = 0; F < kNumFlags; F++) {
  105     for (size_t i = 0, n = MaxFlagLen - strlen(D.Name); i < n; i++)
  115   size_t Len = strlen(Name);
  130   for (size_t i = 0; Str[i]; i++) {
  147     for (size_t F = 0; F < kNumFlags; F++)
  152   for (size_t F = 0; F < kNumFlags; F++) {
  187   for (size_t F = 0; F < kNumFlags; F++) {
  273 static void RssThread(Fuzzer *F, size_t RssLimitMb) {
  276     size_t Peak = GetPeakRSSMb();
  282 static void StartRssThread(Fuzzer *F, size_t RssLimitMb) {
  288 int RunOneTest(Fuzzer *F, const char *InputFilePath, size_t MaxLen) {
  339   size_t Size = U.size();
  344     for (size_t Idx = 0; Idx < Size; Idx++) {
  794     const size_t kDefaultMaxMergeLen = 1 << 20;
  803     size_t MaxLen = INT_MAX;  // Large max length.
projects/compiler-rt/lib/fuzzer/FuzzerFork.cpp
   33   size_t number_of_executed_units = 0;
   34   size_t peak_rss_mb = 0;
   35   size_t average_exec_per_sec = 0;
   44     size_t *Var;
   72   size_t      JobId;
  102   size_t NumTimeouts = 0;
  103   size_t NumOOMs = 0;
  104   size_t NumCrashes = 0;
  107   size_t NumRuns = 0;
  111   size_t secondsSinceProcessStartUp() const {
  117   FuzzJob *CreateNewJob(size_t JobId) {
  136     if (size_t CorpusSubsetSize =
  139       for (size_t i = 0; i < CorpusSubsetSize; i++) {
  331   size_t JobId = 1;
projects/compiler-rt/lib/fuzzer/FuzzerIO.cpp
   43   size_t FileLen = EndPos;
   72 void WriteToFile(const uint8_t *Data, size_t Size, const std::string &Path) {
   85   size_t NumLoaded = 0;
projects/compiler-rt/lib/fuzzer/FuzzerIO.h
   27 void WriteToFile(const uint8_t *Data, size_t Size, const std::string &Path);
   61 size_t FileSize(const std::string &Path);
   78   size_t Size;
projects/compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp
   41 size_t FileSize(const std::string &Path) {
   49   size_t Pos = Path.rfind(GetSeparator());
projects/compiler-rt/lib/fuzzer/FuzzerInterface.h
   41 LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
   53 FUZZER_INTERFACE_VISIBILITY size_t
   54 LLVMFuzzerCustomMutator(uint8_t *Data, size_t Size, size_t MaxSize,
   54 LLVMFuzzerCustomMutator(uint8_t *Data, size_t Size, size_t MaxSize,
   61 FUZZER_INTERFACE_VISIBILITY size_t
   62 LLVMFuzzerCustomCrossOver(const uint8_t *Data1, size_t Size1,
   63                           const uint8_t *Data2, size_t Size2, uint8_t *Out,
   64                           size_t MaxOutSize, unsigned int Seed);
   70 FUZZER_INTERFACE_VISIBILITY size_t
   71 LLVMFuzzerMutate(uint8_t *Data, size_t Size, size_t MaxSize);
   71 LLVMFuzzerMutate(uint8_t *Data, size_t Size, size_t MaxSize);
projects/compiler-rt/lib/fuzzer/FuzzerInternal.h
   41   void RereadOutputCorpus(size_t MaxSize);
   43   size_t secondsSinceProcessStartUp() {
   54   size_t execPerSec() {
   55     size_t Seconds = secondsSinceProcessStartUp();
   59   size_t getTotalNumberOfRuns() { return TotalNumberOfRuns; }
   68   void ExecuteCallback(const uint8_t *Data, size_t Size);
   69   bool RunOne(const uint8_t *Data, size_t Size, bool MayDeleteFile = false,
   77   void SetMaxInputLen(size_t MaxInputLen);
   78   void SetMaxMutationLen(size_t MaxMutationLen);
   82   size_t GetCurrentUnitInFuzzingThead(const uint8_t **Data) const;
   83   void TryDetectingAMemoryLeak(const uint8_t *Data, size_t Size,
   86   void HandleMalloc(size_t Size);
   99   void PrintPulseAndReportSlowInput(const uint8_t *Data, size_t Size);
  101   void PrintStats(const char *Where, const char *End = "\n", size_t Units = 0,
  102                   size_t Features = 0);
  117   size_t TotalNumberOfRuns = 0;
  118   size_t NumberOfNewUnitsAdded = 0;
  120   size_t LastCorpusUpdateRun = 0;
  123   size_t NumberOfLeakDetectionAttempts = 0;
  138   size_t MaxInputLen = 0;
  139   size_t MaxMutationLen = 0;
  140   size_t TmpMaxMutationLen = 0;
projects/compiler-rt/lib/fuzzer/FuzzerLoop.cpp
   38 static const size_t kMaxUnitSizeToPrint = 256;
   97 void MallocHook(const volatile void *ptr, size_t size) {
   98   size_t N = AllocTracer.Mallocs++;
  112   size_t N = AllocTracer.Frees++;
  124 void Fuzzer::HandleMalloc(size_t Size) {
  181   size_t UnitSize = CurrentUnitSize;
  284   size_t Seconds =
  322 void Fuzzer::PrintStats(const char *Where, const char *End, size_t Units,
  323                         size_t Features) {
  324   size_t ExecPerSec = execPerSec();
  328   if (size_t N = TPC.GetTotalPCCoverage())
  330   if (size_t N = Features ? Features : Corpus.NumFeatures())
  334     if (size_t N = Corpus.SizeInBytes()) {
  342     if (size_t FF = Corpus.NumInputsThatTouchFocusFunction())
  362   size_t ExecPerSec = execPerSec();
  370 void Fuzzer::SetMaxInputLen(size_t MaxInputLen) {
  381 void Fuzzer::SetMaxMutationLen(size_t MaxMutationLen) {
  410 void Fuzzer::RereadOutputCorpus(size_t MaxSize) {
  434 void Fuzzer::PrintPulseAndReportSlowInput(const uint8_t *Data, size_t Size) {
  465 bool Fuzzer::RunOne(const uint8_t *Data, size_t Size, bool MayDeleteFile,
  473   size_t FoundUniqFeaturesOfII = 0;
  474   size_t NumUpdatesBefore = Corpus.NumFeatureUpdates();
  486   size_t NumNewFeatures = Corpus.NumFeatureUpdates() - NumUpdatesBefore;
  509 size_t Fuzzer::GetCurrentUnitInFuzzingThead(const uint8_t **Data) const {
  526 static bool LooseMemeq(const uint8_t *A, const uint8_t *B, size_t Size) {
  527   const size_t Limit = 64;
  535 void Fuzzer::ExecuteCallback(const uint8_t *Data, size_t Size) {
  617 void Fuzzer::TryDetectingAMemoryLeak(const uint8_t *Data, size_t Size,
  669   size_t Size = U.size();
  675   size_t CurrentMaxMutationLen =
  860 ATTRIBUTE_INTERFACE size_t
  861 LLVMFuzzerMutate(uint8_t *Data, size_t Size, size_t MaxSize) {
  861 LLVMFuzzerMutate(uint8_t *Data, size_t Size, size_t MaxSize) {
projects/compiler-rt/lib/fuzzer/FuzzerMerge.cpp
   59   size_t NumFiles = 0;
   72   for (size_t i = 0; i < NumFiles; i++)
   77   size_t ExpectedStartMarker = 0;
   78   const size_t kInvalidStartMarker = -1;
   79   size_t LastSeenStartMarker = kInvalidStartMarker;
  126 size_t Merger::ApproximateMemoryConsumption() const  {
  127   size_t Res = 0;
  135 size_t Merger::Merge(const Set<uint32_t> &InitialFeatures,
  264 static size_t WriteNewControlFile(const std::string &CFPath,
  311   size_t NumAttempts = 0;
  366   for (size_t Attempt = 1; Attempt <= NumAttempts; Attempt++) {
projects/compiler-rt/lib/fuzzer/FuzzerMerge.h
   53   size_t Size = 0;
   59   size_t NumFilesInFirstCorpus = 0;
   60   size_t FirstNotProcessedFile = 0;
   66   size_t Merge(const Set<uint32_t> &InitialFeatures, Set<uint32_t> *NewFeatures,
   69   size_t ApproximateMemoryConsumption() const;
projects/compiler-rt/lib/fuzzer/FuzzerMutate.cpp
   20 const size_t Dictionary::kMaxDictSize;
   68 size_t MutationDispatcher::Mutate_Custom(uint8_t *Data, size_t Size,
   68 size_t MutationDispatcher::Mutate_Custom(uint8_t *Data, size_t Size,
   69                                          size_t MaxSize) {
   73 size_t MutationDispatcher::Mutate_CustomCrossOver(uint8_t *Data, size_t Size,
   73 size_t MutationDispatcher::Mutate_CustomCrossOver(uint8_t *Data, size_t Size,
   74                                                   size_t MaxSize) {
   83   size_t NewSize = EF->LLVMFuzzerCustomCrossOver(
   92 size_t MutationDispatcher::Mutate_ShuffleBytes(uint8_t *Data, size_t Size,
   92 size_t MutationDispatcher::Mutate_ShuffleBytes(uint8_t *Data, size_t Size,
   93                                                size_t MaxSize) {
   95   size_t ShuffleAmount =
   97   size_t ShuffleStart = Rand(Size - ShuffleAmount);
  103 size_t MutationDispatcher::Mutate_EraseBytes(uint8_t *Data, size_t Size,
  103 size_t MutationDispatcher::Mutate_EraseBytes(uint8_t *Data, size_t Size,
  104                                              size_t MaxSize) {
  106   size_t N = Rand(Size / 2) + 1;
  108   size_t Idx = Rand(Size - N + 1);
  115 size_t MutationDispatcher::Mutate_InsertByte(uint8_t *Data, size_t Size,
  115 size_t MutationDispatcher::Mutate_InsertByte(uint8_t *Data, size_t Size,
  116                                              size_t MaxSize) {
  118   size_t Idx = Rand(Size + 1);
  125 size_t MutationDispatcher::Mutate_InsertRepeatedBytes(uint8_t *Data,
  126                                                       size_t Size,
  127                                                       size_t MaxSize) {
  128   const size_t kMinBytesToInsert = 3;
  130   size_t MaxBytesToInsert = std::min(MaxSize - Size, (size_t)128);
  131   size_t N = Rand(MaxBytesToInsert - kMinBytesToInsert + 1) + kMinBytesToInsert;
  133   size_t Idx = Rand(Size + 1);
  138   for (size_t i = 0; i < N; i++)
  143 size_t MutationDispatcher::Mutate_ChangeByte(uint8_t *Data, size_t Size,
  143 size_t MutationDispatcher::Mutate_ChangeByte(uint8_t *Data, size_t Size,
  144                                              size_t MaxSize) {
  146   size_t Idx = Rand(Size);
  151 size_t MutationDispatcher::Mutate_ChangeBit(uint8_t *Data, size_t Size,
  151 size_t MutationDispatcher::Mutate_ChangeBit(uint8_t *Data, size_t Size,
  152                                             size_t MaxSize) {
  154   size_t Idx = Rand(Size);
  159 size_t MutationDispatcher::Mutate_AddWordFromManualDictionary(uint8_t *Data,
  160                                                               size_t Size,
  161                                                               size_t MaxSize) {
  165 size_t MutationDispatcher::ApplyDictionaryEntry(uint8_t *Data, size_t Size,
  165 size_t MutationDispatcher::ApplyDictionaryEntry(uint8_t *Data, size_t Size,
  166                                                 size_t MaxSize,
  174     size_t Idx = UsePositionHint ? DE.GetPositionHint() : Rand(Size + 1);
  180     size_t Idx = UsePositionHint ? DE.GetPositionHint() : Rand(Size - W.size());
  195     size_t ArgSize, const uint8_t *Data,
  196     size_t Size) {
  206     const size_t kMaxNumPositions = 8;
  207     size_t Positions[kMaxNumPositions];
  208     size_t NumPositions = 0;
  226     T Arg1, T Arg2, const uint8_t *Data, size_t Size) {
  236     const Word &Arg1, const Word &Arg2, const uint8_t *Data, size_t Size) {
  241 size_t MutationDispatcher::Mutate_AddWordFromTORC(
  242     uint8_t *Data, size_t Size, size_t MaxSize) {
  242     uint8_t *Data, size_t Size, size_t MaxSize) {
  279 size_t MutationDispatcher::Mutate_AddWordFromPersistentAutoDictionary(
  280     uint8_t *Data, size_t Size, size_t MaxSize) {
  280     uint8_t *Data, size_t Size, size_t MaxSize) {
  284 size_t MutationDispatcher::AddWordFromDictionary(Dictionary &D, uint8_t *Data,
  285                                                  size_t Size, size_t MaxSize) {
  285                                                  size_t Size, size_t MaxSize) {
  298 size_t MutationDispatcher::CopyPartOf(const uint8_t *From, size_t FromSize,
  298 size_t MutationDispatcher::CopyPartOf(const uint8_t *From, size_t FromSize,
  299                                       uint8_t *To, size_t ToSize) {
  301   size_t ToBeg = Rand(ToSize);
  302   size_t CopySize = Rand(ToSize - ToBeg) + 1;
  305   size_t FromBeg = Rand(FromSize - CopySize + 1);
  313 size_t MutationDispatcher::InsertPartOf(const uint8_t *From, size_t FromSize,
  313 size_t MutationDispatcher::InsertPartOf(const uint8_t *From, size_t FromSize,
  314                                         uint8_t *To, size_t ToSize,
  315                                         size_t MaxToSize) {
  317   size_t AvailableSpace = MaxToSize - ToSize;
  318   size_t MaxCopySize = std::min(AvailableSpace, FromSize);
  319   size_t CopySize = Rand(MaxCopySize) + 1;
  320   size_t FromBeg = Rand(FromSize - CopySize + 1);
  322   size_t ToInsertPos = Rand(ToSize + 1);
  324   size_t TailSize = ToSize - ToInsertPos;
  337 size_t MutationDispatcher::Mutate_CopyPart(uint8_t *Data, size_t Size,
  337 size_t MutationDispatcher::Mutate_CopyPart(uint8_t *Data, size_t Size,
  338                                            size_t MaxSize) {
  348 size_t MutationDispatcher::Mutate_ChangeASCIIInteger(uint8_t *Data, size_t Size,
  348 size_t MutationDispatcher::Mutate_ChangeASCIIInteger(uint8_t *Data, size_t Size,
  349                                                      size_t MaxSize) {
  351   size_t B = Rand(Size);
  354   size_t E = B;
  360   for (size_t i = B + 1; i < E; i++)
  373   for (size_t i = B; i < E; i++) {
  374     size_t Idx = E + B - i - 1;
  383 size_t ChangeBinaryInteger(uint8_t *Data, size_t Size, Random &Rand) {
  383 size_t ChangeBinaryInteger(uint8_t *Data, size_t Size, Random &Rand) {
  385   size_t Off = Rand(Size - sizeof(T) + 1);
  407 size_t MutationDispatcher::Mutate_ChangeBinaryInteger(uint8_t *Data,
  408                                                       size_t Size,
  409                                                       size_t MaxSize) {
  421 size_t MutationDispatcher::Mutate_CrossOver(uint8_t *Data, size_t Size,
  421 size_t MutationDispatcher::Mutate_CrossOver(uint8_t *Data, size_t Size,
  422                                             size_t MaxSize) {
  430   size_t NewSize = 0;
  497 size_t MutationDispatcher::Mutate(uint8_t *Data, size_t Size, size_t MaxSize) {
  497 size_t MutationDispatcher::Mutate(uint8_t *Data, size_t Size, size_t MaxSize) {
  497 size_t MutationDispatcher::Mutate(uint8_t *Data, size_t Size, size_t MaxSize) {
  501 size_t MutationDispatcher::DefaultMutate(uint8_t *Data, size_t Size,
  501 size_t MutationDispatcher::DefaultMutate(uint8_t *Data, size_t Size,
  502                                          size_t MaxSize) {
  507 size_t MutationDispatcher::MutateImpl(uint8_t *Data, size_t Size,
  507 size_t MutationDispatcher::MutateImpl(uint8_t *Data, size_t Size,
  508                                       size_t MaxSize,
  516     size_t NewSize = (this->*(M.Fn))(Data, Size, MaxSize);
  529 size_t MutationDispatcher::MutateWithMask(uint8_t *Data, size_t Size,
  529 size_t MutationDispatcher::MutateWithMask(uint8_t *Data, size_t Size,
  530                                           size_t MaxSize,
  532   size_t MaskedSize = std::min(Size, Mask.size());
  540   size_t OneBits = 0;
  547   size_t NewSize = Mutate(T.data(), OneBits, OneBits);
projects/compiler-rt/lib/fuzzer/FuzzerMutate.h
   32   size_t Mutate_Custom(uint8_t *Data, size_t Size, size_t MaxSize);
   32   size_t Mutate_Custom(uint8_t *Data, size_t Size, size_t MaxSize);
   32   size_t Mutate_Custom(uint8_t *Data, size_t Size, size_t MaxSize);
   34   size_t Mutate_CustomCrossOver(uint8_t *Data, size_t Size, size_t MaxSize);
   34   size_t Mutate_CustomCrossOver(uint8_t *Data, size_t Size, size_t MaxSize);
   34   size_t Mutate_CustomCrossOver(uint8_t *Data, size_t Size, size_t MaxSize);
   36   size_t Mutate_ShuffleBytes(uint8_t *Data, size_t Size, size_t MaxSize);
   36   size_t Mutate_ShuffleBytes(uint8_t *Data, size_t Size, size_t MaxSize);
   36   size_t Mutate_ShuffleBytes(uint8_t *Data, size_t Size, size_t MaxSize);
   38   size_t Mutate_EraseBytes(uint8_t *Data, size_t Size, size_t MaxSize);
   38   size_t Mutate_EraseBytes(uint8_t *Data, size_t Size, size_t MaxSize);
   38   size_t Mutate_EraseBytes(uint8_t *Data, size_t Size, size_t MaxSize);
   40   size_t Mutate_InsertByte(uint8_t *Data, size_t Size, size_t MaxSize);
   40   size_t Mutate_InsertByte(uint8_t *Data, size_t Size, size_t MaxSize);
   40   size_t Mutate_InsertByte(uint8_t *Data, size_t Size, size_t MaxSize);
   42   size_t Mutate_InsertRepeatedBytes(uint8_t *Data, size_t Size, size_t MaxSize);
   42   size_t Mutate_InsertRepeatedBytes(uint8_t *Data, size_t Size, size_t MaxSize);
   42   size_t Mutate_InsertRepeatedBytes(uint8_t *Data, size_t Size, size_t MaxSize);
   44   size_t Mutate_ChangeByte(uint8_t *Data, size_t Size, size_t MaxSize);
   44   size_t Mutate_ChangeByte(uint8_t *Data, size_t Size, size_t MaxSize);
   44   size_t Mutate_ChangeByte(uint8_t *Data, size_t Size, size_t MaxSize);
   46   size_t Mutate_ChangeBit(uint8_t *Data, size_t Size, size_t MaxSize);
   46   size_t Mutate_ChangeBit(uint8_t *Data, size_t Size, size_t MaxSize);
   46   size_t Mutate_ChangeBit(uint8_t *Data, size_t Size, size_t MaxSize);
   48   size_t Mutate_CopyPart(uint8_t *Data, size_t Size, size_t MaxSize);
   48   size_t Mutate_CopyPart(uint8_t *Data, size_t Size, size_t MaxSize);
   48   size_t Mutate_CopyPart(uint8_t *Data, size_t Size, size_t MaxSize);
   51   size_t Mutate_AddWordFromManualDictionary(uint8_t *Data, size_t Size,
   51   size_t Mutate_AddWordFromManualDictionary(uint8_t *Data, size_t Size,
   52                                             size_t MaxSize);
   55   size_t Mutate_AddWordFromTORC(uint8_t *Data, size_t Size, size_t MaxSize);
   55   size_t Mutate_AddWordFromTORC(uint8_t *Data, size_t Size, size_t MaxSize);
   55   size_t Mutate_AddWordFromTORC(uint8_t *Data, size_t Size, size_t MaxSize);
   58   size_t Mutate_AddWordFromPersistentAutoDictionary(uint8_t *Data, size_t Size,
   58   size_t Mutate_AddWordFromPersistentAutoDictionary(uint8_t *Data, size_t Size,
   59                                                     size_t MaxSize);
   62   size_t Mutate_ChangeASCIIInteger(uint8_t *Data, size_t Size, size_t MaxSize);
   62   size_t Mutate_ChangeASCIIInteger(uint8_t *Data, size_t Size, size_t MaxSize);
   62   size_t Mutate_ChangeASCIIInteger(uint8_t *Data, size_t Size, size_t MaxSize);
   64   size_t Mutate_ChangeBinaryInteger(uint8_t *Data, size_t Size, size_t MaxSize);
   64   size_t Mutate_ChangeBinaryInteger(uint8_t *Data, size_t Size, size_t MaxSize);
   64   size_t Mutate_ChangeBinaryInteger(uint8_t *Data, size_t Size, size_t MaxSize);
   67   size_t Mutate_CrossOver(uint8_t *Data, size_t Size, size_t MaxSize);
   67   size_t Mutate_CrossOver(uint8_t *Data, size_t Size, size_t MaxSize);
   67   size_t Mutate_CrossOver(uint8_t *Data, size_t Size, size_t MaxSize);
   71   size_t Mutate(uint8_t *Data, size_t Size, size_t MaxSize);
   71   size_t Mutate(uint8_t *Data, size_t Size, size_t MaxSize);
   71   size_t Mutate(uint8_t *Data, size_t Size, size_t MaxSize);
   76   size_t MutateWithMask(uint8_t *Data, size_t Size, size_t MaxSize,
   76   size_t MutateWithMask(uint8_t *Data, size_t Size, size_t MaxSize,
   76   size_t MutateWithMask(uint8_t *Data, size_t Size, size_t MaxSize,
   81   size_t DefaultMutate(uint8_t *Data, size_t Size, size_t MaxSize);
   81   size_t DefaultMutate(uint8_t *Data, size_t Size, size_t MaxSize);
   81   size_t DefaultMutate(uint8_t *Data, size_t Size, size_t MaxSize);
   84   size_t CrossOver(const uint8_t *Data1, size_t Size1, const uint8_t *Data2,
   84   size_t CrossOver(const uint8_t *Data1, size_t Size1, const uint8_t *Data2,
   85                    size_t Size2, uint8_t *Out, size_t MaxOutSize);
   85                    size_t Size2, uint8_t *Out, size_t MaxOutSize);
  101   size_t AddWordFromDictionary(Dictionary &D, uint8_t *Data, size_t Size,
  101   size_t AddWordFromDictionary(Dictionary &D, uint8_t *Data, size_t Size,
  102                                size_t MaxSize);
  103   size_t MutateImpl(uint8_t *Data, size_t Size, size_t MaxSize,
  103   size_t MutateImpl(uint8_t *Data, size_t Size, size_t MaxSize,
  103   size_t MutateImpl(uint8_t *Data, size_t Size, size_t MaxSize,
  106   size_t InsertPartOf(const uint8_t *From, size_t FromSize, uint8_t *To,
  106   size_t InsertPartOf(const uint8_t *From, size_t FromSize, uint8_t *To,
  107                       size_t ToSize, size_t MaxToSize);
  107                       size_t ToSize, size_t MaxToSize);
  108   size_t CopyPartOf(const uint8_t *From, size_t FromSize, uint8_t *To,
  108   size_t CopyPartOf(const uint8_t *From, size_t FromSize, uint8_t *To,
  109                     size_t ToSize);
  110   size_t ApplyDictionaryEntry(uint8_t *Data, size_t Size, size_t MaxSize,
  110   size_t ApplyDictionaryEntry(uint8_t *Data, size_t Size, size_t MaxSize,
  110   size_t ApplyDictionaryEntry(uint8_t *Data, size_t Size, size_t MaxSize,
  115                                              const uint8_t *Data, size_t Size);
  117                                              const uint8_t *Data, size_t Size);
  121                                              size_t ArgSize,
  122                                              const uint8_t *Data, size_t Size);
  138   static const size_t kCmpDictionaryEntriesDequeSize = 16;
  140   size_t CmpDictionaryEntriesDequeIdx = 0;
projects/compiler-rt/lib/fuzzer/FuzzerOptions.h
   19   size_t MaxLen = 0;
   20   size_t LenControl = 1000;
   44   size_t MaxNumberOfRuns = -1L;
projects/compiler-rt/lib/fuzzer/FuzzerRandom.h
   21   size_t Rand() { return this->operator()(); }
   22   size_t RandBool() { return Rand() % 2; }
   23   size_t SkewTowardsLast(size_t n) {
   23   size_t SkewTowardsLast(size_t n) {
   24     size_t T = this->operator()(n * n);
   25     size_t Res = sqrt(T);
   28   size_t operator()(size_t n) { return n ? Rand() % n : 0; }
   28   size_t operator()(size_t n) { return n ? Rand() % n : 0; }
projects/compiler-rt/lib/fuzzer/FuzzerSHA1.cpp
   73 void sha1_write(sha1nfo *s, const char *data, size_t len);
  155 void sha1_write(sha1nfo *s, const char *data, size_t len) {
  202 void ComputeSHA1(const uint8_t *Data, size_t Len, uint8_t *Out) {
projects/compiler-rt/lib/fuzzer/FuzzerSHA1.h
   24 void ComputeSHA1(const uint8_t *Data, size_t Len, uint8_t *Out);
projects/compiler-rt/lib/fuzzer/FuzzerTracePC.cpp
   33 size_t TracePC::GetTotalPCCoverage() {
   48   size_t NumFullPages = AlignedStop > AlignedStart ?
   56   size_t R = 0;
  106   if (size_t NumExtraCounters = ExtraCountersEnd() - ExtraCountersBegin())
  183   for (size_t i = 0, N = Min(CoveredFuncs.size(), NumPrintNewFuncs); i < N;
  192   size_t TotalTEs = 0;
  286     size_t NumEdges = Last - First;
  316                                 size_t n, bool StopAtZero) {
  318   size_t Len = std::min(n, Word::GetMaxSize());
  325   size_t Hash = 0;  // Compute some simple hash of both strings.
  326   for (size_t i = 0; i < Len; i++) {
  329     size_t T = B1[i];
  332   size_t I = 0;
  340   size_t PC = reinterpret_cast<size_t>(caller_pc);
  341   size_t Idx = (PC & 4095) | (I << 12);
  362 static size_t InternalStrnlen(const char *S, size_t MaxLen) {
  362 static size_t InternalStrnlen(const char *S, size_t MaxLen) {
  363   size_t Len = 0;
  370 static size_t InternalStrnlen2(const char *S1, const char *S2) {
  371   size_t Len = 0;
  529   size_t i;
  586                                   const void *s2, size_t n, int result) {
  595                                    const char *s2, size_t n, int result) {
  598   size_t Len1 = fuzzer::InternalStrnlen(s1, n);
  599   size_t Len2 = fuzzer::InternalStrnlen(s2, n);
  611   size_t N = fuzzer::InternalStrnlen2(s1, s2);
  618                                        const char *s2, size_t n, int result) {
  645 void __sanitizer_weak_hook_memmem(void *called_pc, const void *s1, size_t len1,
  646                                   const void *s2, size_t len2, void *result) {
projects/compiler-rt/lib/fuzzer/FuzzerTracePC.h
   32   static const size_t kSize = kSizeT;
   37   void Insert(size_t Idx, const T &Arg1, const T &Arg2) {
   43   Pair Get(size_t I) { return Table[I % kSize]; }
   50   static const size_t kSize = kSizeT;
   54   void Add(const uint8_t *Data, size_t Size) {
   57     size_t Idx = SimpleFastHash(Data, Size) % kSize;
   60   const Word &Get(size_t Idx) {
   61     for (size_t i = 0; i < kSize; i++) {
   76   size_t GetTotalPCCoverage();
   80   void SetPrintNewFuncs(size_t P) { NumPrintNewFuncs = P; }
   92   void UpdateFeatureSet(size_t CurrentElementIdx, size_t CurrentElementSize);
   92   void UpdateFeatureSet(size_t CurrentElementIdx, size_t CurrentElementSize);
  103                          size_t n, bool StopAtZero);
  135   size_t NumPrintNewFuncs = 0;
  147     size_t NumRegions;
  150     size_t Size()   { return Stop() - Start(); }
  151     size_t  Idx(uint8_t *P) {
  158   size_t NumModules;  // linker-initialized.
  159   size_t NumInline8bitCounters;
  163     for (size_t m = 0; m < NumModules; m++)
  164       for (size_t r = 0; r < Modules[m].NumRegions; r++)
  169   size_t NumPCTables;
  170   size_t NumPCsInPCTables;
  184 size_t ForEachNonZeroByte(const uint8_t *Begin, const uint8_t *End,
  185                         size_t FirstFeature, Callback Handle8bitCounter) {
  187   const size_t Step = sizeof(LargeType) / sizeof(uint8_t);
  188   const size_t StepMask = Step - 1;
  198       for (size_t I = 0; I < Step; I++, Bundle >>= 8)
  247   size_t FirstFeature = 0;
  249   for (size_t i = 0; i < NumModules; i++) {
  250     for (size_t r = 0; r < Modules[i].NumRegions; r++) {
projects/compiler-rt/lib/fuzzer/FuzzerUtil.cpp
   27 void PrintHexArray(const uint8_t *Data, size_t Size,
   29   for (size_t i = 0; i < Size; i++)
   49 void PrintASCII(const uint8_t *Data, size_t Size, const char *PrintAfter) {
   50   for (size_t i = 0; i < Size; i++)
   59 bool ToASCII(uint8_t *Data, size_t Size) {
   61   for (size_t i = 0; i < Size; i++) {
   75 bool IsASCII(const uint8_t *Data, size_t Size) {
   76   for (size_t i = 0; i < Size; i++)
   84   size_t L = 0, R = Str.size() - 1;  // We are parsing the range [L,R].
   98   for (size_t Pos = L; Pos <= R; Pos++) {
  159   size_t i;
  224 size_t SimpleFastHash(const uint8_t *Data, size_t Size) {
  224 size_t SimpleFastHash(const uint8_t *Data, size_t Size) {
  225   size_t Res = 0;
  226   for (size_t i = 0; i < Size; i++)
projects/compiler-rt/lib/fuzzer/FuzzerUtil.h
   23 void PrintHexArray(const uint8_t *Data, size_t Size,
   26 void PrintASCII(const uint8_t *Data, size_t Size, const char *PrintAfter = "");
   32 bool ToASCII(uint8_t *Data, size_t Size);
   36 bool IsASCII(const uint8_t *Data, size_t Size);
   57 size_t GetPeakRSSMb();
   63 const void *SearchMemory(const void *haystack, size_t haystacklen,
   64                          const void *needle, size_t needlelen);
   86 size_t SimpleFastHash(const uint8_t *Data, size_t Size);
   86 size_t SimpleFastHash(const uint8_t *Data, size_t Size);
   90 inline size_t PageSize() { return 4096; }
   93   size_t Mask = PageSize() - 1;
   99   size_t Mask = PageSize() - 1;
projects/compiler-rt/lib/fuzzer/FuzzerUtilPosix.cpp
  131 size_t GetPeakRSSMb() {
  151 const void *SearchMemory(const void *Data, size_t DataLen, const void *Patt,
  152                          size_t PattLen) {
projects/compiler-rt/lib/fuzzer/FuzzerValueBitMap.h
   20   static const size_t kMapSizeInBits = 1 << 16;
   21   static const size_t kMapPrimeMod = 65371;  // Largest Prime < kMapSizeInBits;
   22   static const size_t kBitsInWord = (sizeof(uintptr_t) * 8);
   23   static const size_t kMapSizeInWords = kMapSizeInBits / kBitsInWord;
   54   size_t SizeInBits() const { return kMapSizeInBits; }
   59     for (size_t i = 0; i < kMapSizeInWords; i++)
   61         for (size_t j = 0; j < sizeof(M) * 8; j++)
projects/compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
   47 void defaultPrintStackTrace(uintptr_t *Trace, size_t TraceLength,
   52   for (size_t i = 0; i < TraceLength; ++i) {
   64     uintptr_t AllocAddr, size_t AllocSize, options::Backtrace_t Backtrace) {
   78     size_t BacktraceLength =
   96     size_t BacktraceLength =
  149   size_t PoolBytesRequired =
  154   size_t BytesRequired = MaxSimultaneousAllocations * sizeof(*Metadata);
  181 void *GuardedPoolAllocator::allocate(size_t Size) {
  195   size_t Index;
  251 size_t GuardedPoolAllocator::getSize(const void *Ptr) {
  259 size_t GuardedPoolAllocator::maximumAllocationSize() const { return PageSize; }
  265 size_t GuardedPoolAllocator::addrToSlot(uintptr_t Ptr) const {
  267   size_t ByteOffsetFromPoolStart = Ptr - GuardedPagePool;
  271 uintptr_t GuardedPoolAllocator::slotToAddr(size_t N) const {
  282   size_t PageOffsetFromPoolStart = (Ptr - GuardedPagePool) / PageSize;
  283   size_t PagesPerSlot = maximumAllocationSize() / PageSize;
  287 size_t GuardedPoolAllocator::reserveSlot() {
  296   size_t ReservedIndex = getRandomUnsigned32() % FreeSlotsLength;
  297   size_t SlotIndex = FreeSlots[ReservedIndex];
  302 void GuardedPoolAllocator::freeSlot(size_t SlotIndex) {
  307 uintptr_t GuardedPoolAllocator::allocationSlotOffset(size_t Size) const {
  332 size_t GuardedPoolAllocator::getNearestSlot(uintptr_t Ptr) const {
  350     size_t Slot = getNearestSlot(AccessPtr);
  407   constexpr size_t kDescriptionBufferLen = 128;
  433   constexpr size_t kThreadBufferLen = 24;
  458     size_t UncompressedLength = compression::unpack(
  473   size_t UncompressedLength = compression::unpack(
  506     size_t Slot = getNearestSlot(AccessPtr);
  519     size_t TraceLength = Backtrace(Trace, kMaximumStackFramesForCrashTrace);
projects/compiler-rt/lib/gwp_asan/guarded_pool_allocator.h
   46     static constexpr size_t kStackFrameStorageBytes = 256;
   51     static constexpr size_t kMaxTraceLengthToCollect = 128;
   54     void RecordAllocation(uintptr_t Addr, size_t Size,
   67       size_t TraceSize = 0;
   73     size_t Size = 0;
  123   void *allocate(size_t Size);
  130   size_t getSize(const void *Ptr);
  134   size_t maximumAllocationSize() const;
  149   static constexpr size_t kInvalidSlotID = SIZE_MAX;
  158   void *mapMemory(size_t Size) const;
  159   void markReadWrite(void *Ptr, size_t Size) const;
  160   void markInaccessible(void *Ptr, size_t Size) const;
  164   static size_t getPlatformPageSize();
  175   size_t addrToSlot(uintptr_t Ptr) const;
  178   uintptr_t slotToAddr(size_t N) const;
  188   size_t getNearestSlot(uintptr_t Ptr) const;
  196   size_t reserveSlot();
  199   void freeSlot(size_t SlotIndex);
  204   uintptr_t allocationSlotOffset(size_t AllocationSize) const;
  214   size_t PageSize = 0;
  219   size_t MaxSimultaneousAllocations = 0;
  223   size_t NumSampledAllocations = 0;
  233   size_t *FreeSlots = nullptr;
  235   size_t FreeSlotsLength = 0;
projects/compiler-rt/lib/gwp_asan/optional/backtrace_linux_libc.cpp
   20 size_t Backtrace(uintptr_t *TraceBuffer, size_t Size) {
   20 size_t Backtrace(uintptr_t *TraceBuffer, size_t Size) {
   26 static void PrintBacktrace(uintptr_t *Trace, size_t TraceLength,
   36   for (size_t i = 0; i < TraceLength; ++i) {
projects/compiler-rt/lib/gwp_asan/optional/backtrace_sanitizer_common.cpp
   32 size_t Backtrace(uintptr_t *TraceBuffer, size_t Size) {
   32 size_t Backtrace(uintptr_t *TraceBuffer, size_t Size) {
   47 static void PrintBacktrace(uintptr_t *Trace, size_t TraceLength,
projects/compiler-rt/lib/gwp_asan/options.h
   51 typedef size_t (*Backtrace_t)(uintptr_t *TraceBuffer, size_t Size);
   51 typedef size_t (*Backtrace_t)(uintptr_t *TraceBuffer, size_t Size);
   72 typedef void (*PrintBacktrace_t)(uintptr_t *TraceBuffer, size_t TraceLength,
projects/compiler-rt/lib/gwp_asan/platform_specific/guarded_pool_allocator_posix.cpp
   21 void *GuardedPoolAllocator::mapMemory(size_t Size) const {
   33 void GuardedPoolAllocator::markReadWrite(void *Ptr, size_t Size) const {
   42 void GuardedPoolAllocator::markInaccessible(void *Ptr, size_t Size) const {
   56 size_t GuardedPoolAllocator::getPlatformPageSize() {
projects/compiler-rt/lib/gwp_asan/stack_trace_compressor.cpp
   17 size_t varIntEncode(uintptr_t Value, uint8_t *Out, size_t OutLen) {
   17 size_t varIntEncode(uintptr_t Value, uint8_t *Out, size_t OutLen) {
   18   for (size_t i = 0; i < OutLen; ++i) {
   35 size_t varIntDecode(const uint8_t *In, size_t InLen, uintptr_t *Out) {
   35 size_t varIntDecode(const uint8_t *In, size_t InLen, uintptr_t *Out) {
   39   for (size_t i = 0; i < InLen; ++i) {
   69 size_t pack(const uintptr_t *Unpacked, size_t UnpackedSize, uint8_t *Packed,
   69 size_t pack(const uintptr_t *Unpacked, size_t UnpackedSize, uint8_t *Packed,
   70             size_t PackedMaxSize) {
   71   size_t Index = 0;
   72   for (size_t CurrentDepth = 0; CurrentDepth < UnpackedSize; CurrentDepth++) {
   76     size_t EncodedLength =
   87 size_t unpack(const uint8_t *Packed, size_t PackedSize, uintptr_t *Unpacked,
   87 size_t unpack(const uint8_t *Packed, size_t PackedSize, uintptr_t *Unpacked,
   88               size_t UnpackedMaxSize) {
   89   size_t CurrentDepth;
   90   size_t Index = 0;
   93     size_t DecodedLength =
projects/compiler-rt/lib/gwp_asan/stack_trace_compressor.h
   26 size_t pack(const uintptr_t *Unpacked, size_t UnpackedSize, uint8_t *Packed,
   26 size_t pack(const uintptr_t *Unpacked, size_t UnpackedSize, uint8_t *Packed,
   27             size_t PackedMaxSize);
   32 size_t unpack(const uint8_t *Packed, size_t PackedSize, uintptr_t *Unpacked,
   32 size_t unpack(const uint8_t *Packed, size_t PackedSize, uintptr_t *Unpacked,
   33               size_t UnpackedMaxSize);
projects/compiler-rt/lib/hwasan/hwasan_interface_internal.h
  116                             size_t outsize);
projects/compiler-rt/lib/hwasan/hwasan_linux.cpp
  484                             size_t outsize) {
projects/compiler-rt/lib/hwasan/hwasan_new_delete.cpp
   39 void *operator new(size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); }
   41 void *operator new[](size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); }
   43 void *operator new(size_t size, std::nothrow_t const&) {
   47 void *operator new[](size_t size, std::nothrow_t const&) {
projects/compiler-rt/lib/lsan/lsan_common_linux.cpp
   79 static int ProcessGlobalRegionsCallback(struct dl_phdr_info *info, size_t size,
  119                                             size_t size, void *data) {
projects/compiler-rt/lib/lsan/lsan_interceptors.cpp
   48   enum class align_val_t: size_t;
  229 void *operator new(size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); }
  231 void *operator new[](size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); }
  233 void *operator new(size_t size, std::nothrow_t const&)
  236 void *operator new[](size_t size, std::nothrow_t const&)
  239 void *operator new(size_t size, std::align_val_t align)
  242 void *operator new[](size_t size, std::align_val_t align)
  245 void *operator new(size_t size, std::align_val_t align, std::nothrow_t const&)
  248 void *operator new[](size_t size, std::align_val_t align, std::nothrow_t const&)
  261 void operator delete(void *ptr, size_t size) NOEXCEPT
  264 void operator delete[](void *ptr, size_t size) NOEXCEPT
  279 void operator delete(void *ptr, size_t size, std::align_val_t) NOEXCEPT
  282 void operator delete[](void *ptr, size_t size, std::align_val_t) NOEXCEPT
projects/compiler-rt/lib/msan/msan_new_delete.cpp
   28   enum class align_val_t: size_t {};
   45 void *operator new(size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); }
   47 void *operator new[](size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); }
   49 void *operator new(size_t size, std::nothrow_t const&) {
   53 void *operator new[](size_t size, std::nothrow_t const&) {
   57 void *operator new(size_t size, std::align_val_t align)
   60 void *operator new[](size_t size, std::align_val_t align)
   63 void *operator new(size_t size, std::align_val_t align, std::nothrow_t const&)
   66 void *operator new[](size_t size, std::align_val_t align, std::nothrow_t const&)
   84 void operator delete(void *ptr, size_t size) NOEXCEPT { OPERATOR_DELETE_BODY; }
   86 void operator delete[](void *ptr, size_t size) NOEXCEPT
  101 void operator delete(void *ptr, size_t size, std::align_val_t align) NOEXCEPT
  104 void operator delete[](void *ptr, size_t size, std::align_val_t align) NOEXCEPT
projects/compiler-rt/lib/profile/GCDAProfiling.c
  176 static void write_bytes(const char *s, size_t len) {
  239   size_t prefix_len;
projects/compiler-rt/lib/profile/InstrProfData.inc
  432   ValueProfData *(*AllocValueProfData)(size_t TotalSizeInBytes);
projects/compiler-rt/lib/profile/InstrProfilingFile.c
  228   size_t Length = strlen(Filename);
projects/compiler-rt/lib/profile/InstrProfilingInternal.h
   47   size_t ElmSize;
   48   size_t NumElm;
projects/compiler-rt/lib/profile/InstrProfilingUtil.c
  240                                                       size_t *PrefixLen) {
  265                      size_t PrefixLen, int PrefixStrip) {
projects/compiler-rt/lib/profile/InstrProfilingUtil.h
   43 const char *lprofGetPathPrefix(int *PrefixStrip, size_t *PrefixLen);
   50                           size_t PrefixLen, int PrefixStrip);
projects/compiler-rt/lib/profile/InstrProfilingWriter.c
   40     size_t Length = IOVecs[I].ElmSize * IOVecs[I].NumElm;
projects/compiler-rt/lib/safestack/safestack.cpp
   88 __thread size_t unsafe_stack_size = 0;
   89 __thread size_t unsafe_stack_guard = 0;
   91 inline void *unsafe_stack_alloc(size_t size, size_t guard) {
   91 inline void *unsafe_stack_alloc(size_t size, size_t guard) {
  100 inline void unsafe_stack_setup(void *start, size_t size, size_t guard) {
  100 inline void unsafe_stack_setup(void *start, size_t size, size_t guard) {
  121   size_t unsafe_stack_size;
  122   size_t unsafe_stack_guard;
  147   size_t size;
  212   size_t size = 0;
  213   size_t guard = 0;
  267   size_t size = kDefaultUnsafeStackSize;
  268   size_t guard = 4096;
projects/compiler-rt/lib/safestack/safestack_platform.h
   93 inline void *Mmap(void *addr, size_t length, int prot, int flags, int fd,
  104 inline int Munmap(void *addr, size_t length) {
  113 inline int Mprotect(void *addr, size_t length, int prot) {
projects/compiler-rt/lib/safestack/safestack_util.h
   31 inline size_t RoundUpTo(size_t size, size_t boundary) {
   31 inline size_t RoundUpTo(size_t size, size_t boundary) {
   31 inline size_t RoundUpTo(size_t size, size_t boundary) {
projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
  205   typedef void (*get_tls_func)(size_t*, size_t*);
  205   typedef void (*get_tls_func)(size_t*, size_t*);
  208   typedef void (*get_tls_func)(size_t*, size_t*) DL_INTERNAL_FUNCTION;
  208   typedef void (*get_tls_func)(size_t*, size_t*) DL_INTERNAL_FUNCTION;
  212 void CallGetTls(void* ptr, size_t* size, size_t* align) {
  212 void CallGetTls(void* ptr, size_t* size, size_t* align) {
  241   const size_t kStackAlign = 16;
  243   size_t tls_size = 0;
  244   size_t tls_align = 0;
  541 static int dl_iterate_phdr_cb(dl_phdr_info *info, size_t size, void *arg) {
projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
  389 real_pthread_attr_getstack(void *attr, void **addr, size_t *size);
projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp
   42                                   size_t *length, int *status);
   66                                    size_t mangledNameLength, char *outputBuffer,
   67                                    size_t *outputBufferSize, uint32_t flags);
  249   const size_t kTerminatorLen = sizeof(output_terminator_) - 1;
projects/compiler-rt/lib/scudo/scudo_allocator.cpp
  495       size_t OldSize = GuardedAlloc.getSize(OldPtr);
projects/compiler-rt/lib/scudo/scudo_malloc.cpp
   27 INTERCEPTOR_ATTRIBUTE void *malloc(size_t size) {
   31 INTERCEPTOR_ATTRIBUTE void *realloc(void *ptr, size_t size) {
   35 INTERCEPTOR_ATTRIBUTE void *calloc(size_t nmemb, size_t size) {
   35 INTERCEPTOR_ATTRIBUTE void *calloc(size_t nmemb, size_t size) {
   39 INTERCEPTOR_ATTRIBUTE void *valloc(size_t size) {
   44 int posix_memalign(void **memptr, size_t alignment, size_t size) {
   44 int posix_memalign(void **memptr, size_t alignment, size_t size) {
   53 INTERCEPTOR_ATTRIBUTE void *memalign(size_t alignment, size_t size) {
   53 INTERCEPTOR_ATTRIBUTE void *memalign(size_t alignment, size_t size) {
   58 void *__libc_memalign(size_t alignment, size_t size) ALIAS("memalign");
   58 void *__libc_memalign(size_t alignment, size_t size) ALIAS("memalign");
   62 INTERCEPTOR_ATTRIBUTE void *pvalloc(size_t size) {
   68 INTERCEPTOR_ATTRIBUTE void *aligned_alloc(size_t alignment, size_t size) {
   68 INTERCEPTOR_ATTRIBUTE void *aligned_alloc(size_t alignment, size_t size) {
   74 INTERCEPTOR_ATTRIBUTE size_t malloc_usable_size(void *ptr) {
projects/compiler-rt/lib/scudo/scudo_new_delete.cpp
   27 enum class align_val_t: size_t {};
   39 void *operator new(size_t size)
   42 void *operator new[](size_t size)
   45 void *operator new(size_t size, std::nothrow_t const&)
   48 void *operator new[](size_t size, std::nothrow_t const&)
   51 void *operator new(size_t size, std::align_val_t align)
   54 void *operator new[](size_t size, std::align_val_t align)
   57 void *operator new(size_t size, std::align_val_t align, std::nothrow_t const&)
   60 void *operator new[](size_t size, std::align_val_t align, std::nothrow_t const&)
   85 void operator delete(void *ptr, size_t size) NOEXCEPT
   88 void operator delete[](void *ptr, size_t size) NOEXCEPT
  103 void operator delete(void *ptr, size_t size, std::align_val_t align) NOEXCEPT
  106 void operator delete[](void *ptr, size_t size, std::align_val_t align) NOEXCEPT
projects/compiler-rt/lib/scudo/standalone/interface.h
   20 WEAK INTERFACE void __scudo_allocate_hook(void *ptr, size_t size);
   25 typedef void (*iterate_callback)(uintptr_t base, size_t size, void *arg);
projects/compiler-rt/lib/scudo/standalone/wrappers_c.inc
   20 INTERFACE WEAK void *SCUDO_PREFIX(calloc)(size_t nmemb, size_t size) {
   20 INTERFACE WEAK void *SCUDO_PREFIX(calloc)(size_t nmemb, size_t size) {
   55 INTERFACE WEAK void *SCUDO_PREFIX(malloc)(size_t size) {
   63 INTERFACE WEAK size_t SCUDO_PREFIX(malloc_usable_size)(void *ptr) {
   68 INTERFACE WEAK void *SCUDO_PREFIX(memalign)(size_t alignment, size_t size) {
   68 INTERFACE WEAK void *SCUDO_PREFIX(memalign)(size_t alignment, size_t size) {
   90 INTERFACE WEAK int SCUDO_PREFIX(posix_memalign)(void **memptr, size_t alignment,
   91                                                 size_t size) {
  105 INTERFACE WEAK void *SCUDO_PREFIX(pvalloc)(size_t size) {
  120 INTERFACE WEAK void *SCUDO_PREFIX(realloc)(void *ptr, size_t size) {
  132 INTERFACE WEAK void *SCUDO_PREFIX(valloc)(size_t size) {
  146     uintptr_t base, size_t size,
  147     void (*callback)(uintptr_t base, size_t size, void *arg), void *arg) {
  169 INTERFACE WEAK void *SCUDO_PREFIX(aligned_alloc)(size_t alignment,
  170                                                  size_t size) {
projects/compiler-rt/lib/scudo/standalone/wrappers_cpp.cpp
   22 enum class align_val_t : size_t {};
   25 INTERFACE WEAK void *operator new(size_t size) {
   28 INTERFACE WEAK void *operator new[](size_t size) {
   31 INTERFACE WEAK void *operator new(size_t size,
   35 INTERFACE WEAK void *operator new[](size_t size,
   39 INTERFACE WEAK void *operator new(size_t size, std::align_val_t align) {
   43 INTERFACE WEAK void *operator new[](size_t size, std::align_val_t align) {
   47 INTERFACE WEAK void *operator new(size_t size, std::align_val_t align,
   52 INTERFACE WEAK void *operator new[](size_t size, std::align_val_t align,
   71 INTERFACE WEAK void operator delete(void *ptr, size_t size)NOEXCEPT {
   74 INTERFACE WEAK void operator delete[](void *ptr, size_t size) NOEXCEPT {
   96 INTERFACE WEAK void operator delete(void *ptr, size_t size,
  101 INTERFACE WEAK void operator delete[](void *ptr, size_t size,
projects/compiler-rt/lib/xray/xray_allocator.h
   90 T *allocateBuffer(size_t S) XRAY_NEVER_INSTRUMENT {
  126 template <class T> void deallocateBuffer(T *B, size_t S) XRAY_NEVER_INSTRUMENT {
  139 T *initArray(size_t N, U &&... Us) XRAY_NEVER_INSTRUMENT {
  173   size_t MaxMemory{0};
  176   size_t AllocatedBlocks = 0;
  225   explicit Allocator(size_t M) XRAY_NEVER_INSTRUMENT
  233   explicit Allocator(void *P, size_t M) XRAY_NEVER_INSTRUMENT
projects/compiler-rt/lib/xray/xray_basic_logging.cpp
   59   size_t BufferSize = 0;
   60   size_t BufferOffset = 0;
   62   size_t StackSize = 0;
   63   size_t StackEntries = 0;
   69   size_t MaxStackDepth = 0;
   70   size_t ThreadBufferSize = 0;
  372 XRayLogInitStatus basicLoggingInit(UNUSED size_t BufferSize,
  373                                    UNUSED size_t BufferMax, void *Options,
  374                                    size_t OptionsSize) XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_basic_logging.h
   27 XRayLogInitStatus basicLoggingInit(size_t BufferSize, size_t BufferMax,
   27 XRayLogInitStatus basicLoggingInit(size_t BufferSize, size_t BufferMax,
   28                                    void *Options, size_t OptionsSize);
projects/compiler-rt/lib/xray/xray_buffer_queue.cpp
   30 BufferQueue::ControlBlock *allocControlBlock(size_t Size, size_t Count) {
   30 BufferQueue::ControlBlock *allocControlBlock(size_t Size, size_t Count) {
   37 void deallocControlBlock(BufferQueue::ControlBlock *C, size_t Size,
   38                          size_t Count) {
   43 void decRefCount(BufferQueue::ControlBlock *C, size_t Size, size_t Count) {
   43 void decRefCount(BufferQueue::ControlBlock *C, size_t Size, size_t Count) {
   66 constexpr size_t kExtentsSize = sizeof(ExtentsPadded);
   70 BufferQueue::ErrorCode BufferQueue::init(size_t BS, size_t BC) {
   70 BufferQueue::ErrorCode BufferQueue::init(size_t BS, size_t BC) {
  121   for (size_t i = 0; i < BufferCount; ++i) {
  145 BufferQueue::BufferQueue(size_t B, size_t N,
  145 BufferQueue::BufferQueue(size_t B, size_t N,
projects/compiler-rt/lib/xray/xray_buffer_queue.h
   58     size_t Size = 0;
   64     size_t Count = 0;
   83     size_t Offset = 0;
   84     size_t Max = 0;
  104     Iterator(BufferRep *Root, size_t O, size_t M) XRAY_NEVER_INSTRUMENT
  104     Iterator(BufferRep *Root, size_t O, size_t M) XRAY_NEVER_INSTRUMENT
  135   size_t BufferSize;
  138   size_t BufferCount;
  160   size_t LiveBuffers;
  199   BufferQueue(size_t B, size_t N, bool &Success);
  199   BufferQueue(size_t B, size_t N, bool &Success);
  230   ErrorCode init(size_t BS, size_t BC);
  230   ErrorCode init(size_t BS, size_t BC);
  241   size_t ConfiguredBufferSize() const { return BufferSize; }
projects/compiler-rt/lib/xray/xray_fdr_controller.h
   46   bool hasSpace(size_t S) XRAY_NEVER_INSTRUMENT {
  109   bool prepareBuffer(size_t S) XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_fdr_log_writer.h
   49   static constexpr size_t value =
   55   static constexpr size_t value =
   60   static constexpr size_t value =
  110   template <size_t N> size_t writeMetadataRecords(MetadataRecord (&Recs)[N]) {
  221   void undoWrites(size_t B) {
projects/compiler-rt/lib/xray/xray_fdr_logging.cpp
  225   static size_t SerializedBufferSize = 0;
  614 XRayLogInitStatus fdrLoggingInit(size_t, size_t, void *Options,
  614 XRayLogInitStatus fdrLoggingInit(size_t, size_t, void *Options,
  615                                  size_t OptionsSize) XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_fdr_logging.h
   28 XRayLogInitStatus fdrLoggingInit(size_t BufferSize, size_t BufferMax,
   28 XRayLogInitStatus fdrLoggingInit(size_t BufferSize, size_t BufferMax,
   29                                  void *Options, size_t OptionsSize);
projects/compiler-rt/lib/xray/xray_interface.cpp
  277   const size_t PageSize = flags()->xray_page_size_override > 0
  287   size_t MProtectLen =
  327   const size_t PageSize = flags()->xray_page_size_override > 0
  352   size_t MProtectLen =
  384 int __xray_set_customevent_handler(void (*entry)(void *, size_t))
  397     uint16_t, const void *, size_t)) XRAY_NEVER_INSTRUMENT {
  477 size_t __xray_max_function_id() XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_interface_internal.h
   54   size_t Entries;
   56   size_t Functions;
projects/compiler-rt/lib/xray/xray_log_interface.cpp
  130 XRayLogInitStatus __xray_log_init(size_t BufferSize, size_t MaxBuffers,
  130 XRayLogInitStatus __xray_log_init(size_t BufferSize, size_t MaxBuffers,
  132                                   size_t ArgsSize) XRAY_NEVER_INSTRUMENT {
  161                          size_t ConfigSize) XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_profile_collector.cpp
   37   size_t Size;
projects/compiler-rt/lib/xray/xray_profiling.cpp
  352 profilingLoggingInit(size_t, size_t, void *Options,
  352 profilingLoggingInit(size_t, size_t, void *Options,
  353                      size_t OptionsSize) XRAY_NEVER_INSTRUMENT {
projects/compiler-rt/lib/xray/xray_utils.h
   57 constexpr size_t gcd(size_t a, size_t b) {
   57 constexpr size_t gcd(size_t a, size_t b) {
   57 constexpr size_t gcd(size_t a, size_t b) {
   61 constexpr size_t lcm(size_t a, size_t b) { return a * b / gcd(a, b); }
   61 constexpr size_t lcm(size_t a, size_t b) { return a * b / gcd(a, b); }
   61 constexpr size_t lcm(size_t a, size_t b) { return a * b / gcd(a, b); }
   63 constexpr size_t nearest_boundary(size_t number, size_t multiple) {
   63 constexpr size_t nearest_boundary(size_t number, size_t multiple) {
   63 constexpr size_t nearest_boundary(size_t number, size_t multiple) {
   67 constexpr size_t next_pow2_helper(size_t num, size_t acc) {
   67 constexpr size_t next_pow2_helper(size_t num, size_t acc) {
   67 constexpr size_t next_pow2_helper(size_t num, size_t acc) {
   71 constexpr size_t next_pow2(size_t number) {
   71 constexpr size_t next_pow2(size_t number) {
projects/compiler-rt/lib/xray/xray_x86_64.cpp
   57   static constexpr size_t BufSize = 256;
projects/openmp/libomptarget/include/omptarget.h
   85   size_t size;  // Size of the entry info (0 if it is a function)
  120 void *omp_target_alloc(size_t size, int device_num);
  123 int omp_target_memcpy(void *dst, void *src, size_t length, size_t dst_offset,
  123 int omp_target_memcpy(void *dst, void *src, size_t length, size_t dst_offset,
  124     size_t src_offset, int dst_device, int src_device);
  125 int omp_target_memcpy_rect(void *dst, void *src, size_t element_size,
  126     int num_dims, const size_t *volume, const size_t *dst_offsets,
  126     int num_dims, const size_t *volume, const size_t *dst_offsets,
  127     const size_t *src_offsets, const size_t *dst_dimensions,
  127     const size_t *src_offsets, const size_t *dst_dimensions,
  128     const size_t *src_dimensions, int dst_device, int src_device);
  129 int omp_target_associate_ptr(void *host_ptr, void *device_ptr, size_t size,
  130     size_t device_offset, int device_num);
projects/openmp/libomptarget/src/api.cpp
   25   size_t Devices_size = Devices.size();
   38 EXTERN void *omp_target_alloc(size_t size, int device_num) {
  106   size_t Devices_size = Devices.size();
  129 EXTERN int omp_target_memcpy(void *dst, void *src, size_t length,
  130     size_t dst_offset, size_t src_offset, int dst_device, int src_device) {
  130     size_t dst_offset, size_t src_offset, int dst_device, int src_device) {
  183 EXTERN int omp_target_memcpy_rect(void *dst, void *src, size_t element_size,
  184     int num_dims, const size_t *volume, const size_t *dst_offsets,
  184     int num_dims, const size_t *volume, const size_t *dst_offsets,
  185     const size_t *src_offsets, const size_t *dst_dimensions,
  185     const size_t *src_offsets, const size_t *dst_dimensions,
  186     const size_t *src_dimensions, int dst_device, int src_device) {
  213     size_t dst_slice_size = element_size;
  214     size_t src_slice_size = element_size;
  220     size_t dst_off = dst_offsets[0] * dst_slice_size;
  221     size_t src_off = src_offsets[0] * src_slice_size;
  222     for (size_t i=0; i<volume[0]; ++i) {
  240     size_t size, size_t device_offset, int device_num) {
  240     size_t size, size_t device_offset, int device_num) {
projects/openmp/libomptarget/src/device.cpp
  374   size_t Devices_size = Devices.size();
projects/openmp/libomptarget/src/interface.cpp
  151   size_t Devices_size = Devices.size();
projects/openmp/libomptarget/src/omptarget.cpp
  101     size_t hsize =
  103     size_t tsize = TargetTable->EntriesEnd - TargetTable->EntriesBegin;
projects/openmp/libomptarget/src/rtl.cpp
  261         size_t start = Devices.size();
projects/openmp/runtime/src/kmp.h
  621 extern size_t __kmp_affin_mask_size;
  658     void *operator new(size_t n);
  660     void *operator new[](size_t n);
  692   void *operator new(size_t n);
  819 static const size_t KMP_AFFINITY_FORMAT_SIZE = 512;
  956 extern void *__kmpc_alloc(int gtid, size_t sz, omp_allocator_handle_t al);
 1436 typedef void *(*kmpc_ctor_vec)(void *, size_t);
 1442 typedef void (*kmpc_dtor_vec)(void *, size_t);
 1449                                 size_t); /* function unused by compiler */
 1467   size_t size; /* The data size for this descriptor    */
 1475   size_t cmn_size;
 1495   size_t vec_len;
 1497   size_t cmn_size;
 1939   size_t ds_stacksize;
 2135   size_t len;
 2183   size_t size;
 2184   size_t generation;
 2191   size_t len;
 2872 extern size_t __kmp_stksize; /* stack size per thread         */
 2876 extern size_t __kmp_stkoffset; /* stack offset per thread       */
 2879 extern size_t
 2900 extern size_t __kmp_align_alloc;
 2904 extern size_t __kmp_sys_min_stksize; /* system-defined minimum stack size */
 3108                                          size_t size, char const *format, ...);
 3168 extern void __kmp_check_stksize(size_t *val);
 3170 extern void *___kmp_allocate(size_t size KMP_SRC_LOC_DECL);
 3171 extern void *___kmp_page_allocate(size_t size KMP_SRC_LOC_DECL);
 3179                                   size_t size KMP_SRC_LOC_DECL);
 3189 extern void *___kmp_thread_malloc(kmp_info_t *th, size_t size KMP_SRC_LOC_DECL);
 3190 extern void *___kmp_thread_calloc(kmp_info_t *th, size_t nelem,
 3191                                   size_t elsize KMP_SRC_LOC_DECL);
 3193                                    size_t size KMP_SRC_LOC_DECL);
 3314 extern void __kmp_expand_host_name(char *buffer, size_t size);
 3315 extern void __kmp_expand_file_name(char *result, size_t rlen, char *pattern);
 3351 extern size_t __kmp_aux_capture_affinity(int gtid, const char *format,
 3377 extern void __kmp_create_worker(int gtid, kmp_info_t *th, size_t stack_size);
 3440 KMP_EXPORT void *kmpc_malloc(size_t size);
 3441 KMP_EXPORT void *kmpc_aligned_malloc(size_t size, size_t alignment);
 3441 KMP_EXPORT void *kmpc_aligned_malloc(size_t size, size_t alignment);
 3442 KMP_EXPORT void *kmpc_calloc(size_t nelem, size_t elsize);
 3442 KMP_EXPORT void *kmpc_calloc(size_t nelem, size_t elsize);
 3443 KMP_EXPORT void *kmpc_realloc(void *ptr, size_t size);
 3449                          size_t reduce_size, void *reduce_data,
 3503 extern void __kmp_aux_set_stacksize(size_t arg);
 3518                                     size_t sizeof_kmp_task_t,
 3519                                     size_t sizeof_shareds,
 3600                                                   size_t vector_length);
 3605                                       void *data, size_t size);
 3650                                    size_t cpy_size, void *cpy_data,
 3663                                              size_t sizeof_kmp_task_t,
 3664                                              size_t sizeof_shareds,
 3668                                                     size_t sizeof_kmp_task_t,
 3669                                                     size_t sizeof_shareds,
 3763     ident_t *loc, kmp_int32 global_tid, kmp_int32 num_vars, size_t reduce_size,
 3769     ident_t *loc, kmp_int32 global_tid, kmp_int32 num_vars, size_t reduce_size,
 3778     ident_t *loc, kmp_int32 global_tid, kmp_int32 num_vars, size_t reduce_size,
 3818                                              void *data, size_t size,
 3831                                            void *data_addr, size_t pc_size);
 3834                                                 size_t pc_size);
 3867 KMP_EXPORT void KMPC_CONVENTION kmpc_set_stacksize_s(size_t);
projects/openmp/runtime/src/kmp_affinity.cpp
   51 void *KMPAffinity::Mask::operator new(size_t n) { return __kmp_allocate(n); }
   52 void *KMPAffinity::Mask::operator new[](size_t n) { return __kmp_allocate(n); }
   55 void *KMPAffinity::operator new(size_t n) { return __kmp_allocate(n); }
projects/openmp/runtime/src/kmp_affinity.h
  264       for (size_t i = 0; i < __kmp_affin_mask_size; ++i)
  269       for (size_t i = 0; i < __kmp_affin_mask_size; ++i)
  274       for (size_t i = 0; i < __kmp_affin_mask_size; ++i)
  279       for (size_t i = 0; i < __kmp_affin_mask_size; ++i)
  283       for (size_t i = 0; i < __kmp_affin_mask_size; ++i)
projects/openmp/runtime/src/kmp_alloc.cpp
   22 typedef int (*bget_compact_t)(size_t, int);
   23 typedef void *(*bget_acquire_t)(size_t);
  170   size_t totalloc; /* Total space currently allocated */
 1043 void kmpc_set_poolsize(size_t size) {
 1048 size_t kmpc_get_poolsize(void) {
 1074 void kmpc_get_poolstat(size_t *maxmem, size_t *allmem) {
 1074 void kmpc_get_poolstat(size_t *maxmem, size_t *allmem) {
 1096 void *kmpc_malloc(size_t size) {
 1109 void *kmpc_aligned_malloc(size_t size, size_t alignment) {
 1109 void *kmpc_aligned_malloc(size_t size, size_t alignment) {
 1131 void *kmpc_calloc(size_t nelem, size_t elsize) {
 1131 void *kmpc_calloc(size_t nelem, size_t elsize) {
 1142 void *kmpc_realloc(void *ptr, size_t size) {
 1185 void *___kmp_thread_malloc(kmp_info_t *th, size_t size KMP_SRC_LOC_DECL) {
 1194 void *___kmp_thread_calloc(kmp_info_t *th, size_t nelem,
 1195                            size_t elsize KMP_SRC_LOC_DECL) {
 1205                             size_t size KMP_SRC_LOC_DECL) {
 1228 static void *(*kmp_mk_alloc)(void *k, size_t sz);
 1438   size_t size_a; // Size of allocated memory block (initial+descriptor+align)
 1444 void *__kmpc_alloc(int gtid, size_t size, omp_allocator_handle_t allocator) {
 1638   size_t size_allocated; // Size of allocated memory block.
 1640   size_t size_aligned; // Size of aligned memory block.
 1647 static void *___kmp_allocate_align(size_t size,
 1648                                    size_t alignment KMP_SRC_LOC_DECL) {
 1732 void *___kmp_allocate(size_t size KMP_SRC_LOC_DECL) {
 1745 void *___kmp_page_allocate(size_t size KMP_SRC_LOC_DECL) {
 1813 void *___kmp_fast_allocate(kmp_info_t *this_thr, size_t size KMP_SRC_LOC_DECL) {
 1819   size_t alloc_size;
 1908   size_t size;
 1909   size_t idx;
 1955       size_t q_sz =
projects/openmp/runtime/src/kmp_barrier.cpp
 1283                                   size_t reduce_size, void *reduce_data,
 1586                   size_t reduce_size, void *reduce_data,
projects/openmp/runtime/src/kmp_csupport.cpp
 1910 size_t ompc_get_affinity_format(char *buffer, size_t size) {
 1910 size_t ompc_get_affinity_format(char *buffer, size_t size) {
 1911   size_t format_size;
 1932 size_t ompc_capture_affinity(char *buffer, size_t buf_size,
 1932 size_t ompc_capture_affinity(char *buffer, size_t buf_size,
 1935   size_t num_required;
 1956 void kmpc_set_stacksize_s(size_t arg) {
 2067 void __kmpc_copyprivate(ident_t *loc, kmp_int32 gtid, size_t cpy_size,
 3377                      size_t reduce_size, void *reduce_data,
 3593                         size_t reduce_size, void *reduce_data,
 3964     size_t size = trace_count / 8 + 8; // in bytes, use single bit per iteration
 4169 void *omp_alloc(size_t size, omp_allocator_handle_t allocator) {
projects/openmp/runtime/src/kmp_environment.cpp
   76 static inline void *allocate(size_t size) {
   91     size_t len = KMP_STRLEN(value) + 1;
projects/openmp/runtime/src/kmp_ftn_entry.h
   70 void FTN_STDCALL FTN_SET_STACKSIZE_S(size_t KMP_DEREF arg) {
   90 size_t FTN_STDCALL FTN_GET_STACKSIZE_S(void) {
  399 static void __kmp_fortran_strncpy_truncate(char *buffer, size_t buf_size,
  400                                            char const *csrc, size_t csrc_size) {
  401   size_t capped_src_size = csrc_size;
  410     for (size_t i = csrc_size; i < buf_size; ++i)
  421   ConvertedString(char const *fortran_str, size_t size) {
  436 void FTN_STDCALL FTN_SET_AFFINITY_FORMAT(char const *format, size_t size) {
  457 size_t FTN_STDCALL FTN_GET_AFFINITY_FORMAT(char *buffer, size_t size) {
  457 size_t FTN_STDCALL FTN_GET_AFFINITY_FORMAT(char *buffer, size_t size) {
  461   size_t format_size;
  479 void FTN_STDCALL FTN_DISPLAY_AFFINITY(char const *format, size_t size) {
  503 size_t FTN_STDCALL FTN_CAPTURE_AFFINITY(char *buffer, char const *format,
  504                                         size_t buf_size, size_t for_size) {
  504                                         size_t buf_size, size_t for_size) {
  509   size_t num_required;
 1231 void *FTN_STDCALL FTN_MALLOC(size_t KMP_DEREF size) {
 1236 void *FTN_STDCALL FTN_ALIGNED_MALLOC(size_t KMP_DEREF size,
 1237                                      size_t KMP_DEREF alignment) {
 1242 void *FTN_STDCALL FTN_CALLOC(size_t KMP_DEREF nelem, size_t KMP_DEREF elsize) {
 1242 void *FTN_STDCALL FTN_CALLOC(size_t KMP_DEREF nelem, size_t KMP_DEREF elsize) {
 1247 void *FTN_STDCALL FTN_REALLOC(void *KMP_DEREF ptr, size_t KMP_DEREF size) {
projects/openmp/runtime/src/kmp_global.cpp
   65 size_t __kmp_stksize = KMP_DEFAULT_STKSIZE;
   69 size_t __kmp_stkoffset = KMP_DEFAULT_STKOFFSET;
   72 size_t __kmp_malloc_pool_incr = KMP_DEFAULT_MALLOC_POOL_INCR;
  114 size_t __kmp_align_alloc = CACHE_LINE;
  120 size_t __kmp_sys_min_stksize = KMP_MIN_STKSIZE;
  251 size_t __kmp_affin_mask_size = 0;
projects/openmp/runtime/src/kmp_gsupport.cpp
 1179       const size_t ndeps = (kmp_intptr_t)depend[0];
 1180       const size_t nout = (kmp_intptr_t)depend[1];
 1183       for (size_t i = 0U; i < ndeps; i++) {
 1614                                                size_t mapnum, void **hostaddrs,
 1615                                                size_t *sizes,
 1621     int device, const void *openmp_target, size_t mapnum, void **hostaddrs,
 1622     size_t *sizes, unsigned char *kinds) {
 1629     int device, const void *openmp_target, size_t mapnum, void **hostaddrs,
 1630     size_t *sizes, unsigned char *kinds) {
projects/openmp/runtime/src/kmp_itt.cpp
  131     size_t act_len = va_arg(args, size_t);
  132     size_t max_len = va_arg(args, size_t);
projects/openmp/runtime/src/kmp_os.h
  181 typedef size_t kmp_size_t;
projects/openmp/runtime/src/kmp_runtime.cpp
  102   size_t stack_data;
  104   size_t stack_size;
  158       size_t stack_diff = stack_base - stack_addr;
  328 void __kmp_print_storage_map_gtid(int gtid, void *p1, void *p2, size_t size,
 4128     size_t disp_size =
 4167     size_t i;
 7632 void __kmp_aux_set_stacksize(size_t arg) {
 7647     size_t value = arg; /* argument is in bytes */
 7865   for (size_t i = 0; i < sizeof(__kmp_affinity_format_table) /
 7964 size_t __kmp_aux_capture_affinity(int gtid, const char *format,
 7967   size_t retval;
 8077     ident_t *loc, kmp_int32 global_tid, kmp_int32 num_vars, size_t reduce_size,
projects/openmp/runtime/src/kmp_safe_c_api.h
   63 static inline void __kmp_strncpy_truncate(char *buffer, size_t buf_size,
   64                                           char const *src, size_t src_size) {
projects/openmp/runtime/src/kmp_settings.cpp
   63 static int __kmp_match_with_sentinel(char const *a, char const *b, size_t len,
   65   size_t l = 0;
  257   size_t factor; // Default factor: 1 for KMP_STACKSIZE, 1024 for others.
  293 void __kmp_check_stksize(size_t *val) {
  307                                  size_t size_min, size_t size_max,
  307                                  size_t size_min, size_t size_max,
  308                                  int *is_specified, size_t *out,
  309                                  size_t factor) {
  573                                  size_t value) {
 3264   size_t length = KMP_STRLEN(value);
 3527     size_t length = KMP_STRLEN(value);
 3751   size_t length;
 4419   size_t len = 0, mlen = MAX_STR_LEN;
projects/openmp/runtime/src/kmp_str.cpp
  230 void __kmp_str_buf_print_size(kmp_str_buf_t *buf, size_t size) {
  604     size_t *out, // O: Parsed number.
  605     size_t dfactor, // I: The factor if none of the letters specified.
  609   size_t value = 0;
  610   size_t factor = 0;
  707   size_t value = 0;
projects/openmp/runtime/src/kmp_str.h
   57 void __kmp_str_buf_print_size(kmp_str_buf_t *buffer, size_t size);
  115 void __kmp_str_to_size(char const *str, size_t *out, size_t dfactor,
  115 void __kmp_str_to_size(char const *str, size_t *out, size_t dfactor,
projects/openmp/runtime/src/kmp_taskdeps.cpp
   57 size_t sizes[] = { 997, 2003, 4001, 8191, 16001, 32003, 64007, 131071, 270029 };
   58 const size_t MAX_GEN = 8;
   60 static inline kmp_int32 __kmp_dephash_hash(kmp_intptr_t addr, size_t hsize) {
   70   size_t gen = current_dephash->generation + 1;
   73   size_t new_size = sizes[gen];
   90   for (size_t i = 0; i < current_dephash->size; i++) {
  119   size_t h_size;
  141   for (size_t i = 0; i < h_size; i++)
projects/openmp/runtime/src/kmp_taskdeps.h
   56   for (size_t i = 0; i < h->size; i++) {
projects/openmp/runtime/src/kmp_tasking.cpp
 1132 static size_t __kmp_round_up_to_val(size_t size, size_t val) {
 1132 static size_t __kmp_round_up_to_val(size_t size, size_t val) {
 1132 static size_t __kmp_round_up_to_val(size_t size, size_t val) {
 1156                              size_t sizeof_kmp_task_t, size_t sizeof_shareds,
 1156                              size_t sizeof_kmp_task_t, size_t sizeof_shareds,
 1163   size_t shareds_offset;
 1356                                   kmp_int32 flags, size_t sizeof_kmp_task_t,
 1357                                   size_t sizeof_shareds,
 1382                                          size_t sizeof_kmp_task_t,
 1383                                          size_t sizeof_shareds,
 2011   size_t reduce_size; /**< size of data item in bytes */
 2024   size_t reduce_size; /**< size of data item */
 2043   size_t reduce_size; /**< size of data item */
 2104     size_t size = data[i].reduce_size - 1;
 2268       size_t size = arr[i].reduce_size;
 3893   size_t shareds_offset;
 3894   size_t task_size;
 3966   size_t lower_offset;
 3967   size_t upper_offset;
 3980   size_t get_lower_offset() const { return lower_offset; }
 3981   size_t get_upper_offset() const { return upper_offset; }
 4283   size_t lower_offset =
 4285   size_t upper_offset =
projects/openmp/runtime/src/kmp_threadprivate.cpp
   22                                            void *data_addr, size_t pc_size);
   25                                                 size_t pc_size);
   86                                                    size_t pc_size) {
   88   size_t i;
  300                                            void *data_addr, size_t pc_size) {
  337                                                 size_t pc_size) {
  541                            size_t size) {
  618                             size_t size, // Size of original global variable.
  750                                        size_t vector_length) {
projects/openmp/runtime/src/kmp_utility.cpp
  292 void __kmp_expand_host_name(char *buffer, size_t size) {
  315 void __kmp_expand_file_name(char *result, size_t rlen, char *pattern) {
projects/openmp/runtime/src/kmp_wait_release.h
  824   unsigned char &byteref(volatile kmp_uint64 *loc, size_t offset) {
projects/openmp/runtime/src/ompt-general.cpp
  522 OMPT_API_ROUTINE int ompt_get_task_memory(void **addr, size_t *size,
projects/openmp/runtime/src/ompt-specific.cpp
  432 int __ompt_get_task_memory_internal(void **addr, size_t *size, int blocknum) {
projects/openmp/runtime/src/thirdparty/ittnotify/ittnotify.h
  507 void ITTAPI __itt_suppress_mark_range(__itt_suppress_mode_t mode, unsigned int mask, void * address, size_t size);
  528 void ITTAPI __itt_suppress_clear_range(__itt_suppress_mode_t mode, unsigned int mask, void * address, size_t size);
  971 void ITTAPI __itt_model_site_beginAL(const char *name, size_t siteNameLen);
 1045 void ITTAPI __itt_model_task_beginAL(const char *name, size_t taskNameLen);
 1047 void ITTAPI __itt_model_iteration_taskAL(const char *name, size_t taskNameLen);
 1176 void ITTAPI __itt_model_record_allocation  (void *addr, size_t size);
 1205 void ITTAPI __itt_model_induction_uses(void* addr, size_t size);
 1228 void ITTAPI __itt_model_reduction_uses(void* addr, size_t size);
 1251 void ITTAPI __itt_model_observe_uses(void* addr, size_t size);
 1314 void ITTAPI __itt_model_aggregate_task(size_t x);
 1413 void ITTAPI __itt_heap_allocate_begin(__itt_heap_function h, size_t size, int initialized);
 1433 void ITTAPI __itt_heap_allocate_end(__itt_heap_function h, void** addr, size_t size, int initialized);
 1493 void ITTAPI __itt_heap_reallocate_begin(__itt_heap_function h, void* addr, size_t new_size, int initialized);
 1513 void ITTAPI __itt_heap_reallocate_end(__itt_heap_function h, void* addr, void** new_addr, size_t new_size, int initialized);
 2336 void ITTAPI __itt_metadata_add(const __itt_domain *domain, __itt_id id, __itt_string_handle *key, __itt_metadata_type type, size_t count, void *data);
 2373 void ITTAPI __itt_metadata_str_add(const __itt_domain *domain, __itt_id id, __itt_string_handle *key, const char *data, size_t length);
 2428 void ITTAPI __itt_metadata_add_with_scope(const __itt_domain *domain, __itt_scope scope, __itt_string_handle *key, __itt_metadata_type type, size_t count, void *data);
 2468 void ITTAPI __itt_metadata_str_add_with_scope(const __itt_domain *domain, __itt_scope scope, __itt_string_handle *key, const char *data, size_t length);
projects/openmp/runtime/src/thirdparty/ittnotify/ittnotify_static.cpp
  803             size_t len = __itt_fstrnlen(env, MAX_ENV_VALUE_SIZE);
  804             size_t max_len = MAX_ENV_VALUE_SIZE - (size_t)(env_value - env_buff);
projects/openmp/runtime/src/thirdparty/ittnotify/legacy/ittnotify.h
  715 void LIBITTAPI __itt_memory_read(void *addr, size_t size);
  736 void LIBITTAPI __itt_memory_write(void *addr, size_t size);
  757 void LIBITTAPI __itt_memory_update(void *address, size_t size);
projects/openmp/runtime/src/z_Linux_util.cpp
  478   size_t size = 0;
  773 void __kmp_create_worker(int gtid, kmp_info_t *th, size_t stack_size) {
tools/bugpoint/CrashDebugger.cpp
  838   unsigned NumPrint = std::min<size_t>(NamedMDs.size(), 10);
tools/bugpoint/ToolRunner.cpp
  609   for (size_t I = 0; I < Args.size(); ++I) {
tools/clang/include/clang-c/Index.h
  423                                                  CXFile file, size_t *size);
tools/clang/include/clang/AST/APValue.h
  280   static const size_t DataSize = sizeof(DataType);
tools/clang/include/clang/AST/ASTContext.h
  621     size_t size() const { return end() - begin(); }
  624     const DynTypedNode &operator[](size_t N) const {
  685   void *Allocate(size_t Size, unsigned Align = 8) const {
  688   template <typename T> T *Allocate(size_t Num = 1) const {
  695   size_t getASTAllocatedMemory() const {
  700   size_t getSideTableAllocatedMemory() const;
 3086 inline void *operator new(size_t Bytes, const clang::ASTContext &C,
 3087                           size_t Alignment /* = 8 */) {
 3097 inline void operator delete(void *Ptr, const clang::ASTContext &C, size_t) {
 3124 inline void *operator new[](size_t Bytes, const clang::ASTContext& C,
 3125                             size_t Alignment /* = 8 */) {
 3135 inline void operator delete[](void *Ptr, const clang::ASTContext &C, size_t) {
tools/clang/include/clang/AST/ASTContextAllocate.h
   26 void *operator new(size_t Bytes, const clang::ASTContext &C,
   27                    size_t Alignment = 8);
   28 void *operator new[](size_t Bytes, const clang::ASTContext &C,
   29                      size_t Alignment = 8);
   34 void operator delete(void *Ptr, const clang::ASTContext &C, size_t);
   35 void operator delete[](void *Ptr, const clang::ASTContext &C, size_t);
tools/clang/include/clang/AST/ASTVector.h
   82   using size_type = size_t;
  180   size_t capacity() const { return this->capacity_ptr() - Begin; }
  234     size_t EltNo = I-this->begin();
  243     size_t InsertElt = I - this->begin();
  260     if (size_t(this->end()-I) >= NumToInsert) {
  277     size_t NumOverwritten = OldEnd-I;
  291     size_t InsertElt = I - this->begin();
  298     size_t NumToInsert = std::distance(From, To);
  310     if (size_t(this->end()-I) >= NumToInsert) {
  327     size_t NumOverwritten = OldEnd-I;
  380 void ASTVector<T>::grow(const ASTContext &C, size_t MinSize) {
  381   size_t CurCapacity = this->capacity();
  382   size_t CurSize = size();
  383   size_t NewCapacity = 2*CurCapacity;
tools/clang/include/clang/AST/Attr.h
   60   void *operator new(size_t bytes) noexcept {
   69   void *operator new(size_t Bytes, ASTContext &C,
   70                      size_t Alignment = 8) noexcept {
   73   void operator delete(void *Ptr, ASTContext &C, size_t Alignment) noexcept {
tools/clang/include/clang/AST/DataCollection.h
   55     std::is_convertible<Type, size_t>::value // for llvm::hash_code
tools/clang/include/clang/AST/Decl.h
  181   size_t ValueStart;
  184                            size_t ValueStart)
 2342   size_t param_size() const { return parameters().size(); }
 4060   size_t param_size() const { return parameters().size(); }
 4152   size_t numTrailingObjects(OverloadToken<ImplicitParamDecl>) {
tools/clang/include/clang/AST/DeclBase.h
 1241   size_t size() const { return Single ? 1 : Result.size(); }
 1244   reference operator[](size_t N) const { return Single ? Single : Result[N]; }
 1247   DeclContextLookupResult slice(size_t N) const {
tools/clang/include/clang/AST/DeclCXX.h
 2385   size_t numTrailingObjects(OverloadToken<InheritedConstructor>) const {
 2388   size_t numTrailingObjects(OverloadToken<ExplicitSpecifier>) const {
tools/clang/include/clang/AST/DeclOpenMP.h
  433   size_t numTrailingObjects(OverloadToken<Expr *>) const {
  436   size_t numTrailingObjects(OverloadToken<OMPClause *>) const {
tools/clang/include/clang/AST/DeclTemplate.h
   92   size_t numTrailingObjects(OverloadToken<NamedDecl *>) const {
   96   size_t numTrailingObjects(OverloadToken<Expr *>) const {
  496   size_t numTrailingObjects(OverloadToken<MemberSpecializationInfo*>) const {
  684   size_t numTrailingObjects(OverloadToken<TemplateArgumentLoc>) const {
  687   size_t numTrailingObjects(OverloadToken<FunctionTemplateDecl *>) const {
 1280   size_t numTrailingObjects(
tools/clang/include/clang/AST/Expr.h
  965   size_t numTrailingObjects(OverloadToken<APValue>) const {
  968   size_t numTrailingObjects(OverloadToken<uint64_t>) const {
 1162   size_t numTrailingObjects(OverloadToken<NestedNameSpecifierLoc>) const {
 1166   size_t numTrailingObjects(OverloadToken<NamedDecl *>) const {
 1170   size_t numTrailingObjects(OverloadToken<ASTTemplateKWAndArgsInfo>) const {
 1784   uint32_t getCodeUnit(size_t i) const {
 2253   size_t numTrailingObjects(OverloadToken<OffsetOfNode>) const {
 2836   size_t numTrailingObjects(OverloadToken<MemberExprNameQualifier>) const {
 2840   size_t numTrailingObjects(OverloadToken<ASTTemplateKWAndArgsInfo>) const {
tools/clang/include/clang/AST/ExprCXX.h
 2646   size_t numTrailingObjects(OverloadToken<TypeSourceInfo *>) const {
 3176   size_t numTrailingObjects(OverloadToken<ASTTemplateKWAndArgsInfo>) const {
tools/clang/include/clang/AST/ExprObjC.h
  337   size_t numTrailingObjects(OverloadToken<KeyValuePair>) const {
 1036   size_t numTrailingObjects(OverloadToken<void *>) const { return NumArgs + 1; }
tools/clang/include/clang/AST/ExternalASTSource.h
  311     size_t malloc_bytes;
  312     size_t mmap_bytes;
  314     MemoryBufferSizes(size_t malloc_bytes, size_t mmap_bytes)
  314     MemoryBufferSizes(size_t malloc_bytes, size_t mmap_bytes)
tools/clang/include/clang/AST/OpenMPClause.h
 4813   size_t numTrailingObjects(OverloadToken<Expr *>) const {
 4818   size_t numTrailingObjects(OverloadToken<ValueDecl *>) const {
 4821   size_t numTrailingObjects(OverloadToken<unsigned>) const {
 5791   size_t numTrailingObjects(OverloadToken<Expr *>) const {
 5796   size_t numTrailingObjects(OverloadToken<ValueDecl *>) const {
 5799   size_t numTrailingObjects(OverloadToken<unsigned>) const {
 5909   size_t numTrailingObjects(OverloadToken<Expr *>) const {
 5914   size_t numTrailingObjects(OverloadToken<ValueDecl *>) const {
 5917   size_t numTrailingObjects(OverloadToken<unsigned>) const {
 6022   size_t numTrailingObjects(OverloadToken<Expr *>) const {
 6025   size_t numTrailingObjects(OverloadToken<ValueDecl *>) const {
 6028   size_t numTrailingObjects(OverloadToken<unsigned>) const {
 6185   size_t numTrailingObjects(OverloadToken<Expr *>) const {
 6188   size_t numTrailingObjects(OverloadToken<ValueDecl *>) const {
 6191   size_t numTrailingObjects(OverloadToken<unsigned>) const {
tools/clang/include/clang/AST/RecursiveASTVisitor.h
  654       size_t N = LocalQueue.size();
tools/clang/include/clang/AST/Stmt.h
   84   void *operator new(size_t bytes) noexcept {
 1025   void* operator new(size_t bytes, const ASTContext& C,
 1028   void* operator new(size_t bytes, const ASTContext* C,
 1033   void *operator new(size_t bytes, void *mem) noexcept { return mem; }
 1037   void operator delete(void *, size_t) noexcept {}
tools/clang/include/clang/AST/StmtCXX.h
   76   size_t numTrailingObjects(OverloadToken<Stmt *>) const { return NumHandlers; }
tools/clang/include/clang/AST/TemplateBase.h
  568   void *operator new(size_t bytes, ASTContext &C) = delete;
tools/clang/include/clang/AST/VTableBuilder.h
  246   OwningArrayRef<size_t> VTableIndices;
  257   VTableLayout(ArrayRef<size_t> VTableIndices,
  280   size_t getNumVTables() const {
  286   size_t getVTableOffset(size_t i) const {
  286   size_t getVTableOffset(size_t i) const {
  294   size_t getVTableSize(size_t i) const {
  294   size_t getVTableSize(size_t i) const {
  300     size_t thisIndex = VTableIndices[i];
  301     size_t nextIndex = (i + 1 == VTableIndices.size())
tools/clang/include/clang/Analysis/Analyses/ThreadSafetyTIL.h
  297   void *operator new(size_t S, MemRegionRef &R) {
  302   void *operator new(size_t) = delete;
 1543   size_t numPredecessors() const { return Predecessors.size(); }
 1544   size_t numSuccessors() const { return successors().size(); }
 1734   size_t numBlocks() const { return Blocks.size(); }
tools/clang/include/clang/Analysis/Analyses/ThreadSafetyUtil.h
   51   void *allocate(size_t Sz) {
   57   template <typename T> T *allocateT(size_t NumElems) {
   70 inline void *operator new(size_t Sz,
   87   SimpleArray(T *Dat, size_t Cp, size_t Sz = 0)
   87   SimpleArray(T *Dat, size_t Cp, size_t Sz = 0)
   89   SimpleArray(MemRegionRef A, size_t Cp)
  113   void reserve(size_t Ncp, MemRegionRef A) {
  123   void reserveCheck(size_t N, MemRegionRef A) {
  135   size_t size() const { return Size; }
  136   size_t capacity() const { return Capacity; }
  198     size_t Osz = Size;
  199     size_t J = Osz;
  217   size_t u_max(size_t i, size_t j) { return (i < j) ? j : i; }
  217   size_t u_max(size_t i, size_t j) { return (i < j) ? j : i; }
  217   size_t u_max(size_t i, size_t j) { return (i < j) ? j : i; }
  219   static const size_t InitialCapacity = 4;
  222   size_t Size = 0;
  223   size_t Capacity = 0;
tools/clang/include/clang/Analysis/AnyCall.h
  153   size_t param_size() const { return parameters().size(); }
tools/clang/include/clang/Analysis/CFG.h
  593     reverse_iterator insert(reverse_iterator I, size_t Cnt, CFGElement E,
  610     CFGElement operator[](size_t i) const  {
  615     size_t size() const { return Impl.size(); }
  634     size_t Index;
  637     ElementRefImpl(CFGBlockPtr Parent, size_t Index)
  644     size_t getIndexInBlock() const { return Index; }
  728     static size_t
  734     static size_t
  755     ElementRefIterator operator+(size_t count) {
  759     ElementRefIterator operator-(size_t count) {
  871   size_t getIndexInCFG() const;
  921   CFGElement operator[](size_t i) const  { return Elements[i]; }
 1170   iterator beginAutomaticObjDtorsInsert(iterator I, size_t Cnt,
 1183   iterator beginLifetimeEndsInsert(iterator I, size_t Cnt,
 1196   iterator beginScopeEndInsert(iterator I, size_t Cnt, BumpVectorContext &C) {
tools/clang/include/clang/Analysis/CloneDetection.h
  294   size_t calculateStmtComplexity(const StmtSequence &Seq, std::size_t Limit,
  356     size_t KindID;
  360     VariableOccurence(size_t KindID, const Stmt *Mention)
tools/clang/include/clang/Analysis/Support/BumpVector.h
   77   using size_type = size_t;
  172   iterator insert(iterator I, size_t Cnt, const_reference E,
  195   size_t capacity() const { return Capacity - Begin; }
  214   void move_range_right(T *S, T *E, size_t D) {
  225 void BumpVector<T>::grow(BumpVectorContext &C, size_t MinSize) {
  226   size_t CurCapacity = Capacity-Begin;
  227   size_t CurSize = size();
  228   size_t NewCapacity = 2*CurCapacity;
tools/clang/include/clang/Basic/FileManager.h
  271   size_t getNumUniqueRealFiles() const { return UniqueRealFiles.size(); }
tools/clang/include/clang/Basic/IdentifierTable.h
  842   size_t getTotalMemory() const;
tools/clang/include/clang/Basic/JsonSupport.h
   33   size_t Pos = 0;
   42     size_t TempPos = (Pos != 0) ? Pos - 1 : 0;
   61     size_t TempPos = (Pos != 0) ? Pos - 1 : 0;
tools/clang/include/clang/Basic/SourceManager.h
 1564   size_t getContentCacheSize() const {
 1569     const size_t malloc_bytes;
 1570     const size_t mmap_bytes;
 1572     MemoryBufferSizes(size_t malloc_bytes, size_t mmap_bytes)
 1572     MemoryBufferSizes(size_t malloc_bytes, size_t mmap_bytes)
 1582   size_t getDataStructureSizes() const;
tools/clang/include/clang/Basic/Stack.h
   26   constexpr size_t DesiredStackSize = 8 << 20;
tools/clang/include/clang/CodeGen/CGFunctionInfo.h
  557   size_t numTrailingObjects(OverloadToken<ArgInfo>) const {
  560   size_t numTrailingObjects(OverloadToken<ExtParameterInfo>) const {
tools/clang/include/clang/CodeGen/ConstantInitBuilder.h
   92   void abandon(size_t newEnd);
  101   size_t Begin;
  102   mutable size_t CachedOffsetEnd = 0;
  167   size_t size() const {
  257     size_t Index;
  259     PlaceholderPosition(size_t index) : Index(index) {}
  317                        size_t position) const;
  322   CharUnits getOffsetFromGlobalTo(size_t index) const;
tools/clang/include/clang/Frontend/TextDiagnosticBuffer.h
   38   std::vector<std::pair<DiagnosticsEngine::Level, size_t>> All;
tools/clang/include/clang/Lex/HeaderSearch.h
  731   size_t getTotalMemory() const;
tools/clang/include/clang/Lex/PPConditionalDirectiveRecord.h
   68   size_t getTotalMemory() const;
tools/clang/include/clang/Lex/PreprocessingRecord.h
   43 void *operator new(size_t bytes, clang::PreprocessingRecord &PR,
  113     void *operator new(size_t bytes, PreprocessingRecord &PR,
  118     void *operator new(size_t bytes, void *mem) noexcept { return mem; }
  130     void *operator new(size_t bytes) noexcept;
  410     size_t getTotalMemory() const;
  564 inline void *operator new(size_t bytes, clang::PreprocessingRecord &PR,
tools/clang/include/clang/Lex/Preprocessor.h
  826   std::vector<std::pair<TokenLexer *, size_t>> MacroExpandingLexersStack;
 1826   size_t getTotalMemory() const;
tools/clang/include/clang/Parse/Parser.h
  891     size_t PrevTentativelyDeclaredIdentifierCount;
tools/clang/include/clang/Sema/CXXFieldCollector.h
   34   SmallVector<size_t, 4> FieldCount;
   61   size_t getCurNumFields() const {
tools/clang/include/clang/Sema/DelayedDiagnostic.h
  245     size_t MessageLen;
  247     size_t NumSelectorLocs;
tools/clang/include/clang/Sema/Overload.h
 1033     size_t size() const { return Candidates.size(); }
tools/clang/include/clang/Sema/ParsedAttr.h
  124   size_t numTrailingObjects(OverloadToken<ArgsUnion>) const { return NumArgs; }
  125   size_t numTrailingObjects(OverloadToken<detail::AvailabilityData>) const {
  128   size_t
  132   size_t numTrailingObjects(OverloadToken<ParsedType>) const {
  135   size_t numTrailingObjects(OverloadToken<detail::PropertyData>) const {
  326   size_t allocated_size() const;
  584   void *allocate(size_t size);
  606   void *allocate(size_t size) {
  652     size_t temp =
tools/clang/include/clang/Sema/Sema.h
11529   static bool TooManyArguments(size_t NumParams, size_t NumArgs,
11529   static bool TooManyArguments(size_t NumParams, size_t NumArgs,
tools/clang/include/clang/Sema/SemaInternal.h
  301   size_t CurrentTCIndex;
  302   size_t SavedTCIndex;
tools/clang/include/clang/Sema/TemplateDeduction.h
  332   size_t size() const { return Candidates.size(); }
tools/clang/include/clang/Serialization/ASTReader.h
 2404   size_t size() const { return Record.size(); }
 2407   const uint64_t &operator[](size_t N) { return Record[N]; }
tools/clang/include/clang/Serialization/ASTWriter.h
  802   size_t size() const { return Record->size(); }
  803   uint64_t &operator[](size_t N) { return (*Record)[N]; }
tools/clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
  196       size_t EntryWidth, size_t InitialPad, size_t MinLineWidth = 0);
  196       size_t EntryWidth, size_t InitialPad, size_t MinLineWidth = 0);
  196       size_t EntryWidth, size_t InitialPad, size_t MinLineWidth = 0);
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
 1067   Optional<size_t> RequiredParams;
 1071   static Optional<size_t> readRequiredParams(Optional<unsigned> RequiredArgs,
 1072                                              Optional<size_t> RequiredParams) {
 1093                   Optional<size_t> RequiredParams = None)
 1101                   Optional<size_t> RequiredParams = None)
tools/clang/include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h
  283                                 size_t MaxNameChars = 30) const;
  302   llvm::StringMap<size_t> PackageSizes;
tools/clang/include/clang/Tooling/Refactoring/ASTSelection.h
  103   size_t size() const {
  109   const Stmt *operator[](size_t I) const {
tools/clang/include/clang/Tooling/ReplacementsYaml.h
   39       size_t lineBreakPos = ReplacementText.find('\n');
tools/clang/lib/ARCMigrate/ObjCMT.cpp
 1336     size_t len = 0;
 1351   size_t Ix = LoweredClassName.rfind(MethodNamePrefix);
tools/clang/lib/AST/ASTContext.cpp
 3760   size_t NumArgs = ArgArray.size();
 3879   size_t Size = FunctionProtoType::totalSizeToAlloc<
 5867       for (size_t Idx = 0; Idx < llvm::array_lengthof(PromoteTypes); ++Idx) {
 6093   for (size_t i = 0; i < 2; ++i) {
 6132   for (size_t i = 0; i < 4; ++i) {
 7379   const size_t NumFields = 5;
 7432   const size_t NumFields = 5;
 7495   const size_t NumFields = 4;
 7598   const size_t NumFields = 4;
 9184   size_t E = FirstHasInfo ? FirstFnType->getExtParameterInfos().size()
 9187   for (size_t I = 0; I < E; ++I) {
10190 size_t ASTContext::getSideTableAllocatedMemory() const {
tools/clang/lib/AST/ASTDiagnostic.cpp
  335   size_t OldEnd = Output.size();
tools/clang/lib/AST/ASTImporter.cpp
  858   size_t NumDecls = DG.end() - DG.begin();
tools/clang/lib/AST/CommentLexer.cpp
  314           size_t End = StringRef(TokenPtr, CommentEnd - TokenPtr)
  500   size_t Pos = Line.find(VerbatimBlockEndCommandName);
tools/clang/lib/AST/Decl.cpp
 4542   size_t ValueStart = Name.size() + 1;
tools/clang/lib/AST/DeclBase.cpp
  102     size_t ExtraAlign =
  475   size_t suffix = RealizedPlatform.rfind("_app_extension");
tools/clang/lib/AST/DeclCXX.cpp
 2904   size_t Extra = additionalSizeToAlloc<NamedDecl *>(UsingDecls.size());
 2910   size_t Extra = additionalSizeToAlloc<NamedDecl *>(NumExpansions);
 3025   size_t Extra = additionalSizeToAlloc<BindingDecl *>(Bindings.size());
 3033   size_t Extra = additionalSizeToAlloc<BindingDecl *>(NumBindings);
tools/clang/lib/AST/DeclOpenMP.cpp
  204   size_t NumClauses = CL.size();
tools/clang/lib/AST/DeclPrinter.cpp
 1089   for (size_t I = 0, E = Args.size(); I < E; ++I) {
tools/clang/lib/AST/ExprConstant.cpp
 6162     size_t Index = 0;
 6170   size_t size() { return Bytes.size(); }
 6240       for (size_t I = 0, E = CXXRD->getNumBases(); I != E; ++I) {
 6405       for (size_t I = 0, E = CXXRD->getNumBases(); I != E; ++I) {
 6460     size_t Size = Ty->getSize().getLimitedValue();
 6464     for (size_t I = 0; I != Size; ++I) {
 9121   const size_t NumFields =
tools/clang/lib/AST/ExternalASTMerger.cpp
   67   size_t SearchResultSize = SearchResult.size();
tools/clang/lib/AST/Interp/ByteCodeEmitter.cpp
   88   const size_t Target = Code.size();
tools/clang/lib/AST/Interp/Descriptor.cpp
  197 Descriptor::Descriptor(const DeclTy &D, PrimType Type, size_t NumElems,
  220       AllocSize(std::max<size_t>(alignof(void *), Size)), ElemDesc(Elem),
  238     : Source(D), ElemSize(std::max<size_t>(alignof(void *), R->getFullSize())),
  289   const size_t NumFields = ((N + PER_FIELD - 1) / PER_FIELD);
  290   const size_t Size = align(sizeof(InitMap)) + NumFields * PER_FIELD;
tools/clang/lib/AST/Interp/Descriptor.h
   92   Descriptor(const DeclTy &D, PrimType Type, size_t NumElems, bool IsConst,
tools/clang/lib/AST/Interp/Disasm.cpp
   49     size_t Addr = PC - Start;
tools/clang/lib/AST/Interp/EvalEmitter.cpp
  172       const size_t NumElems = Ptr.getNumElems();
tools/clang/lib/AST/Interp/InterpFrame.cpp
  170   size_t BlockSize = sizeof(Block) + Desc.second->getAllocSize();
tools/clang/lib/AST/Interp/InterpFrame.h
   63   size_t getFrameOffset() const { return FrameOffset; }
  145   const size_t FrameOffset;
tools/clang/lib/AST/Interp/InterpStack.cpp
   29 void *InterpStack::grow(size_t Size) {
   49 void *InterpStack::peek(size_t Size) {
   62 void InterpStack::shrink(size_t Size) {
tools/clang/lib/AST/Interp/InterpStack.h
   59   size_t size() const { return StackSize; }
   67   template <typename T> constexpr size_t aligned_size() const {
   68     constexpr size_t PtrAlign = alignof(void *);
   73   void *grow(size_t Size);
   75   void *peek(size_t Size);
   77   void shrink(size_t Size);
   80   static constexpr size_t ChunkSize = 1024 * 1024;
   97     size_t size() { return End - start(); }
  107   size_t StackSize = 0;
tools/clang/lib/AST/Interp/InterpState.cpp
   60     size_t Size = B->getSize();
tools/clang/lib/AST/Interp/Pointer.h
  181   size_t elemSize() const {
  187   size_t getSize() const { return getFieldDesc()->getSize(); }
tools/clang/lib/AST/Interp/PrimType.cpp
   17 size_t primSize(PrimType Type) {
tools/clang/lib/AST/Interp/PrimType.h
   54 size_t primSize(PrimType Type);
   57 constexpr size_t align(size_t Size) {
   57 constexpr size_t align(size_t Size) {
tools/clang/lib/AST/Interp/Program.cpp
   22   const size_t CharWidth = S->getCharByteWidth();
   23   const size_t BitWidth = CharWidth * Ctx.getCharBit();
  310       size_t NumElems = CAT->getSize().getZExtValue();
tools/clang/lib/AST/Interp/Program.h
  159     void *operator new(size_t Meta, PoolAllocTy &Alloc, size_t Data) {
  159     void *operator new(size_t Meta, PoolAllocTy &Alloc, size_t Data) {
tools/clang/lib/AST/Interp/Source.h
   39   CodePtr operator-(size_t RHS) const {
tools/clang/lib/AST/ItaniumMangle.cpp
  685   size_t EncodingPositionStart = FunctionEncodingStream.str().size();
tools/clang/lib/AST/MicrosoftMangle.cpp
 1423   for (size_t i = 0; i < TemplateArgs.size(); ++i) {
 1776     size_t OutSizeBefore = Out.tell();
 1785       size_t Size = FunArgBackReferences.size();
 1808       size_t Size = FunArgBackReferences.size();
 2693   size_t OutSizeBefore = Out.tell();
tools/clang/lib/AST/PrintfFormatString.cpp
  157         size_t CommaOrBracePos =
tools/clang/lib/AST/RawCommentList.cpp
   26   const size_t MinCommentLength = ParseAllComments ? 2 : 3;
  401     size_t WhitespaceLen = TokText.find_first_not_of(" \t");
  415             : std::min<size_t>(
tools/clang/lib/AST/Stmt.cpp
   70 void *Stmt::operator new(size_t bytes, const ASTContext& C,
tools/clang/lib/AST/StmtCXX.cpp
   27   const size_t Size = totalSizeToAlloc<Stmt *>(handlers.size() + 1);
   34   const size_t Size = totalSizeToAlloc<Stmt *>(numHandlers + 1);
tools/clang/lib/AST/VTableBuilder.cpp
  987   SmallVector<size_t, 4> VTableIndices;
 2197 VTableLayout::VTableLayout(ArrayRef<size_t> VTableIndices,
 3349   for (size_t I = 0, E = PathsSorted.size(); I != E;) {
 3351     size_t BucketStart = I;
 3360       for (size_t II = BucketStart; II != I; ++II)
tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp
  414     for (size_t I = 0; I < Patterns.size();) {
tools/clang/lib/ASTMatchers/Dynamic/Diagnostics.cpp
   48     for (size_t i = BeginIndex + 1, e = Error->Errors.size(); i < e; ++i) {
  178     for (size_t i = 0, e = Content.Messages.size(); i != e; ++i) {
  187   for (size_t i = 0, e = Errors.size(); i != e; ++i) {
  201   for (size_t i = 0, e = Errors.size(); i != e; ++i) {
  204     for (size_t i = 0, e = Error.ContextStack.size(); i != e; ++i) {
tools/clang/lib/ASTMatchers/Dynamic/Marshallers.h
  381   for (size_t i = 0, e = Args.size(); i != e; ++i) {
  401   for (size_t i = 0, e = Args.size(); i != e; ++i) {
  684     for (size_t i = 0, e = Args.size(); i != e; ++i) {
tools/clang/lib/ASTMatchers/Dynamic/Parser.cpp
  152         size_t TokenLength = 1;
  251     for (size_t Length = 1, Size = Code.size(); Length != Size; ++Length) {
tools/clang/lib/ASTMatchers/Dynamic/VariantValue.cpp
  129     for (size_t i = 0, e = Matchers.size(); i != e; ++i) {
  142     for (size_t i = 0, e = Matchers.size(); i != e; ++i) {
  192     for (size_t i = 0, e = Args.size(); i != e; ++i) {
tools/clang/lib/Analysis/CFG.cpp
 5765 size_t CFGBlock::getIndexInCFG() const {
tools/clang/lib/Analysis/CloneDetection.cpp
  224 static size_t createHash(llvm::MD5 &Hash) {
  225   size_t HashCode;
  248 static size_t
  250          std::vector<std::pair<size_t, StmtSequence>> &StmtsByHash) {
  257   SmallVector<size_t, 8> ChildHashes;
  264     size_t ChildHash = saveHash(Child, D, StmtsByHash);
  282         size_t ChildHash = ChildHashes[Pos + Length - 1];
  296   size_t HashCode = createHash(Hash);
  361     std::vector<std::pair<size_t, StmtSequence>> StmtsByHash;
  383       size_t PrototypeHash = Current.first;
  418 size_t MinComplexityConstraint::calculateStmtComplexity(
  424   size_t Complexity = 1;
  528   for (size_t KindIndex = 0; KindIndex < Variables.size(); ++KindIndex) {
tools/clang/lib/Analysis/ExprMutationAnalyzer.cpp
  408         AllParams[std::min<size_t>(Parm->getFunctionScopeIndex(),
tools/clang/lib/Basic/DiagnosticIDs.cpp
  538   for (size_t I = 1; DiagGroupNames[I] != '\0';) {
tools/clang/lib/Basic/IdentifierTable.cpp
  646 size_t SelectorTable::getTotalMemory() const {
tools/clang/lib/Basic/SourceManager.cpp
 2139   size_t malloc_bytes = 0;
 2140   size_t mmap_bytes = 0;
 2143     if (size_t sized_mapped = MemBufferInfos[i]->getSizeBytesMapped())
 2156 size_t SourceManager::getDataStructureSizes() const {
 2157   size_t size = llvm::capacity_in_bytes(MemBufferInfos)
tools/clang/lib/Basic/Stack.cpp
   49   constexpr size_t SufficientStack = 256 << 10;
   56   size_t StackUsage = (size_t)std::abs(StackDiff);
tools/clang/lib/Basic/Version.cpp
   48   size_t Start = URL.find("cfe/");
   66   size_t Start = URL.find("llvm/");
tools/clang/lib/CodeGen/CGCUDANV.cpp
  257       llvm::ConstantInt::get(SizeTy, std::max<size_t>(1, Args.size())));
tools/clang/lib/CodeGen/CGCXXABI.h
  458   virtual size_t getSrcArgforCopyCtor(const CXXConstructorDecl *,
tools/clang/lib/CodeGen/CGCall.cpp
 3454   size_t CallArgsStart = Args.size();
tools/clang/lib/CodeGen/CGClass.cpp
  779   size_t NumFields = 0;
  806   for (size_t i = 0; i < SSV.size(); i++) {
tools/clang/lib/CodeGen/CGCleanup.cpp
  106 char *EHScopeStack::allocate(size_t Size) {
  137 void EHScopeStack::deallocate(size_t Size) {
  178 void *EHScopeStack::pushCleanup(CleanupKind Kind, size_t Size) {
  474     EHScopeStack::stable_iterator Old, size_t OldLifetimeExtendedSize,
  479   for (size_t I = OldLifetimeExtendedSize,
  746   size_t CleanupSize = Scope.getCleanupSize();
tools/clang/lib/CodeGen/CGCleanup.h
  177   static size_t getSizeForNumHandlers(unsigned N) {
  279   static size_t getSizeForCleanupSize(size_t Size) {
  279   static size_t getSizeForCleanupSize(size_t Size) {
  283   size_t getAllocatedSize() const {
  351   size_t getCleanupSize() const { return CleanupBits.CleanupSize; }
  456   static size_t getSizeForNumFilters(unsigned numFilters) {
  483   static size_t getSize() { return sizeof(EHTerminateScope); }
  494   static size_t getSize() { return sizeof(EHPadEndScope); }
  519     size_t Size;
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 4666   for (size_t i = 0; i != ObjCInterfaceCache.size(); ++i) {
tools/clang/lib/CodeGen/CGDeclCXX.cpp
  585   for (size_t i = 0; i < FileName.size(); ++i) {
tools/clang/lib/CodeGen/CGExpr.cpp
 3083     for (size_t i = 0, n = DynamicArgs.size(); i != n; ++i) {
tools/clang/lib/CodeGen/CGExprCXX.cpp
 1396     static size_t getExtraSize(size_t NumPlacementArgs) {
 1396     static size_t getExtraSize(size_t NumPlacementArgs) {
 1400     CallDeleteDuringNew(size_t NumPlacementArgs,
tools/clang/lib/CodeGen/CGExprConstant.cpp
   95   bool split(size_t Index, CharUnits Hint);
   96   Optional<size_t> splitAt(CharUnits Pos);
  136 static void replace(Container &C, size_t BeginOff, size_t EndOff, Range Vals) {
  136 static void replace(Container &C, size_t BeginOff, size_t EndOff, Range Vals) {
  160   llvm::Optional<size_t> FirstElemToReplace = splitAt(Offset);
  165   llvm::Optional<size_t> LastElemToReplace = splitAt(Offset + CSize);
  224       llvm::Optional<size_t> FirstElemToUpdate = splitAt(OffsetInChars);
  227       llvm::Optional<size_t> LastElemToUpdate =
  286 Optional<size_t> ConstantAggregateBuilder::splitAt(CharUnits Pos) {
  296     size_t LastAtOrBeforePosIndex = FirstAfterPos - Offsets.begin() - 1;
  314 bool ConstantAggregateBuilder::split(size_t Index, CharUnits Hint) {
  409     for (size_t I = 0; I != Elems.size(); ++I) {
  459     for (size_t I = 0; I != Elems.size(); ++I) {
  499   llvm::Optional<size_t> FirstElemToReplace = splitAt(Offset);
  502   size_t First = *FirstElemToReplace;
  504   llvm::Optional<size_t> LastElemToReplace = splitAt(Offset + Size);
  507   size_t Last = *LastElemToReplace;
  509   size_t Length = Last - First;
 1537       for (size_t i = Indices.size() - 1; i != size_t(-1); --i) {
 1540           for (size_t j = 0; j != i + 1; ++j) {
tools/clang/lib/CodeGen/CGObjCMac.cpp
 1171       size_t index = (2 * size_t(MD->isOptional()))
 5227     size_t oldEnd = IvarsInfo.size();
 5238         for (size_t i = 0; i != numEltEntries; ++i) {
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 8307     size_t Count = 0;
tools/clang/lib/CodeGen/CGVTables.cpp
  745     size_t thisIndex = layout.getVTableOffset(i);
  746     size_t nextIndex = thisIndex + layout.getVTableSize(i);
  994   size_t savedSize = DeferredVTables.size();
tools/clang/lib/CodeGen/CodeGenFunction.h
  525     size_t getSize() const { return Size; }
  646     size_t OldSize = LifetimeExtendedCleanupStack.size();
  710     size_t LifetimeExtendedCleanupStackSize;
  961                    size_t OldLifetimeExtendedStackSize,
tools/clang/lib/CodeGen/CodeGenModule.cpp
 4824     for (size_t i = 0; i < 4; ++i) {
tools/clang/lib/CodeGen/ConstantEmitter.h
  167     size_t OldPlaceholdersSize;
tools/clang/lib/CodeGen/ConstantInitBuilder.cpp
  107 void ConstantInitBuilderBase::abandon(size_t newEnd) {
  163                                size_t position) const {
  202 CharUnits ConstantAggregateBuilderBase::getOffsetFromGlobalTo(size_t end) const{
  203   size_t cacheEnd = CachedOffsetEnd;
tools/clang/lib/CodeGen/CoverageMappingGen.cpp
  454   Optional<std::pair<SourceLocation, size_t>> LastTerminatedRegion;
  481   size_t pushRegion(Counter Count, Optional<SourceLocation> StartLoc = None,
  494   size_t completeDeferred(Counter Count, SourceLocation DeferredEndLoc) {
  495     size_t Index = RegionStack.size();
  554   size_t locationDepth(SourceLocation Loc) {
  555     size_t Depth = 0;
  567   void popRegions(size_t ParentIndex) {
  577         size_t StartDepth = locationDepth(StartLoc);
  578         size_t EndDepth = locationDepth(EndLoc);
  664     size_t Index = pushRegion(TopCount, StartLoc, EndLoc);
  824     size_t Index = pushRegion(Count, StartLoc, EndLoc);
 1117         size_t Index =
 1123         for (size_t i = RegionStack.size(); i != Index; --i) {
 1394   size_t CoverageMappingSize = 0;
 1404   size_t FilenamesSize = OS.str().size() - CoverageMappingSize;
 1407   if (size_t Rem = OS.str().size() % 8) {
tools/clang/lib/CodeGen/EHScopeStack.h
  260   char *allocate(size_t Size);
  261   void deallocate(size_t Size);
  263   void *pushCleanup(CleanupKind K, size_t DataSize);
  304   T *pushCleanupWithExtra(CleanupKind Kind, size_t N, As... A) {
  311   void pushCopyOfCleanup(CleanupKind Kind, const void *Cleanup, size_t Size) {
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
  294   size_t getSrcArgforCopyCtor(const CXXConstructorDecl *,
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
   80   size_t getSrcArgforCopyCtor(const CXXConstructorDecl *CD,
  791   llvm::DenseMap<size_t, llvm::StructType *> TypeDescriptorTypeMap;
 1746     for (size_t J = 0, F = VFPtrs.size(); J != F; ++J) {
 2317   for (size_t I = 0, E = CXXThreadLocalInitVars.size(); I != E; ++I) {
tools/clang/lib/CodeGen/SwiftCallingConv.cpp
  210     for (size_t i = 0, e = componentTys.size(); i != e - 1; ++i) {
  244       for (size_t i = 0, e = numElts; i != e; ++i) {
  273   size_t index = Entries.size() - 1;
  465   for (size_t i = 1, e = Entries.size(); i != e; ++i) {
  488   for (size_t i = 0, e = orig.size(); i != e; ++i) {
tools/clang/lib/CodeGen/TargetInfo.cpp
 1169   size_t Pos = 0;
 1171     size_t DollarStart = AsmString.find('$', Pos);
 1174     size_t DollarEnd = AsmString.find_first_not_of('$', DollarStart);
 1179     size_t NumDollars = DollarEnd - DollarStart;
 1182       size_t DigitStart = Pos;
 1183       size_t DigitEnd = AsmString.find_first_not_of("0123456789", DigitStart);
 8954   size_t Start = Enc.size();
 9005   size_t Start = Enc.size();
tools/clang/lib/CrossTU/CrossTranslationUnit.cpp
  142     const size_t Pos = Line.find(" ");
tools/clang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp
  177   constexpr size_t EventBufferLength =
tools/clang/lib/Driver/Driver.cpp
  858   size_t ArchPrefixLen = CfgFileArch.find('-');
  874   size_t FixedArchPrefixLen = 0;
 1194     size_t ParentProcPos = Data.find("Parent Process:");
 1197     size_t LineEnd = Data.find_first_of("\n", ParentProcPos);
 1202     for (size_t i = 0, e = ParentProcess.size(); i < e; ++i) {
 3898     for (size_t i = 1; i < ActionInfo.size(); i++)
tools/clang/lib/Driver/Job.cpp
  176 rewriteIncludes(const llvm::ArrayRef<const char *> &Args, size_t Idx,
  177                 size_t NumArgs,
  228   for (size_t i = 0, e = Args.size(); i < e; ++i) {
tools/clang/lib/Driver/ToolChain.cpp
  137 static const DriverSuffix *FindDriverSuffix(StringRef ProgName, size_t &Pos) {
  156   for (size_t i = 0; i < llvm::array_lengthof(DriverSuffixes); ++i) {
  177 static const DriverSuffix *parseDriverSuffix(StringRef ProgName, size_t &Pos) {
  206   size_t SuffixPos;
  210   size_t SuffixEnd = SuffixPos + strlen(DS->Suffix);
  212   size_t LastComponent = ProgName.rfind('-', SuffixPos);
tools/clang/lib/Driver/ToolChains/Arch/RISCV.cpp
  258   size_t Pos = Exts.find_first_of("sx");
tools/clang/lib/Driver/ToolChains/Clang.cpp
  158                               const Arg &A, size_t &Position) {
  206     size_t RefStepLoc;
  238     size_t RefStep;
  618     size_t Len = 0;
 5720 static bool maybeConsumeDash(const std::string &EH, size_t &I) {
 5747     for (size_t I = 0, E = EHVal.size(); I != E; ++I) {
tools/clang/lib/Driver/ToolChains/Darwin.cpp
  929   size_t Index = PathIntoXcode.find(XcodeAppSuffix);
 1538     size_t StartVer = SDK.find_first_of("0123456789");
 1539     size_t EndVer = SDK.find_last_of("0123456789");
 1809       size_t StartVer = SDK.find_first_of("0123456789");
tools/clang/lib/Driver/ToolChains/Gnu.cpp
 1701     if (size_t EndNumber = MinorStr.find_first_not_of("0123456789")) {
 1723     if (size_t EndNumber = PatchText.find_first_not_of("0123456789")) {
tools/clang/lib/Driver/ToolChains/MSVC.cpp
 1377   for (size_t I = 0, E = OptStr.size(); I != E; ++I) {
 1472   size_t Hash = Val.find('#');
 1504     for (size_t I = 0, E = OptStr.size(); I != E; ++I) {
tools/clang/lib/Format/BreakableToken.cpp
   55       size_t PrefixLength = KnownPrefix.size();
  355   for (size_t i = 1; i < Lines.size(); ++i)
  381   for (size_t i = 1, e = Lines.size(); i < e && !Decoration.empty(); ++i) {
  393   for (size_t i = 1, e = Lines.size(); i < e; ++i) {
  477   size_t EndOfPreviousLine = Lines[LineIndex - 1].size();
  489   size_t StartOfLine = Lines[LineIndex].find_first_not_of(Blanks);
  495   size_t PreviousContentOffset =
  608   size_t Trimmed = Content[LineIndex].find_first_not_of(Blanks);
  654       size_t BreakLength = Lines[0].substr(1).find_first_not_of(Blanks);
  737     size_t FirstLineIndex = Lines.size();
  745     for (size_t i = FirstLineIndex, e = Lines.size(); i < e; ++i) {
  782       size_t EndOfLine = Content[i].find_last_not_of(Blanks);
  852   size_t Trimmed = Content[LineIndex].find_first_not_of(Blanks);
tools/clang/lib/Format/ContinuationIndenter.cpp
  157   size_t LParenPos = TokenText.substr(0, 19).find_first_of('(');
  163   size_t RParenPos = TokenText.size() - Delimiter.size() - 2;
 1491   size_t LastNewlinePos = Text.find_last_of("\n");
tools/clang/lib/Format/Format.cpp
  341       for (size_t i = 0, e = Styles.size(); i < e; ++i) {
  588   static size_t size(IO &IO, std::vector<FormatStyle> &Seq) {
  592                               size_t Index) {
 1300         for (size_t i = 1; i < Input.size() - 1; i++) {
 1866   size_t Pos = 0, LastPos = 0;
 2422   for (size_t I = 0, E = Passes.size(); I < E; ++I) {
tools/clang/lib/Format/FormatTokenLexer.cpp
  464   size_t FirstBreak = LiteralText.find('\n');
  470   size_t LastBreak = LiteralText.rfind('\n');
  492   size_t From = CommentBegin - Lex->getBuffer().begin();
  493   size_t To = Lex->getBuffer().find_first_of('\n', From);
  496   size_t Len = To - From;
  709     size_t BackslashPos = FormatTok->TokenText.find('\\');
  789   size_t FirstNewlinePos = Text.find('\n');
tools/clang/lib/Format/NamespaceEndCommentsFixer.cpp
  159   size_t StartLineIndex = Line->MatchingOpeningBlockLineIndex;
  191   size_t StartLineIndex = SIZE_MAX;
  194   for (size_t I = 0, E = AnnotatedLines.size(); I != E; ++I) {
tools/clang/lib/Format/TokenAnnotator.h
  129   size_t MatchingOpeningBlockLineIndex;
  130   size_t MatchingClosingBlockLineIndex;
tools/clang/lib/Format/UnwrappedLineFormatter.cpp
  142   size_t StartLineIndex = Line->MatchingOpeningBlockLineIndex;
tools/clang/lib/Format/UnwrappedLineParser.cpp
  524 size_t UnwrappedLineParser::computePPHash() const {
  525   size_t h = 0;
  540   size_t PPStartHash = computePPHash();
  548   size_t NbPreprocessorDirectives =
  551   size_t OpeningLineIndex =
  572   size_t PPEndHash = computePPHash();
  698   size_t Line = CurrentLines->size();
 1308       size_t TokenCount = Line->Tokens.size();
tools/clang/lib/Format/UnwrappedLineParser.h
   55   size_t MatchingOpeningBlockLineIndex = kInvalidIndex;
   59   size_t MatchingClosingBlockLineIndex = kInvalidIndex;
   61   static const size_t kInvalidIndex = -1;
  172   size_t computePPHash() const;
  226     PPBranch(PPBranchKind Kind, size_t Line) : Kind(Kind), Line(Line) {}
  228     size_t Line;
tools/clang/lib/Format/UsingDeclarationsSorter.cpp
   40   size_t SizeA = NamesA.size();
   41   size_t SizeB = NamesB.size();
   42   for (size_t I = 0, E = std::min(SizeA, SizeB); I < E; ++I) {
  138   for (size_t I = 0, E = UsingDeclarations->size(); I < E; ++I) {
  191   for (size_t I = 0, E = AnnotatedLines.size(); I != E; ++I) {
tools/clang/lib/Frontend/CompilerInvocation.cpp
 3292     size_t Comma = Value.find(',');
tools/clang/lib/Frontend/FrontendAction.cpp
  193       for (size_t i = 0, e = CI.getFrontendOpts().AddPluginActions.size();
tools/clang/lib/Frontend/MultiplexConsumer.cpp
   30   for (size_t i = 0, e = Listeners.size(); i != e; ++i)
   36   for (size_t i = 0, e = Listeners.size(); i != e; ++i)
   48   for (size_t i = 0, e = Listeners.size(); i != e; ++i)
   54   for (size_t i = 0, e = Listeners.size(); i != e; ++i)
   60   for (size_t i = 0, e = Listeners.size(); i != e; ++i)
   66   for (size_t i = 0, e = Listeners.size(); i != e; ++i)
  123   for (size_t i = 0, e = Listeners.size(); i != e; ++i)
  129   for (size_t i = 0, e = Listeners.size(); i != e; ++i)
  135   for (size_t i = 0, e = Listeners.size(); i != e; ++i)
  140   for (size_t i = 0, e = Listeners.size(); i != e; ++i)
  145   for (size_t i = 0, e = Listeners.size(); i != e; ++i)
  150   for (size_t i = 0, e = Listeners.size(); i != e; ++i)
  160   for (size_t i = 0, e = Listeners.size(); i != e; ++i)
  170   for (size_t i = 0, e = Listeners.size(); i != e; ++i)
  174   for (size_t i = 0, e = Listeners.size(); i != e; ++i)
  179   for (size_t i = 0, e = Listeners.size(); i != e; ++i)
  189   for (size_t i = 0, e = Listeners.size(); i != e; ++i)
  194   for (size_t i = 0, e = Listeners.size(); i != e; ++i)
  200   for (size_t i = 0, e = Listeners.size(); i != e; ++i)
  204   for (size_t i = 0, e = Listeners.size(); i != e; ++i)
  209   for (size_t i = 0, e = Listeners.size(); i != e; ++i)
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
  809   size_t ImportLen = strlen("import");
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
  735   size_t ImportLen = strlen("import");
tools/clang/lib/Frontend/TextDiagnostic.cpp
   48     size_t Pos = Str.find(ToggleHighlight);
   68 static int bytesSincePreviousTabOrLineBegin(StringRef SourceLine, size_t i) {
  163   size_t i = SourceLine.size();
  168     size_t tmp_i = i;
  209   size_t i = 0;
  241   size_t i = 0;
 1171   static const size_t MaxLineLengthToPrint = 4096;
 1289   size_t i = 0;
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp
  617     size_t CPos = 0;
  618     size_t FPos;
  763   size_t loc = C.find('\\');
  772   for (size_t last = 0;; loc = C.find('\\', last)) {
 1129       size_t RegexMatchLength = S.find("}}");
 1137       size_t VerbatimMatchLength = S.find("{{");
tools/clang/lib/Index/CommentToXML.cpp
 1100     size_t Pos = S.find("]]>");
tools/clang/lib/Lex/DependencyDirectivesSourceMinimizer.cpp
  701     size_t Size = Out.size();
tools/clang/lib/Lex/HeaderSearch.cpp
  495   size_t SlashPos = Filename.find('/');
  947       size_t SlashPos = Filename.find('/');
 1031   size_t SlashPos = Filename.find('/');
 1331 size_t HeaderSearch::getTotalMemory() const {
tools/clang/lib/Lex/Lexer.cpp
   95     size_t BOMLength = llvm::StringSwitch<size_t>(Buf)
  270 static size_t getSpellingSlow(const Token &Tok, const char *BufPtr,
  274   size_t Length = 0;
  297       size_t RawLength = RawEnd - BufPtr + 1;
 1086   size_t NumWhitespaceChars = Rest.find_first_not_of(" \t");
 2822   size_t TermLen = CMK == CMK_Perforce ? 5 : 7;
 2824   size_t Pos = RestOfBuffer.find(Terminator);
tools/clang/lib/Lex/LiteralSupport.cpp
 1372     for (size_t i = 0; i < NumCharsSoFar; ++i) {
 1626         size_t CRLFPos = RemainingTokenSpan.find("\r\n");
tools/clang/lib/Lex/PPCaching.cpp
  108   for (size_t C = CachedLexPos + N - CachedTokens.size(); C > 0; --C) {
tools/clang/lib/Lex/PPConditionalDirectiveRecord.cpp
  117 size_t PPConditionalDirectiveRecord::getTotalMemory() const {
tools/clang/lib/Lex/PPDirectives.cpp
  176   static const size_t MaxStdHeaderNameLen = 18u;
  504       size_t IdLen = DirectiveStr.size();
 1575   for (size_t I = 0, N = Path.size(); I != N; ++I) {
 1826     size_t SlashPos = OriginalFilename.find('/');
tools/clang/lib/Lex/PPLexerChange.cpp
  353             const size_t MaxHalfLength = std::max(ControllingMacroName.size(),
tools/clang/lib/Lex/PPMacroExpansion.cpp
  785     size_t ArgTokenStart = ArgTokens.size();
 1029   size_t newIndex = MacroExpandedTokens.size();
 1039       size_t tokIndex;
 1051   size_t tokIndex = MacroExpandingLexersStack.back().second;
tools/clang/lib/Lex/Pragma.cpp
  295     for (size_t i = 1, e = StrVal.size() - 1; i != e; ++i) {
tools/clang/lib/Lex/PreprocessingRecord.cpp
  215   size_t Count = PreprocessedEntities.size();
  216   size_t Half;
  510 size_t PreprocessingRecord::getTotalMemory() const {
tools/clang/lib/Lex/Preprocessor.cpp
  320 size_t Preprocessor::getTotalMemory() const {
 1022       size_t PreAppendSize = FilenameBuffer.size();
tools/clang/lib/Lex/TokenLexer.cpp
  461         size_t FirstResult = ResultToks.size();
tools/clang/lib/Parse/ParseCXXInlineMethods.cpp
  281   for (size_t i = 0; i < Class.LateParsedDeclarations.size(); ++i) {
  479   for (size_t i = 0; i < Class.LateParsedDeclarations.size(); ++i) {
  599     for (size_t i = 0; i < Class.LateParsedDeclarations.size(); ++i) {
tools/clang/lib/Parse/ParseDecl.cpp
 4753   for (size_t i = 0, e = EnumConstantDecls.size(); i != e; ++i) {
tools/clang/lib/Parse/ParseObjc.cpp
 2254   for (size_t i = 0; i < LateParsedObjCMethods.size(); ++i)
 2261     for (size_t i = 0; i < LateParsedObjCMethods.size(); ++i)
tools/clang/lib/Parse/ParsePragma.cpp
 2462       std::pair<std::unique_ptr<Token[]>, size_t>(std::move(TokenArray),
tools/clang/lib/Sema/DeclSpec.cpp
  273     for (size_t J = 0; J < DeclsInPrototype.size(); ++J)
tools/clang/lib/Sema/MultiplexExternalSemaSource.cpp
   43   for(size_t i = 0; i < Sources.size(); ++i)
   50   for (size_t i = 0; i < Sources.size(); ++i)
   56   for(size_t i = 0; i < Sources.size(); ++i) {
   66   for(size_t i = 0; i < Sources.size(); ++i)
   72   for(size_t i = 0; i < Sources.size(); ++i)
   80   for(size_t i = 0; i < Sources.size(); ++i)
  106   for (size_t i = 0; i < Sources.size(); ++i)
  112   for(size_t i = 0; i < Sources.size(); ++i)
  119   for(size_t i = 0; i < Sources.size(); ++i)
  127   for(size_t i = 0; i < Sources.size(); ++i)
  132   for(size_t i = 0; i < Sources.size(); ++i)
  137   for(size_t i = 0; i < Sources.size(); ++i)
  142   for(size_t i = 0; i < Sources.size(); ++i)
  147   for(size_t i = 0; i < Sources.size(); ++i)
  152   for(size_t i = 0; i < Sources.size(); ++i)
  157   for(size_t i = 0; i < Sources.size(); ++i)
  162   for(size_t i = 0; i < Sources.size(); ++i)
  167   for (size_t i = 0; i < Sources.size(); ++i)
  186   for(size_t i = 0; i < Sources.size(); ++i)
  195   for(size_t i = 0; i < Sources.size(); ++i)
  206   for(size_t i = 0; i < Sources.size(); ++i)
  211   for(size_t i = 0; i < Sources.size(); ++i)
  216   for(size_t i = 0; i < Sources.size(); ++i)
  221   for(size_t i = 0; i < Sources.size(); ++i)
  227   for(size_t i = 0; i < Sources.size(); ++i)
  233   for(size_t i = 0; i < Sources.size(); ++i)
  246   for(size_t i = 0; i < Sources.size(); ++i)
  254   for(size_t i = 0; i < Sources.size(); ++i)
  260   for(size_t i = 0; i < Sources.size(); ++i)
  266   for(size_t i = 0; i < Sources.size(); ++i)
  272   for(size_t i = 0; i < Sources.size(); ++i)
  278   for(size_t i = 0; i < Sources.size(); ++i)
  284   for(size_t i = 0; i < Sources.size(); ++i)
  290   for(size_t i = 0; i < Sources.size(); ++i)
  296   for(size_t i = 0; i < Sources.size(); ++i)
  303   for(size_t i = 0; i < Sources.size(); ++i)
  310   for (size_t i = 0; i < Sources.size(); ++i)
  321   for (size_t I = 0, E = Sources.size(); I < E; ++I) {
  332   for (size_t I = 0, E = Sources.size(); I < E; ++I) {
tools/clang/lib/Sema/ParsedAttr.cpp
   36 size_t ParsedAttr::allocated_size() const {
   57 static size_t getFreeListIndexForSize(size_t size) {
   57 static size_t getFreeListIndexForSize(size_t size) {
   63 void *AttributeFactory::allocate(size_t size) {
   65   size_t index = getFreeListIndexForSize(size);
   77   size_t size = Attr->allocated_size();
   78   size_t freeListIndex = getFreeListIndexForSize(size);
tools/clang/lib/Sema/SemaAttr.cpp
  783   for (size_t Index = PragmaAttributeStack.size(); Index;) {
tools/clang/lib/Sema/SemaChecking.cpp
 8788   size_t TypeSize = T->getSize().getZExtValue();
 8789   size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size());
 8851   size_t TypeSize = T->getSize().getZExtValue();
 8852   size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size());
tools/clang/lib/Sema/SemaCoroutine.cpp
  414   for (size_t I = 0, N = llvm::array_lengthof(Funcs); I != N; ++I) {
tools/clang/lib/Sema/SemaDecl.cpp
11700     for (size_t Idx = 0; Idx < Args.size(); ++Idx) {
tools/clang/lib/Sema/SemaDeclAttr.cpp
 3917     size_t StrSize = Str.size();
 3918     size_t VectorStringLength = 0;
 7525         size_t suffix = RealizedPlatform.rfind("_app_extension");
tools/clang/lib/Sema/SemaDeclCXX.cpp
 2303     for (size_t I = 0, N = Diags.size(); I != N; ++I)
tools/clang/lib/Sema/SemaExpr.cpp
 5150   size_t ArgIx = 0;
 5379   for (size_t i = 0, e = args.size(); i != e; i++) {
tools/clang/lib/Sema/SemaObjCProperty.cpp
  860   size_t SelectedIndex = 0;
tools/clang/lib/Sema/SemaOpenMP.cpp
  205   size_t getStackSize() const {
  211     size_t Size = getStackSize();
  228     size_t Size = getStackSize();
 1530   size_t Skip = FromParent ? 2 : 1;
tools/clang/lib/Sema/SemaOverload.cpp
10827   size_t NumArgs;
10831       Sema &S, SourceLocation Loc, size_t NArgs,
tools/clang/lib/Sema/SemaStmt.cpp
 1237         for (size_t I = 0, E = std::min(UnhandledNames.size(), (size_t)3);
tools/clang/lib/Sema/SemaStmtAsm.cpp
  534   SmallVector<size_t, 4> InputMatchedToOutput(OutputConstraintInfos.size(),
tools/clang/lib/Sema/SemaTemplateVariadic.cpp
  373   for (size_t I = 0, E = std::min(Names.size(), (size_t)2); I != E; ++I)
tools/clang/lib/Sema/SemaType.cpp
 2504   for (size_t paramIndex = 0, numParams = paramTypes.size();
tools/clang/lib/Sema/TypeLocBuilder.cpp
   19   size_t Size = L.getFullDataSize();
   44 void TypeLocBuilder::grow(size_t NewCapacity) {
   62 TypeLoc TypeLocBuilder::pushImpl(QualType T, size_t LocalSize, unsigned LocalAlignment) {
   74     size_t RequiredCapacity = Capacity + (LocalSize - Index);
   75     size_t NewCapacity = Capacity * 2;
tools/clang/lib/Sema/TypeLocBuilder.h
   30   size_t Capacity;
   33   size_t Index;
   56   void reserve(size_t Requested) {
   69     size_t LocalSize = TypeSpecTypeLoc::LocalDataSize;
   95     size_t LocalSize = Loc.getLocalDataSize();
  106     size_t FullDataSize = Capacity - Index;
  119     size_t FullDataSize = Capacity - Index;
  127   TypeLoc pushImpl(QualType T, size_t LocalSize, unsigned LocalAlignment);
  130   void grow(size_t NewCapacity);
tools/clang/lib/Serialization/ASTReader.cpp
 6050   size_t Count = M.NumPreprocessedEntities;
 6051   size_t Half;
 8271       size_t bytes = buf->getBufferSize();
tools/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
 1994       size_t s1Term = s1StrRef.find('\0');
 1998       size_t s2Term = s2StrRef.find('\0');
tools/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
  945     for (size_t i = 0; i < num_setids; i++)
  950   size_t identifierid;
tools/clang/lib/StaticAnalyzer/Checkers/IteratorChecker.cpp
  524     for (size_t I = 0; I < TParams->size(); ++I) {
tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIChecker.cpp
  168     for (size_t i = 0; i < ArrSize; ++i) {
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.h
  184   RefVal operator-(size_t i) const {
  189   RefVal operator+(size_t i) const {
tools/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
  251     size_t E = R.size();
  252     for (size_t I = 0; I != E; ++I) {
  282     size_t E = R.size();
  303     for (size_t I = 1; I != E; ++I) {
  414   for (size_t I = 0, E = ArgTypes.size(); I != E; ++I) {
tools/clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
   36     size_t InitialPad, size_t EntryWidth, size_t MinLineWidth) {
   36     size_t InitialPad, size_t EntryWidth, size_t MinLineWidth) {
   36     size_t InitialPad, size_t EntryWidth, size_t MinLineWidth) {
   40   const size_t PadForDesc = InitialPad + EntryWidth;
  130     size_t Pos = CheckerName.rfind('.');
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
 1561 static Optional<size_t> getLengthOnSingleLine(const SourceManager &SM,
 1591 static Optional<size_t> getLengthOnSingleLine(const SourceManager &SM,
 1650       const size_t MAX_SHORT_LINE_LENGTH = 80;
 1651       Optional<size_t> s1Length = getLengthOnSingleLine(SM, s1Start);
 1653         Optional<size_t> s2Length = getLengthOnSingleLine(SM, s2Start);
 1712     Optional<size_t> ByteWidth = getLengthOnSingleLine(SM, EdgeRange);
 1718     const size_t MAX_PUNY_EDGE_LENGTH = 2;
tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp
  389     size_t NumUnmatched = CD.QualifiedName.size() - 1;
tools/clang/lib/StaticAnalyzer/Core/IssueHash.cpp
  158   size_t NextStart = 0;
tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp
  101   size_t Size = 1;
  102   llvm::StringMap<size_t>::const_iterator PackageSize =
  509                                                size_t MaxNameChars) const {
  515   size_t OptionFieldWidth = 0;
  519     size_t NameLength = Checker.FullName.size();
  524   const size_t InitialPad = 2;
tools/clang/lib/Tooling/ASTDiff/ASTDiff.cpp
   37   Mapping(size_t Size) {
  296   size_t Expanded = 0;
  344   for (size_t I = 0, E = Siblings.size(); I < E; ++I) {
  765   for (size_t Id = 0, E = N1.Children.size(); Id < E; ++Id)
tools/clang/lib/Tooling/ArgumentsAdjusters.cpp
   27     for (size_t i = 0, e = Args.size(); i < e; ++i) {
   45     for (size_t i = 0, e = Args.size(); i < e; ++i) {
   63     for (size_t i = 0, e = Args.size(); i < e; ++i) {
   79     for (size_t i = 0, e = Args.size(); i < e; ++i) {
  133     for (size_t I = 0, E = Args.size(); I != E; I++) {
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
   55   size_t Size = MinimizedFileContents.size();
tools/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
   69 size_t matchingPrefix(StringRef L, StringRef R) {
   70   size_t Limit = std::min(L.size(), R.size());
   71   for (size_t I = 0; I < Limit; ++I)
   80   bool operator()(StringRef Key, std::pair<StringRef, size_t> Value) const {
   84   bool operator()(std::pair<StringRef, size_t> Value, StringRef Key) const {
  326     for (size_t I = 0; I < OriginalPaths.size(); ++I) {
  352     std::pair<size_t, int> Best =
  367   using SubstringAndIndex = std::pair<StringRef, size_t>;
  377   DenseMap<size_t, int> scoreCandidates(StringRef Filename) const {
  393     DenseMap<size_t, int> Candidates; // Index -> score.
  414   std::pair<size_t, int> pickWinner(const DenseMap<size_t, int> &Candidates,
  414   std::pair<size_t, int> pickWinner(const DenseMap<size_t, int> &Candidates,
  418       size_t Index;
  421       size_t PrefixLength;
  480     size_t Prefix = matchingPrefix(Key, It->first);
  481     size_t PrevPrefix = matchingPrefix(Key, (It - 1)->first);
tools/clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
   94     size_t Offset = TokenName.find(PrevName.getNamePieces()[0]);
  537       size_t LastColonPos = NewName.find_last_of(':');
tools/clang/lib/Tooling/RefactoringCallbacks.cpp
  161   for (size_t Index = 0; Index < ToTemplate.size();) {
  168         size_t EndOfIdentifier = ToTemplate.find("}", Index);
  187       size_t NextIndex = ToTemplate.find('$', Index + 1);
tools/clang/lib/Tooling/Transformer/RewriteRule.cpp
   89     const SmallVectorImpl<std::pair<size_t, RewriteRule::Case>> &Cases) {
  119   std::map<ASTNodeKind, SmallVector<std::pair<size_t, RewriteRule::Case>, 1>>
  170   for (size_t i = 0, N = Rule.Cases.size(); i < N; ++i) {
tools/clang/tools/clang-diff/ClangDiff.cpp
  380     for (size_t I = 1, E = N.Children.size(); I < E; ++I) {
tools/clang/tools/clang-format/ClangFormat.cpp
  257   size_t From = 0;
  258   size_t Index;
tools/clang/tools/clang-fuzzer/ClangFuzzer.cpp
   21 extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) {
tools/clang/tools/clang-fuzzer/ClangObjectiveCFuzzer.cpp
   19 extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) {
tools/clang/tools/clang-fuzzer/DummyClangFuzzer.cpp
   14 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
tools/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
  186 static uint64_t Read8byteIntegerFromBuffer(StringRef Buffer, size_t pos) {
  238     size_t ReadChars = sizeof(OFFLOAD_BUNDLER_MAGIC_STR) - 1;
  531   size_t ReadChars = 0u;
  545     size_t TripleStart = ReadChars = ReadChars + BundleStartString.size();
  548     size_t TripleEnd = ReadChars = FC.find("\n", ReadChars);
  564     size_t TripleEnd = ReadChars = FC.find("\n", ReadChars + 1);
  574     size_t BundleStart = ReadChars;
  577     size_t BundleEnd = ReadChars = FC.find(BundleEndString, ReadChars);
tools/clang/tools/clang-refactor/TestSupport.cpp
  143     size_t GroupIndex = Results.size() - 1;
  168   size_t LastLine = Source.find_last_of("\r\n");
  269   size_t NewlinePos = Substr.find_first_of("\r\n");
  280     size_t NewlinePos = Line.find_first_of("\r\n");
  288   size_t LineStart = Source.find_last_of("\r\n", /*From=*/Offset + LineOffset);
tools/clang/tools/clang-scan-deps/ClangScanDeps.cpp
  219   size_t Index = 0;
tools/clang/tools/extra/clang-include-fixer/FuzzySymbolIndex.cpp
   71   size_t Start = 0;
   79   for (size_t I = 0; I < Text.size(); ++I) {
  120   for (size_t I = 0; I < Tokens.size(); ++I) {
  123     for (size_t J = 0; J < Tokens[I].size(); ++J) {
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/PragmaCommentHandler.cpp
   25   size_t Pos = Text.find(IWYUPragma);
tools/clang/tools/extra/clang-include-fixer/tool/ClangIncludeFixer.cpp
  179       for (size_t I = 0, E = CommaSplits.size(); I != E; ++I)
tools/clang/tools/extra/clang-move/Move.cpp
  375     for (size_t i = 0; i < GuardName.size(); ++i) {
tools/clang/tools/extra/clang-query/QueryParser.cpp
   56   size_t WordCompletionPos;
  311 QueryParser::complete(StringRef Line, size_t Pos, const QuerySession &QS) {
tools/clang/tools/extra/clang-query/QueryParser.h
   35   complete(StringRef Line, size_t Pos, const QuerySession &QS);
tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
  268   const size_t NolintIndex = Line.find(NolintDirectiveText);
  272   size_t BracketIndex = NolintIndex + NolintDirectiveText.size();
  276     const size_t BracketEndIndex = Line.find(')', BracketIndex);
tools/clang/tools/extra/clang-tidy/ClangTidyOptions.cpp
   35   static size_t size(IO &IO, FileFilter::LineRange &Range) {
   38   static unsigned &element(IO &IO, FileFilter::LineRange &Range, size_t Index) {
tools/clang/tools/extra/clang-tidy/abseil/AbseilMatcher.h
   46   size_t PrefixPosition = Path.find(AbslPrefix);
tools/clang/tools/extra/clang-tidy/bugprone/BranchCloneCheck.cpp
   43   for (size_t i = 0, Size = LHS.size(); i < Size; i++) {
  112     size_t N = Branches.size();
  115     for (size_t i = 0; i + 1 < N; i++) {
  122       for (size_t j = i + 1; j < N; j++) {
tools/clang/tools/extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp
  310       size_t NewLength = LengthIL->getValue().getZExtValue() +
tools/clang/tools/extra/clang-tidy/bugprone/StringLiteralWithEmbeddedNulCheck.cpp
   21   for (size_t i = 0; i < Node.getLength(); ++i)
   63     for (size_t Offset = 0, Length = SL->getLength(); Offset < Length;
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp
  170     for (size_t I = HexValue.size(); I < (HexBits / 4); ++I)
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.cpp
   90   size_t LastIndex = SMFS.size() - 1;
   91   for (size_t i = 1; i < LastIndex; ++i) {
tools/clang/tools/extra/clang-tidy/google/FunctionNamingCheck.cpp
   60   size_t Index = 0;
tools/clang/tools/extra/clang-tidy/llvm/HeaderGuardCheck.cpp
   27   size_t PosInclude = Guard.rfind("include/");
   32   size_t PosToolsClang = Guard.rfind("tools/clang/");
   39   size_t PosLLVMProject = Guard.rfind(LLVMProject);
   44   size_t PosLLVM = Guard.rfind("llvm/");
tools/clang/tools/extra/clang-tidy/modernize/AvoidBindCheck.cpp
   41   size_t PlaceHolderIndex = 0;
   52   for (size_t I = 1, ArgCount = C->getNumArgs(); I < ArgCount; ++I) {
   86   size_t PlaceholderCount = MaxPlaceholderIt->PlaceHolderIndex;
   89   for (size_t I = 1; I <= PlaceholderCount; ++I) {
  109   llvm::SmallSet<size_t, 4> PlaceHolderIndices;
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertUtils.cpp
  852   size_t Len = ContainerName.size();
tools/clang/tools/extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp
  175   size_t LAngle = ExprStr.find("<");
tools/clang/tools/extra/clang-tidy/modernize/RawStringLiteralCheck.cpp
   23   size_t BackSlash = HayStack.find('\\');
   38   const size_t QuotePos = Text.find('"');
tools/clang/tools/extra/clang-tidy/modernize/UseAutoCheck.cpp
   30 size_t GetTypeNameLength(bool RemoveStars, StringRef Text) {
   33   size_t NumChars = 0;
tools/clang/tools/extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp
  289   for (size_t I = 0; I < Tokens.size(); I++) {
  304       for (size_t J = I; J < Tokens.size() && Tokens[J].isQualifier; J++)
  339   size_t InitialAutoLength = Auto.size();
tools/clang/tools/extra/clang-tidy/mpi/BufferDerefCheck.cpp
   84   for (size_t i = 0; i < BufferTypes.size(); ++i) {
tools/clang/tools/extra/clang-tidy/mpi/TypeMismatchCheck.cpp
  234 static const Type *argumentType(const CallExpr *const CE, const size_t idx) {
  307   for (size_t i = 0; i < MPIDatatypes.size(); ++i) {
tools/clang/tools/extra/clang-tidy/objc/PropertyDeclarationCheck.cpp
   44   size_t Index = 0;
   89   size_t Start = PropertyName.find_first_of('_');
tools/clang/tools/extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp
   28 std::string paramNameOrIndex(StringRef Name, size_t Index) {
  133   const size_t Index = std::find(Function->parameters().begin(),
tools/clang/tools/extra/clang-tidy/readability/ConvertMemberFunctionsToStatic.cpp
  118   size_t Offset = Text.find("const");
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp
  220   for (size_t i = 0; i < SK_Count; ++i) {
tools/clang/tools/extra/clang-tidy/readability/UppercaseLiteralSuffixCheck.cpp
  137   size_t Skip = 0;
tools/clang/tools/extra/clang-tidy/utils/HeaderGuard.cpp
  136                             size_t *EndIfLenPtr = nullptr) {
  140     size_t EndIfLen = std::strcspn(EndIfData, "\r\n");
  148     size_t FindEscapedNewline = EndIfStr.find_last_not_of(' ');
  197     size_t EndIfLen;
tools/clang/tools/extra/clang-tidy/utils/IncludeSorter.cpp
   44 size_t FindNextLine(const char *Text) {
   45   size_t EOLIndex = std::strcspn(Text, "\n");
tools/clang/tools/extra/clang-tidy/utils/UsingInserter.cpp
   23   size_t LastSeparatorPos = QualifiedName.rfind("::");
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp
   81   for (size_t I = SymbolKindMin; I <= static_cast<size_t>(SymbolKind::Array);
   89   for (size_t I = CompletionItemKindMin;
  110   size_t InvalidFileCount = 0;
  208       for (size_t Index = 0; Index < ReplyCallbacks.size(); ++Index) {
tools/clang/tools/extra/clangd/ClangdServer.cpp
  270   llvm::Expected<size_t> Begin = positionToOffset(Code, Rng.start);
  273   llvm::Expected<size_t> End = positionToOffset(Code, Rng.end);
  288   llvm::Expected<size_t> CursorPos = positionToOffset(Code, Pos);
tools/clang/tools/extra/clangd/CodeComplete.cpp
  172   size_t overloadSet(const CodeCompleteOptions &Opts) const {
 1022   size_t Offset;
 1332   runWithoutSema(llvm::StringRef Content, size_t Offset,
 1401     for (size_t I = 0; I < 3 && RangeBegin > 0; ++I) {
 1523     llvm::DenseMap<size_t, size_t> BundleLookup;
 1523     llvm::DenseMap<size_t, size_t> BundleLookup;
 1577         Opts.Limit == 0 ? std::numeric_limits<size_t>::max() : Opts.Limit);
tools/clang/tools/extra/clangd/CodeComplete.h
   71   size_t Limit = 0;
tools/clang/tools/extra/clangd/DraftStore.cpp
   62     llvm::Expected<size_t> StartIndex =
   68     llvm::Expected<size_t> EndIndex = positionToOffset(Contents, End, false);
tools/clang/tools/extra/clangd/FindSymbols.cpp
   89       Req.Limit ? *Req.Limit : std::numeric_limits<size_t>::max());
tools/clang/tools/extra/clangd/FormattedString.cpp
   28   for (size_t From = 0; From < Input.size();) {
   29     size_t Next = Input.find_first_of(Punctuation, From);
   46   for (size_t From = 0; From < Input.size();) {
   47     size_t Next = Input.find("`", From);
tools/clang/tools/extra/clangd/JSONTransport.cpp
  173   size_t Size = 0;
  183     size_t Read = std::strlen(&Out[Size]);
  245   for (size_t Pos = 0, Read; Pos < ContentLength; Pos += Read) {
tools/clang/tools/extra/clangd/Protocol.cpp
  188     for (size_t I = 0; I < A->size(); ++I) {
  796     for (size_t I = 0; I < A->size(); ++I) {
tools/clang/tools/extra/clangd/Quality.h
  155   TopN(size_t N, Compare Greater = Compare())
  186   const size_t N;
tools/clang/tools/extra/clangd/QueryDriverDatabase.cpp
  164   for (size_t I = 0, E = Glob.size(); I < E; ++I) {
  221     for (size_t I = 0, E = Cmd->CommandLine.size(); I < E; ++I) {
tools/clang/tools/extra/clangd/RIFF.cpp
   71   size_t DataLen = 4; // Predict length of RIFF chunk data.
tools/clang/tools/extra/clangd/SemanticHighlighting.cpp
  314   size_t I;
tools/clang/tools/extra/clangd/SourceCode.cpp
   59   for (size_t I = 0; I < U8.size();) {
   68     size_t UTF8Length = llvm::countLeadingOnes(C);
   86 static size_t measureUnits(llvm::StringRef U8, int Units, OffsetEncoding Enc,
   91   size_t Result = 0;
  130 size_t lspLength(llvm::StringRef Code) {
  131   size_t Count = 0;
  154 llvm::Expected<size_t> positionToOffset(llvm::StringRef Code, Position P,
  164   size_t StartOfLine = 0;
  166     size_t NextNL = Code.find('\n', StartOfLine);
  178   size_t ByteInLine = measureUnits(Line, P.character, lspEncoding(), Valid);
  187 Position offsetToPosition(llvm::StringRef Code, size_t Offset) {
  191   size_t PrevNL = Before.rfind('\n');
  192   size_t StartOfLine = (PrevNL == llvm::StringRef::npos) ? 0 : (PrevNL + 1);
  352   size_t BeginOffset = 0;
  356   size_t EndOffset = 0;
  367   size_t BeginOffset = 0;
  369   size_t EndOffset = Mgr.getFileOffset(R.getEnd());
  372   size_t LOffset;
  573   size_t BeginOffset = SM.getFileOffset(R.getBegin());
  574   size_t EndOffset = SM.getFileOffset(R.getEnd());
  596 std::pair<size_t, size_t> offsetToClangLineColumn(llvm::StringRef Code,
  596 std::pair<size_t, size_t> offsetToClangLineColumn(llvm::StringRef Code,
  597                                                   size_t Offset) {
  601   size_t PrevNL = Before.rfind('\n');
  602   size_t StartOfLine = (PrevNL == llvm::StringRef::npos) ? 0 : (PrevNL + 1);
  607   size_t Pos = QName.rfind("::");
tools/clang/tools/extra/clangd/SourceCode.h
   50 size_t lspLength(StringRef Code);
   59 llvm::Expected<size_t>
   65 Position offsetToPosition(llvm::StringRef Code, size_t Offset);
  163 std::pair<size_t, size_t> offsetToClangLineColumn(llvm::StringRef Code,
  163 std::pair<size_t, size_t> offsetToClangLineColumn(llvm::StringRef Code,
  164                                                   size_t Offset);
tools/clang/tools/extra/clangd/XRefs.cpp
  286   llvm::DenseMap<SymbolID, size_t> ResultIndex;
  509   for (size_t I = 0, E = Params.size(); I != E; ++I) {
tools/clang/tools/extra/clangd/fuzzer/DummyClangdMain.cpp
   15 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
tools/clang/tools/extra/clangd/fuzzer/clangd-fuzzer.cpp
   24 extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) {
tools/clang/tools/extra/clangd/index/Background.cpp
  140     BackgroundIndexStorage::Factory IndexStorageFactory, size_t ThreadPoolSize)
  454   size_t LoadedShards = 0;
tools/clang/tools/extra/clangd/index/Background.h
  124       size_t ThreadPoolSize = llvm::heavyweight_hardware_concurrency());
tools/clang/tools/extra/clangd/index/BackgroundRebuild.cpp
   84 void BackgroundIndexRebuilder::loadedShard(size_t ShardCount) {
tools/clang/tools/extra/clangd/index/BackgroundRebuild.h
   65   void loadedShard(size_t ShardCount);
tools/clang/tools/extra/clangd/index/FileIndex.cpp
  182     size_t Count = 0;
  208   size_t StorageSize =
tools/clang/tools/extra/clangd/index/Index.cpp
   78 size_t SwapIndex::estimateMemoryUsage() const {
tools/clang/tools/extra/clangd/index/Index.h
  122   virtual size_t estimateMemoryUsage() const = 0;
  145   size_t estimateMemoryUsage() const override;
tools/clang/tools/extra/clangd/index/MemIndex.cpp
   36       Req.Limit ? *Req.Limit : std::numeric_limits<size_t>::max());
  109 size_t MemIndex::estimateMemoryUsage() const {
tools/clang/tools/extra/clangd/index/MemIndex.h
   38            Payload &&BackingData, size_t BackingDataSize)
   65   size_t estimateMemoryUsage() const override;
   78   size_t BackingDataSize = 0;
tools/clang/tools/extra/clangd/index/Merge.h
   48   size_t estimateMemoryUsage() const override {
tools/clang/tools/extra/clangd/index/Ref.cpp
   50   size_t NumRefs = 0;
tools/clang/tools/extra/clangd/index/Ref.h
   83   size_t size() const { return Refs.size(); }
   84   size_t numRefs() const { return NumRefs; }
   87   size_t bytes() const {
  115   size_t NumRefs = 0;
tools/clang/tools/extra/clangd/index/Relation.h
   57   size_t size() const { return Relations.size(); }
   60   size_t bytes() const {
tools/clang/tools/extra/clangd/index/Serialization.cpp
  153   llvm::DenseMap<std::pair<const char *, size_t>, unsigned> Index;
  200   size_t UncompressedSize = R.consume32();
  690   size_t NumSym = Symbols.size();
  691   size_t NumRefs = Refs.numRefs();
  692   size_t NumRelations = Relations.size();
tools/clang/tools/extra/clangd/index/Symbol.h
  189   size_t size() const { return Symbols.size(); }
  192   size_t bytes() const {
tools/clang/tools/extra/clangd/index/SymbolID.cpp
   52   static_assert(sizeof(size_t) <= SymbolID::RawSize,
   54   size_t Result;
   55   memcpy(&Result, ID.raw().data(), sizeof(size_t));
tools/clang/tools/extra/clangd/index/SymbolID.h
   45   constexpr static size_t RawSize = 8;
tools/clang/tools/extra/clangd/index/dex/Dex.cpp
   71   for (size_t I = 0; I < Symbols.size(); ++I) {
   84   for (size_t I = 0; I < ScoredSymbols.size(); ++I) {
  218       Req.Limit ? *Req.Limit : std::numeric_limits<size_t>::max(), Compare);
  288 size_t Dex::estimateMemoryUsage() const {
  289   size_t Bytes = Symbols.size() * sizeof(const Symbol *);
  312   size_t Limit = 5;
tools/clang/tools/extra/clangd/index/dex/Dex.h
   62       Payload &&BackingData, size_t BackingDataSize)
   87   size_t estimateMemoryUsage() const override;
  116   size_t BackingDataSize = 0;
tools/clang/tools/extra/clangd/index/dex/Iterator.cpp
   73   size_t estimateSize() const override {
  191   size_t estimateSize() const override {
  192     size_t Size = 0;
  244   size_t estimateSize() const override { return Size; }
  271   size_t estimateSize() const override { return 0; }
  296   size_t estimateSize() const override { return Child->estimateSize(); }
  313   LimitIterator(std::unique_ptr<Iterator> Child, size_t Limit)
  334   size_t estimateSize() const override {
  344   size_t Limit;
  345   size_t ItemsLeft;
  435                                         size_t Limit) const {
tools/clang/tools/extra/clangd/index/dex/Iterator.h
   82   virtual size_t estimateSize() const = 0;
  175                                   size_t Limit) const;
tools/clang/tools/extra/clangd/index/dex/PostingList.cpp
   69   size_t estimateSize() const override {
  125   static constexpr size_t ApproxEntriesPerChunk = 15;
  128 static constexpr size_t BitsPerEncodingByte = 7;
  192   for (size_t Length = 0; HasNextByte && !Bytes.empty(); ++Length) {
tools/clang/tools/extra/clangd/index/dex/PostingList.h
   44   static constexpr size_t PayloadSize = 32 - sizeof(DocID);
   69   size_t bytes() const { return Chunks.capacity() * sizeof(Chunk); }
tools/clang/tools/extra/clangd/index/dex/Trigram.cpp
   57   for (size_t I = 0; I < LowercaseIdentifier.size(); ++I) {
   77   for (size_t I = 1; I < LowercaseIdentifier.size(); ++I)
tools/clang/tools/extra/clangd/index/dex/dexp/Dexp.cpp
  150     size_t Rank = 0;
tools/clang/tools/extra/clangd/unittests/Annotations.cpp
   24   for (size_t O : Offsets)
tools/clang/tools/extra/clangd/unittests/BackgroundIndexTests.cpp
   51   size_t &CacheHits;
   54   MemoryShardStorage(llvm::StringMap<std::string> &Storage, size_t &CacheHits)
   92   size_t CacheHits = 0;
  132   size_t CacheHits = 0;
  192   size_t CacheHits = 0;
  261   size_t CacheHits = 0;
  310   size_t CacheHits = 0;
  384   size_t CacheHits = 0;
  441   size_t CacheHits = 0;
  470   size_t CacheHits = 0;
  533   size_t CacheHits = 0;
tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp
 1178   size_t estimateMemoryUsage() const override { return 0; }
 1180   const std::vector<FuzzyFindRequest> consumeRequests(size_t Num) const {
 1198                                                    size_t Num = 1) {
tools/clang/tools/extra/clangd/unittests/DexTests.cpp
   43   for (size_t I = 0; I < IDAndScore.size(); ++I)
tools/clang/tools/extra/clangd/unittests/DraftStoreTests.cpp
   25   llvm::Expected<size_t> Start = positionToOffset(Code, Rng.start);
   26   llvm::Expected<size_t> End = positionToOffset(Code, Rng.end);
   41   for (size_t i = 1; i < Steps.size(); i++) {
   66   for (size_t i = 0; i < Steps.size() - 1; i++) {
tools/clang/tools/extra/clangd/unittests/Matchers.h
   58     size_t I = 0;
   59     for (size_t J = 0; I < Matchers.size() && J < V.size(); ++J)
   66       for (size_t K = 0; K < I; ++K) {
tools/clang/tools/extra/clangd/unittests/SourceCodeTests.cpp
  310     size_t Offset = llvm::cantFail(positionToOffset(Source.code(), P));
tools/clang/tools/extra/clangd/unittests/TestIndex.cpp
   19   size_t Pos = QName.rfind("::");
   43   size_t Pos = QName.rfind("::");
tools/clang/tools/extra/clangd/unittests/TweakTesting.cpp
  143     size_t Offset = llvm::cantFail(positionToOffset(Code, Point));
  147     size_t Begin = llvm::cantFail(positionToOffset(Code, Range.start));
  148     size_t End = llvm::cantFail(positionToOffset(Code, Range.end));
tools/clang/tools/extra/modularize/PreprocessorTracker.cpp
  281   size_t Offset = Source.find(':', 2);
  308   size_t Length = EndPtr - BeginPtr;
  334   size_t Length = EndPtr - BeginPtr;
  367   size_t Length = EndPtr - BeginPtr;
  382   size_t Length;
tools/clang/tools/extra/unittests/clang-doc/BitcodeTest.cpp
   44                                             size_t NumInfos) {
tools/clang/tools/extra/unittests/clang-doc/ClangDocTest.cpp
   48   for (size_t Idx = 0; Idx < Actual.AttrKeys.size(); ++Idx)
   52   for (size_t Idx = 0; Idx < Actual.AttrValues.size(); ++Idx)
   56   for (size_t Idx = 0; Idx < Actual.Args.size(); ++Idx)
   60   for (size_t Idx = 0; Idx < Actual.Children.size(); ++Idx)
   89   for (size_t Idx = 0; Idx < Actual->Namespace.size(); ++Idx)
   92   for (size_t Idx = 0; Idx < Actual->Description.size(); ++Idx)
  104   for (size_t Idx = 0; Idx < Actual->Loc.size(); ++Idx)
  116   for (size_t Idx = 0; Idx < Actual->Params.size(); ++Idx)
  127   for (size_t Idx = 0; Idx < Actual->Members.size(); ++Idx)
  135   for (size_t Idx = 0; Idx < Actual->ChildNamespaces.size(); ++Idx)
  140   for (size_t Idx = 0; Idx < Actual->ChildRecords.size(); ++Idx)
  144   for (size_t Idx = 0; Idx < Actual->ChildFunctions.size(); ++Idx)
  149   for (size_t Idx = 0; Idx < Actual->ChildEnums.size(); ++Idx)
  161   for (size_t Idx = 0; Idx < Actual->Members.size(); ++Idx)
  165   for (size_t Idx = 0; Idx < Actual->Parents.size(); ++Idx)
  169   for (size_t Idx = 0; Idx < Actual->VirtualParents.size(); ++Idx)
  173   for (size_t Idx = 0; Idx < Actual->Bases.size(); ++Idx)
  177   for (size_t Idx = 0; Idx < Actual->ChildRecords.size(); ++Idx)
  181   for (size_t Idx = 0; Idx < Actual->ChildFunctions.size(); ++Idx)
  186   for (size_t Idx = 0; Idx < Actual->ChildEnums.size(); ++Idx)
  201   for (size_t Idx = 0; Idx < Actual.Children.size(); ++Idx)
tools/clang/tools/extra/unittests/clang-doc/SerializeTest.cpp
   64 void ExtractInfosFromCode(StringRef Code, size_t NumExpectedInfos, bool Public,
   73 void ExtractInfosFromCodeWithArgs(StringRef Code, size_t NumExpectedInfos,
tools/clang/tools/libclang/CIndex.cpp
 4260                                   size_t *size) {
tools/clang/tools/libclang/CIndexDiagnostic.h
   36   size_t getNumDiagnostics() const {
tools/clang/unittests/AST/ASTImporterTest.cpp
 1423   size_t Index = 0;
tools/clang/unittests/AST/CommentLexer.cpp
   94   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  110   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  129   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  149   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  172   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  251   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  268   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  286   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  314   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  321     for (size_t j = 0, e = Toks.size(); j != e; j++) {
  581   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  648   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  679   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  892   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  917   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1043   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1160   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1186   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1216   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1275   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1306   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1339   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1364   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1788   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
tools/clang/unittests/AST/CommentParser.cpp
   78 ::testing::AssertionResult HasChildCount(const Comment *C, size_t Count) {
   92                                       size_t Idx,
  117                                      size_t Idx,
  138                                                 size_t Idx,
  160                                              size_t Idx,
  182                               size_t Idx,
  230                               size_t Idx,
  263                                               size_t Idx,
  283                                               size_t Idx,
  301                                               size_t Idx,
  324                                              size_t Idx,
  343                                              size_t Idx,
  362                                              size_t Idx,
  383                                              size_t Idx,
  417                                            size_t Idx,
  434                                                  size_t Idx,
  461                                               size_t Idx,
  490                                               size_t Idx,
  510                                               size_t Idx,
  537                                               size_t Idx,
  571                                              size_t Idx,
  667   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  804   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  834   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  864   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  895   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
  950   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1084   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1106   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1130   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1152   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1175   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1288   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1312   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1339   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1367   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1390   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1408   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
 1427   for (size_t i = 0, e = array_lengthof(Sources); i != e; i++) {
tools/clang/unittests/Analysis/CFGTest.cpp
  106   size_t Index = 0;
tools/clang/unittests/CodeGen/IRMatchers.h
   87   size_t size() const { return MatchStack.size(); }
tools/clang/unittests/Index/IndexTests.cpp
   31   size_t Line = 0;
   32   size_t Column = 0;
   34   Position(size_t Line = 0, size_t Column = 0) : Line(Line), Column(Column) {}
   34   Position(size_t Line = 0, size_t Column = 0) : Line(Line), Column(Column) {}
tools/clang/unittests/Rewrite/RewriteBufferTest.cpp
   45   size_t Pos = Input.find(RemoveStr);
tools/clang/unittests/Sema/CodeCompleteTest.cpp
   92 ParsedSourceLocation offsetToPosition(llvm::StringRef Code, size_t Offset) {
   96   size_t PrevNL = Before.rfind('\n');
   97   size_t StartOfLine = (PrevNL == StringRef::npos) ? 0 : (PrevNL + 1);
  102 CompletionContext runCompletion(StringRef Code, size_t Offset) {
  121   for (size_t Point : A.points()) {
tools/clang/unittests/Sema/ExternalSemaSourceTest.cpp
  202     for (size_t I = 0, E = Watchers.size(); I < E; ++I)
  205     for (size_t I = 0, E = Sources.size(); I < E; ++I) {
tools/clang/unittests/StaticAnalyzer/CallDescriptionTest.cpp
   23   size_t Found, Total;
tools/clang/unittests/Tooling/ToolingTest.cpp
  414   size_t SyntaxOnlyCount = 0;
tools/clang/utils/TableGen/ClangAttrEmitter.cpp
  893       for (size_t I = 0; I < enums.size(); ++I) {
  911       for (size_t I = 0; I < enums.size(); ++I) {
 1005       for (size_t I = 0; I < enums.size(); ++I) {
 1019       for (size_t I = 0; I < enums.size(); ++I) {
 3903 static const size_t NumSpellingKinds = (size_t)SpellingKind::Pragma + 1;
 4023   for (size_t Kind = 0; Kind != NumSpellingKinds; ++Kind) {
tools/clang/utils/TableGen/ClangCommentCommandInfoEmitter.cpp
   30   for (size_t i = 0, e = Tags.size(); i != e; ++i) {
   64   for (size_t i = 0, e = Tags.size(); i != e; ++i) {
  118   for (size_t i = 0, e = Tags.size(); i != e; ++i) {
tools/clang/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp
   40   for (size_t i = 0, e = UTF8.size(); i != e; ++i) {
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
  780   size_t Width = 0;
  837     size_t Start = RST.size();
  857       for (size_t I = 0; I != Lines.size(); ++I)
  860       for (size_t I = Start + Lines.size(); I != RST.size(); ++I)
  864     for (size_t I = Start; I != RST.size(); ++I)
  906     std::vector<size_t> SeparatorIndexes;
  917     for (size_t I : SeparatorIndexes)
 1008     size_t End = (size_t)-2;
 1029     size_t ModLength = Text.find_first_of("0123456789{");
 1065         size_t End = Text.find_first_of(":");
 1085       size_t NameSize = Text.find_first_of('}');
tools/clang/utils/TableGen/ClangOpcodesEmitter.cpp
   66   std::function<void(size_t, const Twine &)> Rec;
  124     for (size_t I = 0, N = Args.size(); I < N; ++I) {
  140     for (size_t I = 0, N = Args.size(); I < N; ++I)
  183     for (size_t I = 0, N = Args.size(); I < N; ++I)
  189     for (size_t I = 0, N = Args.size(); I < N; ++I) {
  195     for (size_t I = 0, N = Args.size(); I < N; ++I)
  218     for (size_t I = 0; I < TypeCount; ++I) {
  244   for (size_t I = 0, N = Types->size(); I < N; ++I)
  260   for (size_t I = 0, N = Types->size(); I < N; ++I)
  262   for (size_t I = 0, N = Args.size(); I < N; ++I)
  266   std::function<void(size_t, const Twine &)> Rec;
  284       for (size_t I = 0; I < Args.size(); ++I) {
  325     for (size_t I = 0, N = Args.size(); I < N; ++I)
  334     for (size_t I = 0, N = Args.size(); I < N; ++I)
  347   for (size_t I = 0, N = Types.size(); I < N; ++I) {
tools/clang/utils/TableGen/MveEmitter.cpp
 1414   for (size_t i = 0; i < NumParts; ++i) {
 1488     for (size_t i = 0, e = size(); i < e; ++i)
 1552     for (size_t i = 0, e = MG.ParamTypes.size(); i < e; ++i) {
 1628       for (size_t i = 0, e = MG.ParamTypes.size(); i < e; ++i) {
 1641         for (size_t i = 0, e = MG.ParamTypes.size(); i < e; ++i)
tools/clang/utils/TableGen/NeonEmitter.cpp
 1182     size_t Pos = S.find('_');
 1197     size_t Pos = S.find('_');
 1206     size_t Pos = S.find('$');
 1207     size_t End = Pos + 1;
 1878   size_t Idx = S.find(ToReplace);
tools/dsymutil/DebugMap.cpp
  188 size_t
  197     size_t index) {
tools/dsymutil/DebugMap.h
  252   static size_t
  256           size_t index);
tools/dsymutil/DwarfLinker.cpp
 1444   size_t FirstSpace = ClassNameStart.find(' ');
 1461     size_t OpenParens = ClassName.find('(');
tools/dsymutil/DwarfStreamer.cpp
  212   DenseMap<unsigned, size_t> UniqueIdToCuMap;
tools/gold/gold-plugin.cpp
 1041   size_t MaxTasks = Lto->getMaxTasks();
tools/lld/COFF/Chunks.cpp
  359   size_t inputSize = getSize();
  360   for (size_t i = 0, e = relocsSize; i < e; i++) {
  454   for (size_t i = 0, e = relocsSize; i < e; i++) {
  709 size_t RangeExtensionThunkARM::getSize() const {
  729 size_t RangeExtensionThunkARM64::getSize() const {
  745 size_t LocalImportChunk::getSize() const { return config->wordsize; }
  757   size_t cnt = 0;
  766 size_t PseudoRelocTableChunk::getSize() const {
  784   size_t idx = 3;
  893     size_t off = builder.getOffset(toStringRef(c->getContents()));
  902 size_t MergeChunk::getSize() const {
  911 size_t AbsolutePointerChunk::getSize() const { return config->wordsize; }
tools/lld/COFF/Chunks.h
   61   size_t getSize() const;
  149   virtual size_t getSize() const = 0;
  203   size_t getSize() const { return header->SizeOfRawData; }
  352 inline size_t Chunk::getSize() const {
  413   size_t getSize() const override;
  428   size_t getSize() const override { return sym.getValue(); }
  440   size_t getSize() const override { return str.size() + 1; }
  479   size_t getSize() const override { return sizeof(importThunkX86); }
  486   size_t getSize() const override { return sizeof(importThunkX86); }
  494   size_t getSize() const override { return sizeof(importThunkARM); }
  502   size_t getSize() const override { return sizeof(importThunkARM64); }
  509   size_t getSize() const override;
  518   size_t getSize() const override;
  531   size_t getSize() const override;
  569   size_t getSize() const override { return syms.size() * 4; }
  582   size_t getSize() const override { return data.size(); }
  606   size_t getSize() const override { return 0; }
  622   size_t getSize() const override;
  652   size_t getSize() const override;
tools/lld/COFF/Config.h
   87   size_t wordsize;
tools/lld/COFF/DLL.cpp
   42   size_t getSize() const override {
   65   size_t getSize() const override { return config->wordsize; }
   85   size_t getSize() const override { return config->wordsize; }
  104   size_t getSize() const override { return sizeof(ImportDirectoryTableEntry); }
  124   explicit NullChunk(size_t n) : size(n) { hasData = false; }
  125   size_t getSize() const override { return size; }
  132   size_t size;
  168   size_t getSize() const override {
  298   size_t getSize() const override { return sizeof(thunkX64); }
  314   size_t getSize() const override { return sizeof(tailMergeX64); }
  330   size_t getSize() const override { return sizeof(thunkX86); }
  350   size_t getSize() const override { return sizeof(tailMergeX86); }
  370   size_t getSize() const override { return sizeof(thunkARM); }
  390   size_t getSize() const override { return sizeof(tailMergeARM); }
  410   size_t getSize() const override { return sizeof(thunkARM64); }
  427   size_t getSize() const override { return sizeof(tailMergeARM64); }
  446   size_t getSize() const override { return config->wordsize; }
  477   size_t getSize() const override {
  504   explicit AddressTableChunk(size_t maxOrdinal) : size(maxOrdinal + 1) {}
  505   size_t getSize() const override { return size * 4; }
  525   size_t size;
  531   size_t getSize() const override { return chunks.size() * 4; }
  546   explicit ExportOrdinalChunk(size_t i) : size(i) {}
  547   size_t getSize() const override { return size * 2; }
  559   size_t size;
  573     size_t base = lookups.size();
  634     size_t base = addresses.size();
tools/lld/COFF/Driver.cpp
  970   size_t cursor = 0;
  972     size_t firstMark, secondMark;
tools/lld/COFF/DriverUtils.cpp
  451 createMemoryBufferForManifestRes(size_t manifestSize) {
  452   size_t resSize = alignTo(
  468 static void writeResEntryHeader(char *&buf, size_t manifestSize) {
tools/lld/COFF/ICF.cpp
   47   void segregate(size_t begin, size_t end, bool constant);
   47   void segregate(size_t begin, size_t end, bool constant);
   56   size_t findBoundary(size_t begin, size_t end);
   56   size_t findBoundary(size_t begin, size_t end);
   56   size_t findBoundary(size_t begin, size_t end);
   58   void forEachClassRange(size_t begin, size_t end,
   58   void forEachClassRange(size_t begin, size_t end,
   59                          std::function<void(size_t, size_t)> fn);
   59                          std::function<void(size_t, size_t)> fn);
   61   void forEachClass(std::function<void(size_t, size_t)> fn);
   61   void forEachClass(std::function<void(size_t, size_t)> fn);
  103 void ICF::segregate(size_t begin, size_t end, bool constant) {
  103 void ICF::segregate(size_t begin, size_t end, bool constant) {
  113     size_t mid = bound - chunks.begin();
  117     for (size_t i = begin; i < mid; ++i)
  194 size_t ICF::findBoundary(size_t begin, size_t end) {
  194 size_t ICF::findBoundary(size_t begin, size_t end) {
  194 size_t ICF::findBoundary(size_t begin, size_t end) {
  195   for (size_t i = begin + 1; i < end; ++i)
  201 void ICF::forEachClassRange(size_t begin, size_t end,
  201 void ICF::forEachClassRange(size_t begin, size_t end,
  202                             std::function<void(size_t, size_t)> fn) {
  202                             std::function<void(size_t, size_t)> fn) {
  204     size_t mid = findBoundary(begin, end);
  211 void ICF::forEachClass(std::function<void(size_t, size_t)> fn) {
  211 void ICF::forEachClass(std::function<void(size_t, size_t)> fn) {
  224   const size_t numShards = 256;
  225   size_t step = chunks.size() / numShards;
  226   size_t boundaries[numShards + 1];
  306     for (size_t i = begin + 1; i < end; ++i) {
tools/lld/COFF/InputFiles.cpp
  903   for (size_t i = 0; i != obj->getComdatTable().size(); ++i)
tools/lld/COFF/MapFile.cpp
   85   for (size_t i = 0, e = syms.size(); i < e; ++i)
tools/lld/COFF/PDB.cpp
  701   size_t size = alignTo(sym.length(), alignOf(CodeViewContainer::Pdb));
 1759         size_t offsetInDbgC = bytes.data() - dbgC->getContents().data();
tools/lld/COFF/SymbolTable.cpp
  166   size_t i = 0;
  206   const size_t maxUndefReferences = 10;
  207   size_t i = 0, numRefs = 0;
  268   size_t impSize = 0;
tools/lld/COFF/Symbols.cpp
   96 void Symbol::replaceKeepingName(Symbol *other, size_t size) {
  104   size_t symSize = cast<ObjFile>(file)->getCOFFObj()->getSymbolTableEntrySize();
tools/lld/COFF/Symbols.h
   74   void replaceKeepingName(Symbol *other, size_t size);
tools/lld/COFF/Writer.cpp
   97   size_t getSize() const override {
  128   void fillEntry(debug_directory *d, COFF::DebugType debugType, size_t size,
  149   size_t getSize() const override {
  229   size_t addEntryToStringTable(StringRef str);
  404   size_t thunksSize = 0;
  407   for (size_t i = 0; i != os->chunks.size(); ++i) {
  411     size_t thunkInsertionSpot = i + 1;
  416     size_t thunkInsertionRVA = sc->getRVA() + sc->getSize() + thunksSize;
  421     for (size_t j = 0, e = originalRelocs.size(); j < e; ++j) {
  485     for (size_t i = 0, e = originalRelocs.size(); i != e; ++i) {
  506     for (size_t j = 0, e = relocs.size(); j < e; ++j) {
  530   size_t origNumChunks = 0;
  542     size_t numChunks = 0;
 1075 size_t Writer::addEntryToStringTable(StringRef str) {
 1077   size_t offsetOfEntry = strtab.size() + 4; // +4 for the size field
 1454   for (size_t i = 0; i != numberOfSymbols; ++i)
 1914   size_t i = 0, j = 1;
 1915   for (size_t e = v.size(); j < e; ++j) {
tools/lld/ELF/AArch64ErrataFix.cpp
  380   size_t getSize() const override { return 8; }
tools/lld/ELF/ARMErrataFix.cpp
   80   size_t getSize() const override { return 4; }
tools/lld/ELF/Arch/Hexagon.cpp
   75   size_t off = 0;
   77   for (size_t bit = 0; bit != 32; ++bit) {
tools/lld/ELF/Arch/PPC.cpp
   65 void writePPC32GlinkSection(uint8_t *buf, size_t numEntries) {
   76   for (size_t i = 0; i != numEntries; ++i)
tools/lld/ELF/CallGraphSort.cpp
   62   Cluster(int sec, size_t s) : next(sec), prev(sec), size(s) {}
   72   size_t size = 0;
tools/lld/ELF/Driver.cpp
 1327       size_t pos = s.find_first_of(",:");
 1650     for (size_t i = 0, e = syms.size(); i != e; ++i)
 1738   for (size_t i = 0; i < files.size(); ++i)
tools/lld/ELF/DriverUtils.cpp
  101   for (size_t i = 0, e = args.size(); i != e; ++i) {
tools/lld/ELF/EhFrame.cpp
   39   size_t readEhRecordSize();
   49   void skipBytes(size_t count);
   59 size_t readEhRecordSize(InputSectionBase *s, size_t off) {
   59 size_t readEhRecordSize(InputSectionBase *s, size_t off) {
   65 size_t EhReader::readEhRecordSize() {
   90 void EhReader::skipBytes(size_t count) {
  121 static size_t getAugPSize(unsigned enc) {
  143   size_t size = getAugPSize(enc);
tools/lld/ELF/EhFrame.h
   19 size_t readEhRecordSize(InputSectionBase *s, size_t off);
   19 size_t readEhRecordSize(InputSectionBase *s, size_t off);
tools/lld/ELF/ICF.cpp
  103   void segregate(size_t begin, size_t end, bool constant);
  103   void segregate(size_t begin, size_t end, bool constant);
  116   size_t findBoundary(size_t begin, size_t end);
  116   size_t findBoundary(size_t begin, size_t end);
  116   size_t findBoundary(size_t begin, size_t end);
  118   void forEachClassRange(size_t begin, size_t end,
  118   void forEachClassRange(size_t begin, size_t end,
  119                          llvm::function_ref<void(size_t, size_t)> fn);
  119                          llvm::function_ref<void(size_t, size_t)> fn);
  121   void forEachClass(llvm::function_ref<void(size_t, size_t)> fn);
  121   void forEachClass(llvm::function_ref<void(size_t, size_t)> fn);
  198 void ICF<ELFT>::segregate(size_t begin, size_t end, bool constant) {
  198 void ICF<ELFT>::segregate(size_t begin, size_t end, bool constant) {
  217     size_t mid = bound - sections.begin();
  222     for (size_t i = begin; i < mid; ++i)
  238   for (size_t i = 0; i < ra.size(); ++i) {
  327   for (size_t i = 0; i < ra.size(); ++i) {
  367 template <class ELFT> size_t ICF<ELFT>::findBoundary(size_t begin, size_t end) {
  367 template <class ELFT> size_t ICF<ELFT>::findBoundary(size_t begin, size_t end) {
  367 template <class ELFT> size_t ICF<ELFT>::findBoundary(size_t begin, size_t end) {
  369   for (size_t i = begin + 1; i < end; ++i)
  381 void ICF<ELFT>::forEachClassRange(size_t begin, size_t end,
  381 void ICF<ELFT>::forEachClassRange(size_t begin, size_t end,
  382                                   llvm::function_ref<void(size_t, size_t)> fn) {
  382                                   llvm::function_ref<void(size_t, size_t)> fn) {
  384     size_t mid = findBoundary(begin, end);
  392 void ICF<ELFT>::forEachClass(llvm::function_ref<void(size_t, size_t)> fn) {
  392 void ICF<ELFT>::forEachClass(llvm::function_ref<void(size_t, size_t)> fn) {
  408   const size_t numShards = 256;
  409   size_t step = sections.size() / numShards;
  410   size_t boundaries[numShards + 1];
  492     for (size_t i = begin + 1; i < end; ++i) {
tools/lld/ELF/InputFiles.cpp
   85   size_t bufSize = mb.getBuffer().size();
  509   for (size_t i = 0, e = objSections.size(); i < e; ++i) {
  590   for (size_t i = 0, e = objSections.size(); i < e; ++i) {
  988   for (size_t i = 0, end = eSyms.size(); i != end; ++i)
  994   for (size_t i = 0, end = eSyms.size(); i != end; ++i) {
 1238   size_t size = numELFSyms - firstGlobal;
 1245     for (size_t i = 0; i < size; ++i)
 1256   for (size_t i = 0; i < syms.size(); ++i) {
 1454   for (size_t i = 0; i < s.size(); ++i)
 1536     for (size_t i = firstGlobal, end = eSyms.size(); i != end; ++i)
tools/lld/ELF/InputFiles.h
  141   llvm::Optional<size_t> mipsGotIndex;
  177   size_t numELFSyms = 0;
tools/lld/ELF/InputSection.cpp
  136 size_t InputSectionBase::getSize() const {
  145   size_t size = uncompressedSize;
 1123     size_t size = uncompressedSize;
 1198   for (size_t off = 0, end = data().size(); off != end;) {
 1199     size_t size = readEhRecordSize(this, off);
 1208 static size_t findNull(StringRef s, size_t entSize) {
 1208 static size_t findNull(StringRef s, size_t entSize) {
 1227 void MergeInputSection::splitStrings(ArrayRef<uint8_t> data, size_t entSize) {
 1228   size_t off = 0;
 1233     size_t end = findNull(s, entSize);
 1236     size_t size = end + entSize;
 1247                                         size_t entSize) {
 1248   size_t size = data.size();
 1252   for (size_t i = 0; i != size; i += entSize)
tools/lld/ELF/InputSection.h
  163   size_t getSize() const;
  198     size_t s = data().size();
  221   SectionPiece(size_t off, uint32_t hash, bool live)
  255   llvm::CachedHashStringRef getData(size_t i) const {
  256     size_t begin = pieces[i].inputOff;
  257     size_t end =
  271   void splitStrings(ArrayRef<uint8_t> a, size_t size);
  272   void splitNonStrings(ArrayRef<uint8_t> a, size_t size);
  276   EhSectionPiece(size_t off, InputSectionBase *sec, uint32_t size,
  284   size_t inputOff;
tools/lld/ELF/LTO.cpp
  170   for (size_t i = 0, e = syms.size(); i != e; ++i) {
tools/lld/ELF/LinkerScript.cpp
  414     size_t sizeBefore = ret.size();
  479   size_t i = 0;
 1139     for (size_t id : getPhdrIndices(sec)) {
 1183 static Optional<size_t> getPhdrIndex(ArrayRef<PhdrsCommand> vec,
 1185   for (size_t i = 0; i < vec.size(); ++i)
 1193 std::vector<size_t> LinkerScript::getPhdrIndices(OutputSection *cmd) {
 1194   std::vector<size_t> ret;
 1197     if (Optional<size_t> idx = getPhdrIndex(phdrsCommands, s))
tools/lld/ELF/LinkerScript.h
  240   std::vector<size_t> getPhdrIndices(OutputSection *sec);
tools/lld/ELF/MapFile.cpp
   97   for (size_t i = 0, e = syms.size(); i < e; ++i)
tools/lld/ELF/MarkLive.cpp
  138   for (size_t i = 0, end = eh.pieces.size(); i < end; ++i) {
  140     size_t firstRelI = piece.firstRelocation;
  155     for (size_t j = firstRelI, end2 = rels.size(); j < end2; ++j)
tools/lld/ELF/OutputSections.cpp
  225   for (size_t i = 0; i < v.size(); ++i)
  248 static void fill(uint8_t *buf, size_t size,
  250   size_t i = 0;
  455   size_t pos = s.rfind('.');
tools/lld/ELF/Relocations.cpp
  728   for (size_t i = 0, e = name.size(); i != e + 1; ++i) {
  787   const size_t maxUndefReferences = 10;
  788   size_t i = 0;
  929   size_t i = 0;
tools/lld/ELF/ScriptLexer.cpp
   47   size_t pos = s.rfind('\n', tok.data() - s.data());
   54 size_t ScriptLexer::getLineNumber() {
   61 size_t ScriptLexer::getColumnNumber() {
  102       size_t e = s.find("\"", 1);
  105         size_t lineno = begin.substr(0, s.data() - begin.data()).count('\n');
  126     size_t pos = s.find_first_not_of(
  145       size_t e = s.find("*/", 2);
  154       size_t e = s.find('\n', 1);
  160     size_t size = s.size();
  182     size_t e = s.find_first_of(ops);
tools/lld/ELF/ScriptLexer.h
   41   size_t pos = 0;
   46   size_t getLineNumber();
   47   size_t getColumnNumber();
tools/lld/ELF/ScriptParser.cpp
  794   size_t symbolsReferenced = script->referencedSymbols.size();
  910   size_t oldPos = pos;
 1097   size_t oldPos = pos;
tools/lld/ELF/SymbolTable.cpp
   59   size_t pos = name.find('@');
tools/lld/ELF/Symbols.cpp
  207   size_t pos = s.find('@');
tools/lld/ELF/Symbols.h
  234   inline size_t getSymbolSize() const;
  498 size_t Symbol::getSymbolSize() const {
tools/lld/ELF/SyntheticSections.cpp
   54 constexpr size_t MergeNoTailSection::numShards;
  113     const size_t size = sec->data().size();
  272 static size_t getHashSize() {
  320 size_t GnuPropertySection::getSize() const { return config->is64 ? 32 : 28; }
  409     size_t offset = piece.inputOff;
  451   size_t aligned = alignTo(d.size(), config->wordsize);
  484   size_t off = 0;
  560 uint64_t EhFrameSection::getFdePc(uint8_t *buf, size_t fdeOff,
  564   size_t off = fdeOff + 8;
  576     size_t cieOffset = rec->cie->outputOff;
  580       size_t off = fde->outputOff;
  699 size_t MipsGotSection::FileGot::getEntriesNum() const {
  704 size_t MipsGotSection::FileGot::getPageEntriesNum() const {
  705   size_t num = 0;
  711 size_t MipsGotSection::FileGot::getIndexedEntriesNum() const {
  712   size_t count = getPageEntriesNum() + local16.size() + global.size();
  795   size_t count = isPrimary ? headerEntriesNum : 0;
  903   size_t index = headerEntriesNum;
  941     for (std::pair<Symbol *, size_t> &p : got.tls) {
  947     for (std::pair<Symbol *, size_t> &p : got.dynTlsSymbols) {
  977     for (const std::pair<Symbol *, size_t> &p : got.global) {
  986       size_t pageCount = l.second.count;
  987       for (size_t pi = 0; pi < pageCount; ++pi) {
  993     for (const std::pair<GotEntry, size_t> &p : got.local16) {
 1043       size_t pageCount = l.second.count;
 1045       for (size_t pi = 0; pi < pageCount; ++pi)
 1053     for (const std::pair<GotEntry, size_t> &p : g.local16)
 1058       for (const std::pair<const Symbol *, size_t> &p : g.global)
 1060     for (const std::pair<Symbol *, size_t> &p : g.relocs)
 1062     for (const std::pair<Symbol *, size_t> &p : g.tls)
 1064     for (const std::pair<Symbol *, size_t> &p : g.dynTlsSymbols) {
 1099 size_t GotPltSection::getSize() const {
 1143 size_t IgotPltSection::getSize() const {
 1223   size_t tagOffset = entries.size() * entsize;
 1253     size_t size = relaDyn->getSize();
 1267   size_t size = in.relaPlt->getSize();
 1364       size_t numRelativeRels = part.relaDyn->getRelativeRelocCount();
 1676   size_t oldSize = relocData.size();
 1904   size_t oldSize = relrRelocs.size();
 1909   const size_t wordsize = sizeof(typename ELFT::uint);
 1913   const size_t nBits = wordsize * 8 - 1;
 1923   for (size_t i = 0, e = offsets.size(); i < e;) {
 2017     size_t i = 0;
 2036   size_t numLocals = e - symbols.begin();
 2062 size_t SymbolTableBaseSection::getSymbolIndex(Symbol *sym) {
 2070     size_t i = 0;
 2223   size_t size = 0;
 2234 size_t SymtabShndxSection::getSize() const {
 2323     size_t i = (sym.hash / c) & (maskWords - 1);
 2381   nBuckets = std::max<size_t>((v.end() - mid) / 4, 1);
 2472   size_t off = headerSize;
 2477   size_t pltOff = isIplt ? in.plt->getSize() : 0;
 2479   for (size_t i = 0, e = entries.size(); i != e; ++i) {
 2494 size_t PltSection::getSize() const {
 2505   size_t off = headerSize;
 2506   for (size_t i = 0; i < entries.size(); ++i) {
 2525 size_t GdbIndexSection::computeSymtabSize() const {
 2526   return std::max<size_t>(NextPowerOf2(symbols.size() * 4 / 3), 1024);
 2642   size_t numShards = 32;
 2643   size_t concurrency = 1;
 2646         std::min<size_t>(PowerOf2Floor(hardware_concurrency()), numShards);
 2649   std::vector<DenseMap<CachedHashStringRef, size_t>> map(numShards);
 2650   size_t shift = 32 - countTrailingZeros(numShards);
 2658         size_t shardId = ent.name.hash() >> shift;
 2663         size_t &idx = map[shardId][ent.name];
 2676   size_t numSymbols = 0;
 2690   size_t off = 0;
 2770   size_t symtabSize = computeSymtabSize();
 2843 size_t EhFrameHeader::getSize() const {
 2879                                         StringRef name, size_t nameOff) {
 2909 size_t VersionDefinitionSection::getSize() const {
 2926 size_t VersionTableSection::getSize() const {
 3021 template <class ELFT> size_t VersionNeedSection<ELFT>::getSize() const {
 3042 size_t MergeTailSection::getSize() const { return builder.getSize(); }
 3050     for (size_t i = 0, e = sec->pieces.size(); i != e; ++i)
 3061     for (size_t i = 0, e = sec->pieces.size(); i != e; ++i)
 3067   for (size_t i = 0; i < numShards; ++i)
 3081   for (size_t i = 0; i < numShards; ++i)
 3086   size_t concurrency = 1;
 3089         std::min<size_t>(PowerOf2Floor(hardware_concurrency()), numShards);
 3094       for (size_t i = 0, e = sec->pieces.size(); i != e; ++i) {
 3097         size_t shardId = getShardId(sec->pieces[i].hash);
 3105   size_t off = 0;
 3106   for (size_t i = 0; i < numShards; ++i) {
 3118     for (size_t i = 0, e = sec->pieces.size(); i != e; ++i)
 3274     size_t prev = 0;
 3275     for (size_t i = 1; i < executableSections.size(); ++i) {
 3286   size_t offset = 0;
 3437 size_t PPC64LongBranchTargetSection::getSize() const {
 3535 size_t PartitionElfHeaderSection<ELFT>::getSize() const {
 3553 size_t PartitionProgramHeadersSection<ELFT>::getSize() const {
 3565 size_t PartitionIndexSection::getSize() const {
 3570   for (size_t i = 1; i != partitions.size(); ++i)
 3576   for (size_t i = 1; i != partitions.size(); ++i) {
tools/lld/ELF/SyntheticSections.h
   49   virtual size_t getSize() const = 0;
   73   size_t getSize() const override { return size; }
   82   size_t numFdes = 0;
   95   llvm::DenseMap<size_t, CieRecord *> offsetToCie;
  110   uint64_t getFdePc(uint8_t *buf, size_t off, uint8_t enc) const;
  121   size_t getSize() const override { return size; }
  140   size_t numEntries = 0;
  151   size_t getSize() const override { return 0; }
  158   size_t getSize() const override;
  167   const size_t hashSize;
  170   size_t getSize() const override { return headerSize + hashSize; }
  188   size_t getSize() const override { return size; }
  198   size_t getSize() const override { return size; }
  328     size_t startIndex = 0;
  331       size_t firstIndex;
  332       size_t count;
  341     llvm::MapVector<GotEntry, size_t> local16;
  342     llvm::MapVector<GotEntry, size_t> local32;
  343     llvm::MapVector<Symbol *, size_t> global;
  344     llvm::MapVector<Symbol *, size_t> relocs;
  345     llvm::MapVector<Symbol *, size_t> tls;
  347     llvm::MapVector<Symbol *, size_t> dynTlsSymbols;
  350     size_t getEntriesNum() const;
  352     size_t getPageEntriesNum() const;
  354     size_t getIndexedEntriesNum() const;
  375   size_t getSize() const override;
  395   size_t getSize() const override;
  408   size_t getSize() const override { return size; }
  472   size_t getSize() const override { return size; }
  499   size_t getSize() const override { return relocs.size() * this->entsize; }
  500   size_t getRelativeRelocCount() const { return numRelativeRelocs; }
  506   size_t numRelativeRelocs = 0;
  531   size_t getSize() const override { return relocData.size(); }
  565   size_t getSize() const override { return relrRelocs.size() * this->entsize; }
  576   size_t strTabOffset;
  583   size_t getSize() const override { return getNumSymbols() * entsize; }
  586   size_t getSymbolIndex(Symbol *sym);
  598   llvm::DenseMap<Symbol *, size_t> symbolIndexMap;
  599   llvm::DenseMap<OutputSection *, size_t> sectionIndexMap;
  616   size_t getSize() const override;
  628   size_t getSize() const override { return size; }
  643     size_t strTabOffset;
  649   size_t maskWords;
  650   size_t nBuckets = 0;
  651   size_t size = 0;
  659   size_t getSize() const override { return size; }
  662   size_t size = 0;
  673   size_t getSize() const override;
  678   size_t headerSize;
  720   size_t getSize() const override { return size; }
  734   size_t computeSymtabSize() const;
  743   size_t size;
  760   size_t getSize() const override;
  776   size_t getSize() const override;
  781   void writeOne(uint8_t *buf, uint32_t index, StringRef name, size_t nameOff);
  798   size_t getSize() const override;
  830   size_t getSize() const override;
  854   size_t getSize() const override;
  868   size_t getSize() const override { return size; }
  878   size_t getShardId(uint32_t hash) {
  884   size_t size;
  887   constexpr static size_t numShards = 32;
  889   size_t shardOffsets[numShards];
  901   size_t getSize() const override { return sizeof(Elf_Mips_ABIFlags); }
  919   size_t getSize() const override {
  935   size_t getSize() const override { return sizeof(Elf_Mips_RegInfo); }
  949   size_t getSize() const override { return config->wordsize; }
  995   size_t getSize() const override { return size; }
 1009   size_t size;
 1036   size_t getSize() const override { return size; }
 1043   size_t size = 0;
 1051   size_t getSize() const override { return 0; }
 1066   size_t getSize() const override;
 1080   size_t getSize() const override;
 1088   size_t getSize() const override;
 1095   size_t getSize() const override;
tools/lld/ELF/Target.h
  166 void writePPC32GlinkSection(uint8_t *buf, size_t numEntries);
tools/lld/ELF/Writer.cpp
  320     for (size_t i = 1; i <= partitions.size(); ++i) {
 1305   size_t insPt = 0;
 1836   for (size_t i = 0, e = outputSections.size(); i != e; ++i) {
 2435   for (size_t i = 1, end = sections.size(); i < end; ++i) {
 2567   size_t num = outputSections.size() + 1;
 2588   if (fileSize != size_t(fileSize) || maxSize < fileSize) {
 2666                                             size_t chunkSize) {
 2708   size_t hashSize = mainPart->buildId->hashSize;
 2710   llvm::ArrayRef<uint8_t> buf{Out::bufferStart, size_t(fileSize)};
tools/lld/include/lld/Common/Threads.h
   75 inline void parallelForEachN(size_t begin, size_t end,
   75 inline void parallelForEachN(size_t begin, size_t end,
   76                              llvm::function_ref<void(size_t)> fn) {
tools/lld/include/lld/Core/File.h
  159     size_t size() const {
  163     const OwningAtomPtr<T> &operator[](size_t idx) const {
  167     OwningAtomPtr<T> &operator[](size_t idx) {
tools/lld/include/lld/Core/Resolver.h
  100   std::map<File *, size_t> _undefineIndex;
tools/lld/lib/Core/Resolver.cpp
   51   size_t i = _undefineIndex[&file];
tools/lld/lib/ReaderWriter/MachO/LayoutPass.cpp
  382       size_t currentAtomSize = ai->size();
  437   size_t i = 0;
tools/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
  746   size_t dylibCount = 0;
 1021   size_t numLibs = std::count_if(elements.begin(), elements.end(), isLibrary);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFile.h
  290 size_t headerAndLoadCommandsSize(const NormalizedFile &file,
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
  210   size_t objSize = mb->getBufferSize();
  306           size_t contentSize = read64(&sect->size, isBig);
  350           size_t contentSize = read32(&sect->size, isBig);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryUtils.h
   55   size_t size() {
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
  114   size_t      size() const;
  117   size_t      headerAndLoadCommandsSize() const;
  235 size_t headerAndLoadCommandsSize(const NormalizedFile &file,
  250 size_t MachOFileLayout::headerAndLoadCommandsSize() const {
  262   const size_t segCommandBaseSize =
  264   const size_t sectsSize = (_is64 ? sizeof(section_64) : sizeof(section));
  386   const size_t segCommandSize =
  388   const size_t sectionSize = (_is64 ? sizeof(section_64) : sizeof(section));
  574 size_t MachOFileLayout::size() const {
  677       size_t linkeditSize = _endOfLinkEdit - _startOfLinkEdit;
 1469   const size_t nlistSize = (_is64 ? sizeof(nlist_64) : sizeof(nlist));
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
  161   void         layoutSectionsInTextSegment(size_t, SegmentInfo *, uint64_t &);
  363     size_t seperatorIndex = customName.find('/');
  566 void Util::layoutSectionsInTextSegment(size_t hlcSize, SegmentInfo *seg,
  590   size_t hlcSize = headerAndLoadCommandsSize(file,
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
   56   static size_t size(IO &io, std::vector<Section> &seq) {
   59   static Section& element(IO &io, std::vector<Section> &seq, size_t index) {
   68   static size_t size(IO &io, std::vector<Symbol> &seq) {
   71   static Symbol& element(IO &io, std::vector<Symbol> &seq, size_t index) {
   81   static size_t size(IO &io, Relocations &seq) {
   84   static Relocation& element(IO &io, Relocations &seq, size_t index) {
   94   static size_t size(IO &io, ContentBytes &seq) {
   97   static Hex8& element(IO &io, ContentBytes &seq, size_t index) {
  109   static size_t size(IO &io, IndirectSymbols &seq) {
  112   static uint32_t& element(IO &io, IndirectSymbols &seq, size_t index) {
  335       size_t size = _normalizedContent.size();
tools/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
  474     size_t modStart = scalar.find("mod");
  518   static size_t size(IO &io, AtomList<T> &seq) { return seq._atoms.size(); }
  519   static T *&element(IO &io, AtomList<T> &seq, size_t index) {
  528   static size_t size(IO &io, File::AtomRange<T> &seq) { return seq.size(); }
  529   static T *&element(IO &io, File::AtomRange<T> &seq, size_t index) {
  559   static size_t size(IO &io, std::vector<const lld::File *> &seq) {
  563                                    size_t index) {
tools/lld/wasm/Driver.cpp
  635     for (size_t i = 0, e = syms.size(); i != e; ++i)
tools/lld/wasm/InputChunks.h
   56   size_t getNumRelocations() const { return relocations.size(); }
tools/lld/wasm/InputFiles.cpp
  332   for (size_t i = 0, e = funcs.size(); i != e; ++i) {
  359     size_t idx = symbols.size();
tools/lld/wasm/OutputSections.cpp
   73 void OutputSection::createHeader(size_t bodySize) {
tools/lld/wasm/OutputSections.h
   36   void setOffset(size_t newOffset) {
   40   void createHeader(size_t bodySize);
   42   virtual size_t getSize() const = 0;
   55   size_t offset = 0;
   63   size_t getSize() const override { return header.size() + bodySize; }
   73   size_t bodySize = 0;
   81   size_t getSize() const override { return header.size() + bodySize; }
   91   size_t bodySize = 0;
  106   size_t getSize() const override {
  115   size_t payloadSize = 0;
tools/lld/wasm/SyntheticSections.h
   51   size_t getSize() const override { return header.size() + body.size(); }
tools/lld/wasm/Writer.cpp
  146   size_t origSize = outputSections.size();
  147   for (size_t i = 0; i < origSize; i++) {
  700   for (size_t i = 0; i < segments.size(); ++i)
tools/lld/wasm/WriterUtils.cpp
   80 void writeBytes(raw_ostream &os, const char *bytes, size_t count,
tools/lld/wasm/WriterUtils.h
   25 void writeBytes(raw_ostream &os, const char *bytes, size_t count,
tools/lldb/include/lldb/API/SBBreakpoint.h
  114   size_t GetNumResolvedLocations() const;
  116   size_t GetNumLocations() const;
  159   size_t GetSize() const;
  161   SBBreakpoint GetBreakpointAtIndex(size_t idx);
tools/lldb/include/lldb/API/SBCommandReturnObject.h
   47   size_t PutOutput(FILE *fh); // DEPRECATED
   49   size_t PutOutput(SBFile file);
   51   size_t PutOutput(FileSP file);
   53   size_t GetOutputSize();
   55   size_t GetErrorSize();
   57   size_t PutError(FILE *fh); // DEPRECATED
   59   size_t PutError(SBFile file);
   61   size_t PutError(FileSP file);
   97   size_t Printf(const char *format, ...) __attribute__((format(printf, 2, 3)));
tools/lldb/include/lldb/API/SBCommunication.h
   34                                           size_t src_len);
   60   size_t Read(void *dst, size_t dst_len, uint32_t timeout_usec,
   60   size_t Read(void *dst, size_t dst_len, uint32_t timeout_usec,
   63   size_t Write(const void *src, size_t src_len, lldb::ConnectionStatus &status);
   63   size_t Write(const void *src, size_t src_len, lldb::ConnectionStatus &status);
tools/lldb/include/lldb/API/SBData.h
   36   size_t GetByteSize();
   68   size_t ReadRawData(lldb::SBError &error, lldb::offset_t offset, void *buf,
   69                      size_t size);
   79   void SetData(lldb::SBError &error, const void *buf, size_t size,
   95                                                 size_t array_len);
  100                                                 size_t array_len);
  105                                                 size_t array_len);
  110                                                 size_t array_len);
  115                                                 size_t array_len);
  119   bool SetDataFromUInt64Array(uint64_t *array, size_t array_len);
  121   bool SetDataFromUInt32Array(uint32_t *array, size_t array_len);
  123   bool SetDataFromSInt64Array(int64_t *array, size_t array_len);
  125   bool SetDataFromSInt32Array(int32_t *array, size_t array_len);
  127   bool SetDataFromDoubleArray(double *array, size_t array_len);
tools/lldb/include/lldb/API/SBDebugger.h
  202   static bool GetDefaultArchitecture(char *arch_name, size_t arch_name_len);
  223   void DispatchInput(void *baton, const void *data, size_t data_len);
  225   void DispatchInput(const void *data, size_t data_len);
tools/lldb/include/lldb/API/SBFile.h
   30   SBError Read(uint8_t *buf, size_t num_bytes, size_t *bytes_read);
   30   SBError Read(uint8_t *buf, size_t num_bytes, size_t *bytes_read);
   31   SBError Write(const uint8_t *buf, size_t num_bytes, size_t *bytes_written);
   31   SBError Write(const uint8_t *buf, size_t num_bytes, size_t *bytes_written);
tools/lldb/include/lldb/API/SBFileSpec.h
   51   uint32_t GetPath(char *dst_path, size_t dst_len) const;
   53   static int ResolvePath(const char *src_path, char *dst_path, size_t dst_len);
tools/lldb/include/lldb/API/SBInstruction.h
   48   size_t GetByteSize();
tools/lldb/include/lldb/API/SBInstructionList.h
   32   size_t GetSize();
   39   size_t GetInstructionsCount(const SBAddress &start,
tools/lldb/include/lldb/API/SBModule.h
  138   size_t GetNumSymbols();
  140   lldb::SBSymbol GetSymbolAtIndex(size_t idx);
  148   size_t GetNumSections();
  150   lldb::SBSection GetSectionAtIndex(size_t idx);
tools/lldb/include/lldb/API/SBModuleSpec.h
   76   size_t GetUUIDLength();
   78   bool SetUUIDBytes(const uint8_t *uuid, size_t uuid_len);
  110   size_t GetSize();
  112   SBModuleSpec GetSpecAtIndex(size_t i);
tools/lldb/include/lldb/API/SBProcess.h
   60   size_t PutSTDIN(const char *src, size_t src_len);
   60   size_t PutSTDIN(const char *src, size_t src_len);
   62   size_t GetSTDOUT(char *dst, size_t dst_len) const;
   62   size_t GetSTDOUT(char *dst, size_t dst_len) const;
   64   size_t GetSTDERR(char *dst, size_t dst_len) const;
   64   size_t GetSTDERR(char *dst, size_t dst_len) const;
   66   size_t GetAsyncProfileData(char *dst, size_t dst_len) const;
   66   size_t GetAsyncProfileData(char *dst, size_t dst_len) const;
   91   lldb::SBThread GetThreadAtIndex(size_t index);
  114   lldb::SBQueue GetQueueAtIndex(size_t index);
  185   size_t ReadMemory(addr_t addr, void *buf, size_t size, lldb::SBError &error);
  185   size_t ReadMemory(addr_t addr, void *buf, size_t size, lldb::SBError &error);
  187   size_t WriteMemory(addr_t addr, const void *buf, size_t size,
  187   size_t WriteMemory(addr_t addr, const void *buf, size_t size,
  190   size_t ReadCStringFromMemory(addr_t addr, void *buf, size_t size,
  190   size_t ReadCStringFromMemory(addr_t addr, void *buf, size_t size,
  203   static size_t GetNumRestartedReasonsFromEvent(const lldb::SBEvent &event);
  206   GetRestartedReasonAtIndexFromEvent(const lldb::SBEvent &event, size_t idx);
tools/lldb/include/lldb/API/SBSection.h
   37   size_t GetNumSubSections();
   39   lldb::SBSection GetSubSectionAtIndex(size_t idx);
tools/lldb/include/lldb/API/SBSourceManager.h
   28   size_t DisplaySourceLinesWithLineNumbers(
   32   size_t DisplaySourceLinesWithLineNumbersAndColumn(
tools/lldb/include/lldb/API/SBStream.h
   36   size_t GetSize();
tools/lldb/include/lldb/API/SBStringList.h
   38   const char *GetStringAtIndex(size_t idx);
   40   const char *GetStringAtIndex(size_t idx) const;
tools/lldb/include/lldb/API/SBStructuredData.h
   49   size_t GetSize() const;
   61   lldb::SBStructuredData GetItemAtIndex(size_t idx) const;
   88   size_t GetStringValue(char *dst, size_t dst_len) const;
   88   size_t GetStringValue(char *dst, size_t dst_len) const;
tools/lldb/include/lldb/API/SBTarget.h
  528   size_t ReadMemory(const SBAddress addr, void *buf, size_t size,
  528   size_t ReadMemory(const SBAddress addr, void *buf, size_t size,
  748   lldb::SBWatchpoint WatchAddress(lldb::addr_t addr, size_t size, bool read,
  783                                           const void *buf, size_t size);
  791                                                     size_t size);
  794                                           const void *buf, size_t size);
  799                                                     size_t size);
tools/lldb/include/lldb/API/SBThread.h
   52   size_t GetStopReasonDataCount();
   77   size_t GetStopDescription(char *dst, size_t dst_len);
   77   size_t GetStopDescription(char *dst, size_t dst_len);
tools/lldb/include/lldb/API/SBThreadCollection.h
   30   size_t GetSize();
   32   lldb::SBThread GetThreadAtIndex(size_t idx);
tools/lldb/include/lldb/API/SBThreadPlan.h
   46   size_t GetStopReasonDataCount();
tools/lldb/include/lldb/API/SBTrace.h
   49   size_t GetTraceData(SBError &error, void *buf, size_t size, size_t offset = 0,
   49   size_t GetTraceData(SBError &error, void *buf, size_t size, size_t offset = 0,
   49   size_t GetTraceData(SBError &error, void *buf, size_t size, size_t offset = 0,
   55   size_t GetMetaData(SBError &error, void *buf, size_t size, size_t offset = 0,
   55   size_t GetMetaData(SBError &error, void *buf, size_t size, size_t offset = 0,
   55   size_t GetMetaData(SBError &error, void *buf, size_t size, size_t offset = 0,
tools/lldb/include/lldb/API/SBValue.h
   47   size_t GetByteSize();
tools/lldb/include/lldb/API/SBWatchpoint.h
   45   size_t GetWatchSize();
tools/lldb/include/lldb/Breakpoint/Breakpoint.h
  129     static size_t
  284   lldb::BreakpointLocationSP GetLocationAtIndex(size_t index);
  409   size_t GetNumResolvedLocations() const;
  421   size_t GetNumLocations() const;
tools/lldb/include/lldb/Breakpoint/BreakpointIDList.h
   34   size_t GetSize() const;
   36   const BreakpointID &GetBreakpointIDAtIndex(size_t index) const;
   38   bool RemoveBreakpointIDAtIndex(size_t index);
   47   bool FindBreakpointID(BreakpointID &bp_id, size_t *position) const;
   49   bool FindBreakpointID(const char *bp_id, size_t *position) const;
tools/lldb/include/lldb/Breakpoint/BreakpointList.h
   62   lldb::BreakpointSP GetBreakpointAtIndex(size_t i) const;
   77   size_t GetSize() const {
tools/lldb/include/lldb/Breakpoint/BreakpointLocation.h
  132   const char *GetConditionText(size_t *hash = nullptr) const;
  342   size_t m_condition_hash; ///< For testing whether the condition source code
tools/lldb/include/lldb/Breakpoint/BreakpointLocationCollection.h
   90   lldb::BreakpointLocationSP GetByIndex(size_t i);
  101   const lldb::BreakpointLocationSP GetByIndex(size_t i) const;
  107   size_t GetSize() const { return m_break_loc_collection.size(); }
tools/lldb/include/lldb/Breakpoint/BreakpointLocationList.h
   84   size_t FindInModule(Module *module,
   95   lldb::BreakpointLocationSP GetByIndex(size_t i);
  106   const lldb::BreakpointLocationSP GetByIndex(size_t i) const;
  121   size_t GetNumResolvedLocations() const;
  146   size_t GetSize() const { return m_locations.size(); }
  193   void RemoveLocationByIndex(size_t idx);
tools/lldb/include/lldb/Breakpoint/BreakpointOptions.h
  260   const char *GetConditionText(size_t *hash = nullptr) const;
  397   size_t m_condition_text_hash;
tools/lldb/include/lldb/Breakpoint/BreakpointResolverName.h
   34                          size_t num_names,
tools/lldb/include/lldb/Breakpoint/BreakpointSite.h
   59   size_t GetTrapOpcodeMaxByteSize() const;
   73   bool IntersectsRange(lldb::addr_t addr, size_t size,
   74                        lldb::addr_t *intersect_addr, size_t *intersect_size,
   75                        size_t *opcode_offset) const;
  119   size_t GetNumberOfOwners();
  130   lldb::BreakpointLocationSP GetOwnerAtIndex(size_t idx);
  141   size_t CopyOwnersList(BreakpointLocationCollection &out_collection);
  207   size_t RemoveOwner(lldb::break_id_t break_id, lldb::break_id_t break_loc_id);
tools/lldb/include/lldb/Breakpoint/BreakpointSiteList.h
  150   size_t GetSize() const {
tools/lldb/include/lldb/Breakpoint/WatchpointList.h
  160   size_t GetSize() const {
tools/lldb/include/lldb/Core/Address.h
  328   size_t MemorySize() const;
tools/lldb/include/lldb/Core/AddressRange.h
  231   size_t MemorySize() const {
tools/lldb/include/lldb/Core/AddressResolver.h
   50   size_t GetNumberOfAddresses();
   52   AddressRange &GetAddressRangeAtIndex(size_t idx);
tools/lldb/include/lldb/Core/Architecture.h
   48   virtual size_t GetBytesToSkip(Symbol &func, const Address &curr_addr) const {
tools/lldb/include/lldb/Core/Communication.h
  107                                           size_t src_len);
  191   size_t Read(void *dst, size_t dst_len, const Timeout<std::micro> &timeout,
  191   size_t Read(void *dst, size_t dst_len, const Timeout<std::micro> &timeout,
  209   size_t Write(const void *src, size_t src_len, lldb::ConnectionStatus &status,
  209   size_t Write(const void *src, size_t src_len, lldb::ConnectionStatus &status,
  318   size_t ReadFromConnection(void *dst, size_t dst_len,
  318   size_t ReadFromConnection(void *dst, size_t dst_len,
  340   virtual void AppendBytesToCache(const uint8_t *src, size_t src_len,
  359   size_t GetCachedBytes(void *dst, size_t dst_len);
  359   size_t GetCachedBytes(void *dst, size_t dst_len);
tools/lldb/include/lldb/Core/Debugger.h
  101   static size_t GetNumDebuggers();
  103   static lldb::DebuggerSP GetDebuggerAtIndex(size_t index);
  204   void PrintAsync(const char *s, size_t len, bool is_stdout);
tools/lldb/include/lldb/Core/Disassembler.h
  146                     size_t max_address_text_size);
  154   virtual size_t Decode(const Disassembler &disassembler,
  267   size_t GetSize() const;
  271   lldb::InstructionSP GetInstructionAtIndex(size_t idx) const;
  337   size_t Decode(const Disassembler &disassembler, const DataExtractor &data,
  340   void SetOpcode(size_t opcode_size, void *opcode_data);
  389                    size_t length, uint32_t max_num_instructions,
  408   static size_t
  444   size_t ParseInstructions(const ExecutionContext *exe_ctx,
  448   size_t ParseInstructions(const ExecutionContext *exe_ctx,
  452   virtual size_t DecodeInstructions(const Address &base_addr,
  455                                     size_t num_instructions, bool append,
  497     size_t current_source_line;
tools/lldb/include/lldb/Core/DumpDataExtractor.h
   83                   lldb::Format item_format, size_t item_byte_size,
   84                   size_t item_count, size_t num_per_line, uint64_t base_addr,
   84                   size_t item_count, size_t num_per_line, uint64_t base_addr,
   88 void DumpHexBytes(Stream *s, const void *src, size_t src_len,
tools/lldb/include/lldb/Core/EmulateInstruction.h
  326   typedef size_t (*ReadMemoryCallback)(EmulateInstruction *instruction,
  329                                        size_t length);
  331   typedef size_t (*WriteMemoryCallback)(EmulateInstruction *instruction,
  334                                         size_t length);
  411   size_t ReadMemory(const Context &context, lldb::addr_t addr, void *dst,
  412                     size_t dst_len);
  415                               size_t byte_size, uint64_t fail_value,
  419                    size_t src_len);
  422                            uint64_t uval, size_t uval_byte_size);
  434   static size_t ReadMemoryFrame(EmulateInstruction *instruction, void *baton,
  436                                 void *dst, size_t length);
  438   static size_t WriteMemoryFrame(EmulateInstruction *instruction, void *baton,
  440                                  const void *dst, size_t length);
  451   static size_t ReadMemoryDefault(EmulateInstruction *instruction, void *baton,
  453                                   void *dst, size_t length);
  455   static size_t WriteMemoryDefault(EmulateInstruction *instruction, void *baton,
  457                                    const void *dst, size_t length);
tools/lldb/include/lldb/Core/FileSpecList.h
  117   size_t FindFileIndex(size_t idx, const FileSpec &file, bool full) const;
  117   size_t FindFileIndex(size_t idx, const FileSpec &file, bool full) const;
  132   const FileSpec &GetFileSpecAtIndex(size_t idx) const;
  145   const FileSpec *GetFileSpecPointerAtIndex(size_t idx) const;
  157   size_t MemorySize() const;
  165   size_t GetSize() const;
  167   bool Insert(size_t idx, const FileSpec &file) {
  178   bool Replace(size_t idx, const FileSpec &file) {
  186   bool Remove(size_t idx) {
  194   static size_t GetFilesMatchingPartialPath(const char *path, bool dir_okay,
tools/lldb/include/lldb/Core/FormatEntity.h
  150       const size_t n = children.size();
  151       const size_t m = rhs.children.size();
  152       for (size_t i = 0; i < std::min<size_t>(n, m); ++i) {
  152       for (size_t i = 0; i < std::min<size_t>(n, m); ++i) {
tools/lldb/include/lldb/Core/Highlighter.h
  115                          llvm::Optional<size_t> cursor_pos,
  120                         llvm::Optional<size_t> cursor_pos,
  131                  llvm::Optional<size_t> cursor_pos,
tools/lldb/include/lldb/Core/IOHandler.h
  160   virtual void PrintAsync(Stream *stream, const char *s, size_t len) {
  308     const size_t num_lines = lines.GetSize();
  406   void PrintAsync(Stream *stream, const char *s, size_t len) override;
  502   size_t GetSize() const {
  553     const size_t num_io_handlers = m_stack.size();
  571   void PrintAsync(Stream *stream, const char *s, size_t len);
tools/lldb/include/lldb/Core/LoadedModuleInfoList.h
   87       for (size_t i = 0; i < e_num; ++i) {
tools/lldb/include/lldb/Core/Mangled.h
  196   size_t MemorySize() const;
tools/lldb/include/lldb/Core/MappedHash.h
   66     size_t GetByteSize() const {
   72     virtual size_t GetByteSize(const HeaderData &header_data) = 0;
  287       const size_t num_hash_offsets = m_header.hashes_count;
  288       for (size_t i = 0; i < num_hash_offsets; ++i) {
tools/lldb/include/lldb/Core/Module.h
   82   static size_t GetNumberAllocatedModules();
   84   static Module *GetAllocatedModuleAtIndex(size_t idx);
  375                            size_t max_matches, VariableList &variable_list);
  389   void FindGlobalVariables(const RegularExpression &regex, size_t max_matches,
  423   FindTypes(ConstString type_name, bool exact_match, size_t max_matches,
  454                             size_t max_matches, TypeList &type_list);
  544   size_t GetNumCompileUnits();
  546   lldb::CompUnitSP GetCompileUnitAtIndex(size_t idx);
  614                                   size_t size_to_read = 512);
  914     void Prune(SymbolContextList &sc_list, size_t start_idx) const;
 1047       size_t max_matches,
tools/lldb/include/lldb/Core/ModuleList.h
  188   size_t GetIndexForModule(const Module *module) const;
  200   lldb::ModuleSP GetModuleAtIndex(size_t idx) const;
  214   lldb::ModuleSP GetModuleAtIndexUnlocked(size_t idx) const;
  226   Module *GetModulePointerAtIndex(size_t idx) const;
  240   Module *GetModulePointerAtIndexUnlocked(size_t idx) const;
  281   void FindGlobalVariables(ConstString name, size_t max_matches,
  295   void FindGlobalVariables(const RegularExpression &regex, size_t max_matches,
  375                  bool name_is_fully_qualified, size_t max_matches,
  424   size_t Remove(ModuleList &module_list);
  428   size_t RemoveOrphans(bool mandatory);
  454   size_t GetSize() const;
  477   static size_t RemoveOrphanSharedModules(bool mandatory);
tools/lldb/include/lldb/Core/ModuleSpec.h
  323   size_t GetSize() const {
  346   ModuleSpec &GetModuleSpecRefAtIndex(size_t i) { return m_specs[i]; }
  348   bool GetModuleSpecAtIndex(size_t i, ModuleSpec &module_spec) const {
  387     const size_t initial_match_count = matching_list.GetSize();
tools/lldb/include/lldb/Core/Opcode.h
   63   Opcode(uint8_t *bytes, size_t length)
  183   void SetOpcodeBytes(const void *bytes, size_t length) {
tools/lldb/include/lldb/Core/RichManglingContext.h
   81   size_t m_ipd_buf_size;
   93   void processIPDStrResult(char *ipd_res, size_t res_len);
tools/lldb/include/lldb/Core/Section.h
   51   size_t AddSection(const lldb::SectionSP &section_sp);
   53   size_t AddUniqueSection(const lldb::SectionSP &section_sp);
   55   size_t FindSectionIndex(const Section *sect);
   67                                     size_t start_idx = 0) const;
   74   size_t GetSize() const { return m_sections.size(); }
   77   size_t GetNumSections(uint32_t depth) const;
   84   bool DeleteSection(size_t idx);
   86   lldb::SectionSP GetSectionAtIndex(size_t idx) const;
   88   size_t Slide(lldb::addr_t slide_amount, bool slide_children);
tools/lldb/include/lldb/Core/SourceManager.h
   44     size_t DisplaySourceLines(uint32_t line, llvm::Optional<size_t> column,
   44     size_t DisplaySourceLines(uint32_t line, llvm::Optional<size_t> column,
  123   size_t
  131   size_t DisplaySourceLinesWithLineNumbersUsingLastFile(
  136   size_t DisplayMoreWithLineNumbers(Stream *s, uint32_t count, bool reverse,
tools/lldb/include/lldb/Core/StreamAsynchronousIO.h
   30   size_t WriteImpl(const void *src, size_t src_len) override;
   30   size_t WriteImpl(const void *src, size_t src_len) override;
tools/lldb/include/lldb/Core/StreamBuffer.h
   40   size_t GetSize() const { return m_packet.size(); }
   45   size_t WriteImpl(const void *s, size_t length) override {
   45   size_t WriteImpl(const void *s, size_t length) override {
tools/lldb/include/lldb/Core/StreamFile.h
   54   size_t WriteImpl(const void *s, size_t length) override;
   54   size_t WriteImpl(const void *s, size_t length) override;
tools/lldb/include/lldb/Core/StructuredDataImpl.h
   92   size_t GetSize() const {
  115   StructuredData::ObjectSP GetItemAtIndex(size_t idx) const {
  136   size_t GetStringValue(char *dst, size_t dst_len) const {
  136   size_t GetStringValue(char *dst, size_t dst_len) const {
tools/lldb/include/lldb/Core/ThreadSafeSTLMap.h
   39   size_t Erase(const _Key &key) {
   44   size_t EraseNoLock(const _Key &key) { return m_collection.erase(key); }
tools/lldb/include/lldb/Core/ThreadSafeSTLVector.h
   40   size_t GetCount() {
   50   _Object GetObject(size_t index) {
   55   void SetObject(size_t index, const _Object &object) {
tools/lldb/include/lldb/Core/UniqueCStringMap.h
  120   size_t GetValues(ConstString unique_cstr, std::vector<T> &values) const {
  121     const size_t start_size = values.size();
  130   size_t GetValues(const RegularExpression &regex,
  132     const size_t start_size = values.size();
  144   size_t GetSize() const { return m_map.size(); }
  153   void Reserve(size_t n) { m_map.reserve(n); }
tools/lldb/include/lldb/Core/UserSettingsController.h
   68   size_t Apropos(llvm::StringRef keyword,
tools/lldb/include/lldb/Core/Value.h
   65   const static size_t kMaxByteSize = 32u;
   71     size_t length;
   84     bool SetBytes(const void *bytes, size_t length,
  181   bool SetVectorBytes(uint8_t *bytes, size_t length,
  194   size_t ResizeData(size_t len);
  194   size_t ResizeData(size_t len);
  196   size_t AppendDataToHostBuffer(const Value &rhs);
  249   size_t GetSize();
  250   Value *GetValueAtIndex(size_t idx);
tools/lldb/include/lldb/Core/ValueObject.h
  461   virtual lldb::ValueObjectSP GetChildAtIndex(size_t idx, bool can_create);
  464   lldb::ValueObjectSP GetChildAtIndexPath(llvm::ArrayRef<size_t> idxs,
  465                                           size_t *index_of_error = nullptr);
  468   GetChildAtIndexPath(llvm::ArrayRef<std::pair<size_t, bool>> idxs,
  469                       size_t *index_of_error = nullptr);
  482   virtual size_t GetIndexOfChildWithName(ConstString name);
  484   size_t GetNumChildren(uint32_t max = UINT32_MAX);
  558   lldb::ValueObjectSP GetSyntheticArrayMember(size_t index, bool can_create);
  670   std::pair<size_t, bool>
  675   virtual size_t GetPointeeData(DataExtractor &data, uint32_t item_idx = 0,
  795     bool HasChildAtIndex(size_t idx) {
  800     ValueObject *GetChildAtIndex(size_t idx) {
  806     void SetChildAtIndex(size_t idx, ValueObject *valobj) {
  813     void SetChildrenCount(size_t count) { Clear(count); }
  815     size_t GetChildrenCount() { return m_children_count; }
  817     void Clear(size_t new_count = 0) {
  824     typedef std::map<size_t, ValueObject *> ChildrenMap;
  829     size_t m_children_count;
  953   virtual ValueObject *CreateChildAtIndex(size_t idx,
  958   virtual size_t CalculateNumChildren(uint32_t max = UINT32_MAX) = 0;
  960   void SetNumChildren(size_t num_children);
tools/lldb/include/lldb/Core/ValueObjectCast.h
   35   size_t CalculateNumChildren(uint32_t max) override;
tools/lldb/include/lldb/Core/ValueObjectChild.h
   43   size_t CalculateNumChildren(uint32_t max) override;
tools/lldb/include/lldb/Core/ValueObjectConstResult.h
   69   size_t CalculateNumChildren(uint32_t max) override;
   77   void SetByteSize(size_t size);
   81   ValueObject *CreateChildAtIndex(size_t idx, bool synthetic_array_member,
   93   size_t GetPointeeData(DataExtractor &data, uint32_t item_idx = 0,
tools/lldb/include/lldb/Core/ValueObjectConstResultCast.h
   38   ValueObject *CreateChildAtIndex(size_t idx, bool synthetic_array_member,
   51   size_t GetPointeeData(DataExtractor &data, uint32_t item_idx = 0,
tools/lldb/include/lldb/Core/ValueObjectConstResultChild.h
   44   ValueObject *CreateChildAtIndex(size_t idx, bool synthetic_array_member,
   60   size_t GetPointeeData(DataExtractor &data, uint32_t item_idx = 0,
tools/lldb/include/lldb/Core/ValueObjectConstResultImpl.h
   41   ValueObject *CreateChildAtIndex(size_t idx, bool synthetic_array_member,
   64   virtual size_t GetPointeeData(DataExtractor &data, uint32_t item_idx = 0,
tools/lldb/include/lldb/Core/ValueObjectDynamicValue.h
   46   size_t CalculateNumChildren(uint32_t max) override;
tools/lldb/include/lldb/Core/ValueObjectList.h
   33   size_t GetSize() const;
   35   void Resize(size_t size);
   37   lldb::ValueObjectSP GetValueObjectAtIndex(size_t idx);
   39   lldb::ValueObjectSP RemoveValueObjectAtIndex(size_t idx);
   41   void SetValueObjectAtIndex(size_t idx, const lldb::ValueObjectSP &valobj_sp);
tools/lldb/include/lldb/Core/ValueObjectMemory.h
   49   size_t CalculateNumChildren(uint32_t max) override;
tools/lldb/include/lldb/Core/ValueObjectRegister.h
   49   size_t CalculateNumChildren(uint32_t max) override;
   51   ValueObject *CreateChildAtIndex(size_t idx, bool synthetic_array_member,
   86   size_t CalculateNumChildren(uint32_t max) override;
   88   ValueObject *CreateChildAtIndex(size_t idx, bool synthetic_array_member,
   94   size_t GetIndexOfChildWithName(ConstString name) override;
  131   size_t CalculateNumChildren(uint32_t max) override;
tools/lldb/include/lldb/Core/ValueObjectSyntheticFilter.h
   51   size_t CalculateNumChildren(uint32_t max) override;
   55   lldb::ValueObjectSP GetChildAtIndex(size_t idx, bool can_create) override;
   60   size_t GetIndexOfChildWithName(ConstString name) override;
tools/lldb/include/lldb/Core/ValueObjectVariable.h
   48   size_t CalculateNumChildren(uint32_t max) override;
tools/lldb/include/lldb/DataFormatters/DataVisualization.h
  125     static lldb::TypeCategoryImplSP GetCategoryAtIndex(size_t);
tools/lldb/include/lldb/DataFormatters/DumpValueObjectOptions.h
   38     size_t m_element_count;
   39     size_t m_base_element;
   40     size_t m_stride;
   45     PointerAsArraySettings(size_t elem_count, size_t base_elem = 0,
   45     PointerAsArraySettings(size_t elem_count, size_t base_elem = 0,
   46                            size_t stride = 1)
tools/lldb/include/lldb/DataFormatters/FormatManager.h
  102   lldb::TypeCategoryImplSP GetCategoryAtIndex(size_t index) {
tools/lldb/include/lldb/DataFormatters/FormattersContainer.h
  130   ValueSP GetValueAtIndex(size_t index) {
  138   KeyType GetKeyAtIndex(size_t index) {
  206   MapValueType GetAtIndex(size_t index) {
  210   lldb::TypeNameSpecifierImplSP GetTypeNameSpecifierAtIndex(size_t index) {
  266   GetTypeNameSpecifierAtIndex_Impl(size_t index, ConstString *dummy) {
  276   GetTypeNameSpecifierAtIndex_Impl(size_t index, RegularExpression *dummy) {
tools/lldb/include/lldb/DataFormatters/FormattersHelpers.h
   55 size_t ExtractIndexFromString(const char *item_name);
  136   size_t GetBitSize() const { return ptr_size << 3; }
  138   size_t GetByteSize() const { return ptr_size; }
  171   InferiorSizedWord(uint64_t val, size_t psz) : ptr_size(psz) {
  178   size_t ptr_size;
tools/lldb/include/lldb/DataFormatters/StringPrinter.h
  200     size_t m_size;
  205       uint8_t, char, size_t>(uint8_t *, uint8_t *, uint8_t *&)>
tools/lldb/include/lldb/DataFormatters/TypeCategory.h
  285   GetTypeNameSpecifierForFormatAtIndex(size_t index);
  288   GetTypeNameSpecifierForSummaryAtIndex(size_t index);
  290   FormatContainer::MapValueType GetFormatAtIndex(size_t index);
  292   SummaryContainer::MapValueType GetSummaryAtIndex(size_t index);
  294   FilterContainer::MapValueType GetFilterAtIndex(size_t index);
  297   GetTypeNameSpecifierForFilterAtIndex(size_t index);
  309   SynthContainer::MapValueType GetSyntheticAtIndex(size_t index);
  312   GetTypeNameSpecifierForSyntheticAtIndex(size_t index);
  322   ValidatorContainer::MapValueType GetValidatorAtIndex(size_t index);
  325   GetTypeNameSpecifierForValidatorAtIndex(size_t index);
  356   size_t GetNumLanguages();
  358   lldb::LanguageType GetLanguageAtIndex(size_t idx);
tools/lldb/include/lldb/DataFormatters/TypeSynthetic.h
   41   virtual size_t CalculateNumChildren() = 0;
   43   virtual size_t CalculateNumChildren(uint32_t max) {
   48   virtual lldb::ValueObjectSP GetChildAtIndex(size_t idx) = 0;
   50   virtual size_t GetIndexOfChildWithName(ConstString name) = 0;
  109   size_t CalculateNumChildren() override { return 0; }
  111   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override { return nullptr; }
  113   size_t GetIndexOfChildWithName(ConstString name) override {
  291   size_t GetCount() const { return m_expression_paths.size(); }
  293   const char *GetExpressionPathAtIndex(size_t i) const {
  297   bool SetExpressionPathAtIndex(size_t i, const char *path) {
  303   bool SetExpressionPathAtIndex(size_t i, const std::string &path);
  316     size_t CalculateNumChildren() override { return filter->GetCount(); }
  318     lldb::ValueObjectSP GetChildAtIndex(size_t idx) override {
  329     size_t GetIndexOfChildWithName(ConstString name) override;
  415     size_t CalculateNumChildren() override;
  417     size_t CalculateNumChildren(uint32_t max) override;
  419     lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
  425     size_t GetIndexOfChildWithName(ConstString name) override;
tools/lldb/include/lldb/DataFormatters/ValueObjectPrinter.h
  112   lldb::ValueObjectSP GenerateChild(ValueObject *synth_valobj, size_t idx);
tools/lldb/include/lldb/DataFormatters/VectorIterator.h
   26   size_t CalculateNumChildren() override;
   28   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
   34   size_t GetIndexOfChildWithName(ConstString name) override;
tools/lldb/include/lldb/Expression/DiagnosticManager.h
  120   size_t Printf(DiagnosticSeverity severity, const char *format, ...)
tools/lldb/include/lldb/Expression/ExpressionVariable.h
   35   size_t GetByteSize() { return m_frozen_sp->GetByteSize(); }
  125   size_t GetSize() { return m_variables.size(); }
  127   lldb::ExpressionVariableSP GetVariableAtIndex(size_t index) {
  134   size_t AddVariable(const lldb::ExpressionVariableSP &var_sp) {
  147     const size_t size = m_variables.size();
  148     for (size_t index = 0; index < size; ++index) {
  165     for (size_t index = 0, size = GetSize(); index < size; ++index) {
  178     for (size_t index = 0, size = GetSize(); index < size; ++index) {
tools/lldb/include/lldb/Expression/FunctionCaller.h
  334   size_t m_struct_size; ///< The size of the argument struct, in bytes.
tools/lldb/include/lldb/Expression/IRExecutionUnit.h
   85   lldb::addr_t WriteNow(const uint8_t *bytes, size_t size, Status &error);
  302                           size_t Size) override {}
  347     size_t m_size;
  352                      lldb::SectionType sect_type, size_t size,
tools/lldb/include/lldb/Expression/IRMemoryMap.h
   53   lldb::addr_t Malloc(size_t size, uint8_t alignment, uint32_t permissions,
   59                    size_t size, Status &error);
   61                            size_t size, Status &error);
   64   void ReadMemory(uint8_t *bytes, lldb::addr_t process_address, size_t size,
   67                             size_t size, Status &error);
   70   bool GetAllocSize(lldb::addr_t address, size_t &size);
   72                      size_t size, Status &error);
   94     size_t m_size;       ///< The size of the requested allocation.
  107                size_t size, uint32_t permissions, uint8_t alignment,
  122   lldb::addr_t FindSpace(size_t size);
  124   AllocationMap::iterator FindAllocation(lldb::addr_t addr, size_t size);
  128   bool IntersectsAllocation(lldb::addr_t addr, size_t size) const;
  131   static bool AllocationsIntersect(lldb::addr_t addr1, size_t size1,
  132                                    lldb::addr_t addr2, size_t size2);
tools/lldb/include/lldb/Host/Debug.h
   42   ResumeActionList(const ResumeAction *actions, size_t num_actions)
   78     const size_t num_actions = m_actions.size();
   79     for (size_t i = 0; i < num_actions; ++i) {
   88   size_t NumActionsWithState(lldb::StateType state) const {
   89     size_t count = 0;
   90     const size_t num_actions = m_actions.size();
   91     for (size_t i = 0; i < num_actions; ++i) {
  111       const size_t num_actions = m_actions.size();
  112       for (size_t i = 0; i < num_actions; ++i) {
  121   size_t GetSize() const { return m_actions.size(); }
tools/lldb/include/lldb/Host/Editline.h
  200   void PrintAsync(Stream *stream, const char *s, size_t len);
tools/lldb/include/lldb/Host/File.h
   88   Status Read(void *buf, size_t &num_bytes) override;
  105   Status Write(const void *buf, size_t &num_bytes) override;
  240   virtual Status Read(void *dst, size_t &num_bytes, off_t &offset);
  265   virtual Status Write(const void *src, size_t &num_bytes, off_t &offset);
  294   size_t Printf(const char *format, ...) __attribute__((format(printf, 2, 3)));
  306   virtual size_t PrintfVarArg(const char *format, va_list args);
  397   Status Read(void *buf, size_t &num_bytes) override;
  398   Status Write(const void *buf, size_t &num_bytes) override;
  407   Status Read(void *dst, size_t &num_bytes, off_t &offset) override;
  408   Status Write(const void *src, size_t &num_bytes, off_t &offset) override;
  411   size_t PrintfVarArg(const char *format, va_list args) override;
tools/lldb/include/lldb/Host/PipeBase.h
   59   virtual Status Write(const void *buf, size_t size, size_t &bytes_written) = 0;
   59   virtual Status Write(const void *buf, size_t size, size_t &bytes_written) = 0;
   60   virtual Status ReadWithTimeout(void *buf, size_t size,
   62                                  size_t &bytes_read) = 0;
   63   Status Read(void *buf, size_t size, size_t &bytes_read);
   63   Status Read(void *buf, size_t size, size_t &bytes_read);
tools/lldb/include/lldb/Host/ProcessLaunchInfo.h
   57   size_t GetNumFileActions() const { return m_file_actions.size(); }
   59   const FileAction *GetFileActionAtIndex(size_t idx) const;
tools/lldb/include/lldb/Host/PseudoTerminal.h
   72   lldb::pid_t Fork(char *error_str, size_t error_len);
  120   const char *GetSlaveName(char *error_str, size_t error_len) const;
  150   bool OpenFirstAvailableMaster(int oflag, char *error_str, size_t error_len);
  180   bool OpenSlave(int oflag, char *error_str, size_t error_len);
tools/lldb/include/lldb/Host/Socket.h
   92   Status Read(void *buf, size_t &num_bytes) override;
   93   Status Write(const void *buf, size_t &num_bytes) override;
  112   virtual size_t Send(const void *buf, const size_t num_bytes);
  112   virtual size_t Send(const void *buf, const size_t num_bytes);
tools/lldb/include/lldb/Host/TaskPool.h
   85 void TaskMapOverInt(size_t begin, size_t end,
   85 void TaskMapOverInt(size_t begin, size_t end,
   86                     const llvm::function_ref<void(size_t)> &func);
tools/lldb/include/lldb/Host/ThreadLauncher.h
   25                size_t min_stack_byte_size = 0); // Minimum stack size in bytes,
tools/lldb/include/lldb/Host/XML.h
  125   bool ParseMemory(const char *xml, size_t xml_length,
tools/lldb/include/lldb/Host/common/NativeBreakpointList.h
   20   size_t m_size;
tools/lldb/include/lldb/Host/common/NativeProcessProtocol.h
   81   virtual Status ReadMemory(lldb::addr_t addr, void *buf, size_t size,
   82                             size_t &bytes_read) = 0;
   84   Status ReadMemoryWithoutTrap(lldb::addr_t addr, void *buf, size_t size,
   85                                size_t &bytes_read);
  109   ReadCStringFromMemory(lldb::addr_t addr, char *buffer, size_t max_size,
  110                         size_t &total_bytes_read);
  112   virtual Status WriteMemory(lldb::addr_t addr, const void *buf, size_t size,
  113                              size_t &bytes_written) = 0;
  115   virtual Status AllocateMemory(size_t size, uint32_t permissions,
  130   virtual size_t UpdateThreads() = 0;
  143   virtual Status SetHardwareBreakpoint(lldb::addr_t addr, size_t size);
  153   virtual Status SetWatchpoint(lldb::addr_t addr, size_t size,
  365                          size_t offset = 0) {
  373                              size_t offset = 0) {
  450   GetSoftwareBreakpointTrapOpcode(size_t size_hint);
  456   virtual size_t GetSoftwareBreakpointPCOffset();
tools/lldb/include/lldb/Host/common/NativeRegisterContext.h
   62   virtual uint32_t SetHardwareBreakpoint(lldb::addr_t addr, size_t size);
   73   virtual uint32_t SetHardwareWatchpoint(lldb::addr_t addr, size_t size,
  104                               lldb::addr_t src_addr, size_t src_len,
  109                              lldb::addr_t dst_addr, size_t dst_len,
tools/lldb/include/lldb/Host/common/NativeThreadProtocol.h
   40   virtual Status SetWatchpoint(lldb::addr_t addr, size_t size,
   46   virtual Status SetHardwareBreakpoint(lldb::addr_t addr, size_t size) = 0;
tools/lldb/include/lldb/Host/common/NativeWatchpointList.h
   20   size_t m_size;
   27   Status Add(lldb::addr_t addr, size_t size, uint32_t watch_flags,
tools/lldb/include/lldb/Host/common/UDPSocket.h
   27   size_t Send(const void *buf, const size_t num_bytes) override;
   27   size_t Send(const void *buf, const size_t num_bytes) override;
tools/lldb/include/lldb/Host/linux/AbstractSocket.h
   20   size_t GetNameOffset() const override;
tools/lldb/include/lldb/Host/posix/ConnectionFileDescriptorPosix.h
   56   size_t Read(void *dst, size_t dst_len, const Timeout<std::micro> &timeout,
   56   size_t Read(void *dst, size_t dst_len, const Timeout<std::micro> &timeout,
   59   size_t Write(const void *src, size_t src_len, lldb::ConnectionStatus &status,
   59   size_t Write(const void *src, size_t src_len, lldb::ConnectionStatus &status,
tools/lldb/include/lldb/Host/posix/DomainSocket.h
   28   virtual size_t GetNameOffset() const;
tools/lldb/include/lldb/Host/posix/HostInfoPosix.h
   23   static size_t GetPageSize();
tools/lldb/include/lldb/Host/posix/PipePosix.h
   68   Status Write(const void *buf, size_t size, size_t &bytes_written) override;
   68   Status Write(const void *buf, size_t size, size_t &bytes_written) override;
   69   Status ReadWithTimeout(void *buf, size_t size,
   71                          size_t &bytes_read) override;
tools/lldb/include/lldb/Interpreter/CommandHistory.h
   27   size_t GetSize() const;
   33   llvm::StringRef GetStringAtIndex(size_t idx) const;
   35   llvm::StringRef operator[](size_t idx) const;
   43   void Dump(Stream &stream, size_t start_idx = 0,
   44             size_t stop_idx = SIZE_MAX) const;
tools/lldb/include/lldb/Interpreter/CommandInterpreter.h
  333                                llvm::StringRef help_text, size_t max_word_len);
tools/lldb/include/lldb/Interpreter/CommandObject.h
   55 size_t FindLongestCommandWord(std::map<std::string, ValueType> &dict) {
   57   size_t max_len = 0;
   60     size_t len = pos->first.size();
tools/lldb/include/lldb/Interpreter/OptionArgParser.h
   35                          size_t *byte_size_ptr); // If non-NULL, then a
tools/lldb/include/lldb/Interpreter/OptionValueArgs.h
   24   size_t GetArgs(Args &args);
tools/lldb/include/lldb/Interpreter/OptionValueArray.h
   55   size_t GetSize() const { return m_values.size(); }
   57   lldb::OptionValueSP operator[](size_t idx) const {
   64   lldb::OptionValueSP GetValueAtIndex(size_t idx) const {
   81   bool InsertValue(size_t idx, const lldb::OptionValueSP &value_sp) {
   94   bool ReplaceValue(size_t idx, const lldb::OptionValueSP &value_sp) {
  106   bool DeleteValue(size_t idx) {
  114   size_t GetArgs(Args &args) const;
tools/lldb/include/lldb/Interpreter/OptionValueDictionary.h
   54   size_t GetNumValues() const { return m_values.size(); }
   71   size_t GetArgs(Args &args) const;
tools/lldb/include/lldb/Interpreter/OptionValueProperties.h
   67   virtual size_t GetNumProperties() const;
  213   typedef UniqueCStringMap<size_t> NameToIndex;
tools/lldb/include/lldb/Interpreter/Options.h
  219   size_t OptionsSetDiff(const OptionSet &set_a, const OptionSet &set_b,
tools/lldb/include/lldb/Interpreter/ScriptInterpreter.h
  348   virtual size_t
  476   virtual llvm::Expected<size_t> 
tools/lldb/include/lldb/Symbol/Block.h
  315   size_t MemorySize() const;
  361   size_t GetNumRanges() const { return m_ranges.GetSize(); }
tools/lldb/include/lldb/Symbol/ClangASTContext.h
  149                                                    size_t bit_size) override;
  336                                        size_t num_assigned_accessibilities);
  405                                size_t element_count, bool is_vector);
  417                                             size_t bit_size, bool is_signed);
  429                                               size_t bit_size);
  459   size_t DeclGetFunctionNumArguments(void *opaque_decl) override;
  462                                            size_t arg_idx) override;
  546   size_t
  550                                           const size_t index) override;
  649                                               size_t idx) override;
  654   size_t GetNumMemberFunctions(lldb::opaque_compiler_type_t type) override;
  658                            size_t idx) override;
  690   const llvm::fltSemantics &GetFloatTypeSemantics(size_t byte_size) override;
  708   llvm::Optional<size_t>
  733   CompilerType GetFieldAtIndex(lldb::opaque_compiler_type_t type, size_t idx,
  743                                          size_t idx,
  747                                           size_t idx,
  753       lldb::opaque_compiler_type_t type, ExecutionContext *exe_ctx, size_t idx,
  773   size_t
  778   size_t GetNumTemplateArguments(lldb::opaque_compiler_type_t type) override;
  782                           size_t idx) override;
  784                                        size_t idx) override;
  787                               size_t idx) override;
  900                  lldb::offset_t data_offset, size_t data_byte_size,
  907                      lldb::offset_t data_offset, size_t data_byte_size,
  913                    lldb::offset_t data_offset, size_t data_byte_size) override;
tools/lldb/include/lldb/Symbol/CompileUnit.h
  383   size_t GetNumFunctions() const { return m_functions_by_uid.size(); }
tools/lldb/include/lldb/Symbol/CompilerDecl.h
   71   size_t GetNumFunctionArguments() const;
   75   CompilerType GetFunctionArgumentType(size_t arg_idx) const;
tools/lldb/include/lldb/Symbol/CompilerType.h
   93   size_t GetNumberOfFunctionArguments() const;
   95   CompilerType GetFunctionArgumentAtIndex(const size_t index) const;
  144   size_t GetPointerByteSize() const;
  186   CompilerType GetFunctionArgumentTypeAtIndex(size_t idx) const;
  190   size_t GetNumMemberFunctions() const;
  192   TypeMemberFunctionImpl GetMemberFunctionAtIndex(size_t idx);
  256   llvm::Optional<size_t> GetTypeBitAlign(ExecutionContextScope *exe_scope) const;
  275   CompilerType GetFieldAtIndex(size_t idx, std::string &name,
  284   CompilerType GetDirectBaseClassAtIndex(size_t idx,
  287   CompilerType GetVirtualBaseClassAtIndex(size_t idx,
  297       ExecutionContext *exe_ctx, size_t idx, bool transparent_pointers,
  316   size_t
  320   size_t GetNumTemplateArguments() const;
  322   lldb::TemplateArgumentKind GetTemplateArgumentKind(size_t idx) const;
  323   CompilerType GetTypeTemplateArgument(size_t idx) const;
  327   GetIntegralTemplateArgument(size_t idx) const;
  345                  size_t data_byte_size, uint32_t bitfield_bit_size,
  350                      lldb::offset_t data_offset, size_t data_byte_size,
  356                    size_t data_byte_size);
  363                         size_t data_byte_size, Scalar &value) const;
tools/lldb/include/lldb/Symbol/DebugMacros.h
   80   size_t GetNumMacroEntries() const { return m_macro_entries.size(); }
   82   DebugMacroEntry GetMacroEntryAtIndex(const size_t index) const {
tools/lldb/include/lldb/Symbol/Declaration.h
  173   size_t MemorySize() const;
tools/lldb/include/lldb/Symbol/Function.h
  111   virtual size_t MemorySize() const;
  238   size_t MemorySize() const override;
  528   size_t MemorySize() const;
tools/lldb/include/lldb/Symbol/LineTable.h
  157   size_t FineLineEntriesForFileIndex(uint32_t file_idx, bool append,
  194   size_t GetContiguousFileAddressRanges(FileAddressRanges &file_ranges,
tools/lldb/include/lldb/Symbol/ObjectContainer.h
  102   virtual size_t GetNumObjects() const { return 0; }
  113   virtual size_t GetNumArchitectures() const { return 0; }
tools/lldb/include/lldb/Symbol/ObjectFile.h
  175   static size_t GetModuleSpecifications(const FileSpec &file,
  180   static size_t GetModuleSpecifications(const lldb_private::FileSpec &file,
  612                                        lldb::addr_t addr, size_t byte_size);
  616   size_t GetData(lldb::offset_t offset, size_t length,
  616   size_t GetData(lldb::offset_t offset, size_t length,
  621   size_t CopyData(lldb::offset_t offset, size_t length, void *dst) const;
  621   size_t CopyData(lldb::offset_t offset, size_t length, void *dst) const;
  625   virtual size_t ReadSectionData(Section *section,
  627                                  size_t dst_len);
  632   virtual size_t ReadSectionData(Section *section,
tools/lldb/include/lldb/Symbol/SymbolContext.h
  379   size_t m_start_line;
  380   size_t m_end_line;
  447   bool GetContextAtIndex(size_t idx, SymbolContext &sc) const;
  459   SymbolContext &operator[](size_t idx) { return m_symbol_contexts[idx]; }
  461   const SymbolContext &operator[](size_t idx) const {
  465   bool RemoveContextAtIndex(size_t idx);
tools/lldb/include/lldb/Symbol/SymbolFile.h
  122   virtual size_t ParseFunctions(CompileUnit &comp_unit) = 0;
  130   virtual size_t ParseTypes(CompileUnit &comp_unit) = 0;
  136   virtual size_t ParseBlocksRecursive(Function &func) = 0;
  137   virtual size_t ParseVariablesForContext(const SymbolContext &sc) = 0;
tools/lldb/include/lldb/Symbol/Symtab.h
   38   void Reserve(size_t count);
   39   Symbol *Resize(size_t count);
   41   size_t GetNumSymbols() const;
   48   Symbol *SymbolAtIndex(size_t idx);
   49   const Symbol *SymbolAtIndex(size_t idx) const;
  159   bool CheckSymbolAtIndex(size_t idx, Debug symbol_debug_type,
tools/lldb/include/lldb/Symbol/Type.h
  323   lldb::TypeImplSP GetTypeAtIndex(size_t idx) {
  330   size_t GetSize() { return m_content.size(); }
  453   size_t GetNumArguments() const;
  455   CompilerType GetArgumentAtIndex(size_t idx) const;
  510   lldb::TypeEnumMemberImplSP GetTypeEnumMemberAtIndex(size_t idx) {
  517   size_t GetSize() { return m_content.size(); }
tools/lldb/include/lldb/Symbol/TypeSystem.h
   48   size_t Size() const;
  125   virtual size_t DeclGetFunctionNumArguments(void *opaque_decl);
  128                                                    size_t arg_idx);
  174   virtual size_t
  179                              const size_t index) = 0;
  248                                  size_t idx) = 0;
  253   virtual size_t GetNumMemberFunctions(lldb::opaque_compiler_type_t type) = 0;
  256   GetMemberFunctionAtIndex(lldb::opaque_compiler_type_t type, size_t idx) = 0;
  280   virtual const llvm::fltSemantics &GetFloatTypeSemantics(size_t byte_size) = 0;
  309                                        size_t idx, std::string &name,
  321   GetDirectBaseClassAtIndex(lldb::opaque_compiler_type_t type, size_t idx,
  325   GetVirtualBaseClassAtIndex(lldb::opaque_compiler_type_t type, size_t idx,
  329       lldb::opaque_compiler_type_t type, ExecutionContext *exe_ctx, size_t idx,
  349   virtual size_t
  354   virtual size_t GetNumTemplateArguments(lldb::opaque_compiler_type_t type);
  357   GetTemplateArgumentKind(lldb::opaque_compiler_type_t type, size_t idx);
  359                                            size_t idx);
  361   GetIntegralTemplateArgument(lldb::opaque_compiler_type_t type, size_t idx);
  374                          lldb::offset_t data_offset, size_t data_byte_size,
  381                              lldb::offset_t data_offset, size_t data_byte_size,
  400                            size_t data_byte_size) = 0;
  412   virtual llvm::Optional<size_t>
  420                                       size_t bit_size) = 0;
tools/lldb/include/lldb/Symbol/Variable.h
   79   size_t MemorySize() const;
   93   typedef size_t (*GetVariableCallback)(void *baton, const char *name,
tools/lldb/include/lldb/Symbol/VariableList.h
   35   lldb::VariableSP GetVariableAtIndex(size_t idx) const;
   37   lldb::VariableSP RemoveVariableAtIndex(size_t idx);
   48   size_t AppendVariablesIfUnique(VariableList &var_list);
   55   size_t AppendVariablesIfUnique(const RegularExpression &regex,
   56                                  VariableList &var_list, size_t &total_matches);
   58   size_t AppendVariablesWithScope(lldb::ValueType type, VariableList &var_list,
   63   size_t MemorySize() const;
   65   size_t GetSize() const;
tools/lldb/include/lldb/Target/ABI.h
   34     size_t size; /* size in bytes of this argument */
   42   virtual size_t GetRedZoneSize() const = 0;
tools/lldb/include/lldb/Target/JITLoaderList.h
   31   size_t GetSize() const;
   33   lldb::JITLoaderSP GetLoaderAtIndex(size_t idx);
tools/lldb/include/lldb/Target/Language.h
   47     size_t Find(ExecutionContextScope *exe_scope, const char *key,
tools/lldb/include/lldb/Target/Memory.h
   30   void Flush(lldb::addr_t addr, size_t size);
   32   size_t Read(lldb::addr_t addr, void *dst, size_t dst_len, Status &error);
   32   size_t Read(lldb::addr_t addr, void *dst, size_t dst_len, Status &error);
   41   void AddL1CacheData(lldb::addr_t addr, const void *src, size_t src_len);
  120   lldb::addr_t AllocateMemory(size_t byte_size, uint32_t permissions,
tools/lldb/include/lldb/Target/PathMappingList.h
   47   size_t GetSize() const { return m_pairs.size(); }
   55   bool Remove(size_t index, bool notify);
tools/lldb/include/lldb/Target/Platform.h
  329   virtual size_t GetSoftwareBreakpointTrapOpcode(Target &target,
  463   size_t GetMaxUserIDNameLength() const { return m_max_uid_name_len; }
  466   size_t GetMaxGroupIDNameLength() const { return m_max_gid_name_len; }
  826   virtual size_t ConnectToWaitingProcesses(lldb_private::Debugger &debugger,
  852   size_t m_max_uid_name_len;
  853   size_t m_max_gid_name_len;
  926   size_t GetSize() {
  958       const size_t num_platforms = m_platforms.size();
  959       for (size_t idx = 0; idx < num_platforms; ++idx) {
tools/lldb/include/lldb/Target/Process.h
  435     size_t GetNumRestartedReasons() { return m_restarted_reasons.size(); }
  437     const char *GetRestartedReasonAtIndex(size_t idx) {
  458     static size_t GetNumRestartedReasons(const Event *event_ptr);
  461                                                  size_t idx);
 1243   size_t GetThreadStatus(Stream &ostrm, bool only_threads_with_stop_reason,
 1424   virtual size_t DoReadMemory(lldb::addr_t vm_addr, void *buf, size_t size,
 1424   virtual size_t DoReadMemory(lldb::addr_t vm_addr, void *buf, size_t size,
 1459   virtual size_t ReadMemory(lldb::addr_t vm_addr, void *buf, size_t size,
 1459   virtual size_t ReadMemory(lldb::addr_t vm_addr, void *buf, size_t size,
 1490   size_t ReadMemoryFromInferior(lldb::addr_t vm_addr, void *buf, size_t size,
 1490   size_t ReadMemoryFromInferior(lldb::addr_t vm_addr, void *buf, size_t size,
 1520   size_t ReadStringFromMemory(lldb::addr_t vm_addr, char *str, size_t max_bytes,
 1520   size_t ReadStringFromMemory(lldb::addr_t vm_addr, char *str, size_t max_bytes,
 1521                               Status &error, size_t type_width = 1);
 1530   size_t ReadCStringFromMemory(lldb::addr_t vm_addr, char *cstr,
 1531                                size_t cstr_max_len, Status &error);
 1533   size_t ReadCStringFromMemory(lldb::addr_t vm_addr, std::string &out_str,
 1562                                          size_t byte_size, uint64_t fail_value,
 1565   int64_t ReadSignedIntegerFromMemory(lldb::addr_t load_addr, size_t byte_size,
 1591   virtual size_t DoWriteMemory(lldb::addr_t vm_addr, const void *buf,
 1592                                size_t size, Status &error) {
 1628   size_t WriteScalarToMemory(lldb::addr_t vm_addr, const Scalar &scalar,
 1629                              size_t size, Status &error);
 1631   size_t ReadScalarIntegerFromMemory(lldb::addr_t addr, uint32_t byte_size,
 1659   size_t WriteMemory(lldb::addr_t vm_addr, const void *buf, size_t size,
 1659   size_t WriteMemory(lldb::addr_t vm_addr, const void *buf, size_t size,
 1675   virtual lldb::addr_t DoAllocateMemory(size_t size, uint32_t permissions,
 1706   lldb::addr_t AllocateMemory(size_t size, uint32_t permissions, Status &error);
 1731   lldb::addr_t CallocateMemory(size_t size, uint32_t permissions,
 1807                                       size_t size_to_read = 512);
 1926   virtual size_t GetSTDOUT(char *buf, size_t buf_size, Status &error);
 1926   virtual size_t GetSTDOUT(char *buf, size_t buf_size, Status &error);
 1955   virtual size_t GetSTDERR(char *buf, size_t buf_size, Status &error);
 1955   virtual size_t GetSTDERR(char *buf, size_t buf_size, Status &error);
 1975   virtual size_t PutSTDIN(const char *buf, size_t buf_size, Status &error) {
 1975   virtual size_t PutSTDIN(const char *buf, size_t buf_size, Status &error) {
 1993   virtual size_t GetAsyncProfileData(char *buf, size_t buf_size, Status &error);
 1993   virtual size_t GetAsyncProfileData(char *buf, size_t buf_size, Status &error);
 1996   size_t GetSoftwareBreakpointTrapOpcode(BreakpointSite *bp_site);
 2331   size_t AddImageToken(lldb::addr_t image_ptr);
 2333   lldb::addr_t GetImagePtrFromToken(size_t token) const;
 2335   void ResetImageToken(size_t token);
 2449                          size_t offset = 0) {
 2456                              size_t offset = 0) {
 2757   size_t RemoveBreakpointOpcodesFromBuffer(lldb::addr_t addr, size_t size,
 2757   size_t RemoveBreakpointOpcodesFromBuffer(lldb::addr_t addr, size_t size,
 2811   size_t WriteMemoryPrivate(lldb::addr_t addr, const void *buf, size_t size,
 2811   size_t WriteMemoryPrivate(lldb::addr_t addr, const void *buf, size_t size,
 2814   void AppendSTDOUT(const char *s, size_t len);
 2816   void AppendSTDERR(const char *s, size_t len);
 2821                                            size_t src_len);
tools/lldb/include/lldb/Target/ProcessStructReader.h
   31     size_t offset;
   32     size_t size;
   38   size_t m_addr_byte_size;
   50     for (size_t idx = 0; idx < struct_type.GetNumFields(); idx++) {
   65       size_t byte_index = static_cast<size_t>(bit_offset / 8);
   95   size_t GetOffsetOf(ConstString name, size_t fail_value = SIZE_MAX) {
   95   size_t GetOffsetOf(ConstString name, size_t fail_value = SIZE_MAX) {
tools/lldb/include/lldb/Target/RegisterContext.h
   30   virtual size_t GetRegisterCount() = 0;
   32   virtual const RegisterInfo *GetRegisterInfoAtIndex(size_t reg) = 0;
   38   virtual size_t GetRegisterSetCount() = 0;
   40   virtual const RegisterSet *GetRegisterSet(size_t reg_set) = 0;
  113   virtual uint32_t SetHardwareBreakpoint(lldb::addr_t addr, size_t size);
  119   virtual uint32_t SetHardwareWatchpoint(lldb::addr_t addr, size_t size,
tools/lldb/include/lldb/Target/SectionLoadHistory.h
   64   size_t SetSectionUnloaded(uint32_t stop_id,
tools/lldb/include/lldb/Target/SectionLoadList.h
   59   size_t SetSectionUnloaded(const lldb::SectionSP &section_sp);
tools/lldb/include/lldb/Target/StackFrameList.h
   82   size_t GetStatus(Stream &strm, uint32_t first_frame, uint32_t num_frames,
tools/lldb/include/lldb/Target/StackFrameRecognizer.h
  147   size_t CalculateNumChildren(uint32_t max = UINT32_MAX) override {
tools/lldb/include/lldb/Target/Target.h
  662       size_t num_names, lldb::FunctionNameType func_name_type_mask,
  682   lldb::WatchpointSP CreateWatchpoint(lldb::addr_t addr, size_t size,
  971   size_t ReadMemoryFromFileCache(const Address &addr, void *dst, size_t dst_len,
  971   size_t ReadMemoryFromFileCache(const Address &addr, void *dst, size_t dst_len,
  984   size_t ReadMemory(const Address &addr, bool prefer_file_cache, void *dst,
  985                     size_t dst_len, Status &error,
  988   size_t ReadCStringFromMemory(const Address &addr, std::string &out_str,
  991   size_t ReadCStringFromMemory(const Address &addr, char *dst,
  992                                size_t dst_max_len, Status &result_error);
  994   size_t ReadScalarIntegerFromMemory(const Address &addr,
 1001                                          size_t integer_byte_size,
 1087   size_t UnloadModuleSections(const lldb::ModuleSP &module_sp);
 1089   size_t UnloadModuleSections(const ModuleList &module_list);
 1197   size_t GetStopHookSize();
 1217   size_t GetNumStopHooks() const { return m_stop_hooks.size(); }
 1219   StopHookSP GetStopHookAtIndex(size_t index) {
tools/lldb/include/lldb/Target/Thread.h
  897       bool abort_other_plans, lldb::addr_t *address_list, size_t num_addresses,
 1077   size_t GetStatus(Stream &strm, uint32_t start_frame, uint32_t num_frames,
 1081   size_t GetStackFrameStatus(Stream &strm, uint32_t first_frame,
tools/lldb/include/lldb/Target/ThreadPlan.h
  529   virtual bool SetIterationCount(size_t count) {
  539   virtual size_t GetIterationCount() {
tools/lldb/include/lldb/Target/ThreadPlanStepRange.h
   52                                              size_t &range_index,
   53                                              size_t &insn_offset);
tools/lldb/include/lldb/Target/ThreadPlanStepUntil.h
   34                       size_t num_addresses, bool stop_others,
   56       bool abort_other_plans, lldb::addr_t *address_list, size_t num_addresses,
tools/lldb/include/lldb/Utility/Args.h
  113   size_t GetArgumentCount() const;
  122   const char *GetArgumentAtIndex(size_t idx) const;
  131   size_t size() const { return GetArgumentCount(); }
  132   const ArgEntry &operator[](size_t n) const { return m_entries[n]; }
  192   void InsertArgumentAtIndex(size_t idx, llvm::StringRef arg_str,
  206   void ReplaceArgumentAtIndex(size_t idx, llvm::StringRef arg_str,
  215   void DeleteArgumentAtIndex(size_t idx);
  224   void SetArguments(size_t argc, const char **argv);
  256                                             size_t total_byte_size) {
  270                                             size_t total_byte_size) {
tools/lldb/include/lldb/Utility/CompletionRequest.h
  131   size_t GetCursorIndex() const { return m_cursor_index; }
  204   size_t m_cursor_index;
  206   size_t m_cursor_char_position;
tools/lldb/include/lldb/Utility/Connection.h
  118   virtual size_t Read(void *dst, size_t dst_len,
  118   virtual size_t Read(void *dst, size_t dst_len,
  142   virtual size_t Write(const void *dst, size_t dst_len,
  142   virtual size_t Write(const void *dst, size_t dst_len,
tools/lldb/include/lldb/Utility/ConstString.h
   86   explicit ConstString(const char *cstr, size_t max_cstr_len);
  255   size_t GetLength() const;
  410   void SetCStringWithLength(const char *cstr, size_t cstr_len);
  416   void SetTrimmedCStringWithLength(const char *cstr, size_t fixed_cstr_len);
  428   size_t MemorySize() const { return sizeof(ConstString); }
  438   static size_t StaticMemorySize();
tools/lldb/include/lldb/Utility/DataEncoder.h
  101   size_t GetByteSize() const { return m_end - m_start; }
  119   size_t GetSharedDataOffset() const;
tools/lldb/include/lldb/Utility/DataExtractor.h
  227   size_t ExtractBytes(lldb::offset_t offset, lldb::offset_t length,
  407   size_t GetSharedDataOffset() const;
  454   uint32_t GetMaxU32(lldb::offset_t *offset_ptr, size_t byte_size) const;
  477   uint64_t GetMaxU64(lldb::offset_t *offset_ptr, size_t byte_size) const;
  480                                size_t byte_size) const;
  503   int64_t GetMaxS64(lldb::offset_t *offset_ptr, size_t byte_size) const;
  539   uint64_t GetMaxU64Bitfield(lldb::offset_t *offset_ptr, size_t size,
  577   int64_t GetMaxS64Bitfield(lldb::offset_t *offset_ptr, size_t size,
  980   size_t Copy(DataExtractor &dest_data) const;
tools/lldb/include/lldb/Utility/Event.h
   64   EventDataBytes(const void *src, size_t src_len);
   75   size_t GetByteSize() const;
   77   void SetBytes(const void *src, size_t src_len);
   88   static size_t GetByteSizeFromEvent(const Event *event_ptr);
tools/lldb/include/lldb/Utility/FileSpec.h
  306   size_t GetPath(char *path, size_t max_path_length,
  306   size_t GetPath(char *path, size_t max_path_length,
  355   size_t MemorySize() const;
tools/lldb/include/lldb/Utility/Flags.h
   57   size_t GetBitSize() const { return sizeof(ValueType) * 8; }
tools/lldb/include/lldb/Utility/GDBRemote.h
   45   int PutEscapedBytes(const void *s, size_t src_len);
tools/lldb/include/lldb/Utility/IOObject.h
   35   virtual Status Read(void *buf, size_t &num_bytes) = 0;
   36   virtual Status Write(const void *buf, size_t &num_bytes) = 0;
tools/lldb/include/lldb/Utility/Listener.h
   96   size_t HandleBroadcastEvent(lldb::EventSP &event_sp);
tools/lldb/include/lldb/Utility/ProcessInfo.h
  164   size_t GetSize() { return m_infos.size(); }
  168   llvm::StringRef GetProcessNameAtIndex(size_t idx) {
  172   lldb::pid_t GetProcessIDAtIndex(size_t idx) {
  176   bool GetInfoAtIndex(size_t idx, ProcessInstanceInfo &info) {
  185   const ProcessInstanceInfo &GetProcessInfoAtIndex(size_t idx) const {
tools/lldb/include/lldb/Utility/RangeMap.h
  241   size_t GetSize() const { return m_entries.size(); }
  243   const Entry *GetEntryAtIndex(size_t i) const {
  249   const Entry &GetEntryRef(size_t i) const { return m_entries[i]; }
  475   size_t GetSize() const { return m_entries.size(); }
  477   const Entry *GetEntryAtIndex(size_t i) const {
  483   Entry &GetEntryRef(size_t i) { return m_entries[i]; }
  484   const Entry &GetEntryRef(size_t i) const { return m_entries[i]; }
  696   size_t GetSize() const { return m_entries.size(); }
  698   const Entry *GetEntryAtIndex(size_t i) const {
  702   Entry *GetMutableEntryAtIndex(size_t i) {
  708   Entry &GetEntryRef(size_t i) { return m_entries[i]; }
  709   const Entry &GetEntryRef(size_t i) const { return m_entries[i]; }
  885   size_t GetSize() const { return m_entries.size(); }
  887   const Entry *GetEntryAtIndex(size_t i) const {
  893   const Entry &GetEntryRef(size_t i) const { return m_entries[i]; }
tools/lldb/include/lldb/Utility/RegisterValue.h
   75   explicit RegisterValue(uint8_t *bytes, size_t length,
  231   void SetBytes(const void *bytes, size_t length, lldb::ByteOrder byte_order);
tools/lldb/include/lldb/Utility/Scalar.h
  108   static Type GetBestTypeForBitSize(size_t bit_size, bool sign);
  120   size_t GetByteSize() const;
  122   bool GetData(DataExtractor &data, size_t limit_byte_size = UINT32_MAX) const;
  124   size_t GetAsMemoryData(void *dst, size_t dst_len,
  124   size_t GetAsMemoryData(void *dst, size_t dst_len,
  154   GetValueTypeForSignedIntegerWithByteSize(size_t byte_size);
  157   GetValueTypeForUnsignedIntegerWithByteSize(size_t byte_size);
  159   static Scalar::Type GetValueTypeForFloatWithByteSize(size_t byte_size);
  235                              size_t byte_size);
  238                           size_t byte_size);
  240   static bool UIntValueIsValidForSize(uint64_t uval64, size_t total_byte_size) {
  253   static bool SIntValueIsValidForSize(int64_t sval64, size_t total_byte_size) {
tools/lldb/include/lldb/Utility/Stream.h
   46     size_t m_start;
   52     size_t operator*() const { return m_stream->GetWrittenBytes() - m_start; }
  100   size_t Write(const void *src, size_t src_len) {
  100   size_t Write(const void *src, size_t src_len) {
  101     size_t appended_byte_count = WriteImpl(src, src_len);
  106   size_t GetWrittenBytes() const { return m_bytes_written; }
  109   size_t PutChar(char ch);
  134   size_t PrintfAsRawHex8(const char *format, ...)
  144   size_t PutHex8(uint8_t uvalue);
  146   size_t PutNHex8(size_t n, uint8_t uvalue);
  146   size_t PutNHex8(size_t n, uint8_t uvalue);
  148   size_t PutHex16(uint16_t uvalue,
  151   size_t PutHex32(uint32_t uvalue,
  154   size_t PutHex64(uint64_t uvalue,
  157   size_t PutMaxHex64(uint64_t uvalue, size_t byte_size,
  157   size_t PutMaxHex64(uint64_t uvalue, size_t byte_size,
  159   size_t PutFloat(float f,
  162   size_t PutDouble(double d,
  165   size_t PutLongDouble(long double ld,
  168   size_t PutPointer(void *ptr);
  172   size_t
  173   PutBytesAsRawHex8(const void *src, size_t src_len,
  178   size_t PutRawBytes(const void *s, size_t src_len,
  178   size_t PutRawBytes(const void *s, size_t src_len,
  182   size_t PutStringAsRawHex8(llvm::StringRef s);
  343   size_t PutCString(llvm::StringRef cstr);
  346   size_t EOL();
  387   size_t Indent(const char *s = nullptr);
  388   size_t Indent(llvm::StringRef s);
  418   size_t Printf(const char *format, ...) __attribute__((format(printf, 2, 3)));
  420   size_t PrintfVarArg(const char *format, va_list args);
  458   size_t PutSLEB128(int64_t uval);
  467   size_t PutULEB128(uint64_t uval);
  497   virtual size_t WriteImpl(const void *src, size_t src_len) = 0;
  497   virtual size_t WriteImpl(const void *src, size_t src_len) = 0;
  511     void write_impl(const char *Ptr, size_t Size) override {
tools/lldb/include/lldb/Utility/StreamCallback.h
   29   void write_impl(const char *Ptr, size_t Size) override;
tools/lldb/include/lldb/Utility/StreamString.h
   37   size_t GetSize() const;
   39   size_t GetSizeOfLastLine() const;
   49   size_t WriteImpl(const void *s, size_t length) override;
   49   size_t WriteImpl(const void *s, size_t length) override;
tools/lldb/include/lldb/Utility/StreamTee.h
   75   size_t AppendStream(const lldb::StreamSP &stream_sp) {
   76     size_t new_idx = m_streams.size();
   82   size_t GetNumStreams() const {
   83     size_t result = 0;
  114   size_t WriteImpl(const void *s, size_t length) override {
  114   size_t WriteImpl(const void *s, size_t length) override {
  119     size_t min_bytes_written = SIZE_MAX;
  127         const size_t bytes_written = strm->Write(s, length);
tools/lldb/include/lldb/Utility/StringExtractor.h
   52   size_t GetBytesLeft() {
   87   size_t GetHexBytes(llvm::MutableArrayRef<uint8_t> dest,
   90   size_t GetHexBytesAvail(llvm::MutableArrayRef<uint8_t> dest);
   92   size_t GetHexByteString(std::string &str);
   94   size_t GetHexByteStringFixedLength(std::string &str, uint32_t nibble_length);
   96   size_t GetHexByteStringTerminatedBy(std::string &str, char terminator);
tools/lldb/include/lldb/Utility/StringExtractorGDBRemote.h
  196   size_t GetEscapedBinaryData(std::string &str);
tools/lldb/include/lldb/Utility/StringList.h
   43   void AppendString(const char *str, size_t str_len);
   51   size_t GetSize() const;
   53   void SetSize(size_t n) { m_strings.resize(n); }
   55   size_t GetMaxStringLength() const;
   65   std::string &operator[](size_t idx) {
   70   const std::string &operator[](size_t idx) const {
   76   const char *GetStringAtIndex(size_t idx) const;
   84   void InsertStringAtIndex(size_t idx, const std::string &str);
   86   void InsertStringAtIndex(size_t idx, std::string &&str);
   88   void InsertStringAtIndex(size_t id, const char *str);
   90   void DeleteStringAtIndex(size_t id);
   94   size_t SplitIntoLines(const std::string &lines);
   96   size_t SplitIntoLines(const char *lines, size_t len);
   96   size_t SplitIntoLines(const char *lines, size_t len);
tools/lldb/include/lldb/Utility/StructuredData.h
  180     size_t GetSize() const { return m_items.size(); }
  182     ObjectSP operator[](size_t idx) {
  188     ObjectSP GetItemAtIndex(size_t idx) const {
  196     bool GetItemAtIndexAsInteger(size_t idx, IntType &result) const {
  208     bool GetItemAtIndexAsInteger(size_t idx, IntType &result,
  216     bool GetItemAtIndexAsString(size_t idx, llvm::StringRef &result) const {
  227     bool GetItemAtIndexAsString(size_t idx, llvm::StringRef &result,
  235     bool GetItemAtIndexAsString(size_t idx, ConstString &result) const {
  246     bool GetItemAtIndexAsString(size_t idx, ConstString &result,
  254     bool GetItemAtIndexAsDictionary(size_t idx, Dictionary *&result) const {
  264     bool GetItemAtIndexAsArray(size_t idx, Array *&result) const {
  358     size_t GetSize() const { return m_dict.size(); }
tools/lldb/include/lldb/Utility/UUID.h
   66   size_t SetFromStringRef(llvm::StringRef str, uint32_t num_uuid_bytes = 16);
   70   size_t SetFromOptionalStringRef(llvm::StringRef str,
tools/lldb/include/lldb/lldb-private-interfaces.h
   34 typedef size_t (*ObjectFileGetModuleSpecifications)(
tools/lldb/include/lldb/lldb-private-types.h
   60   size_t dynamic_size_dwarf_len; // The length of the DWARF expression in bytes
   78   size_t num_registers;      // The number of registers in REGISTERS array below
tools/lldb/source/API/SBBlock.cpp
  261       const size_t num_variables = variable_list_sp->GetSize();
  263         for (size_t i = 0; i < num_variables; ++i) {
  318       const size_t num_variables = variable_list_sp->GetSize();
  320         for (size_t i = 0; i < num_variables; ++i) {
tools/lldb/source/API/SBBreakpoint.cpp
  457 size_t SBBreakpoint::GetNumResolvedLocations() const {
  461   size_t num_resolved = 0;
  471 size_t SBBreakpoint::GetNumLocations() const {
  475   size_t num_locs = 0;
  535       const size_t num_locations = bkpt_sp->GetNumLocations();
  797   size_t GetSize() { return m_break_ids.size(); }
  799   BreakpointSP GetBreakpointAtIndex(size_t idx) {
  878 size_t SBBreakpointList::GetSize() const {
  887 SBBreakpoint SBBreakpointList::GetBreakpointAtIndex(size_t idx) {
tools/lldb/source/API/SBCommandInterpreter.cpp
  363   size_t current_line_size = strlen(current_line);
  390     const size_t partial_name_len = command_partial_str.size();
tools/lldb/source/API/SBCommandReturnObject.cpp
  106 size_t SBCommandReturnObject::GetOutputSize() {
  112 size_t SBCommandReturnObject::GetErrorSize() {
  118 size_t SBCommandReturnObject::PutOutput(FILE *fh) {
  121     size_t num_bytes = GetOutputSize();
  128 size_t SBCommandReturnObject::PutOutput(FileSP file_sp) {
  136 size_t SBCommandReturnObject::PutOutput(SBFile file) {
  143 size_t SBCommandReturnObject::PutError(FILE *fh) {
  146     size_t num_bytes = GetErrorSize();
  153 size_t SBCommandReturnObject::PutError(FileSP file_sp) {
  161 size_t SBCommandReturnObject::PutError(SBFile file) {
  342 size_t SBCommandReturnObject::Printf(const char *format, ...) {
  345   size_t result = ref().GetOutputStream().PrintfVarArg(format, args);
tools/lldb/source/API/SBCommunication.cpp
  107 size_t SBCommunication::Read(void *dst, size_t dst_len, uint32_t timeout_usec,
  107 size_t SBCommunication::Read(void *dst, size_t dst_len, uint32_t timeout_usec,
  113   size_t bytes_read = 0;
  125 size_t SBCommunication::Write(const void *src, size_t src_len,
  125 size_t SBCommunication::Write(const void *src, size_t src_len,
  131   size_t bytes_written = 0;
tools/lldb/source/API/SBData.cpp
   94 size_t SBData::GetByteSize() {
   97   size_t value = 0;
  343 size_t SBData::ReadRawData(lldb::SBError &error, lldb::offset_t offset,
  344                            void *buf, size_t size) {
  361 void SBData::SetData(lldb::SBError &error, const void *buf, size_t size,
  410                                                size_t array_len) {
  418   size_t data_len = array_len * sizeof(uint64_t);
  432                                                size_t array_len) {
  440   size_t data_len = array_len * sizeof(uint32_t);
  454                                                size_t array_len) {
  462   size_t data_len = array_len * sizeof(int64_t);
  476                                                size_t array_len) {
  484   size_t data_len = array_len * sizeof(int32_t);
  498                                                size_t array_len) {
  506   size_t data_len = array_len * sizeof(double);
  525   size_t data_len = strlen(data);
  539 bool SBData::SetDataFromUInt64Array(uint64_t *array, size_t array_len) {
  548   size_t data_len = array_len * sizeof(uint64_t);
  562 bool SBData::SetDataFromUInt32Array(uint32_t *array, size_t array_len) {
  571   size_t data_len = array_len * sizeof(uint32_t);
  584 bool SBData::SetDataFromSInt64Array(int64_t *array, size_t array_len) {
  593   size_t data_len = array_len * sizeof(int64_t);
  606 bool SBData::SetDataFromSInt32Array(int32_t *array, size_t array_len) {
  615   size_t data_len = array_len * sizeof(int32_t);
  628 bool SBData::SetDataFromDoubleArray(double *array, size_t array_len) {
  637   size_t data_len = array_len * sizeof(double);
tools/lldb/source/API/SBDebugger.cpp
  556   size_t len;
  596 bool SBDebugger::GetDefaultArchitecture(char *arch_name, size_t arch_name_len) {
 1107 void SBDebugger::DispatchInput(void *baton, const void *data, size_t data_len) {
 1114 void SBDebugger::DispatchInput(const void *data, size_t data_len) {
 1573   size_t len = 0;
 1621                                            size_t arch_name_len) {
 1636   R.Register<bool(char *, size_t)>(static_cast<bool (*)(char *, size_t)>(
tools/lldb/source/API/SBFile.cpp
   42 SBError SBFile::Read(uint8_t *buf, size_t num_bytes, size_t *bytes_read) {
   42 SBError SBFile::Read(uint8_t *buf, size_t num_bytes, size_t *bytes_read) {
   57 SBError SBFile::Write(const uint8_t *buf, size_t num_bytes,
   58                       size_t *bytes_written) {
tools/lldb/source/API/SBFileSpec.cpp
  102                             size_t dst_len) {
  145 uint32_t SBFileSpec::GetPath(char *dst_path, size_t dst_len) const {
tools/lldb/source/API/SBFrame.cpp
  834         size_t i;
  838           const size_t num_variables = variable_list->GetSize();
tools/lldb/source/API/SBInstruction.cpp
  174 size_t SBInstruction::GetByteSize() {
tools/lldb/source/API/SBInstructionList.cpp
   57 size_t SBInstructionList::GetSize() {
   77 size_t SBInstructionList::GetInstructionsCount(const SBAddress &start,
   84   size_t num_instructions = GetSize();
   85   size_t i = 0;
   87   size_t lower_index = 0;
   88   size_t upper_index = 0;
   89   size_t instructions_to_skip = 0;
  154     size_t num_instructions = GetSize();
  164       for (size_t i = 0; i < num_instructions; ++i) {
  193     size_t len = GetSize();
  194     for (size_t i = 0; i < len; ++i) {
tools/lldb/source/API/SBMemoryRegionInfoList.cpp
   34   size_t GetSize() const { return m_regions.size(); }
   36   void Reserve(size_t capacity) { return m_regions.reserve(capacity); }
   51   bool GetMemoryRegionInfoAtIndex(size_t index,
tools/lldb/source/API/SBModule.cpp
  296 size_t SBModule::GetNumSymbols() {
  305 SBSymbol SBModule::GetSymbolAtIndex(size_t idx) {
  346       const size_t num_matches = matching_symbol_indexes.size();
  351         for (size_t i = 0; i < num_matches; ++i) {
  362 size_t SBModule::GetNumSections() {
  376 SBSection SBModule::GetSectionAtIndex(size_t idx) {
  520       for (size_t idx = 0; idx < type_list.GetSize(); idx++) {
tools/lldb/source/API/SBModuleSpec.cpp
  133 size_t SBModuleSpec::GetUUIDLength() {
  139 bool SBModuleSpec::SetUUIDBytes(const uint8_t *uuid, size_t uuid_len) {
  200 size_t SBModuleSpecList::GetSize() {
  206 SBModuleSpec SBModuleSpecList::GetSpecAtIndex(size_t i) {
tools/lldb/source/API/SBProcess.cpp
  258 size_t SBProcess::PutSTDIN(const char *src, size_t src_len) {
  258 size_t SBProcess::PutSTDIN(const char *src, size_t src_len) {
  262   size_t ret_val = 0;
  272 size_t SBProcess::GetSTDOUT(char *dst, size_t dst_len) const {
  272 size_t SBProcess::GetSTDOUT(char *dst, size_t dst_len) const {
  276   size_t bytes_read = 0;
  286 size_t SBProcess::GetSTDERR(char *dst, size_t dst_len) const {
  286 size_t SBProcess::GetSTDERR(char *dst, size_t dst_len) const {
  290   size_t bytes_read = 0;
  300 size_t SBProcess::GetAsyncProfileData(char *dst, size_t dst_len) const {
  300 size_t SBProcess::GetAsyncProfileData(char *dst, size_t dst_len) const {
  304   size_t bytes_read = 0;
  428 SBThread SBProcess::GetThreadAtIndex(size_t index) {
  464 SBQueue SBProcess::GetQueueAtIndex(size_t index) {
  781 size_t SBProcess::GetNumRestartedReasonsFromEvent(const lldb::SBEvent &event) {
  790                                               size_t idx) {
  866 size_t SBProcess::ReadMemory(addr_t addr, void *dst, size_t dst_len,
  866 size_t SBProcess::ReadMemory(addr_t addr, void *dst, size_t dst_len,
  872   size_t bytes_read = 0;
  893 size_t SBProcess::ReadCStringFromMemory(addr_t addr, void *buf, size_t size,
  893 size_t SBProcess::ReadCStringFromMemory(addr_t addr, void *buf, size_t size,
  899   size_t bytes_read = 0;
  963 size_t SBProcess::WriteMemory(addr_t addr, const void *src, size_t src_len,
  963 size_t SBProcess::WriteMemory(addr_t addr, const void *src, size_t src_len,
  969   size_t bytes_written = 0;
 1082       size_t num_paths = paths.GetSize();
 1085       for (size_t i = 0; i < num_paths; i++)
tools/lldb/source/API/SBSection.cpp
   98 size_t SBSection::GetNumSubSections() {
  107 lldb::SBSection SBSection::GetSubSectionAtIndex(size_t idx) {
tools/lldb/source/API/SBSourceManager.cpp
   39   size_t DisplaySourceLinesWithLineNumbers(const lldb_private::FileSpec &file,
  109 size_t SBSourceManager::DisplaySourceLinesWithLineNumbers(
  124 size_t SBSourceManager::DisplaySourceLinesWithLineNumbersAndColumn(
tools/lldb/source/API/SBStream.cpp
   54 size_t SBStream::GetSize() {
tools/lldb/source/API/SBStringList.cpp
  111 const char *SBStringList::GetStringAtIndex(size_t idx) {
  121 const char *SBStringList::GetStringAtIndex(size_t idx) const {
tools/lldb/source/API/SBStructuredData.cpp
  117 size_t SBStructuredData::GetSize() const {
  165 lldb::SBStructuredData SBStructuredData::GetItemAtIndex(size_t idx) const {
  198 size_t SBStructuredData::GetStringValue(char *dst, size_t dst_len) const {
  198 size_t SBStructuredData::GetStringValue(char *dst, size_t dst_len) const {
tools/lldb/source/API/SBTarget.cpp
  679 size_t SBTarget::ReadMemory(const SBAddress addr, void *buf, size_t size,
  679 size_t SBTarget::ReadMemory(const SBAddress addr, void *buf, size_t size,
  686   size_t bytes_read = 0;
 1059     for (size_t i = 0; i < func_names.GetSize(); i++) {
 1287   size_t num_names = matching_names.GetSize();
 1288   for (size_t i = 0; i < num_names; i++)
 1296   size_t num_bkpts = bp_ids.GetSize();
 1297   for (size_t i = 0; i < num_bkpts; i++) {
 1400 lldb::SBWatchpoint SBTarget::WatchAddress(lldb::addr_t addr, size_t size,
 1833     size_t count = module_list.GetSize();
 1834     for (size_t idx = 0; idx < count; idx++) {
 1892     for (size_t idx = 0; idx < type_list.GetSize(); idx++) {
 2042       const size_t bytes_read =
 2057                                                   size_t size) {
 2068                                     size_t size) {
 2095                                                   size_t size) {
 2106                                     size_t size) {
 2243           const size_t num_sections = section_list->GetSize();
 2244           for (size_t sect_idx = 0; sect_idx < num_sections; ++sect_idx) {
tools/lldb/source/API/SBThread.cpp
  156 size_t SBThread::GetStopReasonDataCount() {
  315 size_t SBThread::GetStopDescription(char *dst, size_t dst_len) {
  315 size_t SBThread::GetStopDescription(char *dst, size_t dst_len) {
  338           size_t stop_desc_len = 0;
tools/lldb/source/API/SBThreadCollection.cpp
   73 size_t SBThreadCollection::GetSize() {
   81 SBThread SBThreadCollection::GetThreadAtIndex(size_t idx) {
tools/lldb/source/API/SBThreadPlan.cpp
  125 size_t SBThreadPlan::GetStopReasonDataCount() {
tools/lldb/source/API/SBTrace.cpp
   27 size_t SBTrace::GetTraceData(SBError &error, void *buf, size_t size,
   27 size_t SBTrace::GetTraceData(SBError &error, void *buf, size_t size,
   28                              size_t offset, lldb::tid_t thread_id) {
   46 size_t SBTrace::GetMetaData(SBError &error, void *buf, size_t size,
   46 size_t SBTrace::GetMetaData(SBError &error, void *buf, size_t size,
   47                             size_t offset, lldb::tid_t thread_id) {
tools/lldb/source/API/SBType.cpp
  292     size_t count = func_type.GetNumberOfFunctionArguments();
  293     for (size_t i = 0; i < count; i++) {
tools/lldb/source/API/SBValue.cpp
  328 size_t SBValue::GetByteSize() {
  331   size_t result = 0;
 1491     size_t byte_size = GetByteSize();
tools/lldb/source/API/SBWatchpoint.cpp
  128 size_t SBWatchpoint::GetWatchSize() {
  131   size_t watch_size = 0;
tools/lldb/source/Breakpoint/Breakpoint.cpp
  201     size_t num_names = names_array->GetSize();
  202     for (size_t i = 0; i < num_names; i++) {
  233   size_t num_names = names_array->GetSize();
  237   for (size_t i = 0; i < num_names; i++) {
  272 BreakpointLocationSP Breakpoint::GetLocationAtIndex(size_t index) {
  561       size_t num_to_delete = locations_with_no_section.GetSize();
  563       for (size_t i = 0; i < num_to_delete; i++)
  585     size_t num_modules = module_list.GetSize();
  586     for (size_t i = 0; i < num_modules; i++) {
  589         size_t loc_idx = 0;
  590         size_t num_locations = m_locations.GetSize();
  610           size_t num_locations_to_remove = locations_to_remove.GetSize();
  674   size_t num_old_locations = old_break_locs.GetSize();
  698     size_t num_new_locations = new_break_locs.GetSize();
  730         for (size_t idx = 0; idx < num_old_locations; idx++) {
  738         for (size_t idx = 0; idx < num_new_locations; idx++) {
  779             size_t num_elements = old_id_vec.size();
  780             for (size_t idx = 0; idx < num_elements; idx++) {
  843 size_t Breakpoint::GetNumResolvedLocations() const {
  853 size_t Breakpoint::GetNumLocations() const { return m_locations.GetSize(); }
  872   const size_t num_locations = GetNumLocations();
  873   const size_t num_resolved_locations = GetNumResolvedLocations();
  953     for (size_t i = 0; i < num_locations; ++i) {
 1081 size_t Breakpoint::BreakpointEventData::GetNumBreakpointLocationsFromEvent(
tools/lldb/source/Breakpoint/BreakpointIDList.cpp
   28 size_t BreakpointIDList::GetSize() const { return m_breakpoint_ids.size(); }
   31 BreakpointIDList::GetBreakpointIDAtIndex(size_t index) const {
   36 bool BreakpointIDList::RemoveBreakpointIDAtIndex(size_t index) {
   63                                         size_t *position) const {
   64   for (size_t i = 0; i < m_breakpoint_ids.size(); ++i) {
   77                                         size_t *position) const {
  122   for (size_t i = 0; i < old_args.size(); ++i) {
  159       size_t pos = tmp_str.find('.');
  176           const size_t num_locations = breakpoint_sp->GetNumLocations();
  177           for (size_t j = 0; j < num_locations; ++j) {
  256     const size_t num_breakpoints = breakpoints.GetSize();
  257     for (size_t j = 0; j < num_breakpoints; ++j) {
  264       const size_t num_locations = breakpoint->GetNumLocations();
  268         for (size_t k = 0; k < num_locations; ++k) {
  280         for (size_t k = 0; k < num_locations; ++k) {
  333     size_t idx = in_string.find(specifier_str);
tools/lldb/source/Breakpoint/BreakpointList.cpp
  161 BreakpointSP BreakpointList::GetBreakpointAtIndex(size_t i) const {
tools/lldb/source/Breakpoint/BreakpointLocation.cpp
  224 const char *BreakpointLocation::GetConditionText(size_t *hash) const {
  235   size_t condition_hash;
tools/lldb/source/Breakpoint/BreakpointLocationCollection.cpp
  101 BreakpointLocationSP BreakpointLocationCollection::GetByIndex(size_t i) {
  111 BreakpointLocationCollection::GetByIndex(size_t i) const {
  123   size_t i = 0;
  124   size_t prev_size = GetSize();
tools/lldb/source/Breakpoint/BreakpointLocationList.cpp
   80 size_t BreakpointLocationList::FindInModule(
   83   const size_t orig_size = bp_loc_list.GetSize();
  136 BreakpointLocationSP BreakpointLocationList::GetByIndex(size_t i) {
  145 const BreakpointLocationSP BreakpointLocationList::GetByIndex(size_t i) const {
  180 size_t BreakpointLocationList::GetNumResolvedLocations() const {
  182   size_t resolve_count = 0;
  244     size_t num_locations = m_locations.size();
  245     for (size_t idx = 0; idx < num_locations; idx++) {
  255 void BreakpointLocationList::RemoveLocationByIndex(size_t idx) {
  263   size_t idx = 0;
tools/lldb/source/Breakpoint/BreakpointOptions.cpp
   33   size_t num_strings = user_source.GetSize();
   46   for (size_t i = 0; i < num_strings; i++) {
   95     size_t num_elems = user_source->GetSize();
   96     for (size_t i = 0; i < num_elems; i++) {
  494 const char *BreakpointOptions::GetConditionText(size_t *hash) const {
  600     const size_t num_strings = data->user_source.GetSize();
  601     for (size_t i = 0; i < num_strings; ++i) {
tools/lldb/source/Breakpoint/BreakpointResolver.cpp
   56   for (size_t i = 0; i < LastKnownResolverType; i++) {
tools/lldb/source/Breakpoint/BreakpointResolverFileLine.cpp
  228   const size_t num_comp_units = context.module_sp->GetNumCompileUnits();
  229   for (size_t i = 0; i < num_comp_units; i++) {
tools/lldb/source/Breakpoint/BreakpointResolverFileRegex.cpp
   59     size_t num_names = names_array->GetSize();
   60     for (size_t i = 0; i < num_names; i++) {
  119       std::vector<size_t> sc_to_remove;
  120       for (size_t i = 0; i < sc_list.GetSize(); i++) {
  134         std::vector<size_t>::reverse_iterator iter;
  135         std::vector<size_t>::reverse_iterator rend = sc_to_remove.rend();
tools/lldb/source/Breakpoint/BreakpointResolverName.cpp
   48     Breakpoint *bkpt, const char *names[], size_t num_names,
   54   for (size_t i = 0; i < num_names; i++) {
  148     size_t num_elem = names_array->GetSize();
  162     for (size_t i = 0; i < num_elem; i++) {
  183     for (size_t i = 1; i < num_elem; i++) {
  279         const size_t start_func_idx = func_list.GetSize();
  284         const size_t end_func_idx = func_list.GetSize();
  310     for (size_t idx = 0; idx < num_functions; idx++) {
  409     size_t num_names = m_lookups.size();
  414       for (size_t i = 0; i < num_names; i++) {
tools/lldb/source/Breakpoint/BreakpointSite.cpp
   36   const size_t owner_count = m_owners.GetSize();
   37   for (size_t i = 0; i < owner_count; i++) {
   66   const size_t owner_count = m_owners.GetSize();
   67   for (size_t i = 0; i < owner_count; i++) {
  100 size_t BreakpointSite::GetTrapOpcodeMaxByteSize() const {
  130 size_t BreakpointSite::RemoveOwner(lldb::break_id_t break_id,
  137 size_t BreakpointSite::GetNumberOfOwners() {
  142 BreakpointLocationSP BreakpointSite::GetOwnerAtIndex(size_t index) {
  159 bool BreakpointSite::IntersectsRange(lldb::addr_t addr, size_t size,
  161                                      size_t *intersect_size,
  162                                      size_t *opcode_offset) const {
  199 size_t
tools/lldb/source/Commands/CommandCompletions.cpp
  107     size_t FirstSep =
  157   size_t FullPrefixLen = CompletionBuffer.size();
  363       for (size_t sfiles = 0; sfiles < supporting_files.GetSize(); sfiles++) {
  405   for (size_t i = 0; i < m_matching_files.GetSize(); i++) {
tools/lldb/source/Commands/CommandObjectApropos.cpp
   44   const size_t argc = args.GetArgumentCount();
   66           const size_t max_len = commands_found.GetMaxStringLength();
   68           for (size_t i = 0; i < commands_found.GetSize(); ++i)
   76       const size_t num_properties =
   83         for (size_t i = 0; i < num_properties; ++i)
tools/lldb/source/Commands/CommandObjectBreakpoint.cpp
  575       const size_t num_files = m_options.m_filenames.GetSize();
  605       size_t num_modules_specified = m_options.m_modules.GetSize();
  656       const size_t num_files = m_options.m_filenames.GetSize();
  851       const size_t count = valid_bp_ids.GetSize();
  852       for (size_t i = 0; i < count; ++i) {
  910     size_t num_breakpoints = breakpoints.GetSize();
  935         const size_t count = valid_bp_ids.GetSize();
  936         for (size_t i = 0; i < count; ++i) {
 1016     size_t num_breakpoints = breakpoints.GetSize();
 1042         const size_t count = valid_bp_ids.GetSize();
 1043         for (size_t i = 0; i < count; ++i) {
 1170     size_t num_breakpoints = breakpoints.GetSize();
 1183       for (size_t i = 0; i < num_breakpoints; ++i) {
 1198         for (size_t i = 0; i < valid_bp_ids.GetSize(); ++i) {
 1301     size_t num_breakpoints = breakpoints.GetSize();
 1314     for (size_t i = 0; i < num_breakpoints; ++i)
 1325       for (size_t i = 0; i < num_breakpoints; ++i) {
 1439     size_t num_breakpoints = breakpoints.GetSize();
 1470         const size_t count = valid_bp_ids.GetSize();
 1471         for (size_t i = 0; i < count; ++i) {
 1674     const size_t argc = command.GetArgumentCount();
 1779     size_t num_breakpoints = breakpoints.GetSize();
 1798       size_t num_valid_ids = valid_bp_ids.GetSize();
 1802       for (size_t index = 0; index < num_valid_ids; index++) {
 1858     size_t num_breakpoints = breakpoints.GetSize();
 1878       size_t num_valid_ids = valid_bp_ids.GetSize();
 1879       for (size_t index = 0; index < num_valid_ids; index++) {
 2094     size_t num_breakpoints = new_bps.GetSize();
 2100       for (size_t i = 0; i < num_breakpoints; ++i) {
 2332     const size_t count = valid_ids->GetSize();
 2333     for (size_t i = 0; i < count; ++i) {
 2338         const size_t num_locations = breakpoint->GetNumLocations();
tools/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
  366     size_t num_breakpoints = breakpoints.GetSize();
  387       const size_t count = valid_bp_ids.GetSize();
  389       for (size_t i = 0; i < count; ++i) {
  537     size_t num_breakpoints = breakpoints.GetSize();
  558       const size_t count = valid_bp_ids.GetSize();
  559       for (size_t i = 0; i < count; ++i) {
  620     size_t num_breakpoints = breakpoints.GetSize();
  641       const size_t count = valid_bp_ids.GetSize();
  642       for (size_t i = 0; i < count; ++i) {
tools/lldb/source/Commands/CommandObjectCommands.cpp
  562     size_t pos = raw_command_string.find(alias_command);
  647     size_t argc = args.GetArgumentCount();
  982     const size_t argc = command.GetArgumentCount();
 1044     size_t regex_sed_size = regex_sed.size();
 1059     const size_t first_separator_char_pos = 1;
 1063     const size_t second_separator_char_pos =
 1076     const size_t third_separator_char_pos =
tools/lldb/source/Commands/CommandObjectExpression.cpp
  475           const size_t error_cstr_len = strlen(error_cstr);
  514   const size_t num_lines = lines.GetSize();
tools/lldb/source/Commands/CommandObjectFrame.cpp
  532             const size_t regex_start_index = regex_var_list.GetSize();
  536               size_t num_matches = 0;
  537               const size_t num_new_regex_vars =
  541                 for (size_t regex_idx = regex_start_index,
  629         const size_t num_variables = variable_list->GetSize();
  631           for (size_t i = 0; i < num_variables; i++) {
tools/lldb/source/Commands/CommandObjectHelp.cpp
   79   const size_t argc = command.GetArgumentCount();
  136           size_t num_matches = matches.GetSize();
  137           for (size_t match_idx = 0; match_idx < num_matches; match_idx++) {
  177       const size_t match_count = matches.GetSize();
  178       for (size_t i = 0; i < match_count; i++) {
tools/lldb/source/Commands/CommandObjectLog.cpp
   39   size_t arg_index = request.GetCursorIndex();
tools/lldb/source/Commands/CommandObjectMemory.cpp
  359     const size_t argc = command.GetArgumentCount();
  383       size_t idx;
  403       static size_t g_num_keywords = sizeof(g_keywords) / sizeof(const char *);
  407       for (size_t i = 0; i < g_num_keywords; ++i) {
  557     size_t total_byte_size = 0;
  575     size_t item_count = m_format_options.GetCountValue().GetCurrentValue();
  581     size_t item_byte_size =
  586     const size_t num_per_line =
  649     size_t bytes_read = 0;
  727         size_t read = target->ReadCStringFromMemory(data_addr, &buffer[0],
  787           const size_t bytes_written =
  877     size_t bytes_dumped = DumpDataExtractor(
 1032     const size_t argc = command.GetArgumentCount();
 1115     size_t count = m_memory_options.m_count.GetCurrentValue();
 1157                           size_t buffer_size) {
 1158     const size_t region_size = high - low;
 1163     std::vector<size_t> bad_char_heuristic(256, buffer_size);
 1167     for (size_t idx = 0; idx < buffer_size - 1; idx++) {
 1171     for (size_t s = 0; s <= (region_size - buffer_size);) {
 1289   bool UIntValueIsValidForSize(uint64_t uval64, size_t total_byte_size) {
 1300   bool SIntValueIsValidForSize(int64_t sval64, size_t total_byte_size) {
 1318     const size_t argc = command.GetArgumentCount();
 1342     size_t item_byte_size = byte_size_value.GetCurrentValue();
 1356       size_t length = SIZE_MAX;
 1366           size_t bytes_written =
 1503         size_t len = entry.ref().size();
 1631     const size_t argc = command.GetArgumentCount();
 1700       const size_t argc = command.GetArgumentCount();
tools/lldb/source/Commands/CommandObjectMultiword.cpp
   90   const size_t argc = args.GetArgumentCount();
  127   const size_t num_subcmd_matches = matches.GetSize();
tools/lldb/source/Commands/CommandObjectPlatform.cpp
  970       const size_t argc = args.GetArgumentCount();
 1335       const size_t argc = args.GetArgumentCount();
tools/lldb/source/Commands/CommandObjectPlugin.cpp
   50     size_t argc = command.GetArgumentCount();
tools/lldb/source/Commands/CommandObjectProcess.cpp
  352       const size_t num_matches = process_infos.GetSize();
  355       for (size_t i = 0; i < num_matches; ++i) {
  574               const size_t num_owners = bp_site_sp->GetNumberOfOwners();
  575               for (size_t i = 0; i < num_owners; i++) {
 1356       size_t num_args = signal_args.GetArgumentCount();
 1357       for (size_t i = 0; i < num_args; ++i) {
 1416     size_t num_args = signal_args.GetArgumentCount();
tools/lldb/source/Commands/CommandObjectRegister.cpp
  114                        RegisterContext *reg_ctx, size_t set_idx,
  127       const size_t num_registers = reg_set->num_registers;
  128       for (size_t reg_idx = 0; reg_idx < num_registers; ++reg_idx) {
  157       size_t set_idx;
  159       size_t num_register_sets = 1;
  160       const size_t set_array_size = m_command_options.set_indexes.GetSize();
  162         for (size_t i = 0; i < set_array_size; ++i) {
tools/lldb/source/Commands/CommandObjectSettings.cpp
  131     const size_t argc = request.GetParsedLine().GetArgumentCount();
  133     size_t setting_var_idx;
  176     const size_t min_argc = m_options.m_force ? 1 : 2;
  177     const size_t argc = cmd_args.GetArgumentCount();
  531     const size_t argc = args.GetArgumentCount();
  537       for (size_t i = 0; i < argc; ++i) {
  625     const size_t argc = cmd_args.GetArgumentCount();
  825     const size_t argc = cmd_args.GetArgumentCount();
  924     const size_t argc = cmd_args.GetArgumentCount();
 1011     const size_t argc = cmd_args.GetArgumentCount();
 1084     const size_t argc = command.GetArgumentCount();
tools/lldb/source/Commands/CommandObjectSource.cpp
  221       size_t file_idx = cu_file_list.FindFileIndex(0, file_spec, has_path);
  296       for (size_t i = 0; i < module->GetNumCompileUnits(); i++) {
  311   size_t GetSymbolContextsForAddress(const ModuleList &module_list,
  316     size_t num_matches = 0;
  322       const size_t num_modules = module_list.GetSize();
  323       for (size_t i = 0; i < num_modules; ++i) {
  398     size_t num_matches = sc_list_funcs.GetSize();
  406       size_t num_symbol_matches = sc_list_symbols.GetSize();
  407       for (size_t i = 0; i < num_symbol_matches; i++) {
  425     for (size_t i = 0; i < num_matches; i++) {
  509     const size_t num_modules = module_list.GetSize();
  553     const size_t argc = command.GetArgumentCount();
  580       for (size_t i = 0, e = m_options.modules.size(); i < e; ++i) {
  790   size_t DisplayFunctionSource(const SymbolContext &sc, SourceInfo &source_info,
  886     const size_t num_modules = m_options.modules.size();
  889       for (size_t i = 0; i < num_modules; ++i) {
  909     const size_t num_modules = m_options.modules.size();
  912       for (size_t i = 0; i < num_modules; ++i) {
  929     const size_t argc = command.GetArgumentCount();
  946       size_t num_matches = sc_list.GetSize();
  952         size_t num_symbol_matches =sc_list_symbols.GetSize();
  954         for (size_t i = 0; i < num_symbol_matches; i++) {
  980         for (size_t i = 0; i < num_matches; i++) {
 1020         const size_t num_modules = module_list.GetSize();
 1021         for (size_t i = 0; i < num_modules; ++i) {
 1105           size_t lines_to_back_up =
 1165       size_t num_matches = 0;
 1169         for (size_t i = 0, e = m_options.modules.size(); i < e; ++i) {
tools/lldb/source/Commands/CommandObjectTarget.cpp
  271     const size_t argc = command.GetArgumentCount();
  609     const size_t argc = args.GetArgumentCount();
  663     const size_t num_targets_to_delete = delete_target_list.size();
  664     for (size_t idx = 0; idx < num_targets_to_delete; ++idx) {
  799   static size_t GetVariableCallback(void *baton, const char *name,
  801     size_t old_size = variable_list.GetSize();
  815     size_t count = variable_list.GetSize();
  846     const size_t argc = args.GetArgumentCount();
  853       for (size_t idx = 0; idx < argc; ++idx) {
  858         size_t matches = 0;
  908       const size_t num_compile_units = compile_units.GetSize();
  909       const size_t num_shlibs = shlibs.GetSize();
  921               size_t count = comp_unit_varlist_sp->GetSize();
  948           for (size_t shlib_idx = 0; shlib_idx < num_shlibs; ++shlib_idx) {
  956                 for (size_t cu_idx = 0; cu_idx < num_compile_units; ++cu_idx)
  974           for (size_t cu_idx = 0; cu_idx < num_compile_units; ++cu_idx)
 1062     const size_t argc = command.GetArgumentCount();
 1067       for (size_t i = 0; i < argc; i += 2) {
 1169     size_t argc = command.GetArgumentCount();
 1393 static size_t DumpModuleObjfileHeaders(Stream &strm, ModuleList &module_list) {
 1394   size_t num_dumped = 0;
 1396   const size_t num_modules = module_list.GetSize();
 1401     for (size_t image_idx = 0; image_idx < num_modules; ++image_idx) {
 1593 static size_t LookupFunctionInModule(CommandInterpreter &interpreter,
 1600     size_t num_matches = 0;
 1626 static size_t LookupTypeInModule(CommandInterpreter &interpreter, Stream &strm,
 1632     size_t num_matches = 0;
 1673 static size_t LookupTypeHere(CommandInterpreter &interpreter, Stream &strm,
 1744 static size_t FindModulesByName(Target *target, const char *module_name,
 1750   const size_t initial_size = module_list.GetSize();
 1756     const size_t num_modules = Module::GetNumberAllocatedModules();
 1758     for (size_t image_idx = 0; image_idx < num_modules; ++image_idx) {
 1771       const size_t num_matches = module_list.GetSize();
 1886     size_t num_dumped = 0;
 1902         size_t num_matched =
 2009       const size_t num_modules = target->GetImages().GetSize();
 2014         for (size_t image_idx = 0; image_idx < num_modules; ++image_idx) {
 2039         const size_t num_matches =
 2042           for (size_t i = 0; i < num_matches; ++i) {
 2101       const size_t num_modules = target->GetImages().GetSize();
 2106         for (size_t image_idx = 0; image_idx < num_modules; ++image_idx) {
 2126         const size_t num_matches =
 2129           for (size_t i = 0; i < num_matches; ++i) {
 2180     const size_t num_modules = target->GetImages().GetSize();
 2192       for (size_t image_idx = 0; image_idx < num_modules; ++image_idx) {
 2206       const size_t num_matches =
 2218       for (size_t i = 0; i < num_matches; ++i) {
 2260       const size_t num_modules = target_modules.GetSize();
 2285         const size_t num_matches =
 2288           for (size_t i = 0; i < num_matches; ++i) {
 2355         const size_t num_modules = target_modules.GetSize();
 2490     const size_t argc = args.GetArgumentCount();
 2647     const size_t argc = args.GetArgumentCount();
 2669       const size_t num_matches = FindModulesByName(
 2696       const size_t num_matches = matching_modules.GetSize();
 2729                 for (size_t i = 0; i < argc; i += 2) {
 2859           for (size_t i = 0; i < num_matches; ++i) {
 3001       size_t num_modules = 0;
 3011       const size_t argc = command.GetArgumentCount();
 3022         for (size_t i = 0; i < argc; ++i) {
 3025           const size_t num_matches = FindModulesByName(
 3060           const size_t indent = strm.Printf("[%3u] ", image_idx);
 3098     const size_t num_entries = m_options.m_format_array.size();
 3100     for (size_t i = 0; i < num_entries; ++i) {
 3173         size_t ref_count = 0;
 3372     size_t num_matches = sc_list.GetSize();
 3867       const size_t num_modules = target_modules.GetSize();
 3893         const size_t num_matches =
 3896           for (size_t j = 0; j < num_matches; ++j) {
 4051       size_t num_matches = 0;
 4076           const size_t num_symfile_module_specs =
 4078           for (size_t i = 0; i < num_symfile_module_specs && num_matches == 0;
 4215     const size_t argc = args.GetArgumentCount();
 4726     size_t num_args = command.GetArgumentCount();
 4736       for (size_t i = 0; i < num_args; i++) {
 4777     size_t num_args = command.GetArgumentCount();
 4783       for (size_t i = 0; i < num_args; i++) {
 4826     size_t num_hooks = target.GetNumStopHooks();
 4830       for (size_t i = 0; i < num_hooks; i++) {
tools/lldb/source/Commands/CommandObjectThread.cpp
  111       const size_t num_args = command.GetArgumentCount();
  117       for (size_t i = 0; i < num_args; i++) {
  842       const size_t argc = command.GetArgumentCount();
 1108         size_t num_args = command.GetArgumentCount();
 1109         for (size_t i = 0; i < num_args; i++) {
tools/lldb/source/Commands/CommandObjectType.cpp
  637     const size_t argc = command.GetArgumentCount();
  787     const size_t argc = command.GetArgumentCount();
 1031     const size_t argc = command.GetArgumentCount();
 1261   const size_t argc = command.GetArgumentCount();
 1386   const size_t argc = command.GetArgumentCount();
 1778     const size_t argc = command.GetArgumentCount();
 1874     const size_t argc = command.GetArgumentCount();
 1936     const size_t argc = command.GetArgumentCount();
 2041     const size_t argc = command.GetArgumentCount();
 2098     const size_t argc = command.GetArgumentCount();
 2252   const size_t argc = command.GetArgumentCount();
 2557     const size_t argc = command.GetArgumentCount();
tools/lldb/source/Commands/CommandObjectWatchpoint.cpp
   87   size_t i;
  107   size_t size = StrRefArgs.size();
  233     size_t num_watchpoints = watchpoints.GetSize();
  246       for (size_t i = 0; i < num_watchpoints; ++i) {
  261       const size_t size = wp_ids.size();
  262       for (size_t i = 0; i < size; ++i) {
  308     size_t num_watchpoints = watchpoints.GetSize();
  334       const size_t size = wp_ids.size();
  335       for (size_t i = 0; i < size; ++i)
  377     size_t num_watchpoints = watchpoints.GetSize();
  407       const size_t size = wp_ids.size();
  408       for (size_t i = 0; i < size; ++i)
  450     size_t num_watchpoints = watchpoints.GetSize();
  481       const size_t size = wp_ids.size();
  482       for (size_t i = 0; i < size; ++i)
  567     size_t num_watchpoints = watchpoints.GetSize();
  592       const size_t size = wp_ids.size();
  593       for (size_t i = 0; i < size; ++i)
  688     size_t num_watchpoints = watchpoints.GetSize();
  711       const size_t size = wp_ids.size();
  712       for (size_t i = 0; i < size; ++i) {
  786   static size_t GetVariableCallback(void *baton, const char *name,
  788     size_t old_size = variable_list.GetSize();
  818     size_t size = 0;
 1012     size_t size = 0;
tools/lldb/source/Commands/CommandObjectWatchpointCommand.cpp
  395     size_t num_watchpoints = watchpoints.GetSize();
  420     const size_t count = valid_wp_ids.size();
  421     for (size_t i = 0; i < count; ++i) {
  505     size_t num_watchpoints = watchpoints.GetSize();
  529     const size_t count = valid_wp_ids.size();
  530     for (size_t i = 0; i < count; ++i) {
  577     size_t num_watchpoints = watchpoints.GetSize();
  601     const size_t count = valid_wp_ids.size();
  602     for (size_t i = 0; i < count; ++i) {
tools/lldb/source/Core/Address.cpp
   60 static size_t ReadBytes(ExecutionContextScope *exe_scope,
   61                         const Address &address, void *dst, size_t dst_len) {
  189 static size_t ReadCStringFromMemory(ExecutionContextScope *exe_scope,
  193   const size_t k_buf_len = 256;
  199   size_t total_len = 0;
  200   size_t bytes_read;
  205     size_t len = strlen(buf);
  715           const size_t num_variables = variable_list.GetSize();
  716           for (size_t var_idx = 0; var_idx < num_variables; ++var_idx) {
  938 size_t Address::MemorySize() const {
tools/lldb/source/Core/AddressResolver.cpp
   37 size_t AddressResolver::GetNumberOfAddresses() {
   41 AddressRange &AddressResolver::GetAddressRangeAtIndex(size_t idx) {
tools/lldb/source/Core/Communication.cpp
  123 size_t Communication::Read(void *dst, size_t dst_len,
  123 size_t Communication::Read(void *dst, size_t dst_len,
  134     size_t cached_bytes = GetCachedBytes(dst, dst_len);
  171 size_t Communication::Write(const void *src, size_t src_len,
  171 size_t Communication::Write(const void *src, size_t src_len,
  251 size_t Communication::GetCachedBytes(void *dst, size_t dst_len) {
  251 size_t Communication::GetCachedBytes(void *dst, size_t dst_len) {
  259     const size_t len = std::min<size_t>(dst_len, m_bytes.size());
  259     const size_t len = std::min<size_t>(dst_len, m_bytes.size());
  269 void Communication::AppendBytesToCache(const uint8_t *bytes, size_t len,
  290 size_t Communication::ReadFromConnection(void *dst, size_t dst_len,
  290 size_t Communication::ReadFromConnection(void *dst, size_t dst_len,
  319     size_t bytes_read = comm->ReadFromConnection(
tools/lldb/source/Core/Debugger.cpp
   85 static size_t g_debugger_event_thread_stack_bytes = 8 * 1024 * 1024;
  926 void Debugger::PrintAsync(const char *s, size_t len, bool is_stdout) {
 1069 size_t Debugger::GetNumDebuggers() {
 1077 lldb::DebuggerSP Debugger::GetDebuggerAtIndex(size_t index) {
 1273     size_t len;
tools/lldb/source/Core/Disassembler.cpp
  129 size_t Disassembler::Disassemble(Debugger &debugger, const ArchSpec &arch,
  137   size_t success_count = 0;
  138   const size_t count = sc_list.GetSize();
  144   for (size_t i = 0; i < count; ++i) {
  208   const size_t bytes_disassembled =
  219                                const void *src, size_t src_len,
  260   size_t bytes_disassembled =
  290   size_t bytes_disassembled = disasm_sp->ParseInstructions(
  391   size_t num_instructions_found = disasm_ptr->GetInstructionList().GetSize();
  436   size_t address_text_size = 0;
  437   for (size_t i = 0; i < num_instructions_found; ++i) {
  453           size_t cur_line = strmstr.GetSizeOfLastLine();
  487   for (size_t i = 0; i < num_instructions_found; ++i) {
  585                     for (size_t i = 0; i < previous_lines.size(); i++) {
  625         for (size_t idx = 0; idx < source_lines_to_display.lines.size();
  701                        size_t max_address_text_size) {
  702   size_t opcode_column_width = 7;
  703   const size_t operand_column_width = 25;
  734   const size_t opcode_pos = ss.GetSizeOfLastLine();
  794     size_t len = line.size();
  855     size_t len = line.size();
  917         size_t len = value.size();
 1049 size_t InstructionList::GetSize() const { return m_instructions.size(); }
 1063 InstructionSP InstructionList::GetInstructionAtIndex(size_t idx) const {
 1105   size_t num_instructions = m_instructions.size();
 1108   size_t i;
 1159   size_t num_instructions = m_instructions.size();
 1161   for (size_t i = 0; i < num_instructions; i++) {
 1178 size_t Disassembler::ParseInstructions(const ExecutionContext *exe_ctx,
 1193     const size_t bytes_read = target->ReadMemory(
 1217 size_t Disassembler::ParseInstructions(const ExecutionContext *exe_ctx,
 1238   const size_t bytes_read =
 1305 size_t PseudoInstruction::Decode(const lldb_private::Disassembler &disassembler,
 1311 void PseudoInstruction::SetOpcode(size_t opcode_size, void *opcode_data) {
tools/lldb/source/Core/DumpDataExtractor.cpp
  133     lldb::Format item_format, size_t item_byte_size, size_t item_count,
  133     lldb::Format item_format, size_t item_byte_size, size_t item_count,
  134     size_t num_per_line, uint64_t base_addr,
  170         size_t bytes_consumed = disassembler_sp->DecodeInstructions(
  476       size_t complex_int_byte_size = item_byte_size / 2;
  576           const size_t semantics_byte_size =
  801 void lldb_private::DumpHexBytes(Stream *s, const void *src, size_t src_len,
tools/lldb/source/Core/DynamicLoader.cpp
  133   const size_t num_sections = sections->GetSize();
  134   for (size_t i = 0; i < num_sections; ++i) {
tools/lldb/source/Core/EmulateInstruction.cpp
  157 size_t EmulateInstruction::ReadMemory(const Context &context, lldb::addr_t addr,
  158                                       void *dst, size_t dst_len) {
  167                                                 size_t byte_size,
  174     size_t bytes_read =
  194                                              size_t uval_byte_size) {
  198   size_t bytes_written = m_write_mem_callback(
  204                                      const void *src, size_t src_len) {
  248 size_t EmulateInstruction::ReadMemoryFrame(EmulateInstruction *instruction,
  251                                            size_t dst_len) {
  265 size_t EmulateInstruction::WriteMemoryFrame(EmulateInstruction *instruction,
  268                                             size_t src_len) {
  305 size_t EmulateInstruction::ReadMemoryDefault(EmulateInstruction *instruction,
  309                                              size_t length) {
  320 size_t EmulateInstruction::WriteMemoryDefault(EmulateInstruction *instruction,
  324                                               const void *dst, size_t length) {
tools/lldb/source/Core/FileSpecList.cpp
   61 size_t FileSpecList::FindFileIndex(size_t start_idx, const FileSpec &file_spec,
   61 size_t FileSpecList::FindFileIndex(size_t start_idx, const FileSpec &file_spec,
   63   const size_t num_files = m_files.size();
   69   for (size_t idx = start_idx; idx < num_files; ++idx) {
   87 const FileSpec &FileSpecList::GetFileSpecAtIndex(size_t idx) const {
   94 const FileSpec *FileSpecList::GetFileSpecPointerAtIndex(size_t idx) const {
  104 size_t FileSpecList::MemorySize() const {
  105   size_t mem_size = sizeof(FileSpecList);
  115 size_t FileSpecList::GetSize() const { return m_files.size(); }
  117 size_t FileSpecList::GetFilesMatchingPartialPath(const char *path,
tools/lldb/source/Core/FormatEntity.cpp
  510                                size_t &close_bracket_index,
  515   const size_t open_bracket_index = subpath.find('[');
  537       const size_t separator_index = subpath.find('-', open_bracket_index + 1);
  622 static ValueObjectSP ExpandIndexedExpression(ValueObject *valobj, size_t index,
  734   size_t close_bracket_index = llvm::StringRef::npos;
 1673             const size_t num_args = args.GetSize();
 1674             for (size_t arg_idx = 0; arg_idx < num_args; ++arg_idx) {
 1862     const size_t n = parent->num_children;
 1863     for (size_t i = 0; i < n; ++i) {
 1878   const size_t sep_pos = format_str.find_first_of(".[:");
 1883   const size_t n = parent->num_children;
 1884   for (size_t i = 0; i < n; ++i) {
 1965   const size_t n = parent->num_children;
 1966   for (size_t i = 0; i < n; ++i) {
 1993     const size_t non_special_chars = format.find_first_of("${}\\");
 2285   const size_t paren_pos = format_str.find('}');
 2287     const size_t percent_pos = format_str.find('%');
 2335   const size_t n = def->num_children;
 2337     for (size_t i = 0; i < n; ++i) {
 2352   const size_t dollar_pos = str.rfind('$');
 2367   const size_t close_pos = str.find('}', dollar_pos + 2);
 2371   const size_t format_pos = str.find('%', dollar_pos + 2);
 2391   const size_t n = entry_def->num_children;
tools/lldb/source/Core/Highlighter.cpp
   30                                    llvm::Optional<size_t> cursor_pos,
   43   size_t column = *cursor_pos;
   75                                    llvm::Optional<size_t> cursor_pos,
tools/lldb/source/Core/IOHandler.cpp
  146 void IOHandlerStack::PrintAsync(Stream *stream, const char *s, size_t len) {
  315   size_t pos = line_buffer.find('\n');
  376       size_t bytes_read = sizeof(buffer);
  605 void IOHandlerEditline::PrintAsync(Stream *stream, const char *s, size_t len) {
  857   size_t GetNumLines() const { return m_text.GetSize(); }
  859   size_t GetMaxLineLength() const { return m_text.GetMaxStringLength(); }
 1025     size_t i = 0;
 1054     size_t i = 0;
 1132         const size_t num_lines = help_delegate_up->GetNumLines();
 1133         const size_t max_length = help_delegate_up->GetMaxLineLength();
 1214           const size_t num_subwindows = m_subwindows.size();
 1215           for (size_t i = 0; i < num_subwindows; ++i) {
 1249     const size_t num_subwindows = m_subwindows.size();
 1262       for (size_t idx = m_curr_active_window_idx + 1; idx < num_subwindows;
 1271         for (size_t idx = 0; idx <= m_prev_active_window_idx; ++idx) {
 1280       for (size_t idx = 0; idx < num_subwindows; ++idx) {
 1442   const size_t num_submenus = submenus.size();
 1443   for (size_t i = 0; i < num_submenus; ++i) {
 1481       size_t lower_pos = m_name.find(tolower(shortcut_key));
 1482       size_t upper_pos = m_name.find(toupper(shortcut_key));
 1484       size_t pos = std::min<size_t>(lower_pos, upper_pos);
 1484       size_t pos = std::min<size_t>(lower_pos, upper_pos);
 1524   const size_t num_submenus = submenus.size();
 1531     for (size_t i = 0; i < num_submenus; ++i) {
 1551     for (size_t i = 0; i < num_submenus; ++i) {
 1575   const size_t num_submenus = submenus.size();
 1614       for (size_t i = 0; i < num_submenus; ++i) {
 1691       for (size_t i = 0; i < num_submenus; ++i) {
 1897   size_t GetDepth() const {
 1917         const size_t num_children = valobj->GetNumChildren();
 1918         for (size_t i = 0; i < num_children; ++i) {
 2024   size_t GetDepth() const {
 2034   void Resize(size_t n, const TreeItem &t) { m_children.resize(n, t); }
 2036   TreeItem &operator[](size_t i) { return m_children[i]; }
 2040   size_t GetNumChildren() {
 2491           size_t num_frames = thread_sp->GetStackFrameCount();
 2493           for (size_t i = 0; i < num_frames; ++i) {
 2583         size_t num_threads = threads.GetSize();
 2585         for (size_t i = 0; i < num_threads; ++i) {
 2940   static Row *GetRowForRowIndexImpl(std::vector<Row> &rows, size_t &row_index) {
 2957   Row *GetRowForRowIndex(size_t row_index) {
 3005           const size_t num_locals = locals->GetSize();
 3006           for (size_t i = 0; i < num_locals; ++i) {
 3310   const size_t num_visible_lines = max_y - min_y + 1;
 3311   const size_t num_lines = m_text.GetSize();
 3330   const size_t num_lines = m_text.GetSize();
 3331   const size_t num_visible_lines = window.GetHeight() - 2;
 3564         size_t num_threads = threads.GetSize();
 3565         for (size_t i = 0; i < num_threads; ++i) {
 3904               const size_t num_lines = m_file_sp->GetNumLines();
 3906               for (size_t n = num_lines; n >= 10; n = n / 10)
 3976     const size_t num_source_lines = GetNumSourceLines();
 3982         const size_t num_bps = bp_list.GetSize();
 3983         for (size_t bp_idx = 0; bp_idx < num_bps; ++bp_idx) {
 3985           const size_t num_bps_locs = bp_sp->GetNumLocations();
 3986           for (size_t bp_loc_idx = 0; bp_loc_idx < num_bps_locs; ++bp_loc_idx) {
 4003       for (size_t i = 0; i < num_visible_lines; ++i) {
 4052                 size_t stop_description_len = strlen(stop_description);
 4071       size_t num_disassembly_lines = GetNumDisassemblyLines();
 4078           const size_t num_bps = bp_list.GetSize();
 4079           for (size_t bp_idx = 0; bp_idx < num_bps; ++bp_idx) {
 4081             const size_t num_bps_locs = bp_sp->GetNumLocations();
 4082             for (size_t bp_loc_idx = 0; bp_loc_idx < num_bps_locs;
 4125         for (size_t i = 0; i < num_visible_lines; ++i) {
 4199                 size_t stop_description_len = strlen(stop_description);
 4219   size_t GetNumLines() {
 4220     size_t num_lines = GetNumSourceLines();
 4226   size_t GetNumSourceLines() const {
 4232   size_t GetNumDisassemblyLines() const {
 4240     const size_t num_lines = GetNumLines();
tools/lldb/source/Core/Mangled.cpp
  200     size_t demangled_size = 80;
  396 size_t Mangled::MemorySize() const {
tools/lldb/source/Core/Module.cpp
  112 size_t Module::GetNumberAllocatedModules() {
  118 Module *Module::GetAllocatedModuleAtIndex(size_t idx) {
  288                                         size_t size_to_read) {
  297       const size_t bytes_read =
  363   size_t num_comp_units = GetNumCompileUnits();
  371   for (size_t cu_idx = 0; cu_idx < num_comp_units; cu_idx++) {
  404 size_t Module::GetNumCompileUnits() {
  414 CompUnitSP Module::GetCompileUnitAtIndex(size_t index) {
  416   size_t num_comp_units = GetNumCompileUnits();
  599                                  size_t max_matches, VariableList &variables) {
  605                                  size_t max_matches, VariableList &variables) {
  613   const size_t num_compile_units = GetNumCompileUnits();
  617   for (size_t i = 0; i < num_compile_units; ++i) {
  727                                size_t start_idx) const {
  730     size_t i = start_idx;
  750     size_t i = start_idx;
  791   const size_t old_size = sc_list.GetSize();
  814     const size_t new_size = sc_list.GetSize();
  837   const size_t start_size = sc_list.GetSize();
  851         const size_t num_matches = symbol_indexes.size();
  854           const size_t end_functions_added_index = sc_list.GetSize();
  855           size_t num_functions_added_to_sc_list =
  860             for (size_t i = 0; i < num_matches; ++i) {
  870             for (size_t i = start_size; i < end_functions_added_index; ++i) {
  882             for (size_t i = start_size; i < num_matches; ++i) {
  913   for (size_t n = 0; n < resolver.GetNumberOfAddresses(); n++) {
  925     size_t max_matches,
  937                                   size_t max_matches, TypeList &type_list) {
  960     ConstString name, bool exact_match, size_t max_matches,
 1298   size_t num_indices = symbol_indexes.size();
 1302     for (size_t i = 0; i < num_indices; i++) {
 1418           size_t num_sections = section_list->GetNumSections(0);
 1419           for (size_t idx = num_sections; idx > 0; --idx) {
 1450       size_t num_sections = sections->GetSize();
 1451       for (size_t sect_idx = 0; sect_idx < num_sections; sect_idx++) {
tools/lldb/source/Core/ModuleList.cpp
  160     size_t idx = 0;
  259 size_t ModuleList::RemoveOrphans(bool mandatory) {
  270   size_t remove_count = 0;
  282 size_t ModuleList::Remove(ModuleList &module_list) {
  284   size_t num_removed = 0;
  306 Module *ModuleList::GetModulePointerAtIndex(size_t idx) const {
  311 Module *ModuleList::GetModulePointerAtIndexUnlocked(size_t idx) const {
  317 ModuleSP ModuleList::GetModuleAtIndex(size_t idx) const {
  322 ModuleSP ModuleList::GetModuleAtIndexUnlocked(size_t idx) const {
  333   const size_t old_size = sc_list.GetSize();
  346     const size_t new_size = sc_list.GetSize();
  363   const size_t old_size = sc_list.GetSize();
  375     const size_t new_size = sc_list.GetSize();
  407 void ModuleList::FindGlobalVariables(ConstString name, size_t max_matches,
  417                                      size_t max_matches,
  491                            bool name_is_fully_qualified, size_t max_matches,
  558 size_t ModuleList::GetSize() const {
  559   size_t size = 0;
  653 size_t ModuleList::GetIndexForModule(const Module *module) const {
  708 size_t ModuleList::RemoveOrphanSharedModules(bool mandatory) {
  741     const size_t num_matching_modules = matching_module_list.GetSize();
  744       for (size_t module_idx = 0; module_idx < num_matching_modules;
  802     for (size_t idx = 0; idx < num_directories; ++idx) {
tools/lldb/source/Core/RichManglingContext.cpp
   90 void RichManglingContext::processIPDStrResult(char *ipd_res, size_t res_size) {
tools/lldb/source/Core/SearchFilter.cpp
   59   for (size_t i = 0; i <= LastKnownFilterType; i++) {
  187   size_t num_modules = file_list.GetSize();
  194   for (size_t i = 0; i < num_modules; i++) {
  228     const size_t numModules = modules.GetSize();
  230     for (size_t i = 0; i < numModules; i++) {
  263       size_t n_modules = target_images.GetSize();
  264       for (size_t i = 0; i < n_modules; i++) {
  298     const size_t num_comp_units = module_sp->GetNumCompileUnits();
  299     for (size_t i = 0; i < num_comp_units; i++) {
  443   const size_t num_modules = target_modules.GetSize();
  444   for (size_t i = 0; i < num_modules; i++) {
  485   size_t num_modules = modules_array->GetSize();
  580   const size_t num_modules = target_modules.GetSize();
  581   for (size_t i = 0; i < num_modules; i++) {
  596   size_t num_modules = m_module_spec_list.GetSize();
  604     for (size_t i = 0; i < num_modules; i++) {
  633     size_t num_modules = modules_array->GetSize();
  634     for (size_t i = 0; i < num_modules; i++) {
  696     size_t num_modules = modules_array->GetSize();
  697     for (size_t i = 0; i < num_modules; i++) {
  717   size_t num_cus = cus_array->GetSize();
  719   for (size_t i = 0; i < num_cus; i++) {
  790   const size_t num_modules = target_images.GetSize();
  792   for (size_t i = 0; i < num_modules; i++) {
  805         const size_t num_cu = module_sp->GetNumCompileUnits();
  806         for (size_t cu_idx = 0; cu_idx < num_cu; cu_idx++) {
  825   size_t num_modules = m_module_spec_list.GetSize();
  833     for (size_t i = 0; i < num_modules; i++) {
tools/lldb/source/Core/Section.cpp
  248   const size_t num_children = m_children.GetSize();
  249   for (size_t i = 0; i < num_children; i++) {
  426 size_t SectionList::AddSection(const lldb::SectionSP &section_sp) {
  428     size_t section_index = m_sections.size();
  433   return std::numeric_limits<size_t>::max();
  437 bool SectionList::DeleteSection(size_t idx) {
  445 size_t SectionList::FindSectionIndex(const Section *sect) {
  458 size_t SectionList::AddUniqueSection(const lldb::SectionSP &sect_sp) {
  459   size_t sect_idx = FindSectionIndex(sect_sp.get());
  484 size_t SectionList::GetNumSections(uint32_t depth) const {
  485   size_t count = m_sections.size();
  495 SectionSP SectionList::GetSectionAtIndex(size_t idx) const {
  545                                          size_t start_idx) const {
  547   size_t num_sections = m_sections.size();
  548   for (size_t idx = start_idx; idx < num_sections; ++idx) {
  616 size_t SectionList::Slide(addr_t slide_amount, bool slide_children) {
  617   size_t count = 0;
tools/lldb/source/Core/SourceManager.cpp
  150 size_t SourceManager::DisplaySourceLinesWithLineNumbersUsingLastFile(
  199       llvm::Optional<size_t> columnToHighlight;
  203       size_t this_line_size =
  212         for (size_t i = 0; i + 1 < column && i < src_line.length(); ++i)
  226 size_t SourceManager::DisplaySourceLinesWithLineNumbers(
  249 size_t SourceManager::DisplayMoreWithLineNumbers(
  330         size_t num_matches = sc_list.GetSize();
  331         for (size_t idx = 0; idx < num_matches; idx++) {
  392         size_t num_matches =
  466   size_t line_offset = GetLineOffset(line);
  477   size_t start_offset = GetLineOffset(line);
  478   size_t end_offset = GetLineOffset(line + 1);
  523 size_t SourceManager::File::DisplaySourceLines(uint32_t line,
  524                                                llvm::Optional<size_t> column,
  536   size_t bytes_written = s->GetWrittenBytes();
  568       size_t count = end_line_offset - start_line_offset;
  672   size_t start_offset = GetLineOffset(line_no);
  673   size_t end_offset = GetLineOffset(line_no + 1);
tools/lldb/source/Core/StreamAsynchronousIO.cpp
   33 size_t StreamAsynchronousIO::WriteImpl(const void *s, size_t length) {
   33 size_t StreamAsynchronousIO::WriteImpl(const void *s, size_t length) {
tools/lldb/source/Core/StreamFile.cpp
   67 size_t StreamFile::WriteImpl(const void *s, size_t length) {
   67 size_t StreamFile::WriteImpl(const void *s, size_t length) {
tools/lldb/source/Core/UserSettingsController.cpp
   85 size_t
  111   size_t dot_pos = setting.find_first_of('.');
tools/lldb/source/Core/Value.cpp
  143 size_t Value::AppendDataToHostBuffer(const Value &rhs) {
  147   size_t curr_size = m_data_buffer.GetByteSize();
  151     const size_t scalar_size = rhs.m_value.GetByteSize();
  153       const size_t new_size = curr_size + scalar_size;
  163     const size_t vector_size = rhs.m_vector.length;
  165       const size_t new_size = curr_size + vector_size;
  177     const size_t src_len = rhs.GetBuffer().GetByteSize();
  179       const size_t new_size = curr_size + src_len;
  190 size_t Value::ResizeData(size_t len) {
  190 size_t Value::ResizeData(size_t len) {
  511   size_t byte_size = GetValueByteSize(&error, exe_ctx);
  561           const size_t bytes_read =
  698 size_t ValueList::GetSize() { return m_values.size(); }
  700 Value *ValueList::GetValueAtIndex(size_t idx) {
tools/lldb/source/Core/ValueObject.cpp
  476 ValueObjectSP ValueObject::GetChildAtIndex(size_t idx, bool can_create) {
  497 ValueObject::GetChildAtIndexPath(llvm::ArrayRef<size_t> idxs,
  498                                  size_t *index_of_error) {
  502   for (size_t idx : idxs) {
  514   llvm::ArrayRef<std::pair<size_t, bool>> idxs, size_t *index_of_error) {
  514   llvm::ArrayRef<std::pair<size_t, bool>> idxs, size_t *index_of_error) {
  518   for (std::pair<size_t, bool> idx : idxs) {
  563 size_t ValueObject::GetIndexOfChildWithName(ConstString name) {
  582   const size_t num_child_indexes =
  602 size_t ValueObject::GetNumChildren(uint32_t max) {
  607       size_t children_count = m_children.GetChildrenCount();
  632 void ValueObject::SetNumChildren(size_t num_children) {
  639 ValueObject *ValueObject::CreateChildAtIndex(size_t idx,
  761 size_t ValueObject::GetPointeeData(DataExtractor &data, uint32_t item_idx,
  821           size_t bytes_read = target->ReadMemory(
  835         size_t bytes_read = process->ReadMemory(
  847         size_t bytes_read = std::min<uint64_t>(*max_bytes - offset, bytes);
  893   const size_t byte_size = GetByteSize();
  915       size_t bytes_written = process->WriteMemory(
  953 std::pair<size_t, bool>
  972   size_t bytes_read = 0;
  973   size_t total_bytes_read = 0;
  983     size_t cstr_len = 0;
 1033         for (size_t offset = 0; offset < bytes_read; offset++)
 1040       const size_t k_max_buf_size = 64;
 1042       size_t offset = 0;
 1053         size_t len = strnlen(cstr, k_max_buf_size);
 1065         for (size_t offset = 0; offset < bytes_read; offset++)
 1297         std::pair<size_t, bool> read_string = ReadPointedString(
 1324           const size_t count = GetNumChildren();
 1327           for (size_t low = 0; low < count; low++) {
 1363           const size_t count = GetNumChildren();
 1368           for (size_t low = 0; low < count; low++) {
 1583   const size_t byte_size = GetByteSize();
 1607           size_t bytes_written = process->WriteScalarToMemory(
 1757 ValueObjectSP ValueObject::GetSyntheticArrayMember(size_t index,
 2309       size_t next_sep_pos = temp_expression.find_first_of("-.[", 1);
 2498       size_t close_bracket_position = temp_expression.find(']', 1);
tools/lldb/source/Core/ValueObjectCast.cpp
   45 size_t ValueObjectCast::CalculateNumChildren(uint32_t max) {
tools/lldb/source/Core/ValueObjectChild.cpp
   52 size_t ValueObjectChild::CalculateNumChildren(uint32_t max) {
tools/lldb/source/Core/ValueObjectConstResult.cpp
  208 void ValueObjectConstResult::SetByteSize(size_t size) { m_byte_size = size; }
  210 size_t ValueObjectConstResult::CalculateNumChildren(uint32_t max) {
  259     size_t idx, bool synthetic_array_member, int32_t synthetic_index) {
  264 size_t ValueObjectConstResult::GetPointeeData(DataExtractor &data,
tools/lldb/source/Core/ValueObjectConstResultCast.cpp
   48     size_t idx, bool synthetic_array_member, int32_t synthetic_index) {
   53 size_t ValueObjectConstResultCast::GetPointeeData(DataExtractor &data,
tools/lldb/source/Core/ValueObjectConstResultChild.cpp
   60     size_t idx, bool synthetic_array_member, int32_t synthetic_index) {
   65 size_t ValueObjectConstResultChild::GetPointeeData(DataExtractor &data,
tools/lldb/source/Core/ValueObjectConstResultImpl.cpp
   49     size_t idx, bool synthetic_array_member, int32_t synthetic_index) {
  173 size_t ValueObjectConstResultImpl::GetPointeeData(DataExtractor &data,
tools/lldb/source/Core/ValueObjectDynamicValue.cpp
   91 size_t ValueObjectDynamicValue::CalculateNumChildren(uint32_t max) {
tools/lldb/source/Core/ValueObjectList.cpp
   36 size_t ValueObjectList::GetSize() const { return m_value_objects.size(); }
   38 void ValueObjectList::Resize(size_t size) { m_value_objects.resize(size); }
   40 lldb::ValueObjectSP ValueObjectList::GetValueObjectAtIndex(size_t idx) {
   47 lldb::ValueObjectSP ValueObjectList::RemoveValueObjectAtIndex(size_t idx) {
   56 void ValueObjectList::SetValueObjectAtIndex(size_t idx,
tools/lldb/source/Core/ValueObjectMemory.cpp
  124 size_t ValueObjectMemory::CalculateNumChildren(uint32_t max) {
tools/lldb/source/Core/ValueObjectRegister.cpp
   64 size_t ValueObjectRegisterContext::CalculateNumChildren(uint32_t max) {
   90     size_t idx, bool synthetic_array_member, int32_t synthetic_index) {
   93   const size_t num_children = GetNumChildren();
  137 size_t ValueObjectRegisterSet::CalculateNumChildren(uint32_t max) {
  178     size_t idx, bool synthetic_array_member, int32_t synthetic_index) {
  181     const size_t num_children = GetNumChildren();
  206 size_t
  285 size_t ValueObjectRegister::CalculateNumChildren(uint32_t max) {
tools/lldb/source/Core/ValueObjectSyntheticFilter.cpp
   33   size_t CalculateNumChildren() override { return m_backend.GetNumChildren(); }
   35   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override {
   39   size_t GetIndexOfChildWithName(ConstString name) override {
   81 size_t ValueObjectSynthetic::CalculateNumChildren(uint32_t max) {
   89     size_t num_children = m_synth_filter_up->CalculateNumChildren(max);
   96     size_t num_children = (m_synthetic_children_count =
  223 lldb::ValueObjectSP ValueObjectSynthetic::GetChildAtIndex(size_t idx,
  296 size_t ValueObjectSynthetic::GetIndexOfChildWithName(ConstString name) {
tools/lldb/source/Core/ValueObjectVariable.cpp
   94 size_t ValueObjectVariable::CalculateNumChildren(uint32_t max) {
tools/lldb/source/DataFormatters/DataVisualization.cpp
  179 DataVisualization::Categories::GetCategoryAtIndex(size_t index) {
tools/lldb/source/DataFormatters/FormatManager.cpp
  496   size_t total_children_name_len = 0;
  498   for (size_t idx = 0; idx < valobj.GetNumChildren(); idx++) {
tools/lldb/source/DataFormatters/FormattersHelpers.cpp
  120 size_t lldb_private::formatters::ExtractIndexFromString(const char *item_name) {
tools/lldb/source/DataFormatters/StringPrinter.cpp
  426   size_t size;
tools/lldb/source/DataFormatters/TypeCategory.cpp
   69   for (size_t idx = 0; idx < GetNumLanguages(); idx++) {
   77 size_t TypeCategoryImpl::GetNumLanguages() {
   83 lldb::LanguageType TypeCategoryImpl::GetLanguageAtIndex(size_t idx) {
  481 TypeCategoryImpl::GetTypeNameSpecifierForSummaryAtIndex(size_t index) {
  490 TypeCategoryImpl::GetFormatAtIndex(size_t index) {
  499 TypeCategoryImpl::GetSummaryAtIndex(size_t index) {
  508 TypeCategoryImpl::GetFilterAtIndex(size_t index) {
  517 TypeCategoryImpl::GetTypeNameSpecifierForFormatAtIndex(size_t index) {
  526 TypeCategoryImpl::GetTypeNameSpecifierForFilterAtIndex(size_t index) {
  535 TypeCategoryImpl::GetSyntheticAtIndex(size_t index) {
  544 TypeCategoryImpl::GetTypeNameSpecifierForSyntheticAtIndex(size_t index) {
  553 TypeCategoryImpl::GetValidatorAtIndex(size_t index) {
  562 TypeCategoryImpl::GetTypeNameSpecifierForValidatorAtIndex(size_t index) {
  584   for (size_t idx = 0; idx < GetNumLanguages(); idx++) {
tools/lldb/source/DataFormatters/TypeFormat.cpp
   79               size_t max_len = target_sp->GetMaximumSizeOfStringSummary();
tools/lldb/source/DataFormatters/TypeSynthetic.cpp
   38 bool TypeFilterImpl::SetExpressionPathAtIndex(size_t i,
   53 size_t
   57     for (size_t i = 0; i < filter->GetCount(); i++) {
   80   for (size_t i = 0; i < GetCount(); i++) {
  150 ScriptedSyntheticChildren::FrontEnd::GetChildAtIndex(size_t idx) {
  161 size_t ScriptedSyntheticChildren::FrontEnd::CalculateNumChildren() {
  167 size_t ScriptedSyntheticChildren::FrontEnd::CalculateNumChildren(uint32_t max) {
  187 size_t ScriptedSyntheticChildren::FrontEnd::GetIndexOfChildWithName(
tools/lldb/source/DataFormatters/ValueObjectPrinter.cpp
  455         size_t object_end = strlen(object_desc) - 1;
  593   size_t num_children = synth_m_valobj->GetNumChildren();
  596     const size_t max_num_children =
  642 static constexpr size_t PhysicalIndexForLogicalIndex(size_t base, size_t stride,
  642 static constexpr size_t PhysicalIndexForLogicalIndex(size_t base, size_t stride,
  642 static constexpr size_t PhysicalIndexForLogicalIndex(size_t base, size_t stride,
  643                                                      size_t logical) {
  648                                                 size_t idx) {
  668   size_t num_children = GetMaxNumChildrenToPrint(print_dotdotdot);
  672     for (size_t idx = 0; idx < num_children; ++idx) {
  717   size_t num_children = GetMaxNumChildrenToPrint(print_dotdotdot);
tools/lldb/source/DataFormatters/VectorType.cpp
  169 static size_t CalculateNumChildren(
  197   size_t CalculateNumChildren() override { return m_num_children; }
  199   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override {
  244   size_t GetIndexOfChildWithName(ConstString name) override {
  256   size_t m_num_children;
  274   size_t idx = 0, len = synthetic_children->CalculateNumChildren();
tools/lldb/source/Expression/DWARFExpression.cpp
  545   size_t const_byte_size = 0;
 1056       size_t count = stack.size();
 1059       for (size_t i = 0; i < count; ++i) {
 1486         size_t last_idx = stack.size() - 1;
 2643       size_t count = stack.size();
 2646       for (size_t i = 0; i < count; ++i) {
tools/lldb/source/Expression/DiagnosticManager.cpp
   59 size_t DiagnosticManager::Printf(DiagnosticSeverity severity,
   65   size_t result = ss.PrintfVarArg(format, args);
tools/lldb/source/Expression/ExpressionVariable.cpp
   19   const size_t byte_size = m_frozen_sp->GetByteSize();
tools/lldb/source/Expression/FunctionCaller.cpp
  174   size_t num_args = arg_values.GetSize();
  183   for (size_t i = 0; i < num_args; i++) {
tools/lldb/source/Expression/IRExecutionUnit.cpp
   52 lldb::addr_t IRExecutionUnit::WriteNow(const uint8_t *bytes, size_t size,
  670   for (size_t i = 0; i < alternates.size(); i++) {
tools/lldb/source/Expression/IRInterpreter.cpp
   53   size_t offset;
  104   size_t m_frame_size;
  108   size_t m_addr_byte_size;
  152     size_t type_size = m_target_data.getTypeStoreSize(type);
  178       size_t value_size = m_target_data.getTypeStoreSize(value->getType());
  211     size_t value_byte_size = m_target_data.getTypeStoreSize(value->getType());
  346     size_t constant_size = m_target_data.getTypeStoreSize(constant->getType());
  365   lldb::addr_t Malloc(size_t size, uint8_t byte_alignment) {
  386     size_t length = m_target_data.getTypeStoreSize(type);
  399     for (size_t i = 0; i < length; i++) {
 1324       size_t target_size = data_layout.getTypeStoreSize(target_ty);
 1412       size_t target_size = data_layout.getTypeStoreSize(target_ty);
 1553           size_t dataSize = 0;
tools/lldb/source/Expression/IRMemoryMap.cpp
   45 lldb::addr_t IRMemoryMap::FindSpace(size_t size) {
   90     size_t alloc_size = back->second.m_size;
  157     size_t alloc_size = back->second.m_size;
  165 IRMemoryMap::FindAllocation(lldb::addr_t addr, size_t size) {
  183 bool IRMemoryMap::IntersectsAllocation(lldb::addr_t addr, size_t size) const {
  212 bool IRMemoryMap::AllocationsIntersect(lldb::addr_t addr1, size_t size1,
  213                                        lldb::addr_t addr2, size_t size2) {
  270                                     lldb::addr_t process_start, size_t size,
  288 lldb::addr_t IRMemoryMap::Malloc(size_t size, uint8_t alignment,
  299   size_t allocation_size;
  491 bool IRMemoryMap::GetAllocSize(lldb::addr_t address, size_t &size) {
  514                               const uint8_t *bytes, size_t size,
  590                                       Scalar &scalar, size_t size,
  599     const size_t mem_size =
  625                              size_t size, Status &error) {
  722                                        size_t size, Status &error) {
  781                                 lldb::addr_t process_address, size_t size,
tools/lldb/source/Expression/LLVMUserExpression.cpp
  327       const size_t stack_frame_size = 512 * 1024;
tools/lldb/source/Expression/Materializer.cpp
  533         llvm::Optional<size_t> opt_bit_align =
  541         size_t byte_align = (*opt_bit_align + 7) / 8;
  749   size_t m_temporary_allocation_size;
  795       llvm::Optional<size_t> opt_bit_align = m_type.GetTypeBitAlign(exe_scope);
  801       size_t byte_align = (*opt_bit_align + 7) / 8;
  919     const size_t pvar_byte_size = ret->GetByteSize();
 1025   size_t m_temporary_allocation_size;
tools/lldb/source/Expression/REPL.cpp
  134   const size_t num_lines = lines.GetSize();
  287       const size_t var_count_before = persistent_state->GetSize();
  319           for (size_t vi = var_count_before, ve = persistent_state->GetSize();
  409               size_t bytes_written = code.size();
tools/lldb/source/Host/common/Editline.cpp
  110   size_t start = 0;
  112     size_t end = input.find('\n', start);
  870                 size_t max_len) {
  885   const size_t page_size = 40;
  893   const size_t max_len = longest->GetCompletion().size();
  900   size_t cur_pos = 0;
  902     size_t remaining = results.size() - cur_pos;
  903     size_t next_size = all ? remaining : std::min(page_size, remaining);
 1398 void Editline::PrintAsync(Stream *stream, const char *s, size_t len) {
tools/lldb/source/Host/common/File.cpp
  100 Status File::Read(void *buf, size_t &num_bytes) {
  103 Status File::Write(const void *buf, size_t &num_bytes) {
  142 Status File::Read(void *dst, size_t &num_bytes, off_t &offset) {
  146 Status File::Write(const void *src, size_t &num_bytes, off_t &offset) {
  205 size_t File::Printf(const char *format, ...) {
  208   size_t result = PrintfVarArg(format, args);
  213 size_t File::PrintfVarArg(const char *format, va_list args) {
  214   size_t result = 0;
  219       size_t s_len = result;
  480 Status NativeFile::Read(void *buf, size_t &num_bytes) {
  539 Status NativeFile::Write(const void *buf, size_t &num_bytes) {
  601 Status NativeFile::Read(void *buf, size_t &num_bytes, off_t &offset) {
  661 Status NativeFile::Write(const void *buf, size_t &num_bytes, off_t &offset) {
  725 size_t NativeFile::PrintfVarArg(const char *format, va_list args) {
tools/lldb/source/Host/common/FileCache.cpp
   83   size_t bytes_written = src_len;
  109   size_t bytes_read = dst_len;
tools/lldb/source/Host/common/NativeProcessProtocol.cpp
  135 Status NativeProcessProtocol::SetWatchpoint(lldb::addr_t addr, size_t size,
  224                                                     size_t size) {
  395   size_t bytes_read = 0;
  414     size_t bytes_written = 0;
  424     size_t verify_bytes_read = 0;
  452   size_t bytes_read = 0;
  472   size_t bytes_written = 0;
  489   size_t verify_bytes_read = 0;
  520 NativeProcessProtocol::GetSoftwareBreakpointTrapOpcode(size_t size_hint) {
  557 size_t NativeProcessProtocol::GetSoftwareBreakpointPCOffset() {
  640                                                     void *buf, size_t size,
  641                                                     size_t &bytes_read) {
  669                                              size_t max_size,
  670                                              size_t &total_bytes_read) {
  671   static const size_t cache_line_size =
  673   size_t bytes_read = 0;
  674   size_t bytes_left = max_size;
  676   size_t string_size;
tools/lldb/source/Host/common/NativeRegisterContext.cpp
  239                                                       size_t size) {
  260                                                       size_t size,
  301     const RegisterInfo *reg_info, lldb::addr_t src_addr, size_t src_len,
  330   const size_t dst_len = reg_info->byte_size;
  345   size_t bytes_read;
  371     const RegisterInfo *reg_info, lldb::addr_t dst_addr, size_t dst_len,
  383   const size_t bytes_copied = reg_value.GetAsMemoryData(
  390       size_t bytes_written;
tools/lldb/source/Host/common/NativeWatchpointList.cpp
   16 Status NativeWatchpointList::Add(addr_t addr, size_t size, uint32_t watch_flags,
tools/lldb/source/Host/common/PipeBase.cpp
   21 Status PipeBase::Read(void *buf, size_t size, size_t &bytes_read) {
   21 Status PipeBase::Read(void *buf, size_t size, size_t &bytes_read) {
tools/lldb/source/Host/common/ProcessLaunchInfo.cpp
  109 const FileAction *ProcessLaunchInfo::GetFileActionAtIndex(size_t idx) const {
  116   for (size_t idx = 0, count = m_file_actions.size(); idx < count; ++idx) {
  279           const size_t empty_path_len = new_path.size();
  333         for (size_t i = 0; argv[i] != nullptr; ++i) {
tools/lldb/source/Host/common/PseudoTerminal.cpp
   30 static void ErrnoToStr(char *error_str, size_t error_len) {
   78                                               size_t error_len) {
  124 bool PseudoTerminal::OpenSlave(int oflag, char *error_str, size_t error_len) {
  157                                          size_t error_len) const {
  192 lldb::pid_t PseudoTerminal::Fork(char *error_str, size_t error_len) {
tools/lldb/source/Host/common/Socket.cpp
  329 Status Socket::Read(void *buf, size_t &num_bytes) {
  356 Status Socket::Write(const void *buf, size_t &num_bytes) {
  357   const size_t src_len = num_bytes;
  427 size_t Socket::Send(const void *buf, const size_t num_bytes) {
  427 size_t Socket::Send(const void *buf, const size_t num_bytes) {
tools/lldb/source/Host/common/TaskPool.cpp
   60   const size_t min_stack_size = 8 * 1024 * 1024;
  103 void TaskMapOverInt(size_t begin, size_t end,
  103 void TaskMapOverInt(size_t begin, size_t end,
  104                     const llvm::function_ref<void(size_t)> &func) {
  105   const size_t num_workers = std::min<size_t>(end, GetHardwareConcurrencyHint());
  105   const size_t num_workers = std::min<size_t>(end, GetHardwareConcurrencyHint());
  106   std::atomic<size_t> idx{begin};
  110       size_t i = idx.fetch_add(1);
  119   for (size_t i = 0; i < num_workers; i++)
  121   for (size_t i = 0; i < num_workers; i++)
tools/lldb/source/Host/common/ThreadLauncher.cpp
   26     lldb::thread_arg_t thread_arg, size_t min_stack_byte_size) {
   53       size_t default_min_stack_byte_size = 0;
tools/lldb/source/Host/common/UDPSocket.cpp
   39 size_t UDPSocket::Send(const void *buf, const size_t num_bytes) {
   39 size_t UDPSocket::Send(const void *buf, const size_t num_bytes) {
tools/lldb/source/Host/common/XML.cpp
   54 bool XMLDocument::ParseMemory(const char *xml, size_t xml_length,
tools/lldb/source/Host/linux/AbstractSocket.cpp
   19 size_t AbstractSocket::GetNameOffset() const { return 1; }
tools/lldb/source/Host/linux/HostInfoLinux.cpp
   97     for (size_t exe_index = 0;
tools/lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp
  289   size_t bytes_written = 0;
  320       size_t bytes_written = 0;
  354 size_t ConnectionFileDescriptor::Read(void *dst, size_t dst_len,
  354 size_t ConnectionFileDescriptor::Read(void *dst, size_t dst_len,
  385   size_t bytes_read = dst_len;
  463 size_t ConnectionFileDescriptor::Write(const void *src, size_t src_len,
  463 size_t ConnectionFileDescriptor::Write(const void *src, size_t src_len,
  489   size_t bytes_sent = src_len;
tools/lldb/source/Host/posix/DomainSocket.cpp
   34 bool SetSockAddr(llvm::StringRef name, const size_t name_offset,
  123 size_t DomainSocket::GetNameOffset() const { return 0; }
tools/lldb/source/Host/posix/HostInfoPosix.cpp
   28 size_t HostInfoPosix::GetPageSize() { return ::getpagesize(); }
   72   size_t user_buffer_size = sizeof(user_buffer);
   91   size_t group_buffer_size = sizeof(group_buffer);
tools/lldb/source/Host/posix/HostProcessPosix.cpp
   72     static const size_t deleted_len = strlen(" (deleted)");
   73     const size_t len = file_spec.GetFilename().GetLength();
tools/lldb/source/Host/posix/PipePosix.cpp
  256 Status PipePosix::ReadWithTimeout(void *buf, size_t size,
  290 Status PipePosix::Write(const void *buf, size_t size, size_t &bytes_written) {
  290 Status PipePosix::Write(const void *buf, size_t size, size_t &bytes_written) {
tools/lldb/source/Host/posix/ProcessLauncherPosixFork.cpp
   98   for (size_t i = 0; i < info.GetNumFileActions(); ++i) {
tools/lldb/source/Interpreter/CommandHistory.cpp
   20 size_t CommandHistory::GetSize() const {
   47   size_t idx = 0;
   64 llvm::StringRef CommandHistory::GetStringAtIndex(size_t idx) const {
   71 llvm::StringRef CommandHistory::operator[](size_t idx) const {
   98 void CommandHistory::Dump(Stream &stream, size_t start_idx,
   99                           size_t stop_idx) const {
  102   for (size_t counter = start_idx; counter < stop_idx; counter++) {
tools/lldb/source/Interpreter/CommandInterpreter.cpp
  505   size_t num_regexes = llvm::array_lengthof(break_regexes);
  542     for (size_t i = 0; i < num_regexes; i++) {
  592     for (size_t i = 0; i < num_regexes; i++) {
 1018       size_t end = cmd_words.GetArgumentCount();
 1019       for (size_t j = 1; j < end; ++j) {
 1089     size_t num_alias_matches;
 1175   size_t max_len = FindLongestCommandWord(m_command_dict);
 1233   size_t start = command_string.find_first_not_of(k_white_space);
 1234   size_t end = 0;
 1283     size_t pos = s.find_first_not_of(k_white_space);
 1292 static size_t FindArgumentTerminator(const std::string &s) {
 1293   const size_t s_len = s.size();
 1294   size_t offset = 0;
 1296     size_t pos = s.find("--", offset);
 1326       const size_t end_quote_pos = command_string.find(quote_char, 1);
 1339       const size_t first_space_pos =
 1356       size_t pos = command.find_first_not_of(k_valid_command_chars);
 1424       size_t strpos = raw_input_string.find(cmd_args.GetArgumentAtIndex(index));
 1444   size_t start_backtick;
 1445   size_t pos = 0;
 1460     const size_t expr_content_start = start_backtick + 1;
 1461     const size_t end_backtick = command.find('`', expr_content_start);
 1514         size_t value_string_size = value_strm.GetSize();
 1629     size_t non_space = command_string.find_first_not_of(k_space_characters);
 1740     size_t pos = remainder.find_first_not_of(k_white_space);
 1890       size_t pos = raw_input_string.find(" -- ");
 1898     const size_t old_size = cmd_args.GetArgumentCount();
 1943         size_t strpos =
 2187   size_t num_lines = commands.GetSize();
 2206   for (size_t idx = 0; idx < num_lines && !WasInterrupted(); idx++) {
 2488   size_t line_width_max = max_columns - prefix.size();
 2528                                                  size_t max_word_len) {
 2554     size_t pos = S.find(' ');
 2685   size_t size = str.size();
 2687     size_t chunk_size = 0;
 2955   size_t actual_cmd_name_len = 0;
 3025       const size_t num_matches = matches.GetSize();
 3071               size_t arg_terminator_idx = FindArgumentTerminator(cmd);
tools/lldb/source/Interpreter/CommandObject.cpp
  819     size_t result = line.find_first_not_of(" \t");
tools/lldb/source/Interpreter/CommandObjectRegexCommand.cpp
   37       size_t idx, percent_var_idx;
tools/lldb/source/Interpreter/OptionArgParser.cpp
   79                                  size_t *byte_size_ptr) {
tools/lldb/source/Interpreter/OptionValueArgs.cpp
   16 size_t OptionValueArgs::GetArgs(Args &args) {
tools/lldb/source/Interpreter/OptionValueArray.cpp
  107   const size_t array_count = m_values.size();
  146 size_t OptionValueArray::GetArgs(Args &args) const {
  160   const size_t argc = args.GetArgumentCount();
  179         for (size_t i = 1; i < argc; ++i, ++idx) {
  207       size_t i;
  209         const size_t idx =
  219         size_t num_remove_indexes = remove_indexes.size();
  259         for (size_t i = 1; i < argc; ++i, ++idx) {
  287     for (size_t i = 0; i < argc; ++i) {
tools/lldb/source/Interpreter/OptionValueDictionary.cpp
   84 size_t OptionValueDictionary::GetArgs(Args &args) const {
   99   const size_t argc = args.GetArgumentCount();
  179       for (size_t i = 0; i < argc; ++i) {
tools/lldb/source/Interpreter/OptionValueEnumeration.cpp
   32     const size_t count = m_enumerations.GetSize();
   33     for (size_t i = 0; i < count; ++i) {
   63       const size_t count = m_enumerations.GetSize();
   67         for (size_t i = 1; i < count; ++i) {
  109     for (size_t i = 0; i < num_enumerators; ++i) {
  115     for (size_t i = 0; i < num_enumerators; ++i)
tools/lldb/source/Interpreter/OptionValueFileSpecList.cpp
   50   const size_t argc = args.GetArgumentCount();
   68         for (size_t i = 1; i < argc; ++i, ++idx) {
   90       for (size_t i = 0; i < argc; ++i) {
  114         for (size_t i = 1; i < argc; ++i, ++idx) {
  130       size_t i;
  141         size_t num_remove_indexes = remove_indexes.size();
  145           for (size_t j = num_remove_indexes - 1; j < num_remove_indexes; ++j) {
tools/lldb/source/Interpreter/OptionValueFormatEntity.cpp
   43   for (size_t i = 0, e = str.size(); i != e; ++i) {
   86         const size_t trimmed_len = trimmed_value_str.size();
tools/lldb/source/Interpreter/OptionValuePathMappings.cpp
   43   const size_t argc = args.GetArgumentCount();
   64         for (size_t i = 1; i < argc; i += 2, ++idx) {
  102       for (size_t i = 0; i < argc; i += 2) {
  138         for (size_t i = 1; i < argc; i += 2, ++idx) {
  165       size_t i;
  176         size_t num_remove_indexes = remove_indexes.size();
  180           for (size_t j = num_remove_indexes - 1; j < num_remove_indexes; ++j) {
tools/lldb/source/Interpreter/OptionValueProperties.cpp
   36   const size_t num_properties = m_properties.size();
   37   for (size_t i = 0; i < num_properties; ++i) {
   47 size_t OptionValueProperties::GetNumProperties() const {
  104   size_t idx = m_name_to_index.Find(key, SIZE_MAX);
  120   size_t key_len = name.find_first_of(".[{");
  138         size_t experimental_len =
  162       size_t pos = predicate_start.find('}');
  521   const size_t num_properties = m_properties.size();
  522   for (size_t i = 0; i < num_properties; ++i)
  554   const size_t num_properties = m_properties.size();
  555   for (size_t i = 0; i < num_properties; ++i) {
  599   size_t key_len = name.find_first_of(".[{");
  623   size_t max_name_len = 0;
  624   const size_t num_properties = m_properties.size();
  625   for (size_t i = 0; i < num_properties; ++i) {
  628       max_name_len = std::max<size_t>(property->GetName().size(), max_name_len);
  630   for (size_t i = 0; i < num_properties; ++i) {
  640   const size_t num_properties = m_properties.size();
  642   for (size_t i = 0; i < num_properties; ++i) {
tools/lldb/source/Interpreter/OptionValueUUID.cpp
   75   const size_t num_modules = target->GetImages().GetSize();
   76   for (size_t i = 0; i < num_modules; ++i) {
tools/lldb/source/Interpreter/Options.cpp
   67 size_t Options::OptionsSetDiff(const OptionSet &set_a, const OptionSet &set_b,
   69   size_t num_diffs = 0;
  212     for (size_t i = 0; i < defs.size(); ++i) {
  657   for (size_t i = 0; i < opt_element_vector.size(); i++) {
  658     size_t opt_pos = static_cast<size_t>(opt_element_vector[i].opt_pos);
  659     size_t opt_arg_pos = static_cast<size_t>(opt_element_vector[i].opt_arg_pos);
  777     for (size_t i = 0; i < opt_element_vector.size(); i++) {
  914 static size_t FindOriginalIndex(const char *arg, const Args &original) {
  931 static size_t FindArgumentIndexForOption(const Args &args,
  953   for (size_t i = 0; long_options[i].definition != nullptr; ++i) {
 1071     size_t idx =
 1078       size_t pos = input_line.find(tmp_arg);
 1090         size_t pos = input_line.find(tmp_arg);
 1196       for (size_t i = 0; i < opt_defs.size(); i++) {
tools/lldb/source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.cpp
 1317 size_t ABIMacOSX_arm::GetRedZoneSize() const { return 0; }
 1357   for (size_t i = 0; i < llvm::array_lengthof(reg_names); ++i) {
 1371     size_t num_stack_regs = ae - ai;
 1470       size_t bit_width = 0;
 1727     size_t num_bytes = new_value_sp->GetData(data, data_error);
tools/lldb/source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.h
   19   size_t GetRedZoneSize() const override;
tools/lldb/source/Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.cpp
 1658 size_t ABIMacOSX_arm64::GetRedZoneSize() const { return 128; }
 1695     for (size_t i = 0; i < args.size(); ++i)
 1712   for (size_t i = 0; i < args.size(); ++i) {
 1768     size_t bit_width = 0;
 2153           const size_t bytes_copied = reg_value.GetAsMemoryData(
 2170   const size_t max_reg_byte_size = 16;
 2172     size_t bytes_left = *byte_size;
 2192       const size_t curr_byte_size = std::min<size_t>(8, bytes_left);
 2192       const size_t curr_byte_size = std::min<size_t>(8, bytes_left);
 2193       const size_t bytes_copied = reg_value.GetAsMemoryData(
tools/lldb/source/Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.h
   20   size_t GetRedZoneSize() const override;
tools/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp
  704 size_t ABIMacOSX_i386::GetRedZoneSize() const { return 0; }
  867     size_t num_bytes = new_value_sp->GetData(data, data_error);
tools/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.h
   20   size_t GetRedZoneSize() const override;
tools/lldb/source/Plugins/ABI/SysV-arc/ABISysV_arc.cpp
  142 size_t ABISysV_arc::GetRedZoneSize() const { return 0; }
  169 const size_t word_size = 4U;
  170 const size_t reg_size = word_size;
  172 inline size_t AugmentArgSize(size_t size_in_bytes) {
  172 inline size_t AugmentArgSize(size_t size_in_bytes) {
  176 size_t TotalArgsSizeInWords(const llvm::ArrayRef<ABI::CallArgument> &args) {
  177   size_t total_size = 0;
  243   const size_t regs_for_args_count = IsRegisterFileReduced(*reg_ctx) ? 4U : 8U;
  252   size_t reg_index = LLDB_REGNUM_GENERIC_ARG1;
  261       size_t byte_index = 0;
  333   size_t num_bytes = new_value_sp->GetData(data, result);
  459     const size_t byte_size = compiler_type.GetByteSize(nullptr).getValueOr(0);
  483       const size_t byte_size = compiler_type.GetByteSize(nullptr).getValueOr(0);
  522     size_t byte_size = retType.getPrimitiveSizeInBits();
  541     const size_t byte_size = retType.getPrimitiveSizeInBits() / CHAR_BIT;
tools/lldb/source/Plugins/ABI/SysV-arc/ABISysV_arc.h
   23   size_t GetRedZoneSize() const override;
tools/lldb/source/Plugins/ABI/SysV-arm/ABISysV_arm.cpp
 1318 size_t ABISysV_arm::GetRedZoneSize() const { return 0; }
 1360   for (size_t i = 0; i < llvm::array_lengthof(reg_names); ++i) {
 1375     size_t num_stack_regs = ae - ai;
 1471       size_t bit_width = 0;
 1524                                          size_t byte_size, Value &value) {
 1813         const size_t bytes_copied = reg_value.GetAsMemoryData(
 1870     size_t num_bytes = new_value_sp->GetData(data, data_error);
tools/lldb/source/Plugins/ABI/SysV-arm/ABISysV_arm.h
   19   size_t GetRedZoneSize() const override;
tools/lldb/source/Plugins/ABI/SysV-arm64/ABISysV_arm64.cpp
 1661 size_t ABISysV_arm64::GetRedZoneSize() const { return 128; }
 1698     for (size_t i = 0; i < args.size(); ++i)
 1708   for (size_t i = 0; i < args.size(); ++i) {
 1767       size_t bit_width = 0;
 2130           const size_t bytes_copied = reg_value.GetAsMemoryData(
 2147   const size_t max_reg_byte_size = 16;
 2149     size_t bytes_left = *byte_size;
 2165       const size_t curr_byte_size = std::min<size_t>(8, bytes_left);
 2165       const size_t curr_byte_size = std::min<size_t>(8, bytes_left);
 2166       const size_t bytes_copied = reg_value.GetAsMemoryData(
tools/lldb/source/Plugins/ABI/SysV-arm64/ABISysV_arm64.h
   19   size_t GetRedZoneSize() const override;
tools/lldb/source/Plugins/ABI/SysV-hexagon/ABISysV_hexagon.cpp
 1010 size_t ABISysV_hexagon::GetRedZoneSize() const { return 0; }
 1093   for (size_t i = 0; i < args.size(); i++) {
 1099     size_t argSize = (arg.size | 0x7) + 1;
 1152   for (size_t i = nRegArgs, offs = 0; i < args.size(); i++) {
tools/lldb/source/Plugins/ABI/SysV-hexagon/ABISysV_hexagon.h
   20   size_t GetRedZoneSize() const override;
tools/lldb/source/Plugins/ABI/SysV-i386/ABISysV_i386.cpp
  343   size_t num_bytes = new_value_sp->GetData(data, data_error);
tools/lldb/source/Plugins/ABI/SysV-i386/ABISysV_i386.h
   19   size_t GetRedZoneSize() const override {
tools/lldb/source/Plugins/ABI/SysV-mips/ABISysV_mips.cpp
  550 size_t ABISysV_mips::GetRedZoneSize() const { return 0; }
  578     for (size_t i = 0; i < args.size(); ++i)
  598   for (size_t i = 0; i < llvm::array_lengthof(reg_names); ++i) {
  616     size_t num_stack_regs = args.size();
  630     size_t i = 4;
  724     size_t num_bytes = new_value_sp->GetData(data, data_error);
tools/lldb/source/Plugins/ABI/SysV-mips/ABISysV_mips.h
   19   size_t GetRedZoneSize() const override;
tools/lldb/source/Plugins/ABI/SysV-mips64/ABISysV_mips64.cpp
  550 size_t ABISysV_mips64::GetRedZoneSize() const { return 0; }
  575     for (size_t i = 0; i < args.size(); ++i)
  590   for (size_t i = 0; i < args.size(); ++i) {
  681   size_t num_bytes = new_value_sp->GetData(data, data_error);
 1092         const size_t bytes_copied = r2_value.GetAsMemoryData(
 1101         const size_t bytes_copied = r3_value.GetAsMemoryData(
tools/lldb/source/Plugins/ABI/SysV-mips64/ABISysV_mips64.h
   19   size_t GetRedZoneSize() const override;
tools/lldb/source/Plugins/ABI/SysV-ppc/ABISysV_ppc.cpp
  214 size_t ABISysV_ppc::GetRedZoneSize() const { return 224; }
  240     for (size_t i = 0; i < args.size(); ++i)
  256   for (size_t i = 0; i < args.size(); ++i) {
  441     size_t num_bytes = new_value_sp->GetData(data, data_error);
  472         size_t num_bytes = new_value_sp->GetData(data, data_error);
tools/lldb/source/Plugins/ABI/SysV-ppc/ABISysV_ppc.h
   19   size_t GetRedZoneSize() const override;
tools/lldb/source/Plugins/ABI/SysV-ppc64/ABISysV_ppc64.cpp
   61 size_t ABISysV_ppc64::GetRedZoneSize() const { return 224; }
   91     for (size_t i = 0; i < args.size(); ++i)
  107   for (size_t i = 0; i < args.size(); ++i) {
  252   for (size_t i = 0; i < 8; ++i) {
  319     size_t num_bytes = new_value_sp->GetData(data, data_error);
  350         size_t num_bytes = new_value_sp->GetData(data, data_error);
  697     size_t vrs = 1;
  757       size_t rc = m_process_sp->ReadMemory(addr, m_data_up->GetBytes(),
  794         size_t rc = val_sp->GetScalar().GetAsMemoryData(
tools/lldb/source/Plugins/ABI/SysV-ppc64/ABISysV_ppc64.h
   19   size_t GetRedZoneSize() const override;
tools/lldb/source/Plugins/ABI/SysV-s390x/ABISysV_s390x.cpp
  196 size_t ABISysV_s390x::GetRedZoneSize() const { return 0; }
  221     for (size_t i = 0; i < args.size(); ++i)
  251   for (size_t i = 0; i < args.size(); ++i) {
  419     size_t num_bytes = new_value_sp->GetData(data, data_error);
  452         size_t num_bytes = new_value_sp->GetData(data, data_error);
tools/lldb/source/Plugins/ABI/SysV-s390x/ABISysV_s390x.h
   19   size_t GetRedZoneSize() const override;
tools/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp
  217 size_t ABISysV_x86_64::GetRedZoneSize() const { return 128; }
  272     for (size_t i = 0; i < args.size(); ++i)
  288   for (size_t i = 0; i < args.size(); ++i) {
  469     size_t num_bytes = new_value_sp->GetData(data, data_error);
  503         size_t num_bytes = new_value_sp->GetData(data, data_error);
tools/lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.h
   19   size_t GetRedZoneSize() const override;
tools/lldb/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.cpp
 1085 size_t ABIWindows_x86_64::GetRedZoneSize() const { return 0; }
 1114     for (size_t i = 0; i < args.size(); ++i)
 1130   for (size_t i = 0; i < args.size(); ++i) {
 1302     size_t num_bytes = new_value_sp->GetData(data, data_error);
 1336         size_t num_bytes = new_value_sp->GetData(data, data_error);
tools/lldb/source/Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.h
   19   size_t GetRedZoneSize() const override;
tools/lldb/source/Plugins/Architecture/PPC64/ArchitecturePPC64.cpp
   52 size_t ArchitecturePPC64::GetBytesToSkip(Symbol &func,
tools/lldb/source/Plugins/Architecture/PPC64/ArchitecturePPC64.h
   29   size_t GetBytesToSkip(Symbol &func, const Address &curr_addr) const override;
tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
   54   uint64_t GetMCInst(const uint8_t *opcode_data, size_t opcode_data_len,
  107           const size_t opcode_data_len = data.GetByteSize();
  109           const size_t inst_size =
  140           const size_t opcode_data_len = data.GetByteSize();
  142           const size_t inst_size =
  166   size_t Decode(const lldb_private::Disassembler &disassembler,
  240           const size_t opcode_data_len = data.BytesLeft(data_offset);
  244           const size_t inst_size =
  310         const size_t opcode_data_len = data.GetByteSize();
  312         size_t inst_size =
  397   size_t GetByteSize() const { return m_opcode.GetByteSize(); }
  880           const size_t opcode_data_len = data.GetByteSize();
  882           const size_t inst_size =
 1016     const uint8_t *opcode_data, size_t opcode_data_len, lldb::addr_t pc,
 1044   for (size_t newline_pos = 0;
 1251 size_t DisassemblerLLVMC::DecodeInstructions(const Address &base_addr,
 1254                                              size_t num_instructions,
 1264   const size_t data_byte_size = data.GetByteSize();
 1418           size_t first_eol_char = str.find_first_of("\r\n");
tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.h
   39   size_t DecodeInstructions(const lldb_private::Address &base_addr,
   41                             lldb::offset_t data_offset, size_t num_instructions,
tools/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
  256   for (size_t i = 0; kernel_addresses_64[i] != LLDB_INVALID_ADDRESS; i++) {
  270   for (size_t i = 0; kernel_addresses_32[i] != LLDB_INVALID_ADDRESS; i++) {
  411   for (size_t i = 0; i < llvm::array_lengthof (magicks); i++)
  664   size_t size_to_read = 512;
 1091     const size_t count = 4 * sizeof(uint32_t) + addr_size;
 1100         const size_t bytes_read = m_process->GetTarget().ReadMemory(
 1368   const size_t count = image_infos.size() * m_kext_summary_header.entry_size;
 1373   const size_t bytes_read = m_process->GetTarget().ReadMemory(
 1448   size_t i;
 1449   const size_t count = m_known_kexts.size();
tools/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp
   59   for (size_t i = 0; i < symtab->GetNumSymbols(); i++) {
  226   const size_t num_sections = sections->GetSize();
  257   const size_t num_sections = sections->GetSize();
  258   for (size_t i = 0; i < num_sections; ++i) {
  431   size_t num_targets = target_symbols.GetSize();
  437   for (size_t i = 0; i < num_targets; ++i) {
tools/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/HexagonDYLDRendezvous.cpp
   62   const size_t word_size = 4;
   64   size_t address_size;
   65   size_t padding;
  219                                        size_t size) {
  242   size_t size;
tools/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/HexagonDYLDRendezvous.h
  214   lldb::addr_t ReadWord(lldb::addr_t addr, uint64_t *dst, size_t size);
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
  198   size_t num_modules = target_modules.GetSize();
  201   for (size_t i = 0; i < num_modules; i++) {
  237         const size_t num_segments = info.segments.size();
  238         for (size_t i = 0; i < num_segments; ++i) {
  311         const size_t num_segments = info.segments.size();
  312         for (size_t i = 0; i < num_segments; ++i) {
  348   for (size_t i = 0; i < image_infos.size(); i++) {
  435     for (size_t j = 0; j < segcount; j++) {
  486     const size_t num_sections = image_infos[i].segments.size();
  487     for (size_t k = 0; k < num_sections; ++k) {
  513   const size_t image_infos_size = image_infos.size();
  514   for (size_t i = 0; i < image_infos_size; i++) {
  760   const size_t num_segments = segments.size();
  761   for (size_t i = 0; i < num_segments; ++i) {
  850         size_t num_code_symbols = code_symbols.GetSize();
  875         size_t num_reexported_symbols = reexported_symbols.GetSize();
  906         size_t num_indirect_symbols = indirect_symbols.GetSize();
 1051     const size_t tsl_data_size = addr_size * 3;
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp
  403   const size_t num_modules = target_modules.GetSize();
  407   for (size_t i = 0; i < num_modules; i++) {
  420     for (size_t i = 0; i < num_modules; i++) {
tools/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
  422     const size_t count_v2 = sizeof(uint32_t) + // version
  429     const size_t count_v11 = count_v2 + addr_size +  // jitInfo
  443     const size_t count_v13 = count_v11 + addr_size + // sharedCacheSlide
  471     const size_t count =
  474     const size_t bytes_read =
  658   const size_t count = image_infos.size() * 3 * addr_size;
  661   const size_t bytes_read = m_process->ReadMemory(
  667     for (size_t i = 0;
  731     size_t num_modules = target_modules.GetSize();
  732     for (size_t i = 0; i < num_modules; i++) {
  762   size_t bytes_read = m_process->ReadMemory(addr, header_bytes.GetBytes(),
  803       size_t load_cmd_bytes_read =
  895   const size_t num_sections = dylib_info.segments.size();
  896   for (size_t i = 0; i < num_sections; ++i) {
  984   size_t i;
  985   const size_t count = m_dyld_image_infos.size();
tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp
  120   const size_t word_size = 4;
  122   size_t address_size;
  123   size_t padding;
  455 addr_t DYLDRendezvous::ReadWord(addr_t addr, uint64_t *dst, size_t size) {
tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.h
  208   lldb::addr_t ReadWord(lldb::addr_t addr, uint64_t *dst, size_t size);
tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
  473   size_t num_targets = target_symbols.GetSize();
  479   for (size_t i = 0; i < num_targets; ++i) {
tools/lldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.cpp
   78   const size_t num_modules = module_list.GetSize();
   94           const size_t num_sections = section_list->GetSize();
   95           size_t sect_idx = 0;
tools/lldb/source/Plugins/ExpressionParser/Clang/ASTDumper.cpp
   79   size_t len = m_dump.length() + 1;
tools/lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.cpp
   24   for (size_t i = 0; i < Sources.size(); ++i)
tools/lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.h
  268     for (size_t i = 0; i < Sources.size(); ++i)
  275     for (size_t i = 0; i < Sources.size(); ++i)
  281     for (size_t i = 0; i < Sources.size(); ++i) {
  290     for (size_t i = 0; i < Sources.size(); ++i)
  297     for (size_t i = 0; i < Sources.size(); ++i)
  305     for (size_t i = 0; i < Sources.size(); ++i)
  330     for (size_t i = 0; i < Sources.size(); ++i)
  338     for (size_t i = 0; i < Sources.size(); ++i)
  346     for (size_t i = 0; i < Sources.size(); ++i) {
  356     for (size_t i = 0; i < Sources.size(); ++i)
  362       for (size_t i = 0; i < Sources.size(); ++i) {
  373     for (size_t i = 0; i < Sources.size(); ++i)
  378     for (size_t i = 0; i < Sources.size(); ++i)
  383     for (size_t i = 0; i < Sources.size(); ++i)
  388     for (size_t i = 0; i < Sources.size(); ++i)
  393     for (size_t i = 0; i < Sources.size(); ++i)
  400     for (size_t i = 0; i < Sources.size(); ++i)
  420     for (size_t i = 0; i < Sources.size(); ++i)
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
  844     for (size_t i = 0, e = target_images.GetSize(); i < e; ++i) {
  885     if (size_t num_types = types.GetSize()) {
  886       for (size_t ti = 0; ti < num_types; ++ti) {
 1294       size_t interface_len = interface_name.length();
 1922     for (size_t i = 0, e = target_images.GetSize(); i < e; ++i) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
  136     for (size_t entity_index = 0, num_entities = m_found_entities.GetSize();
  145     for (size_t pvar_index = 0,
  353                                               llvm::Value *value, size_t size,
  458 bool ClangExpressionDeclMap::GetStructInfo(uint32_t &num_elements, size_t &size,
  651       for (size_t i = 0; i < vars.GetSize(); ++i) {
 1166         for (size_t i = 0; i < vars->GetSize(); i++)
 1178           for (size_t vi = 0, ve = vars->GetSize(); vi != ve; ++vi) {
 1780   for (size_t index = 0, num_entities = m_found_entities.GetSize();
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
  151                         llvm::Value *value, size_t size,
  175   bool GetStructInfo(uint32_t &num_elements, size_t &size,
  264     size_t address_byte_size;
  374     size_t m_struct_size;   ///< The size of the struct in bytes.
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
  219         size_t num_fixit_hints = Info.getNumFixItHints();
  220         for (size_t i = 0; i < num_fixit_hints; i++) {
  917       const size_t expr_text_len = strlen(expr_text);
  918       size_t bytes_written = expr_text_len;
 1103   size_t num_diags = diagnostics.size();
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp
  137   for (size_t i = 0; i < dm->GetNumMacroEntries(); i++) {
  269   for (size_t i = 0; i < var_list_sp->GetSize(); i++) {
  493     size_t &start_loc, size_t &end_loc) {
  493     size_t &start_loc, size_t &end_loc) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.h
   64                              size_t &start_loc, size_t &end_loc);
   64                              size_t &start_loc, size_t &end_loc);
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.h
   86     for (size_t index = 0, size = list.GetSize(); index < size; ++index) {
  166     size_t m_size;   ///< The space required for the variable, in bytes
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp
  124   for (size_t i = 0; i < num_args; i++) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
  105   size_t m_source_location_index =
  623   for (size_t spi = 0, spe = module_search_paths.GetSize(); spi < spe; ++spi) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
  319   size_t offset;
  610         size_t fixed_start;
  611         size_t fixed_end;
  720 static void AbsPosToLineColumnPos(size_t abs_pos, llvm::StringRef code,
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.h
  217   llvm::Optional<size_t> m_user_expression_start_pos;
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
 1253     llvm::Optional<size_t> opt_alignment = compiler_type.GetTypeBitAlign(nullptr);
 1548   for (size_t i = 0; i < users.size(); ++i) {
 1668   size_t size;
tools/lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp
13209   static const size_t k_num_arm_opcodes = llvm::array_lengthof(g_arm_opcodes);
13211   for (size_t i = 0; i < k_num_arm_opcodes; ++i) {
13760   const size_t k_num_thumb_opcodes = llvm::array_lengthof(g_thumb_opcodes);
13761   for (size_t i = 0; i < k_num_thumb_opcodes; ++i) {
tools/lldb/source/Plugins/Instruction/ARM/EmulationStateARM.cpp
  143 size_t EmulationStateARM::ReadPseudoMemory(
  146     size_t length) {
  184 size_t EmulationStateARM::WritePseudoMemory(
  187     const void *dst, size_t length) {
tools/lldb/source/Plugins/Instruction/ARM/EmulationStateARM.h
   41   static size_t
   44                    lldb::addr_t addr, void *dst, size_t length);
   46   static size_t
   49                     lldb::addr_t addr, const void *dst, size_t length);
tools/lldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp
  386   static const size_t k_num_arm_opcodes = llvm::array_lengthof(g_opcodes);
  388   for (size_t i = 0; i < k_num_arm_opcodes; ++i) {
tools/lldb/source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp
  965   static const size_t k_num_mips_opcodes = llvm::array_lengthof(g_opcodes);
  967   for (size_t i = 0; i < k_num_mips_opcodes; ++i) {
 1019       const size_t bytes_read =
tools/lldb/source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp
  930   static const size_t k_num_mips_opcodes = llvm::array_lengthof(g_opcodes);
  932   for (size_t i = 0; i < k_num_mips_opcodes; ++i) {
tools/lldb/source/Plugins/Instruction/PPC64/EmulateInstructionPPC64.cpp
  158   static const size_t k_num_ppc_opcodes = llvm::array_lengthof(g_opcodes);
  160   for (size_t i = 0; i < k_num_ppc_opcodes; ++i) {
tools/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/MainThreadCheckerRuntime.cpp
  108     size_t spacePos = apiName.find(" ");
tools/lldb/source/Plugins/InstrumentationRuntime/TSan/TSanRuntime.cpp
  217   size_t count = trace_value_object->GetNumChildren();
  218   for (size_t j = 0; j < count; j++) {
  589   for (size_t i = 0; i < trace_array->GetSize(); i++) {
tools/lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp
  122   const size_t data_byte_size =
  127   size_t bytes_read = process->ReadMemory(from_addr, data.GetBytes(),
  290   const size_t jit_desc_size = sizeof(jit_desc);
  292   size_t bytes_read = m_process->DoReadMemory(m_jit_descriptor_addr, &jit_desc,
  316     const size_t &symbolfile_size = (size_t)jit_entry.symfile_size;
tools/lldb/source/Plugins/Language/CPlusPlus/BlockPointer.cpp
   87   size_t CalculateNumChildren() override {
   92   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override {
  154   size_t GetIndexOfChildWithName(ConstString name) override {
tools/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
   87                                      size_t &left_pos, size_t &right_pos,
   87                                      size_t &left_pos, size_t &right_pos,
   88                                      size_t pos = llvm::StringRef::npos) {
  119   size_t idx = 0;
  147   size_t arg_start, arg_end;
  157     size_t basename_end = arg_start;
  158     size_t context_start = 0;
  159     size_t context_end = full.rfind(':', basename_end);
  165       const size_t basename_begin = context_end + 1;
  282   void *allocateNodeArray(size_t sz) {
tools/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusNameParser.cpp
   97 size_t CPlusPlusNameParser::GetCurrentPosition() { return m_next_token_index; }
  118   size_t argument_start = GetCurrentPosition();
  123   size_t qualifiers_start = GetCurrentPosition();
  125   size_t end_position = GetCurrentPosition();
  477   Optional<size_t> last_coloncolon_position = None;
  514       size_t coloncolon_position = GetCurrentPosition();
tools/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusNameParser.h
   66   size_t m_next_token_index = 0;
   70     size_t begin_index = 0;
   71     size_t end_index = 0;
   74     Range(size_t begin, size_t end) : begin_index(begin), end_index(end) {
   74     Range(size_t begin, size_t end) : begin_index(begin), end_index(end) {
   78     size_t size() const { return end_index - begin_index; }
   92     Bookmark(size_t &position)
  104     size_t GetSavedPosition() { return m_position_value; }
  112     size_t &m_position;
  113     size_t m_position_value;
  123   size_t GetCurrentPosition();
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
  282 size_t lldb_private::formatters::LibCxxMapIteratorSyntheticFrontEnd::
  289     size_t idx) {
  302 size_t lldb_private::formatters::LibCxxMapIteratorSyntheticFrontEnd::
  352 size_t lldb_private::formatters::LibcxxSharedPtrSyntheticFrontEnd::
  359     size_t idx) {
  432 size_t lldb_private::formatters::LibcxxSharedPtrSyntheticFrontEnd::
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxx.h
   61   size_t CalculateNumChildren() override;
   63   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
   69   size_t GetIndexOfChildWithName(ConstString name) override;
   90   size_t CalculateNumChildren() override;
   92   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
   98   size_t GetIndexOfChildWithName(ConstString name) override;
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxAtomic.cpp
   94   size_t CalculateNumChildren() override;
   96   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
  102   size_t GetIndexOfChildWithName(ConstString name) override;
  129 size_t lldb_private::formatters::LibcxxStdAtomicSyntheticFrontEnd::
  136     size_t idx) {
  140 size_t lldb_private::formatters::LibcxxStdAtomicSyntheticFrontEnd::
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxBitset.cpp
   23   size_t GetIndexOfChildWithName(ConstString name) override {
   29   size_t CalculateNumChildren() override { return m_elements.size(); }
   30   ValueObjectSP GetChildAtIndex(size_t idx) override;
   65   size_t capping_size = target_sp->GetMaximumNumberOfChildrenToDisplay();
   67   size_t size = 0;
   77 ValueObjectSP BitsetFrontEnd::GetChildAtIndex(size_t idx) {
  105   size_t chunk_idx = idx % *bit_size;
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxInitializerList.cpp
   28   size_t CalculateNumChildren() override;
   30   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
   36   size_t GetIndexOfChildWithName(ConstString name) override;
   42   size_t m_num_elements;
   62 size_t lldb_private::formatters::LibcxxInitializerListSyntheticFrontEnd::
   73     LibcxxInitializerListSyntheticFrontEnd::GetChildAtIndex(size_t idx) {
  110 size_t lldb_private::formatters::LibcxxInitializerListSyntheticFrontEnd::
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxList.cpp
   83   ValueObjectSP advance(size_t count) {
  114   size_t GetIndexOfChildWithName(ConstString name) override {
  124   size_t m_count;
  128   size_t m_loop_detected; // The number of elements that have had loop detection
  133   size_t m_list_capping_size;
  135   std::map<size_t, ListIterator> m_iterators;
  137   bool HasLoop(size_t count);
  138   ValueObjectSP GetItem(size_t idx);
  145   size_t CalculateNumChildren() override;
  146   ValueObjectSP GetChildAtIndex(size_t idx) override;
  156   size_t CalculateNumChildren() override;
  158   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
  195 bool AbstractListFrontEnd::HasLoop(size_t count) {
  214   const size_t steps_to_run = std::min(count, m_count);
  229 ValueObjectSP AbstractListFrontEnd::GetItem(size_t idx) {
  230   size_t advance = idx;
  249 size_t ForwardListFrontEnd::CalculateNumChildren() {
  262 ValueObjectSP ForwardListFrontEnd::GetChildAtIndex(size_t idx) {
  327 size_t ListFrontEnd::CalculateNumChildren() {
  363 lldb::ValueObjectSP ListFrontEnd::GetChildAtIndex(size_t idx) {
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp
   88   MapIterator(MapEntry entry, size_t depth = 0)
   90   MapIterator(ValueObjectSP entry, size_t depth = 0)
   94   MapIterator(ValueObject *entry, size_t depth = 0)
   99   ValueObjectSP advance(size_t count) {
  103     size_t steps = 0;
  122     size_t steps = 0;
  143     size_t steps = 0;
  167   size_t m_max_depth;
  179   size_t CalculateNumChildren() override;
  181   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
  187   size_t GetIndexOfChildWithName(ConstString name) override;
  198   size_t m_count;
  199   std::map<size_t, MapIterator> m_iterators;
  213 size_t lldb_private::formatters::LibcxxStdMapSyntheticFrontEnd::
  331     size_t idx) {
  344   size_t actual_advancde = idx;
  454 size_t lldb_private::formatters::LibcxxStdMapSyntheticFrontEnd::
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxOptional.cpp
   23   size_t GetIndexOfChildWithName(ConstString name) override {
   29   size_t CalculateNumChildren() override { return m_size; }
   30   ValueObjectSP GetChildAtIndex(size_t idx) override;
   33   size_t m_size = 0;
   52 ValueObjectSP OptionalFrontEnd::GetChildAtIndex(size_t idx) {
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxQueue.cpp
   23   size_t GetIndexOfChildWithName(ConstString name) override {
   31   size_t CalculateNumChildren() override {
   35   ValueObjectSP GetChildAtIndex(size_t idx) override {
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxTuple.cpp
   23   size_t GetIndexOfChildWithName(ConstString name) override {
   29   size_t CalculateNumChildren() override { return m_elements.size(); }
   30   ValueObjectSP GetChildAtIndex(size_t idx) override;
   61 ValueObjectSP TupleFrontEnd::GetChildAtIndex(size_t idx) {
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp
   34   size_t CalculateNumChildren() override;
   36   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
   42   size_t GetIndexOfChildWithName(ConstString name) override;
   48   size_t m_num_elements;
   63 size_t lldb_private::formatters::LibcxxStdUnorderedMapSyntheticFrontEnd::
   71     LibcxxStdUnorderedMapSyntheticFrontEnd::GetChildAtIndex(size_t idx) {
  211 size_t lldb_private::formatters::LibcxxStdUnorderedMapSyntheticFrontEnd::
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxVariant.cpp
  176   size_t GetIndexOfChildWithName(ConstString name) override {
  182   size_t CalculateNumChildren() override { return m_size; }
  183   ValueObjectSP GetChildAtIndex(size_t idx) override;
  186   size_t m_size = 0;
  210 ValueObjectSP VariantFrontEnd::GetChildAtIndex(size_t idx) {
tools/lldb/source/Plugins/Language/CPlusPlus/LibCxxVector.cpp
   27   size_t CalculateNumChildren() override;
   29   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
   35   size_t GetIndexOfChildWithName(ConstString name) override;
   48   size_t CalculateNumChildren() override;
   50   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
   56   size_t GetIndexOfChildWithName(ConstString name) override;
   63   std::map<size_t, lldb::ValueObjectSP> m_children;
   85 size_t lldb_private::formatters::LibcxxStdVectorSyntheticFrontEnd::
   98   size_t num_children = (finish_val - start_val);
  106     size_t idx) {
  166 size_t lldb_private::formatters::LibcxxStdVectorSyntheticFrontEnd::
  184 size_t lldb_private::formatters::LibcxxVectorBoolSyntheticFrontEnd::
  191     size_t idx) {
  201   size_t byte_idx = (idx >> 3); // divide by 8 to get byte index
  202   size_t bit_index = (idx & 7); // efficient idx % 8 for bit index
  210   size_t bytes_read = process_sp->ReadMemory(byte_location, &byte, 1, err);
  273 size_t lldb_private::formatters::LibcxxVectorBoolSyntheticFrontEnd::
tools/lldb/source/Plugins/Language/CPlusPlus/LibStdcpp.cpp
   44   size_t CalculateNumChildren() override;
   46   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
   52   size_t GetIndexOfChildWithName(ConstString name) override;
   65   size_t CalculateNumChildren() override;
   67   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
   73   size_t GetIndexOfChildWithName(ConstString name) override;
  125 size_t LibstdcppMapIteratorSyntheticFrontEnd::CalculateNumChildren() {
  130 LibstdcppMapIteratorSyntheticFrontEnd::GetChildAtIndex(size_t idx) {
  143 size_t LibstdcppMapIteratorSyntheticFrontEnd::GetIndexOfChildWithName(
  214 size_t VectorIteratorSyntheticFrontEnd::CalculateNumChildren() { return 1; }
  217 VectorIteratorSyntheticFrontEnd::GetChildAtIndex(size_t idx) {
  225 size_t VectorIteratorSyntheticFrontEnd::GetIndexOfChildWithName(
  357 size_t LibStdcppSharedPtrSyntheticFrontEnd::CalculateNumChildren() { return 1; }
  360 LibStdcppSharedPtrSyntheticFrontEnd::GetChildAtIndex(size_t idx) {
  375 size_t LibStdcppSharedPtrSyntheticFrontEnd::GetIndexOfChildWithName(
tools/lldb/source/Plugins/Language/CPlusPlus/LibStdcppTuple.cpp
   29   size_t CalculateNumChildren() override;
   31   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
   37   size_t GetIndexOfChildWithName(ConstString name) override;
   68     size_t child_count = current_child->GetNumChildren();
   69     for (size_t i = 0; i < child_count; ++i) {
   92 LibStdcppTupleSyntheticFrontEnd::GetChildAtIndex(size_t idx) {
   98 size_t LibStdcppTupleSyntheticFrontEnd::CalculateNumChildren() {
  102 size_t LibStdcppTupleSyntheticFrontEnd::GetIndexOfChildWithName(
tools/lldb/source/Plugins/Language/CPlusPlus/LibStdcppUniquePointer.cpp
   29   size_t CalculateNumChildren() override;
   31   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
   37   size_t GetIndexOfChildWithName(ConstString name) override;
  120 LibStdcppUniquePtrSyntheticFrontEnd::GetChildAtIndex(size_t idx) {
  130 size_t LibStdcppUniquePtrSyntheticFrontEnd::CalculateNumChildren() {
  136 size_t LibStdcppUniquePtrSyntheticFrontEnd::GetIndexOfChildWithName(
tools/lldb/source/Plugins/Language/CPlusPlus/MSVCUndecoratedNameParser.cpp
   18   for (size_t i = 0; i < name.size(); i++) {
tools/lldb/source/Plugins/Language/ClangCommon/ClangHighlighter.cpp
  133                                  llvm::Optional<size_t> cursor_pos,
tools/lldb/source/Plugins/Language/ClangCommon/ClangHighlighter.h
   27                  llvm::Optional<size_t> cursor_pos,
tools/lldb/source/Plugins/Language/ObjC/Cocoa.cpp
  908   size_t CalculateNumChildren() override { return 0; }
  910   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override {
  918   size_t GetIndexOfChildWithName(ConstString name) override {
tools/lldb/source/Plugins/Language/ObjC/NSArray.cpp
   52   size_t CalculateNumChildren() override;
   54   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
   60   size_t GetIndexOfChildWithName(ConstString name) override;
  237   size_t CalculateNumChildren() override;
  239   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
  245   size_t GetIndexOfChildWithName(ConstString name) override;
  309   size_t CalculateNumChildren() override;
  311   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
  317   size_t GetIndexOfChildWithName(ConstString name) override;
  326   size_t CalculateNumChildren() override;
  328   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
  334   size_t GetIndexOfChildWithName(ConstString name) override;
  483 size_t
  490     size_t idx) {
  494   size_t pyhs_idx = idx;
  544 size_t
  634 size_t
  645 size_t
  695   GetChildAtIndex(size_t idx) {
  724 size_t
  730 size_t
  745     size_t idx) {
  753 size_t
  764 size_t
  779     size_t idx) {
tools/lldb/source/Plugins/Language/ObjC/NSDictionary.cpp
  105   size_t CalculateNumChildren() override;
  107   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
  113   size_t GetIndexOfChildWithName(ConstString name) override;
  148   size_t CalculateNumChildren() override;
  150   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
  156   size_t GetIndexOfChildWithName(ConstString name) override;
  169   size_t CalculateNumChildren() override;
  171   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
  177   size_t GetIndexOfChildWithName(ConstString name) override;
  202     size_t CalculateNumChildren() override;
  204     lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
  210     size_t GetIndexOfChildWithName(ConstString name) override;
  279   static const size_t NSDictionaryNumSizeBuckets = sizeof(NSDictionaryCapacities) / sizeof(uint64_t);
  511 size_t lldb_private::formatters::NSDictionaryISyntheticFrontEnd::
  520 size_t lldb_private::formatters::NSDictionaryISyntheticFrontEnd::
  568     size_t idx) {
  647 size_t lldb_private::formatters::NSDictionary1SyntheticFrontEnd::
  653 size_t lldb_private::formatters::NSDictionary1SyntheticFrontEnd::
  670     size_t idx) {
  735 size_t
  745 size_t
  799     size_t idx) {
  903 size_t
  913 size_t
  964   NSDictionaryMSyntheticFrontEnd::GetChildAtIndex(size_t idx) {
tools/lldb/source/Plugins/Language/ObjC/NSError.cpp
   65   size_t ptr_size = process_sp->GetAddressByteSize();
  118   size_t CalculateNumChildren() override {
  126   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override {
  147     size_t ptr_size = process_sp->GetAddressByteSize();
  166   size_t GetIndexOfChildWithName(ConstString name) override {
tools/lldb/source/Plugins/Language/ObjC/NSException.cpp
   51   size_t ptr_size = process_sp->GetAddressByteSize();
  126   size_t CalculateNumChildren() override {
  130   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override {
  152   size_t GetIndexOfChildWithName(ConstString name) override {
tools/lldb/source/Plugins/Language/ObjC/NSIndexPath.cpp
   24 static constexpr size_t PACKED_INDEX_SHIFT_64(size_t i) {
   24 static constexpr size_t PACKED_INDEX_SHIFT_64(size_t i) {
   28 static constexpr size_t PACKED_INDEX_SHIFT_32(size_t i) {
   28 static constexpr size_t PACKED_INDEX_SHIFT_32(size_t i) {
   43   size_t CalculateNumChildren() override { return m_impl.GetNumIndexes(); }
   45   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override {
   93       for (size_t x = 0; x < descriptor->GetNumIVars(); x++) {
  128   size_t GetIndexOfChildWithName(ConstString name) override {
  144     size_t GetNumIndexes() {
  155     lldb::ValueObjectSP GetIndexAtIndex(size_t idx,
  177       size_t GetNumIndexes() { return m_count; }
  179       lldb::ValueObjectSP GetIndexAtIndex(size_t idx,
  218       size_t m_count;
  223       size_t _lengthForInlinePayload(uint32_t ptr_size) {
  232       std::pair<uint64_t, bool> _indexAtPositionForInlinePayload(size_t pos) {
  262       lldb::ValueObjectSP GetIndexAtIndex(size_t idx) {
  278       size_t m_count;
tools/lldb/source/Plugins/Language/ObjC/NSSet.cpp
   48   size_t CalculateNumChildren() override;
   50   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
   56   size_t GetIndexOfChildWithName(ConstString name) override;
   89   size_t CalculateNumChildren() override;
   91   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
   97   size_t GetIndexOfChildWithName(ConstString name) override;
  205   size_t CalculateNumChildren() override;
  207   lldb::ValueObjectSP GetChildAtIndex(size_t idx) override;
  213   size_t GetIndexOfChildWithName(ConstString name) override;
  370 size_t
  380 size_t
  432 lldb_private::formatters::NSSetISyntheticFrontEnd::GetChildAtIndex(size_t idx) {
  524 size_t
  536 size_t
  596   GenericNSSetMSyntheticFrontEnd<D32, D64>::GetChildAtIndex(size_t idx) {
tools/lldb/source/Plugins/Language/ObjC/NSString.cpp
  117   size_t explicit_length = 0;
tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp
  178   size_t first_open_angle_bracket = vtable_name.find('<') + 1;
  179   size_t first_comma = vtable_name.find(',');
  210       size_t pos2 = symbol_name.find_last_of(':');
tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
  134               size_t i;
  577   size_t ptr_size = m_process->GetAddressByteSize();
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.cpp
   45   size_t ptr_size = process->GetAddressByteSize();
   47   size_t objc_class_size = ptr_size    // uintptr_t isa;
   81   size_t ptr_size = process->GetAddressByteSize();
   83   size_t size = sizeof(uint32_t)   // uint32_t flags;
  130   size_t ptr_size = process->GetAddressByteSize();
  132   size_t size = sizeof(uint32_t)   // uint32_t flags;
  229   size_t size = sizeof(uint32_t)    // uint32_t entsize_NEVER_USE;
  253   size_t size = GetSize(process);
  282   size_t size = sizeof(uint32_t)    // uint32_t entsize;
  306   size_t size = GetSize(process);
  494 size_t ClassDescriptorV2::iVarsStorage::size() { return m_ivars.size(); }
  497 operator[](size_t idx) {
  536       size_t read = process->ReadScalarIntegerFromMemory(
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.h
   56   size_t GetNumIVars() override {
   61   iVarDescriptor GetIVarAtIndex(size_t idx) override {
  151     static size_t GetSize(Process *process) {
  152       size_t ptr_size = process->GetAddressByteSize();
  180     static size_t GetSize(Process *process) {
  181       size_t ptr_size = process->GetAddressByteSize();
  197     size_t size();
  199     iVarDescriptor &operator[](size_t idx);
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp
  385     for (size_t ai = 3, ae = m_type_vector.size(); ai != ae; ++ai) {
  409   size_t GetNumTypes() { return m_type_vector.size(); }
  411   const char *GetTypeAtIndex(size_t idx) { return m_type_vector[idx].c_str(); }
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
  187   size_t cstr_len = 0;
  188   size_t full_buffer_len = sizeof(buf) - 1;
  189   size_t curr_len = full_buffer_len;
  365   size_t num_images = target_modules.GetSize();
  366   for (size_t i = 0; i < num_images; i++) {
  512   for (size_t idx = 0; idx < reserved_dict->GetNumChildren(); idx++) {
  544   size_t count = count_value->GetValueAsUnsigned(0);
  547   size_t ignore = ignore_value->GetValueAsUnsigned(0);
  549   size_t ptr_size = m_process->GetAddressByteSize();
  551   for (size_t idx = 0; idx < count; idx++) {
  575     size_t num_modules = module_list.GetSize();
  576     for (size_t i = 0; i < num_modules; i++) {
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp
  237   size_t count = process_sp->ReadCStringFromMemory(
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
  627             for (size_t i = 0; i < iterator->second->GetNumIVars(); i++) {
  710         for (size_t i = 0; i < command.GetArgumentCount(); i++) {
  896 size_t AppleObjCRuntimeV2::GetByteOffsetForIvar(CompilerType &parent_ast_type,
 1062       size_t map_pair_size = m_parent.m_map_pair_size;
 1092       const size_t map_pair_size = m_parent.m_map_pair_size;
 1136   size_t m_map_pair_size;
 1611       for (size_t i = 0; i < images.GetSize(); ++i) {
 2574           size_t bytes_read = process->ReadMemory(
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.h
   67   size_t GetByteOffsetForIvar(CompilerType &parent_qual_type,
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp
  308   size_t actual_size = 8 + process_sp->GetAddressByteSize();
  310   size_t bytes_read =
  320   const size_t num_descriptors = data.GetU32(&offset);
  346   const size_t desc_array_size = num_descriptors * descriptor_size;
  365   for (size_t i = 0; i < num_descriptors; i++) {
  384   for (size_t i = 0; i < num_descriptors - 1; i++) {
  423   size_t num_elements = m_descriptors.size();
  424   for (size_t i = 0; i < num_elements; i++) {
  458     size_t num_modules = target_modules.GetSize();
  460       for (size_t i = 0; i < num_modules; i++) {
  733   for (size_t i = 0; i != llvm::array_lengthof(g_dispatch_functions); i++) {
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
  227     size_t less_than_pos = name.find('<');
tools/lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp
  107   const size_t matching_symbols = sc_list.GetSize();
  143 size_t ObjCLanguageRuntime::GetByteOffsetForIvar(CompilerType &parent_qual_type,
  347   for (size_t idx = 0; idx < class_descriptor_sp->GetNumIVars(); idx++) {
tools/lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h
  126     virtual size_t GetNumIVars() { return 0; }
  128     virtual iVarDescriptor GetIVarAtIndex(size_t idx) {
  284   virtual size_t GetByteOffsetForIvar(CompilerType &parent_qual_type,
  401     size_t operator()(ConstString arg) const // for hashing
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
  121 bool GetArgsX86(const GetArgsCtx &ctx, ArgItem *arg_list, size_t num_args) {
  129   for (size_t i = 0; i < num_args; ++i) {
  134     size_t arg_size = sizeof(uint32_t);
  138     size_t read =
  149 bool GetArgsX86_64(GetArgsCtx &ctx, ArgItem *arg_list, size_t num_args) {
  158   static const std::array<size_t, 5> arg_size{{
  188   for (size_t i = 0; i < num_args; ++i) {
  202       const size_t size = arg_size[arg_list[i].type];
  207       size_t read = ctx.process->ReadMemory(sp, &arg.value, size, err);
  222 bool GetArgsArm(GetArgsCtx &ctx, ArgItem *arg_list, size_t num_args) {
  233   for (size_t i = 0; i < num_args; ++i) {
  246       const size_t arg_size = sizeof(uint32_t);
  250       size_t bytes_read =
  266 bool GetArgsAarch64(GetArgsCtx &ctx, ArgItem *arg_list, size_t num_args) {
  272   for (size_t i = 0; i < num_args; ++i) {
  297 bool GetArgsMipsel(GetArgsCtx &ctx, ArgItem *arg_list, size_t num_args) {
  311   for (size_t i = 0; i < num_args; ++i) {
  324       const size_t arg_size = sizeof(uint32_t);
  326       size_t bytes_read =
  342 bool GetArgsMips64el(GetArgsCtx &ctx, ArgItem *arg_list, size_t num_args) {
  355   for (size_t i = 0; i < num_args; ++i) {
  369       const size_t arg_size = sizeof(uint64_t);
  373       size_t bytes_read =
  389 bool GetArgs(ExecutionContext &exe_ctx, ArgItem *arg_list, size_t num_args) {
  998   size_t num_modules = module_list.GetSize();
  999   for (size_t i = 0; i < num_modules; i++) {
 1090 const size_t RenderScriptRuntime::s_runtimeHookCount =
 1203     size_t read =
 1243     const size_t num_breakpoints = list.GetSize();
 1245     for (size_t i = 0; i < num_breakpoints; ++i) {
 1305     size_t read = m_process->ReadMemory(addr, &result, target_ptr_size, err);
 1558   for (size_t idx = 0; idx < s_runtimeHookCount; idx++) {
 1609     for (size_t i = 0; i < hook_placed.size(); ++i) {
 2256     size_t num_children = valobj_sp->GetNumChildren();
 2265     for (size_t i = 0; i < num_children; ++i) {
 2524   size_t size = data_sp->GetByteSize() - file_header->hdr_size;
 2541   size_t written = GetProcess()->WriteMemory(alloc_data, file_buf, size, err);
 2561 size_t RenderScriptRuntime::PopulateElementHeaders(
 2562     const std::shared_ptr<uint8_t> header_buffer, size_t offset,
 2573   const size_t elem_header_size = sizeof(AllocationDetails::ElementHeader);
 2581   size_t child_offset =
 2604 size_t RenderScriptRuntime::CalculateElementHeaderSize(const Element &elem) {
 2606   size_t size = (elem.children.size() + 1) * sizeof(uint32_t);
 2680   const size_t element_header_size = CalculateElementHeaderSize(alloc->element);
 2688   size_t num_bytes = sizeof(AllocationDetails::FileHeader);
 2856                                           size_t n_lines) {
 2867                                                 size_t n_lines) {
 2921                                           size_t n_lines) {
 2937                                                  size_t n_lines) {
 2953                                              size_t n_lines) {
 4177     const size_t argc = command.GetArgumentCount();
 4279     const size_t argc = command.GetArgumentCount();
 4331     const size_t argc = command.GetArgumentCount();
 4556     const size_t argc = command.GetArgumentCount();
 4705     const size_t argc = command.GetArgumentCount();
 4756     const size_t argc = command.GetArgumentCount();
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h
  205   bool ParseVersionInfo(llvm::StringRef *, size_t n_lines);
  207   bool ParseExportForeachCount(llvm::StringRef *, size_t n_lines);
  209   bool ParseExportVarCount(llvm::StringRef *, size_t n_lines);
  211   bool ParseExportReduceCount(llvm::StringRef *, size_t n_lines);
  213   bool ParseBuildChecksum(llvm::StringRef *, size_t n_lines);
  215   bool ParsePragmaCount(llvm::StringRef *, size_t n_lines);
  490   static const size_t s_runtimeHookCount;
  534   size_t PopulateElementHeaders(const std::shared_ptr<uint8_t> header_buffer,
  535                                 size_t offset, const Element &elem);
  537   size_t CalculateElementHeaderSize(const Element &elem);
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptScriptGroup.cpp
   57     for (size_t i = 0; i < command.GetArgumentCount(); ++i) {
tools/lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp
   39   const size_t num_modules = target_modules.GetSize();
   40   for (size_t i = 0; i < num_modules; ++i) {
tools/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
   61   size_t ar_name_len = 0;
   96     const size_t last_pos = str.find_last_not_of(' ');
  145 size_t ObjectContainerBSDArchive::Archive::ParseObjects() {
  156       size_t obj_idx = m_objects.size();
  243     const size_t num_objects = archive_sp->ParseObjects();
  400   const size_t num_archs = GetNumArchitectures();
  401   const size_t num_objects = GetNumObjects();
  445 size_t ObjectContainerBSDArchive::GetModuleSpecifications(
  458   const size_t initial_count = specs.GetSize();
  475     const size_t num_objects = archive_sp->GetNumObjects();
  476     for (size_t idx = 0; idx < num_objects; ++idx) {
  498   const size_t end_count = specs.GetSize();
  499   size_t num_specs_added = end_count - initial_count;
  503     for (size_t i = initial_count; i < end_count; ++i) {
tools/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.h
   48   static size_t GetModuleSpecifications(const lldb_private::FileSpec &file,
   60   size_t GetNumObjects() const override {
  132     size_t GetNumObjects() const { return m_objects.size(); }
  134     const Object *GetObjectAtIndex(size_t idx) {
  140     size_t ParseObjects();
tools/lldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp
  128   const size_t num_archs = GetNumArchitectures();
  129   const size_t num_objects = GetNumObjects();
  148 size_t ObjectContainerUniversalMachO::GetNumArchitectures() const {
  212 size_t ObjectContainerUniversalMachO::GetModuleSpecifications(
  216   const size_t initial_count = specs.GetSize();
tools/lldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.h
   40   static size_t GetModuleSpecifications(const lldb_private::FileSpec &file,
   54   size_t GetNumArchitectures() const override;
tools/lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp
   88 template <typename T> static constexpr size_t hex_digits() {
  225   size_t Number;
  319   size_t FileNum;
tools/lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.h
   80   FileRecord(size_t Number, llvm::StringRef Name)
   83   size_t Number;
  114              size_t FileNum)
  121   size_t FileNum;
tools/lldb/source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.cpp
   95 size_t ObjectFileBreakpad::GetModuleSpecifications(
tools/lldb/source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.h
   39   static size_t GetModuleSpecifications(const FileSpec &file,
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
  209 static user_id_t SegmentID(size_t PHdrIndex) { return ~PHdrIndex; }
  413       const size_t ph_size = H.p_filesz;
  493 size_t ObjectFileELF::GetModuleSpecifications(
  499   const size_t initial_count = specs.GetSize();
  650     size_t num_loaded_sections = 0;
  660       const size_t num_sections = section_list->GetSize();
  661       size_t sect_idx = 0;
  732 size_t ObjectFileELF::SectionIndex(const SectionHeaderCollIter &I) {
  736 size_t ObjectFileELF::SectionIndex(const SectionHeaderCollConstIter &I) const {
  790   size_t num_modules = ParseDependentModules();
  821   for (size_t i = 0; i < m_dynamic_symbols.size(); ++i) {
  898 size_t ObjectFileELF::ParseDependentModules() {
  957 size_t ObjectFileELF::GetProgramHeaderInfo(ProgramHeaderColl &program_headers,
  972   const size_t ph_size = header.e_phnum * header.e_phentsize;
 1202         for (size_t i = 0; i < count; ++i) {
 1304 size_t ObjectFileELF::GetSectionHeaderInfo(SectionHeaderColl &section_headers,
 1373   const size_t sh_size = header.e_shnum * header.e_shentsize;
 1391     const size_t byte_size = sheader.sh_size;
 1531   size_t pos = symbol_name.find('@');
 1536 size_t ObjectFileELF::ParseSectionHeaders() {
 1556   for (size_t i = 1; i < m_section_headers.size(); ++i)
 1679   size_t SegmentCount = 0;
 1935                                      const size_t num_symbols,
 2216     size_t version_pos = symbol_ref.find('@');
 2298       size_t num_symbols = symtab_data.GetByteSize() / symtab_hdr->sh_entsize;
 2308 size_t ObjectFileELF::ParseDynamicSymbols() {
 3191   size_t num_modules = ParseDependentModules();
 3293 size_t ObjectFileELF::ReadSectionData(Section *section,
 3295                        size_t dst_len) {
 3311 size_t ObjectFileELF::ReadSectionData(Section *section,
 3317   size_t result = ObjectFile::ReadSectionData(section, section_data);
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
   47   size_t GetByteSize() const {
   77   static size_t GetModuleSpecifications(const lldb_private::FileSpec &file,
  142   size_t ReadSectionData(lldb_private::Section *section,
  144                          size_t dst_len) override;
  146   size_t ReadSectionData(lldb_private::Section *section,
  229   size_t SectionIndex(const SectionHeaderCollIter &I);
  232   size_t SectionIndex(const SectionHeaderCollConstIter &I) const;
  235   static size_t GetProgramHeaderInfo(ProgramHeaderColl &program_headers,
  252   size_t ParseSectionHeaders();
  262   static size_t GetSectionHeaderInfo(SectionHeaderColl &section_headers,
  274   size_t ParseDependentModules();
  279   size_t ParseDynamicSymbols();
  291                         const size_t num_symbols,
  323   size_t GetSectionHeaderStringTable();
tools/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
   83 size_t ObjectFileJIT::GetModuleSpecifications(
  208   size_t num_loaded_sections = 0;
  211     const size_t num_sections = section_list->GetSize();
  213     for (size_t sect_idx = 0; sect_idx < num_sections; ++sect_idx) {
  228 size_t ObjectFileJIT::ReadSectionData(lldb_private::Section *section,
  230                                       size_t dst_len) {
  233     size_t src_len = file_size - section_offset;
  245 size_t ObjectFileJIT::ReadSectionData(
tools/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.h
   42   static size_t GetModuleSpecifications(const lldb_private::FileSpec &file,
   82   size_t ReadSectionData(lldb_private::Section *section,
   84                          size_t dst_len) override;
   86   size_t
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
  112                                const char *alt_name, size_t reg_byte_size,
  124         for (size_t i = 0, n = reg_byte_size - reg_info->byte_size; i < n; ++i)
  131   for (size_t i = 0; i < reg_byte_size; ++i)
  817 size_t ObjectFileMachO::GetModuleSpecifications(
  821   const size_t initial_count = specs.GetSize();
  828       size_t header_and_load_cmds =
 1039         const size_t header_and_lc_size =
 2031            size_t nlist_byte_size) {
 2045 size_t ObjectFileMachO::ParseSymtab() {
 2164   const size_t nlist_byte_size =
 2431       size_t count = functions.GetSize();
 2432       for (size_t i = 0; i < count; ++i) {
 2444   const size_t function_starts_count = function_starts.GetSize();
 2494   size_t num_syms = 0;
 3902                 const size_t double_slash_pos = full_so_path.find("//");
 5928   const size_t num_sections = section_list->GetSize();
 5929   for (size_t sect_idx = 0; sect_idx < num_sections; ++sect_idx) {
 5983   size_t num_loaded_sections = 0;
 5984   const size_t num_sections = section_list->GetSize();
 5988     for (size_t sect_idx = 0; sect_idx < num_sections; ++sect_idx) {
 6003       for (size_t sect_idx = 0; sect_idx < num_sections; ++sect_idx) {
 6206           const size_t LC_THREAD_data_size = LC_THREAD_data.GetSize();
 6252           size_t bytes_written = buffer.GetString().size();
 6272                 const size_t bytes_to_read =
 6278                 const size_t bytes_read = process_sp->ReadMemoryFromInferior(
 6282                   size_t bytes_written = bytes_read;
 6290                   size_t bytes_written = bytes_to_read;
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
   52   static size_t GetModuleSpecifications(const lldb_private::FileSpec &file,
  194   size_t ParseSymtab();
tools/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
  162 size_t ObjectFilePECOFF::GetModuleSpecifications(
  166   const size_t initial_count = specs.GetSize();
  325     size_t num_loaded_sections = 0;
  332       const size_t num_sections = section_list->GetSize();
  333       size_t sect_idx = 0;
  538 DataExtractor ObjectFilePECOFF::ReadImageData(uint32_t offset, size_t size) {
  553     size_t bytes_read =
  564 DataExtractor ObjectFilePECOFF::ReadImageDataByRVA(uint32_t rva, size_t size) {
  580     const size_t section_header_byte_size = nsects * sizeof(section_header_t);
  640         const size_t symbol_data_size = num_syms * symbol_size;
  738         for (size_t i = 0; i < export_table.number_of_names; ++i) {
tools/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h
   73   static size_t GetModuleSpecifications(const lldb_private::FileSpec &file,
  142   lldb_private::DataExtractor ReadImageData(uint32_t offset, size_t size);
  143   lldb_private::DataExtractor ReadImageDataByRVA(uint32_t rva, size_t size);
tools/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
   99         size_t py_extension_pos = os_plugin_class_name.rfind(".py");
tools/lldb/source/Plugins/Platform/Android/AdbClient.cpp
   57 const size_t kSyncPacketLen = 8;
   59 const size_t kMaxPushData = 2 * 1024;
   66 Status ReadAllBytes(Connection &conn, void *buffer, size_t size) {
   74   size_t total_read_bytes = 0;
  283     size_t n = m_conn->Read(buffer, sizeof(buffer),
  295   static const size_t packet_len = 4;
  353 Status AdbClient::ReadAllBytes(void *buffer, size_t size) {
  484     size_t chunk_size = src.gcount();
  525   static const size_t stat_len = strlen(kSTAT);
  526   static const size_t response_len = stat_len + (sizeof(uint32_t) * 3);
  655 Status AdbClient::SyncService::ReadAllBytes(void *buffer, size_t size) {
tools/lldb/source/Plugins/Platform/Android/AdbClient.h
   60     Status ReadAllBytes(void *buffer, size_t size);
  131   Status ReadAllBytes(void *buffer, size_t size);
tools/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
  214 size_t
  236     size_t trap_opcode_size = sizeof(g_arm_breakpoint_opcode);
tools/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h
   49   size_t GetSoftwareBreakpointTrapOpcode(Target &target,
tools/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
  341     size_t i = 0;
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
  376           const size_t bundle_directory_len =
  379           size_t num_module_search_paths = module_search_paths_ptr->GetSize();
  380           for (size_t i = 0; i < num_module_search_paths; ++i) {
  381             const size_t search_path_len =
  412 size_t
 1114         size_t first_non_newline = command_output.find_last_not_of("\r\n");
 1220   for (size_t i = 0; i < llvm::array_lengthof(g_bp_modules); i++) {
 1279     size_t pos = path_to_shlib.rfind(substr);
 1496       size_t pos = build_str.find(')');
 1721     const size_t path_parts_size = path_parts.size();
 1723     size_t num_module_search_paths = module_search_paths_ptr->GetSize();
 1724     for (size_t i = 0; i < num_module_search_paths; ++i) {
 1736       for (size_t j = 0; j < 4 && j < path_parts_size - 1; ++j) {
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h
   45   size_t GetSoftwareBreakpointTrapOpcode(
tools/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
  170           size_t pos = xcode_contents_path.find("/Xcode.app/Contents/");
  192               size_t first_non_newline = output.find_last_not_of("\r\n");
tools/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp
  427       for (size_t i = 0; paths_to_try[i] != nullptr; i++) {
tools/lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp
  310     size_t i = 0;
tools/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
  792   size_t path_len = path.size() + 1;
  852     size_t buffer_size = 0;
  859       size_t path_size = path.size();
 1000   size_t num_chars = process->ReadCStringFromMemory(error_addr + addr_size, 
 1049 size_t PlatformPOSIX::ConnectToWaitingProcesses(Debugger &debugger,
tools/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.h
   78   size_t ConnectToWaitingProcesses(lldb_private::Debugger &debugger,
tools/lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp
   43   size_t Count() const { return m_archs.size(); }
tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
  226 size_t PlatformRemoteGDBServer::GetSoftwareBreakpointTrapOpcode(
  829 size_t PlatformRemoteGDBServer::ConnectToWaitingProcesses(Debugger &debugger,
  834   for (size_t i = 0; i < connection_urls.size(); ++i) {
  842 size_t PlatformRemoteGDBServer::GetPendingGdbServerList(
tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
   79   size_t GetSoftwareBreakpointTrapOpcode(Target &target,
  159   size_t ConnectToWaitingProcesses(lldb_private::Debugger &debugger,
  162   virtual size_t
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
  138 void PtraceDisplayBytes(int &req, void *data, size_t data_size) {
  368   size_t tid_count = tids_to_attach.size();
  878 static size_t ReadMemoryCallback(EmulateInstruction *instruction, void *baton,
  880                                  lldb::addr_t addr, void *dst, size_t length) {
  883   size_t bytes_read;
  925 static size_t WriteMemoryCallback(EmulateInstruction *instruction, void *baton,
  928                                   size_t length) {
 1350 Status NativeProcessLinux::AllocateMemory(size_t size, uint32_t permissions,
 1389 size_t NativeProcessLinux::UpdateThreads() {
 1412 NativeProcessLinux::GetSoftwareBreakpointTrapOpcode(size_t size_hint) {
 1434 Status NativeProcessLinux::ReadMemory(lldb::addr_t addr, void *buf, size_t size,
 1435                                       size_t &bytes_read) {
 1464   size_t remainder;
 1490                                        size_t size, size_t &bytes_written) {
 1490                                        size_t size, size_t &bytes_written) {
 1492   size_t remainder;
 1513       size_t bytes_read;
 1520       size_t bytes_written_rec;
 1789                                          void *data, size_t data_size,
 1845                                        size_t offset) {
 1864                                    size_t offset) {
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.h
   68   Status ReadMemory(lldb::addr_t addr, void *buf, size_t size,
   69                     size_t &bytes_read) override;
   71   Status WriteMemory(lldb::addr_t addr, const void *buf, size_t size,
   72                      size_t &bytes_written) override;
   74   Status AllocateMemory(size_t size, uint32_t permissions,
   79   size_t UpdateThreads() override;
  111                  size_t offset = 0) override;
  115                      size_t offset = 0) override;
  121                               void *data = nullptr, size_t data_size = 0,
  128   GetSoftwareBreakpointTrapOpcode(size_t size_hint) override;
tools/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp
  119 Status NativeRegisterContextLinux::ReadRegisterSet(void *buf, size_t buf_size,
  126 Status NativeRegisterContextLinux::WriteRegisterSet(void *buf, size_t buf_size,
tools/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.h
   39   virtual Status ReadRegisterSet(void *buf, size_t buf_size,
   42   virtual Status WriteRegisterSet(void *buf, size_t buf_size,
   55   virtual size_t GetGPRSize() {
   61   virtual size_t GetFPRSize() = 0;
tools/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.cpp
  943 size_t NativeRegisterContextLinux_x86_64::GetFPRSize() {
 1068     lldb::addr_t addr, size_t size, uint32_t watch_flags, uint32_t wp_index) {
 1182     lldb::addr_t addr, size_t size, uint32_t watch_flags) {
tools/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h
   56   Status SetHardwareWatchpointWithIndex(lldb::addr_t addr, size_t size,
   60   uint32_t SetHardwareWatchpoint(lldb::addr_t addr, size_t size,
   72   size_t GetFPRSize() override;
tools/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
  146 Status NativeThreadLinux::SetWatchpoint(lldb::addr_t addr, size_t size,
  175                                                 size_t size) {
tools/lldb/source/Plugins/Process/Linux/NativeThreadLinux.h
   45   Status SetWatchpoint(lldb::addr_t addr, size_t size, uint32_t watch_flags,
   50   Status SetHardwareBreakpoint(lldb::addr_t addr, size_t size) override;
tools/lldb/source/Plugins/Process/Linux/ProcessorTrace.cpp
  272                                         size_t offset) {
  302                                          size_t offset) {
  350     size_t src_cyc_index, size_t offset) {
  350     size_t src_cyc_index, size_t offset) {
  389     size_t chunk_size = std::min(part.size(), bytes_left);
tools/lldb/source/Plugins/Process/Linux/ProcessorTrace.h
   45     size_t m_length;
   48     munmap_delete(size_t length) : m_length(length) {}
  103                           size_t offset = 0);
  106                            size_t offset = 0);
  132                                size_t src_cyc_index, size_t offset);
  132                                size_t src_cyc_index, size_t offset);
tools/lldb/source/Plugins/Process/POSIX/NativeProcessELF.cpp
   56   size_t phdr_entry_size = *maybe_phdr_entry_size;
   57   size_t phdr_num_entries = *maybe_phdr_num_entries;
   68   for (size_t i = 0; i < phdr_num_entries; i++) {
   69     size_t bytes_read;
   92   size_t dynamic_num_entries = dynamic_section_size / sizeof(dynamic_entry);
   93   for (size_t i = 0; i < dynamic_num_entries; i++) {
   94     size_t bytes_read;
  114   size_t bytes_read;
  145   size_t bytes_read;
tools/lldb/source/Plugins/Process/Utility/AuxVector.cpp
   17   const size_t value_type_size = data.GetAddressByteSize() * 2;
tools/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp
   52     const size_t num_sets = m_sets.size();
   53     for (size_t set = 0; set < num_sets; ++set)
   60 size_t
  211           const size_t num_composite_regs = composite_reg_list->GetSize();
  315     size_t set = 0;
  316     if (!reg_info_dict->GetValueForKeyAsInteger<size_t>("set", set, -1) ||
  352       const size_t num_regs = invalidate_reg_list->GetSize();
  389     const size_t end_reg_offset = reg_info.byte_offset + reg_info.byte_size;
  433   size_t end_reg_offset = reg_info.byte_offset + reg_info.byte_size;
  443   const size_t num_sets = m_sets.size();
  444   for (size_t set = 0; set < num_sets; ++set) {
  469   const size_t num_regs = m_regs.size();
  470   for (size_t i = 0; i < num_regs; ++i) {
  519   for (size_t i = 0; i < num_regs; ++i) {
  622 size_t DynamicRegisterInfo::GetNumRegisters() const { return m_regs.size(); }
  624 size_t DynamicRegisterInfo::GetNumRegisterSets() const { return m_sets.size(); }
  626 size_t DynamicRegisterInfo::GetRegisterDataByteSize() const {
  690   const size_t num_regs = m_regs.size();
  693   for (size_t i = 0; i < num_regs; ++i) {
  711       for (size_t j = 0; m_regs[i].value_regs[j] != LLDB_INVALID_REGNUM; ++j) {
  718       for (size_t j = 0; m_regs[i].invalidate_regs[j] != LLDB_INVALID_REGNUM;
  727   const size_t num_sets = m_sets.size();
  730   for (size_t i = 0; i < num_sets; ++i) {
  733     for (size_t idx = 0; idx < m_sets[i].num_registers; ++idx) {
tools/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.h
   34   size_t SetRegisterInfo(const lldb_private::StructuredData::Dictionary &dict,
   44   size_t GetNumRegisters() const;
   46   size_t GetNumRegisterSets() const;
   48   size_t GetRegisterDataByteSize() const;
   89   size_t m_reg_data_byte_size = 0u; // The number of bytes required to store
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
  918 static size_t k_num_register_infos = llvm::array_lengthof(g_register_infos);
  937 size_t RegisterContextDarwin_arm::GetRegisterCount() {
  943 RegisterContextDarwin_arm::GetRegisterInfoAtIndex(size_t reg) {
  950 size_t RegisterContextDarwin_arm::GetRegisterInfosCount() {
  959 const size_t k_num_gpr_registers = llvm::array_lengthof(g_gpr_regnums);
  960 const size_t k_num_fpu_registers = llvm::array_lengthof(g_fpu_regnums);
  961 const size_t k_num_exc_registers = llvm::array_lengthof(g_exc_regnums);
  973 const size_t k_num_regsets = llvm::array_lengthof(g_reg_sets);
  975 size_t RegisterContextDarwin_arm::GetRegisterSetCount() {
  979 const RegisterSet *RegisterContextDarwin_arm::GetRegisterSet(size_t reg_set) {
 1527                                                           size_t size) {
 1653                                                           size_t size,
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.h
   55   size_t GetRegisterCount() override;
   57   const lldb_private::RegisterInfo *GetRegisterInfoAtIndex(size_t reg) override;
   59   size_t GetRegisterSetCount() override;
   61   const lldb_private::RegisterSet *GetRegisterSet(size_t set) override;
   78   uint32_t SetHardwareBreakpoint(lldb::addr_t addr, size_t size) override;
   84   uint32_t SetHardwareWatchpoint(lldb::addr_t addr, size_t size, bool read,
  259   static size_t GetRegisterInfosCount();
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm64.cpp
  100 static size_t k_num_register_infos =
  120 size_t RegisterContextDarwin_arm64::GetRegisterCount() {
  126 RegisterContextDarwin_arm64::GetRegisterInfoAtIndex(size_t reg) {
  133 size_t RegisterContextDarwin_arm64::GetRegisterInfosCount() {
  142 const size_t k_num_gpr_registers = llvm::array_lengthof(g_gpr_regnums);
  143 const size_t k_num_fpu_registers = llvm::array_lengthof(g_fpu_regnums);
  144 const size_t k_num_exc_registers = llvm::array_lengthof(g_exc_regnums);
  156 const size_t k_num_regsets = llvm::array_lengthof(g_reg_sets);
  158 size_t RegisterContextDarwin_arm64::GetRegisterSetCount() {
  162 const RegisterSet *RegisterContextDarwin_arm64::GetRegisterSet(size_t reg_set) {
  947                                                             size_t size,
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm64.h
   37   size_t GetRegisterCount() override;
   39   const lldb_private::RegisterInfo *GetRegisterInfoAtIndex(size_t reg) override;
   41   size_t GetRegisterSetCount() override;
   43   const lldb_private::RegisterSet *GetRegisterSet(size_t set) override;
   60   uint32_t SetHardwareWatchpoint(lldb::addr_t addr, size_t size, bool read,
  226   static size_t GetRegisterInfosCount();
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_i386.cpp
  401 static size_t k_num_register_infos = llvm::array_lengthof(g_register_infos);
  420 size_t RegisterContextDarwin_i386::GetRegisterCount() {
  426 RegisterContextDarwin_i386::GetRegisterInfoAtIndex(size_t reg) {
  433 size_t RegisterContextDarwin_i386::GetRegisterInfosCount() {
  459 const size_t k_num_gpr_registers = llvm::array_lengthof(g_gpr_regnums);
  460 const size_t k_num_fpu_registers = llvm::array_lengthof(g_fpu_regnums);
  461 const size_t k_num_exc_registers = llvm::array_lengthof(g_exc_regnums);
  473 const size_t k_num_regsets = llvm::array_lengthof(g_reg_sets);
  475 size_t RegisterContextDarwin_i386::GetRegisterSetCount() {
  479 const RegisterSet *RegisterContextDarwin_i386::GetRegisterSet(size_t reg_set) {
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_i386.h
   24   size_t GetRegisterCount() override;
   26   const lldb_private::RegisterInfo *GetRegisterInfoAtIndex(size_t reg) override;
   28   size_t GetRegisterSetCount() override;
   30   const lldb_private::RegisterSet *GetRegisterSet(size_t set) override;
  203   static size_t GetRegisterInfosCount();
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp
  463 static size_t k_num_register_infos = llvm::array_lengthof(g_register_infos);
  482 size_t RegisterContextDarwin_x86_64::GetRegisterCount() {
  488 RegisterContextDarwin_x86_64::GetRegisterInfoAtIndex(size_t reg) {
  495 size_t RegisterContextDarwin_x86_64::GetRegisterInfosCount() {
  520 const size_t k_num_gpr_registers = llvm::array_lengthof(g_gpr_regnums);
  521 const size_t k_num_fpu_registers = llvm::array_lengthof(g_fpu_regnums);
  522 const size_t k_num_exc_registers = llvm::array_lengthof(g_exc_regnums);
  534 const size_t k_num_regsets = llvm::array_lengthof(g_reg_sets);
  536 size_t RegisterContextDarwin_x86_64::GetRegisterSetCount() {
  541 RegisterContextDarwin_x86_64::GetRegisterSet(size_t reg_set) {
tools/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.h
   24   size_t GetRegisterCount() override;
   26   const lldb_private::RegisterInfo *GetRegisterInfoAtIndex(size_t reg) override;
   28   size_t GetRegisterSetCount() override;
   30   const lldb_private::RegisterSet *GetRegisterSet(size_t set) override;
  208   static size_t GetRegisterInfosCount();
tools/lldb/source/Plugins/Process/Utility/RegisterContextDummy.cpp
   69 size_t RegisterContextDummy::GetRegisterCount() { return 1; }
   72 RegisterContextDummy::GetRegisterInfoAtIndex(size_t reg) {
   78 size_t RegisterContextDummy::GetRegisterSetCount() { return 1; }
   81 RegisterContextDummy::GetRegisterSet(size_t reg_set) {
tools/lldb/source/Plugins/Process/Utility/RegisterContextDummy.h
   32   size_t GetRegisterCount() override;
   34   const lldb_private::RegisterInfo *GetRegisterInfoAtIndex(size_t reg) override;
   36   size_t GetRegisterSetCount() override;
   38   const lldb_private::RegisterSet *GetRegisterSet(size_t reg_set) override;
tools/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_i386.cpp
   65 size_t RegisterContextFreeBSD_i386::GetGPRSize() const { return sizeof(GPR); }
tools/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_i386.h
   18   size_t GetGPRSize() const override;
tools/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_mips64.cpp
   30 constexpr size_t k_num_register_sets = 1;
   92 size_t RegisterContextFreeBSD_mips64::GetGPRSize() const {
   97 RegisterContextFreeBSD_mips64::GetRegisterSet(size_t set) const {
  104 size_t
tools/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_mips64.h
   19   size_t GetGPRSize() const override;
   21   const lldb_private::RegisterSet *GetRegisterSet(size_t set) const;
   23   size_t GetRegisterSetCount() const;
tools/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_powerpc.cpp
  183 size_t RegisterContextFreeBSD_powerpc::GetGPRSize() const {
  202 size_t RegisterContextFreeBSD_powerpc32::GetGPRSize() const {
  222 size_t RegisterContextFreeBSD_powerpc64::GetGPRSize() const {
tools/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_powerpc.h
   21   size_t GetGPRSize() const override;
   33   size_t GetGPRSize() const override;
   45   size_t GetGPRSize() const override;
tools/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_x86_64.cpp
  135 size_t RegisterContextFreeBSD_x86_64::GetGPRSize() const { return sizeof(GPR); }
tools/lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_x86_64.h
   19   size_t GetGPRSize() const override;
tools/lldb/source/Plugins/Process/Utility/RegisterContextHistory.cpp
   70 size_t RegisterContextHistory::GetRegisterCount() { return 1; }
   73 RegisterContextHistory::GetRegisterInfoAtIndex(size_t reg) {
   79 size_t RegisterContextHistory::GetRegisterSetCount() { return 1; }
   82 RegisterContextHistory::GetRegisterSet(size_t reg_set) {
tools/lldb/source/Plugins/Process/Utility/RegisterContextHistory.h
   32   size_t GetRegisterCount() override;
   34   const lldb_private::RegisterInfo *GetRegisterInfoAtIndex(size_t reg) override;
   36   size_t GetRegisterSetCount() override;
   38   const lldb_private::RegisterSet *GetRegisterSet(size_t reg_set) override;
tools/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
  970 size_t RegisterContextLLDB::GetRegisterCount() {
  974 const RegisterInfo *RegisterContextLLDB::GetRegisterInfoAtIndex(size_t reg) {
  978 size_t RegisterContextLLDB::GetRegisterSetCount() {
  982 const RegisterSet *RegisterContextLLDB::GetRegisterSet(size_t reg_set) {
tools/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h
   39   size_t GetRegisterCount() override;
   41   const lldb_private::RegisterInfo *GetRegisterInfoAtIndex(size_t reg) override;
   43   size_t GetRegisterSetCount() override;
   45   const lldb_private::RegisterSet *GetRegisterSet(size_t reg_set) override;
tools/lldb/source/Plugins/Process/Utility/RegisterContextLinux_i386.cpp
  108 size_t RegisterContextLinux_i386::GetGPRSize() const { return sizeof(GPR); }
tools/lldb/source/Plugins/Process/Utility/RegisterContextLinux_i386.h
   18   size_t GetGPRSize() const override;
tools/lldb/source/Plugins/Process/Utility/RegisterContextLinux_mips.cpp
   86 constexpr size_t k_num_register_sets = 3;
  108 size_t RegisterContextLinux_mips::GetGPRSize() const {
  124 RegisterContextLinux_mips::GetRegisterSet(size_t set) const {
  137 size_t
tools/lldb/source/Plugins/Process/Utility/RegisterContextLinux_mips.h
   20   size_t GetGPRSize() const override;
   24   const lldb_private::RegisterSet *GetRegisterSet(size_t set) const;
   26   size_t GetRegisterSetCount() const;
tools/lldb/source/Plugins/Process/Utility/RegisterContextLinux_mips64.cpp
  101 constexpr size_t k_num_register_sets = 3;
  113 RegisterContextLinux_mips64::GetRegisterSet(size_t set) const {
  128 size_t
  192 size_t RegisterContextLinux_mips64::GetGPRSize() const {
tools/lldb/source/Plugins/Process/Utility/RegisterContextLinux_mips64.h
   20   size_t GetGPRSize() const override;
   24   const lldb_private::RegisterSet *GetRegisterSet(size_t set) const;
   26   size_t GetRegisterSetCount() const;
tools/lldb/source/Plugins/Process/Utility/RegisterContextLinux_s390x.cpp
   74 size_t RegisterContextLinux_s390x::GetGPRSize() const { return 0; }
tools/lldb/source/Plugins/Process/Utility/RegisterContextLinux_s390x.h
   18   size_t GetGPRSize() const override;
tools/lldb/source/Plugins/Process/Utility/RegisterContextLinux_x86_64.cpp
  175 size_t RegisterContextLinux_x86_64::GetGPRSize() const { return sizeof(GPR); }
tools/lldb/source/Plugins/Process/Utility/RegisterContextLinux_x86_64.h
   18   size_t GetGPRSize() const override;
tools/lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp
   36 size_t RegisterContextMacOSXFrameBackchain::GetRegisterCount() {
   41 RegisterContextMacOSXFrameBackchain::GetRegisterInfoAtIndex(size_t reg) {
   45 size_t RegisterContextMacOSXFrameBackchain::GetRegisterSetCount() {
   50 RegisterContextMacOSXFrameBackchain::GetRegisterSet(size_t reg_set) {
tools/lldb/source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.h
   28   size_t GetRegisterCount() override;
   30   const lldb_private::RegisterInfo *GetRegisterInfoAtIndex(size_t reg) override;
   32   size_t GetRegisterSetCount() override;
   34   const lldb_private::RegisterSet *GetRegisterSet(size_t reg_set) override;
tools/lldb/source/Plugins/Process/Utility/RegisterContextMemory.cpp
   31   const size_t num_regs = reg_infos.GetNumRegisters();
   55 size_t RegisterContextMemory::GetRegisterCount() {
   59 const RegisterInfo *RegisterContextMemory::GetRegisterInfoAtIndex(size_t reg) {
   63 size_t RegisterContextMemory::GetRegisterSetCount() {
   67 const RegisterSet *RegisterContextMemory::GetRegisterSet(size_t reg_set) {
tools/lldb/source/Plugins/Process/Utility/RegisterContextMemory.h
   31   size_t GetRegisterCount() override;
   33   const lldb_private::RegisterInfo *GetRegisterInfoAtIndex(size_t reg) override;
   35   size_t GetRegisterSetCount() override;
   37   const lldb_private::RegisterSet *GetRegisterSet(size_t reg_set) override;
tools/lldb/source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp
  115 size_t RegisterContextNetBSD_x86_64::GetGPRSize() const { return sizeof(GPR); }
tools/lldb/source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.h
   19   size_t GetGPRSize() const override;
tools/lldb/source/Plugins/Process/Utility/RegisterContextOpenBSD_i386.cpp
   62 size_t RegisterContextOpenBSD_i386::GetGPRSize() const { return sizeof(GPR); }
tools/lldb/source/Plugins/Process/Utility/RegisterContextOpenBSD_i386.h
   18   size_t GetGPRSize() const override;
tools/lldb/source/Plugins/Process/Utility/RegisterContextOpenBSD_x86_64.cpp
   96 size_t RegisterContextOpenBSD_x86_64::GetGPRSize() const { return sizeof(GPR); }
tools/lldb/source/Plugins/Process/Utility/RegisterContextOpenBSD_x86_64.h
   19   size_t GetGPRSize() const override;
tools/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm.cpp
  127 size_t RegisterContextPOSIX_arm::GetRegisterCount() {
  128   size_t num_registers =
  133 size_t RegisterContextPOSIX_arm::GetGPRSize() {
  145 RegisterContextPOSIX_arm::GetRegisterInfoAtIndex(size_t reg) {
  152 size_t RegisterContextPOSIX_arm::GetRegisterSetCount() {
  153   size_t sets = 0;
  154   for (size_t set = 0; set < k_num_register_sets; ++set) {
  163 RegisterContextPOSIX_arm::GetRegisterSet(size_t set) {
  192 bool RegisterContextPOSIX_arm::IsRegisterSetAvailable(size_t set_index) {
tools/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm.h
   31   size_t GetRegisterCount() override;
   33   virtual size_t GetGPRSize();
   39   const lldb_private::RegisterInfo *GetRegisterInfoAtIndex(size_t reg) override;
   41   size_t GetRegisterSetCount() override;
   43   const lldb_private::RegisterSet *GetRegisterSet(size_t set) override;
   90   virtual bool IsRegisterSetAvailable(size_t set_index);
tools/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm64.cpp
  147 size_t RegisterContextPOSIX_arm64::GetRegisterCount() {
  148   size_t num_registers =
  153 size_t RegisterContextPOSIX_arm64::GetGPRSize() {
  166 RegisterContextPOSIX_arm64::GetRegisterInfoAtIndex(size_t reg) {
  173 size_t RegisterContextPOSIX_arm64::GetRegisterSetCount() {
  174   size_t sets = 0;
  175   for (size_t set = 0; set < k_num_register_sets; ++set) {
  184 RegisterContextPOSIX_arm64::GetRegisterSet(size_t set) {
  214 bool RegisterContextPOSIX_arm64::IsRegisterSetAvailable(size_t set_index) {
tools/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm64.h
   31   size_t GetRegisterCount() override;
   33   virtual size_t GetGPRSize();
   39   const lldb_private::RegisterInfo *GetRegisterInfoAtIndex(size_t reg) override;
   41   size_t GetRegisterSetCount() override;
   43   const lldb_private::RegisterSet *GetRegisterSet(size_t set) override;
   90   virtual bool IsRegisterSetAvailable(size_t set_index);
tools/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp
   79 size_t RegisterContextPOSIX_mips64::GetRegisterCount() {
   83 size_t RegisterContextPOSIX_mips64::GetGPRSize() {
   95 RegisterContextPOSIX_mips64::GetRegisterInfoAtIndex(size_t reg) {
  102 size_t RegisterContextPOSIX_mips64::GetRegisterSetCount() {
  125 const RegisterSet *RegisterContextPOSIX_mips64::GetRegisterSet(size_t set) {
  163 bool RegisterContextPOSIX_mips64::IsRegisterSetAvailable(size_t set_index) {
  164   size_t num_sets = GetRegisterSetCount();
tools/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.h
   41   size_t GetRegisterCount() override;
   43   virtual size_t GetGPRSize();
   49   const lldb_private::RegisterInfo *GetRegisterInfoAtIndex(size_t reg) override;
   51   size_t GetRegisterSetCount() override;
   53   const lldb_private::RegisterSet *GetRegisterSet(size_t set) override;
   68   virtual bool IsRegisterSetAvailable(size_t set_index);
tools/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_powerpc.cpp
  115 size_t RegisterContextPOSIX_powerpc::GetRegisterCount() {
  116   size_t num_registers = k_num_registers_powerpc;
  120 size_t RegisterContextPOSIX_powerpc::GetGPRSize() {
  132 RegisterContextPOSIX_powerpc::GetRegisterInfoAtIndex(size_t reg) {
  139 size_t RegisterContextPOSIX_powerpc::GetRegisterSetCount() {
  140   size_t sets = 0;
  141   for (size_t set = 0; set < k_num_register_sets; ++set) {
  149 const RegisterSet *RegisterContextPOSIX_powerpc::GetRegisterSet(size_t set) {
  172 bool RegisterContextPOSIX_powerpc::IsRegisterSetAvailable(size_t set_index) {
  173   size_t num_sets = k_num_register_sets;
tools/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_powerpc.h
  152   size_t GetRegisterCount() override;
  154   virtual size_t GetGPRSize();
  160   const lldb_private::RegisterInfo *GetRegisterInfoAtIndex(size_t reg) override;
  162   size_t GetRegisterSetCount() override;
  164   const lldb_private::RegisterSet *GetRegisterSet(size_t set) override;
  182   virtual bool IsRegisterSetAvailable(size_t set_index);
tools/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_ppc64le.cpp
  133 size_t RegisterContextPOSIX_ppc64le::GetRegisterCount() {
  134   size_t num_registers = k_num_registers_ppc64le;
  138 size_t RegisterContextPOSIX_ppc64le::GetGPRSize() {
  150 RegisterContextPOSIX_ppc64le::GetRegisterInfoAtIndex(size_t reg) {
  157 size_t RegisterContextPOSIX_ppc64le::GetRegisterSetCount() {
  158   size_t sets = 0;
  159   for (size_t set = 0; set < k_num_register_sets; ++set) {
  167 const RegisterSet *RegisterContextPOSIX_ppc64le::GetRegisterSet(size_t set) {
  190 bool RegisterContextPOSIX_ppc64le::IsRegisterSetAvailable(size_t set_index) {
  191   size_t num_sets = k_num_register_sets;
tools/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_ppc64le.h
   26   size_t GetRegisterCount() override;
   28   virtual size_t GetGPRSize();
   34   const lldb_private::RegisterInfo *GetRegisterInfoAtIndex(size_t reg) override;
   36   size_t GetRegisterSetCount() override;
   38   const lldb_private::RegisterSet *GetRegisterSet(size_t set) override;
   62   virtual bool IsRegisterSetAvailable(size_t set_index);
tools/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_s390x.cpp
  112 RegisterContextPOSIX_s390x::GetRegisterInfoAtIndex(size_t reg) {
  119 size_t RegisterContextPOSIX_s390x::GetRegisterCount() {
  138 bool RegisterContextPOSIX_s390x::IsRegisterSetAvailable(size_t set_index) {
  142 size_t RegisterContextPOSIX_s390x::GetRegisterSetCount() {
  143   size_t sets = 0;
  144   for (size_t set = 0; set < k_num_register_sets; ++set) {
  152 const RegisterSet *RegisterContextPOSIX_s390x::GetRegisterSet(size_t set) {
tools/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_s390x.h
   32   size_t GetRegisterCount() override;
   38   const lldb_private::RegisterInfo *GetRegisterInfoAtIndex(size_t reg) override;
   40   size_t GetRegisterSetCount() override;
   42   const lldb_private::RegisterSet *GetRegisterSet(size_t set) override;
   63   virtual bool IsRegisterSetAvailable(size_t set_index);
tools/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_x86.cpp
  398 size_t RegisterContextPOSIX_x86::GetRegisterCount() {
  399   size_t num_registers =
  406 size_t RegisterContextPOSIX_x86::GetGPRSize() {
  410 size_t RegisterContextPOSIX_x86::GetFXSAVEOffset() {
  422 RegisterContextPOSIX_x86::GetRegisterInfoAtIndex(size_t reg) {
  429 size_t RegisterContextPOSIX_x86::GetRegisterSetCount() {
  430   size_t sets = 0;
  431   for (size_t set = 0; set < k_num_register_sets; ++set) {
  439 const RegisterSet *RegisterContextPOSIX_x86::GetRegisterSet(size_t set) {
  504 bool RegisterContextPOSIX_x86::IsRegisterSetAvailable(size_t set_index) {
  506   size_t num_sets = k_num_register_sets - k_num_extended_register_sets;
tools/lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_x86.h
   32   size_t GetRegisterCount() override;
   34   virtual size_t GetGPRSize();
   36   virtual size_t GetFXSAVEOffset();
   42   const lldb_private::RegisterInfo *GetRegisterInfoAtIndex(size_t reg) override;
   44   size_t GetRegisterSetCount() override;
   46   const lldb_private::RegisterSet *GetRegisterSet(size_t set) override;
  153   virtual bool IsRegisterSetAvailable(size_t set_index);
tools/lldb/source/Plugins/Process/Utility/RegisterContextThreadMemory.cpp
   64 size_t RegisterContextThreadMemory::GetRegisterCount() {
   72 RegisterContextThreadMemory::GetRegisterInfoAtIndex(size_t reg) {
   79 size_t RegisterContextThreadMemory::GetRegisterSetCount() {
   86 const RegisterSet *RegisterContextThreadMemory::GetRegisterSet(size_t reg_set) {
  149                                                             size_t size) {
  171                                                             size_t size,
tools/lldb/source/Plugins/Process/Utility/RegisterContextThreadMemory.h
   28   size_t GetRegisterCount() override;
   30   const RegisterInfo *GetRegisterInfoAtIndex(size_t reg) override;
   32   size_t GetRegisterSetCount() override;
   34   const RegisterSet *GetRegisterSet(size_t reg_set) override;
   65   uint32_t SetHardwareBreakpoint(lldb::addr_t addr, size_t size) override;
   71   uint32_t SetHardwareWatchpoint(lldb::addr_t addr, size_t size, bool read,
tools/lldb/source/Plugins/Process/Utility/RegisterContextWindows_i386.cpp
   89 size_t RegisterContextWindows_i386::GetGPRSize() const { return sizeof(GPR); }
tools/lldb/source/Plugins/Process/Utility/RegisterContextWindows_i386.h
   18   size_t GetGPRSize() const override;
tools/lldb/source/Plugins/Process/Utility/RegisterContextWindows_x86_64.cpp
  152 size_t RegisterContextWindows_x86_64::GetGPRSize() const { return sizeof(GPR); }
tools/lldb/source/Plugins/Process/Utility/RegisterContextWindows_x86_64.h
   19   size_t GetGPRSize() const override;
tools/lldb/source/Plugins/Process/Utility/RegisterInfoInterface.h
   27   virtual size_t GetGPRSize() const = 0;
tools/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm.cpp
   80 size_t RegisterInfoPOSIX_arm::GetGPRSize() const {
tools/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm.h
   50   size_t GetGPRSize() const override;
tools/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.cpp
   87 size_t RegisterInfoPOSIX_arm64::GetGPRSize() const {
tools/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.h
   58   size_t GetGPRSize() const override;
tools/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_ppc64le.cpp
   52 size_t RegisterInfoPOSIX_ppc64le::GetGPRSize() const {
tools/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_ppc64le.h
   20   size_t GetGPRSize() const override;
tools/lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp
   33     size_t count = args.GetArgumentCount();
   34     for (size_t i = 0; i < count; i++) {
tools/lldb/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp
   75 size_t UnwindMacOSXFrameBackchain::GetStackFrameData_i386(
  102   const size_t k_frame_size = sizeof(frame);
  167 size_t UnwindMacOSXFrameBackchain::GetStackFrameData_x86_64(
  193   const size_t k_frame_size = sizeof(frame);
tools/lldb/source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.h
   45   size_t GetStackFrameData_i386(const lldb_private::ExecutionContext &exe_ctx);
   47   size_t
tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
   59     const size_t header_size = sizeof(llvm::ELF::Elf64_Ehdr);
  284 size_t ProcessElfCore::ReadMemory(lldb::addr_t addr, void *buf, size_t size,
  284 size_t ProcessElfCore::ReadMemory(lldb::addr_t addr, void *buf, size_t size,
  331 size_t ProcessElfCore::DoReadMemory(lldb::addr_t addr, void *buf, size_t size,
  331 size_t ProcessElfCore::DoReadMemory(lldb::addr_t addr, void *buf, size_t size,
  351   size_t bytes_to_read = size; // Number of bytes to read from the core file
  352   size_t bytes_copied = 0;   // Number of bytes actually read from the core file
  353   size_t zero_fill_size = 0; // Padding
  439   size_t len = data.GetByteSize() - offset;
  510     size_t note_start = offset;
  511     size_t note_size = llvm::alignTo(note.n_descsz, 4);
  799       size_t len = note.data.GetByteSize() - header_size;
  904   size_t len = m_auxv.GetByteSize();
tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.h
   85   size_t ReadMemory(lldb::addr_t addr, void *buf, size_t size,
   85   size_t ReadMemory(lldb::addr_t addr, void *buf, size_t size,
   88   size_t DoReadMemory(lldb::addr_t addr, void *buf, size_t size,
   88   size_t DoReadMemory(lldb::addr_t addr, void *buf, size_t size,
tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_ppc64le.cpp
   51 size_t RegisterContextCorePOSIX_ppc64le::GetFPRSize() const {
   55 size_t RegisterContextCorePOSIX_ppc64le::GetVMXSize() const {
   60 size_t RegisterContextCorePOSIX_ppc64le::GetVSXSize() const {
tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_ppc64le.h
   31   size_t GetFPRSize() const;
   33   size_t GetVMXSize() const;
   35   size_t GetVSXSize() const;
tools/lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.cpp
   20   size_t size, len;
   60   size_t offset;
   61   const size_t fxsave_offset = reg_info->byte_offset - GetFXSAVEOffset();
tools/lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp
  253 size_t ELFLinuxPrStatus::GetSize(const lldb_private::ArchSpec &arch) {
  254   constexpr size_t mips_linux_pr_status_size_o32 = 96;
  255   constexpr size_t mips_linux_pr_status_size_n32 = 72;
  256   constexpr size_t num_ptr_size_members = 10;
  327 size_t ELFLinuxPrPsInfo::GetSize(const lldb_private::ArchSpec &arch) {
  328   constexpr size_t mips_linux_pr_psinfo_size_o32_n32 = 128;
  358   size_t size = 0;
  401 size_t ELFLinuxSigInfo::GetSize(const lldb_private::ArchSpec &arch) {
tools/lldb/source/Plugins/Process/elf-core/ThreadElfCore.h
   64   static size_t GetSize(const lldb_private::ArchSpec &arch);
   85   static size_t GetSize(const lldb_private::ArchSpec &arch);
  120   static size_t GetSize(const lldb_private::ArchSpec &arch);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp
  203   const size_t max_response_retries = 3;
  204   for (size_t i = 0; i < max_response_retries; ++i) {
  361       size_t bytes_written = m_comm.Write(&ctrl_c, 1, status, nullptr);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
  100 size_t GDBRemoteCommunication::SendAck() {
  104   const size_t bytes_written = Write(&ch, 1, status, nullptr);
  110 size_t GDBRemoteCommunication::SendNack() {
  114   const size_t bytes_written = Write(&ch, 1, status, nullptr);
  139     const size_t packet_length = packet.size();
  140     size_t bytes_written = Write(packet_data, packet_length, status, nullptr);
  142       size_t binary_start_offset = 0;
  281     size_t bytes_read = Read(buffer, sizeof(buffer), timeout, status, &error);
  417   size_t pkt_size = m_bytes.size();
  430   size_t hash_mark_idx = m_bytes.find('#');
  440   size_t content_length =
  443   size_t content_start = 2; // The first character of the
  445   size_t checksum_idx =
  453   size_t size_of_first_packet = hash_mark_idx + 3;
  462     size_t i = content_start;
  516   size_t i = content_start;
  528   size_t decompressed_bytes = 0;
  641 GDBRemoteCommunication::CheckForPacket(const uint8_t *src, size_t src_len,
  663     size_t content_start = 0;
  664     size_t content_length = 0;
  665     size_t total_length = 0;
  666     size_t checksum_idx = std::string::npos;
  669     size_t original_packet_size = m_bytes.size();
  691         size_t hash_pos = m_bytes.find('#');
  716       const size_t bytes_len = m_bytes.size();
  748       size_t content_end = content_start + content_length;
  763           for (size_t i = 0; !binary && i < total_length; ++i) {
  780           for (size_t i = content_start; i < content_end; ++i) {
 1191         size_t num_bytes = sizeof(port_cstr);
 1308                                                 size_t len, bool broadcast,
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
  101   size_t SendAck();
  103   size_t SendNack();
  107   PacketType CheckForPacket(const uint8_t *src, size_t src_len,
  205   void AppendBytesToCache(const uint8_t *bytes, size_t len, bool broadcast,
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
  735       size_t size;
  795     for (size_t i = 0, n = argv.size(); i < n; ++i) {
 1337                                                         size_t data_len) {
 1362 addr_t GDBRemoteCommunicationClient::AllocateMemory(size_t size,
 2526 size_t GDBRemoteCommunicationClient::QueryGDBServer(
 2544   for (size_t i = 0, count = array->GetSize(); i < count; ++i) {
 2740 size_t GDBRemoteCommunicationClient::GetCurrentThreadIDs(
 3405     llvm::MutableArrayRef<uint8_t> &buffer, size_t offset) {
 3414     llvm::MutableArrayRef<uint8_t> &buffer, size_t offset) {
 3494     llvm::MutableArrayRef<uint8_t> &buffer, size_t offset) {
 3515       size_t filled_size = response.GetHexBytesAvail(buffer);
 3676   for (size_t i = 0; i < response_array->GetSize(); ++i) {
 3840                 const size_t num_scs = sc_list.GetSize();
 3841                 for (size_t sc_idx = 0;
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
   84   size_t QueryGDBServer(
  153   int SendStdinNotification(const char *data, size_t data_len);
  210   lldb::addr_t AllocateMemory(size_t size, uint32_t permissions);
  351   size_t GetCurrentThreadIDs(std::vector<lldb::tid_t> &thread_ids,
  489                            size_t offset = 0);
  493                                size_t offset = 0);
  592                                 size_t offset);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.cpp
   33   const size_t size = m_packets.size();
   51   const size_t size = m_packets.size();
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
  576     size_t count = packet.GetU64(SIZE_MAX);
  618         size_t count = buffer.size();
 1141   for (size_t i = 0; i < packet_array->GetSize(); ++i) {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
  621     size_t thread_name_len = thread_name.length();
 1004     size_t bytes_read = m_stdio_communication.Read(
 1849     const size_t dwarf_opcode_len = reg_info->dynamic_size_dwarf_len;
 2059   size_t reg_size = packet.GetHexBytesAvail(reg_bytes);
 2212     size_t read = packet.GetHexBytesAvail(tmp);
 2303   size_t bytes_read = 0;
 2331     for (size_t i = 0; i < bytes_read; ++i)
 2400   size_t bytes_written = 0;
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
  275   for (size_t i = 0; i < 10; ++i) {
  296   for (size_t i = 0; i < 10; ++i) {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
   62 size_t GDBRemoteRegisterContext::GetRegisterCount() {
   67 GDBRemoteRegisterContext::GetRegisterInfoAtIndex(size_t reg) {
   78 size_t GDBRemoteRegisterContext::GetRegisterSetCount() {
   82 const RegisterSet *GDBRemoteRegisterContext::GetRegisterSet(size_t reg_set) {
  107   const size_t reg_byte_size = reg_info->byte_size;
  871   size_t i;
  914     const size_t num_composites = llvm::array_lengthof(g_composites);
  915     const size_t num_dynamic_regs = GetNumRegisters();
  916     const size_t num_common_regs = num_registers - num_composites;
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h
   50   size_t GetRegisterCount() override;
   52   const RegisterInfo *GetRegisterInfoAtIndex(size_t reg) override;
   54   size_t GetRegisterSetCount() override;
   56   const RegisterSet *GetRegisterSet(size_t reg_set) override;
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
  413 static size_t SplitCommaSeparatedRegisterNumberString(
  583             size_t dwarf_opcode_len = value.size() / 2;
 1040   size_t num_cmds = GetExtraStartupCommands().GetArgumentCount();
 1041   for (size_t idx = 0; idx < num_cmds; idx++) {
 1252                                  size_t offset) {
 1258                                      size_t offset) {
 1301     const size_t num_threads = GetThreadList().GetSize();
 1371       const size_t num_continue_c_tids = m_continue_c_tids.size();
 1372       const size_t num_continue_C_tids = m_continue_C_tids.size();
 1373       const size_t num_continue_s_tids = m_continue_s_tids.size();
 1374       const size_t num_continue_S_tids = m_continue_S_tids.size();
 1403               for (size_t i = 1; i < m_continue_C_tids.size(); ++i) {
 1452             for (size_t i = 1; i < num_threads; ++i) {
 1529 size_t
 1532   size_t comma_pos;
 1548 size_t
 1551   size_t comma_pos;
 1607         const size_t thread_pcs_pos = stop_info_str.find(";thread-pcs:");
 1609           const size_t start = thread_pcs_pos + strlen(";thread-pcs:");
 1610           const size_t end = stop_info_str.find(';', start);
 1617         const size_t threads_pos = stop_info_str.find(";threads:");
 1619           const size_t start = threads_pos + strlen(";threads:");
 1620           const size_t end = stop_info_str.find(';', start);
 1645   size_t num_thread_ids = m_thread_ids.size();
 1656     for (size_t i = 0; i < num_thread_ids; ++i) {
 1676   size_t old_num_thread_ids = old_thread_list_copy.GetSize(false);
 1677   for (size_t i = 0; i < old_num_thread_ids; i++) {
 1712       const size_t n = thread_infos->GetSize();
 1713       for (size_t i = 0; i < n; ++i) {
 1828           const size_t exc_data_size = exc_data.size();
 2132                   const size_t byte_size = bytes.GetStringRef().size() / 2;
 2134                   const size_t bytes_copied =
 2301             const size_t byte_size = bytes.GetBytesLeft() / 2;
 2303             const size_t bytes_copied =
 2508           size_t num_threads = threads.GetSize();
 2509           for (size_t i = 0; i < num_threads; i++) {
 2544             size_t num_threads = threads.GetSize();
 2545             for (size_t i = 0; i < num_threads; i++) {
 2709       const size_t n = thread_infos->GetSize();
 2710       for (size_t i = 0; i < n; ++i) {
 2721 size_t ProcessGDBRemote::DoReadMemory(addr_t addr, void *buf, size_t size,
 2721 size_t ProcessGDBRemote::DoReadMemory(addr_t addr, void *buf, size_t size,
 2726   size_t max_memory_size =
 2752         size_t data_received_size = response.GetBytesLeft();
 2805   for (size_t i = 0; i < size; ++i)
 2811 Status ProcessGDBRemote::FlashErase(lldb::addr_t addr, size_t size) {
 2918 size_t ProcessGDBRemote::DoWriteMemory(addr_t addr, const void *buf,
 2919                                        size_t size, Status &error) {
 2922   size_t max_memory_size = m_max_memory_size / 2;
 2981 lldb::addr_t ProcessGDBRemote::DoAllocateMemory(size_t size,
 3082 size_t ProcessGDBRemote::PutSTDIN(const char *src, size_t src_len,
 3082 size_t ProcessGDBRemote::PutSTDIN(const char *src, size_t src_len,
 3120   const size_t bp_op_size = GetSoftwareBreakpointTrapOpcode(bp_site);
 3229     const size_t bp_op_size = GetSoftwareBreakpointTrapOpcode(bp_site);
 3724             const size_t continue_cstr_len = continue_packet->GetByteSize();
 4422             size_t dwarf_opcode_len = opcode_string.length() / 2;
 4856     for (size_t i = 0; i < loaded_modules.GetSize(); ++i) {
 4860       for (size_t j = 0; j < new_modules.GetSize(); ++j) {
 4963   size_t found, pos = 0, len = input.length();
 5152     const size_t argc = command.GetArgumentCount();
 5201     const size_t argc = command.GetArgumentCount();
 5232     const size_t argc = command.GetArgumentCount();
 5274     const size_t argc = command.GetArgumentCount();
 5286       for (size_t i = 0; i < argc; ++i) {
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
  133   size_t DoReadMemory(lldb::addr_t addr, void *buf, size_t size,
  133   size_t DoReadMemory(lldb::addr_t addr, void *buf, size_t size,
  139   size_t DoWriteMemory(lldb::addr_t addr, const void *buf, size_t size,
  139   size_t DoWriteMemory(lldb::addr_t addr, const void *buf, size_t size,
  142   lldb::addr_t DoAllocateMemory(size_t size, uint32_t permissions,
  151   size_t PutSTDIN(const char *buf, size_t buf_size, Status &error) override;
  151   size_t PutSTDIN(const char *buf, size_t buf_size, Status &error) override;
  172                  size_t offset = 0) override;
  176                      size_t offset = 0) override;
  290   using FlashRangeVector = lldb_private::RangeVector<lldb::addr_t, size_t>;
  336   size_t UpdateThreadPCsFromStopReplyThreadsValue(std::string &value);
  338   size_t UpdateThreadIDsFromStopReplyThreadsValue(std::string &value);
  402   Status FlashErase(lldb::addr_t addr, size_t size);
tools/lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
   66     const size_t header_size = sizeof(llvm::MachO::mach_header);
  305       size_t p = corefile_identifier.find("UUID=") + strlen("UUID=");
  310       size_t p = corefile_identifier.find("stext=") + strlen("stext=");
  332           size_t p = corefile_identifier.find("UUID=") + strlen("UUID=");
  392     const size_t num_core_aranges = m_core_aranges.GetSize();
  393     for (size_t i = 0; i < num_core_aranges; ++i) {
  483     size_t core_range_infos_size = m_core_range_infos.GetSize();
  484     for (size_t i = 0; i < core_range_infos_size; i++) {
  549 size_t ProcessMachCore::ReadMemory(addr_t addr, void *buf, size_t size,
  549 size_t ProcessMachCore::ReadMemory(addr_t addr, void *buf, size_t size,
  556 size_t ProcessMachCore::DoReadMemory(addr_t addr, void *buf, size_t size,
  556 size_t ProcessMachCore::DoReadMemory(addr_t addr, void *buf, size_t size,
  559   size_t bytes_read = 0;
  586         const size_t bytes_to_read =
  588         const size_t curr_bytes_read = core_objfile->CopyData(
tools/lldb/source/Plugins/Process/mach-core/ProcessMachCore.h
   66   size_t ReadMemory(lldb::addr_t addr, void *buf, size_t size,
   66   size_t ReadMemory(lldb::addr_t addr, void *buf, size_t size,
   69   size_t DoReadMemory(lldb::addr_t addr, void *buf, size_t size,
   69   size_t DoReadMemory(lldb::addr_t addr, void *buf, size_t size,
tools/lldb/source/Plugins/Process/minidump/MinidumpParser.cpp
  279   typedef llvm::StringMap<size_t> MapType;
  341       const size_t range_size = loc_desc.DataSize;
  374       const size_t range_size = memory_desc64.data_size;
  391                                                   size_t size) {
  404   const size_t offset = addr - range->start;
  409   const size_t overlap = std::min(size, range->range_ref.size() - offset);
tools/lldb/source/Plugins/Process/minidump/MinidumpParser.h
   89   llvm::ArrayRef<uint8_t> GetMemory(lldb::addr_t addr, size_t size);
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
  141   constexpr size_t header_size = sizeof(Header);
  305 size_t ProcessMinidump::ReadMemory(lldb::addr_t addr, void *buf, size_t size,
  305 size_t ProcessMinidump::ReadMemory(lldb::addr_t addr, void *buf, size_t size,
  312 size_t ProcessMinidump::DoReadMemory(lldb::addr_t addr, void *buf, size_t size,
  312 size_t ProcessMinidump::DoReadMemory(lldb::addr_t addr, void *buf, size_t size,
  758     const size_t argc = command.GetArgumentCount();
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.h
   71   size_t ReadMemory(lldb::addr_t addr, void *buf, size_t size,
   71   size_t ReadMemory(lldb::addr_t addr, void *buf, size_t size,
   74   size_t DoReadMemory(lldb::addr_t addr, void *buf, size_t size,
   74   size_t DoReadMemory(lldb::addr_t addr, void *buf, size_t size,
tools/lldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM.cpp
  347 constexpr size_t k_num_reg_infos = llvm::array_lengthof(g_reg_infos);
  456 constexpr size_t k_num_gpr_regs = llvm::array_lengthof(g_gpr_regnums) - 1;
  457 constexpr size_t k_num_fpu_regs = llvm::array_lengthof(g_fpu_regnums) - 1;
  464 constexpr size_t k_num_reg_sets = llvm::array_lengthof(g_reg_sets);
  480 size_t RegisterContextMinidump_ARM::GetRegisterCountStatic() {
  486 size_t RegisterContextMinidump_ARM::GetRegisterCount() {
  492 RegisterContextMinidump_ARM::GetRegisterInfoAtIndexStatic(size_t reg,
  508 RegisterContextMinidump_ARM::GetRegisterInfoAtIndex(size_t reg) {
  512 size_t RegisterContextMinidump_ARM::GetRegisterSetCount() {
  516 const RegisterSet *RegisterContextMinidump_ARM::GetRegisterSet(size_t set) {
  544   for (size_t i = 0; i < k_num_regs; ++i) {
tools/lldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM.h
   42   static size_t GetRegisterCountStatic();
   45   GetRegisterInfoAtIndexStatic(size_t reg, bool apple);
   47   size_t GetRegisterCount() override;
   49   const lldb_private::RegisterInfo *GetRegisterInfoAtIndex(size_t reg) override;
   51   size_t GetRegisterSetCount() override;
   53   const lldb_private::RegisterSet *GetRegisterSet(size_t set) override;
tools/lldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM64.cpp
  554 constexpr size_t k_num_reg_infos = llvm::array_lengthof(g_reg_infos);
  761 constexpr size_t k_num_gpr_regs = llvm::array_lengthof(g_gpr_regnums) - 1;
  762 constexpr size_t k_num_fpu_regs = llvm::array_lengthof(g_fpu_regnums) - 1;
  769 constexpr size_t k_num_reg_sets = llvm::array_lengthof(g_reg_sets);
  787 size_t RegisterContextMinidump_ARM64::GetRegisterCount() { return k_num_regs; }
  790 RegisterContextMinidump_ARM64::GetRegisterInfoAtIndex(size_t reg) {
  796 size_t RegisterContextMinidump_ARM64::GetRegisterSetCount() {
  800 const RegisterSet *RegisterContextMinidump_ARM64::GetRegisterSet(size_t set) {
  828   for (size_t i = 0; i < k_num_regs; ++i) {
tools/lldb/source/Plugins/Process/minidump/RegisterContextMinidump_ARM64.h
   40   size_t GetRegisterCount() override;
   42   const lldb_private::RegisterInfo *GetRegisterInfoAtIndex(size_t reg) override;
   44   size_t GetRegisterSetCount() override;
   46   const lldb_private::RegisterSet *GetRegisterSet(size_t set) override;
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
   81         const size_t length_read =
  144   size_t dot_pos = name.find('.');
  168   size_t dot_pos = name.find('.');
  235 PythonBytes::PythonBytes(const uint8_t *bytes, size_t length) {
  256 size_t PythonBytes::GetSize() const {
  279 PythonByteArray::PythonByteArray(const uint8_t *bytes, size_t length) {
  295   size_t size = GetSize();
  299 size_t PythonByteArray::GetSize() const {
  396 size_t PythonString::GetSize() const {
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
  429   PythonBytes(const uint8_t *bytes, size_t length);
  435   size_t GetSize() const;
  446   PythonByteArray(const uint8_t *bytes, size_t length);
  453   size_t GetSize() const;
  476   size_t GetSize() const;
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
  118 extern "C" size_t LLDBSwigPython_CalculateNumChildren(void *implementor,
  785 llvm::Expected<size_t>
  849                                     size_t src_len) {
 1236   llvm::Expected<size_t> maybe_args 
 1243   size_t num_args = *maybe_args;
 1551     for (size_t i = 0; i < result_list.GetSize(); i++) {
 2332 size_t ScriptInterpreterPythonImpl::CalculateNumChildren(
 2343   size_t ret_val = 0;
 2682   size_t pos = 0;
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
  144   size_t CalculateNumChildren(const StructuredData::ObjectSP &implementor,
  382   llvm::Expected<size_t> 
tools/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
  185       std::function<FilterRuleSP(bool accept, size_t attribute_index,
  193   static FilterRuleSP CreateRule(bool match_accepts, size_t attribute,
  235   FilterRule(bool accept, size_t attribute_index, ConstString operation)
  256   const size_t m_attribute_index;
  279   static FilterRuleSP CreateOperation(bool accept, size_t attribute_index,
  306   RegexFilterRule(bool accept, size_t attribute_index,
  331   static FilterRuleSP CreateOperation(bool accept, size_t attribute_index,
  351   ExactMatchFilterRule(bool accept, size_t attribute_index,
 1287   for (size_t i = 0; i < module_list.GetSize(); ++i) {
 1677 size_t
 1761 size_t StructuredDataDarwinLog::HandleDisplayOfEvent(
 1774   size_t total_bytes = 0;
tools/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.h
   98   size_t DumpHeader(Stream &stream, const StructuredData::Dictionary &event);
  100   size_t HandleDisplayOfEvent(const StructuredData::Dictionary &event,
tools/lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
   71   size_t m_current_line;
   72   size_t m_next_line;
  104   size_t num_sections = list.GetNumSections(0);
  139   size_t operator[](size_t file) {
  139   size_t operator[](size_t file) {
  149   llvm::DenseMap<size_t, size_t> m_map;
  149   llvm::DenseMap<size_t, size_t> m_map;
  223 size_t SymbolFileBreakpad::ParseFunctions(CompileUnit &comp_unit) {
  284   for (size_t i = 0, size = GetNumCompileUnits(); i < size; ++i) {
tools/lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h
   55   size_t ParseFunctions(CompileUnit &comp_unit) override;
   63   size_t ParseTypes(CompileUnit &cu) override { return 0; }
   71   size_t ParseBlocksRecursive(Function &func) override { return 0; }
   78   size_t ParseVariablesForContext(const SymbolContext &sc) override {
  148     size_t offset;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
  236   size_t num_attributes = die.GetAttributes(attributes);
  237   for (size_t i = 0; i < num_attributes; ++i) {
 1775     const size_t num_attributes = die.GetAttributes(attributes);
 1783       for (size_t i = 0; i < num_attributes; ++i) {
 1998               const size_t num_matches = method_die_offsets.size();
 1999               for (size_t i = 0; i < num_matches; ++i) {
 2224 size_t DWARFASTParserClang::ParseChildEnumerators(
 2230   size_t enumerators_added = 0;
 2237       const size_t num_child_attributes = die.GetAttributes(attributes);
 2298     const size_t n = m_dies.size();
 2300     for (size_t i = 0; i < n; i++) {
 2404         for (size_t i = 0; i < param_types.size(); i++) {
 2485       const size_t num_attributes = die.GetAttributes(attributes);
 2501         size_t bit_size = 0;
 2952       const size_t num_attributes = die.GetAttributes(attributes);
 3069 size_t DWARFASTParserClang::ParseChildParameters(
 3078   size_t arg_idx = 0;
 3085       const size_t num_attributes = die.GetAttributes(attributes);
 3205       const size_t num_child_attributes = die.GetAttributes(attributes);
 3293     const size_t num_attributes = die.GetAttributes(attributes);
 3296       for (size_t i = 0; i < num_attributes; ++i) {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
  117   size_t
  126   size_t ParseChildEnumerators(lldb_private::CompilerType &compiler_type,
  197   size_t calling_convention = llvm::dwarf::DW_CC_normal;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFAbbreviationDeclaration.h
   29   size_t NumAttributes() const { return m_attributes.size(); }
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.h
   72   size_t Size() const { return m_infos.size(); }
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFBaseDIE.cpp
  132 size_t DWARFBaseDIE::GetAttributes(DWARFAttributes &attributes,
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFBaseDIE.h
  119   size_t GetAttributes(DWARFAttributes &attributes, uint32_t depth = 0) const;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
   34   size_t num_debug_aranges = debug_aranges->GetNumRanges();
   42     const size_t num_ranges =
   49       for (size_t i = 0; i < num_ranges; ++i) {
   81           const size_t num_ranges =
  104         const size_t num_ranges =
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.h
   30   size_t GetDWARFSizeofInitialLength() const { return 4; }
   31   size_t GetDWARFSizeOfOffset() const { return 4; }
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp
   75     const size_t num_attrs = abbr_decl.NumAttributes();
   76     for (size_t i=0; i<num_attrs; ++i) {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugArangeSet.h
   45   size_t NumDescriptors() const { return m_arange_descriptors.size(); }
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp
   65   const size_t num_entries = m_aranges.GetSize();
   66   for (size_t i = 0; i < num_entries; ++i) {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.h
   42   size_t GetNumRanges() const { return m_aranges.GetSize(); }
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
   49   for (size_t n = 0; n < m_cu_aranges_up->GetNumRanges(); n++) {
   57   const size_t num_units = GetNumUnits();
   58   for (size_t idx = 0; idx < num_units; ++idx) {
  107 size_t DWARFDebugInfo::GetNumUnits() {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.h
   43   size_t GetNumUnits();
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
  542 size_t DWARFDebugInfoEntry::GetAttributes(
  768 size_t DWARFDebugInfoEntry::GetAttributeAddressRanges(
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h
   53   size_t GetAttributes(const DWARFUnit *cu,
   89   size_t GetAttributeAddressRanges(
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp
  283 uint64_t DWARFDebugRngLists::GetOffset(size_t Index) const {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.h
   63   uint64_t GetOffset(size_t Index) const;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
  289   size_t num_attributes = cu_die.GetAttributes(this, attributes);
  290   for (size_t i = 0; i < num_attributes; ++i) {
  366   for (size_t i = 0; i < m_dwo_symbol_file->DebugInfo()->GetNumUnits(); ++i) {
  383 size_t DWARFUnit::AppendDIEsWithTag(const dw_tag_t tag,
  386   size_t old_size = dies.size();
  401 size_t DWARFUnit::GetDebugInfoSize() const {
  641 FileSpec DWARFUnit::GetFile(size_t file_idx) {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
   98   size_t AppendDIEsWithTag(const dw_tag_t tag, std::vector<DWARFDIE> &dies,
  126   size_t GetLengthByteSize() const { return 4; }
  137   size_t GetDebugInfoSize() const;
  202   lldb_private::FileSpec GetFile(size_t file_idx);
tools/lldb/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.cpp
   14   const size_t count = die_info_array.size();
   15   for (size_t i = 0; i < count; ++i)
   25     const size_t count = die_info_array.size();
   26     for (size_t i = 0; i < count; ++i) {
   47     const size_t count = die_info_array.size();
   48     for (size_t i = 0; i < count; ++i) {
   67   const size_t count = die_info_array.size();
   68   for (size_t i = 0; i < count; ++i) {
   93   const size_t count = die_info_array.size();
   94   for (size_t i = 0; i < count; ++i) {
  228 size_t DWARFMappedHash::Prologue::GetByteSize() const {
  235 size_t DWARFMappedHash::Prologue::GetMinimumHashDataByteSize() const {
  243 size_t DWARFMappedHash::Header::GetByteSize(const HeaderData &header_data) {
  259   const size_t num_atoms = header_data.atoms.size();
  263   for (size_t i = 0; i < num_atoms; ++i) {
  347   const size_t min_total_hash_data_size =
  412   const size_t min_total_hash_data_size =
  456 size_t DWARFMappedHash::MemoryTable::AppendAllDIEsThatMatchingRegex(
  488 size_t DWARFMappedHash::MemoryTable::AppendAllDIEsInRange(
  518 size_t DWARFMappedHash::MemoryTable::FindByName(llvm::StringRef name,
  529 size_t DWARFMappedHash::MemoryTable::FindByNameAndTag(llvm::StringRef name,
  538 size_t DWARFMappedHash::MemoryTable::FindByNameAndTagAndQualifiedNameHash(
  548 size_t DWARFMappedHash::MemoryTable::FindCompleteObjCClassByName(
  572 size_t DWARFMappedHash::MemoryTable::FindByName(llvm::StringRef name,
  578   size_t old_size = die_info_array.size();
tools/lldb/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.h
   95     size_t GetByteSize() const;
   97     size_t GetMinimumHashDataByteSize() const;
  105     size_t min_hash_data_byte_size;
  111     size_t GetByteSize(const HeaderData &header_data) override;
  135     size_t
  139     size_t AppendAllDIEsInRange(const uint32_t die_offset_start,
  143     size_t FindByName(llvm::StringRef name, DIEArray &die_offsets);
  145     size_t FindByNameAndTag(llvm::StringRef name, const dw_tag_t tag,
  148     size_t FindByNameAndTagAndQualifiedNameHash(
  152     size_t FindCompleteObjCClassByName(llvm::StringRef name,
  161     size_t FindByName(llvm::StringRef name, DIEInfoArray &die_info_array);
tools/lldb/source/Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp
   36   for (size_t U = 0; U < debug_info.GetNumUnits(); ++U) {
  109     for (size_t i = 0; i < dwo_info.GetNumUnits(); ++i)
  152     const size_t num_attributes = die.GetAttributes(&unit, attributes);
tools/lldb/source/Plugins/SymbolFile/DWARF/NameToDIE.cpp
   29 size_t NameToDIE::Find(ConstString name, DIEArray &info_array) const {
   33 size_t NameToDIE::Find(const RegularExpression &regex,
   38 size_t NameToDIE::FindAllEntriesForUnit(const DWARFUnit &unit,
   40   const size_t initial_size = info_array.size();
tools/lldb/source/Plugins/SymbolFile/DWARF/NameToDIE.h
   35   size_t Find(lldb_private::ConstString name,
   38   size_t Find(const lldb_private::RegularExpression &regex,
   41   size_t FindAllEntriesForUnit(const DWARFUnit &unit,
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
  189   const size_t number_of_files = prologue.FileNames.size();
  190   for (size_t idx = 1; idx <= number_of_files; ++idx) {
  359       const size_t num_cus = info->GetNumUnits();
  360       for (size_t cu_idx = 0; cu_idx < num_cus; ++cu_idx) {
  830 size_t SymbolFileDWARF::ParseFunctions(CompileUnit &comp_unit) {
  836   size_t functions_added = 0;
  868 FileSpec SymbolFileDWARF::GetFile(DWARFUnit &unit, size_t file_idx) {
 1077 size_t SymbolFileDWARF::ParseBlocksRecursive(
 1080   size_t blocks_added = 0;
 1134         const size_t num_ranges = ranges.GetSize();
 1135         for (size_t i = 0; i < num_ranges; ++i) {
 1482 size_t SymbolFileDWARF::GetObjCMethodDIEOffsets(ConstString class_name,
 1676       const size_t num_cus = module_sp->GetNumCompileUnits();
 1677       for (size_t i = 0; i < num_cus; ++i) {
 1682             const size_t num_globals = globals_sp->GetSize();
 1683             for (size_t g = 0; g < num_globals; ++g) {
 2042   const size_t num_die_matches = die_offsets.size();
 2053     for (size_t i = 0; i < num_die_matches && !done; ++i) {
 2144   const size_t num_matches = die_offsets.size();
 2146     for (size_t i = 0; i < num_matches; ++i) {
 2400   const size_t num_die_matches = die_offsets.size();
 2402   for (size_t i = 0; i < num_die_matches; ++i) {
 2467   const size_t num_die_matches = die_offsets.size();
 2469   for (size_t i = 0; i < num_die_matches; ++i) {
 2513     const size_t num_matches = die_offsets.size();
 2515       for (size_t i = 0; i < num_matches; ++i) {
 2691   const size_t num_matches = die_offsets.size();
 2694     for (size_t i = 0; i < num_matches; ++i) {
 2779   const size_t count1 = decl_ctx_1.size();
 2780   const size_t count2 = decl_ctx_2.size();
 2788   size_t i;
 2857       const size_t num_matches = die_offsets.size();
 2876         for (size_t i = 0; i < num_matches; ++i) {
 3000 size_t SymbolFileDWARF::ParseTypes(const SymbolContext &sc,
 3003   size_t types_added = 0;
 3038 size_t SymbolFileDWARF::ParseBlocksRecursive(Function &func) {
 3047   size_t functions_added = 0;
 3058 size_t SymbolFileDWARF::ParseTypes(CompileUnit &comp_unit) {
 3060   size_t types_added = 0;
 3074 size_t SymbolFileDWARF::ParseVariablesForContext(const SymbolContext &sc) {
 3087         const size_t num_variables = ParseVariables(
 3110         const size_t num_matches = die_offsets.size();
 3112           for (size_t i = 0; i < num_matches; ++i) {
 3153     const size_t num_attributes = die.GetAttributes(attributes);
 3565 size_t SymbolFileDWARF::ParseVariables(const SymbolContext &sc,
 3575   size_t vars_added = 0;
 3692     const size_t num_attributes = child.GetAttributes(attributes);
 3711     for (size_t i = 0; i < num_attributes; ++i) {
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
  102   size_t ParseFunctions(lldb_private::CompileUnit &comp_unit) override;
  117   size_t ParseTypes(lldb_private::CompileUnit &comp_unit) override;
  123   size_t ParseBlocksRecursive(lldb_private::Function &func) override;
  125   size_t
  242   virtual size_t GetObjCMethodDIEOffsets(lldb_private::ConstString class_name,
  304   lldb_private::FileSpec GetFile(DWARFUnit &unit, size_t file_idx);
  350   size_t ParseBlocksRecursive(lldb_private::CompileUnit &comp_unit,
  355   size_t ParseTypes(const lldb_private::SymbolContext &sc, const DWARFDIE &die,
  370   size_t ParseVariables(const lldb_private::SymbolContext &sc,
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
  611 size_t SymbolFileDWARFDebugMap::GetCompUnitInfosForModule(
  631 size_t SymbolFileDWARFDebugMap::ParseFunctions(CompileUnit &comp_unit) {
  689 size_t SymbolFileDWARFDebugMap::ParseBlocksRecursive(Function &func) {
  701 size_t SymbolFileDWARFDebugMap::ParseTypes(CompileUnit &comp_unit) {
  709 size_t
  832   const size_t match_count = indexes.size();
  833   for (size_t i = 0; i < match_count; ++i) {
 1407 size_t
 1410   size_t num_line_entries_added = 0;
 1416       for (size_t idx = 0; idx < file_range_map.GetSize(); idx++) {
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h
   50   size_t ParseFunctions(lldb_private::CompileUnit &comp_unit) override;
   65   size_t ParseTypes(lldb_private::CompileUnit &comp_unit) override;
   70   size_t ParseBlocksRecursive(lldb_private::Function &func) override;
   71   size_t
  192   size_t GetCompUnitInfosForModule(const lldb_private::Module *oso_module,
  362   size_t AddOSOARanges(SymbolFileDWARF *dwarf2Data,
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
   77   for (size_t i = 0; i < debug_info->GetNumUnits(); ++i) {
  111 size_t SymbolFileDWARFDwo::GetObjCMethodDIEOffsets(
tools/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.h
   30   size_t GetObjCMethodDIEOffsets(lldb_private::ConstString class_name,
tools/lldb/source/Plugins/SymbolFile/NativePDB/DWARFLocationExpression.cpp
   76 static std::pair<size_t, bool> GetIntegralTypeInfo(TypeIndex ti,
  227   size_t size = 0;
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbUtil.cpp
  756 size_t lldb_private::npdb::GetTypeSizeForSimpleKind(SimpleTypeKind kind) {
  825 template <typename RecordType> static size_t GetSizeOfTypeInternal(CVType cvt) {
  831 size_t lldb_private::npdb::GetSizeOfType(PdbTypeSymId id,
tools/lldb/source/Plugins/SymbolFile/NativePDB/PdbUtil.h
  147 size_t GetTypeSizeForSimpleKind(llvm::codeview::SimpleTypeKind kind);
  153 size_t GetSizeOfType(PdbTypeSymId id, llvm::pdb::TpiStream &tpi);
tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
  520   size_t size = GetTypeSizeForSimpleKind(ti.getSimpleKind());
  551                                             size_t size, CompilerType ct) {
  924 size_t SymbolFileNativePDB::ParseFunctions(CompileUnit &comp_unit) {
  931   size_t count = comp_unit.GetNumFunctions();
  942   size_t new_count = comp_unit.GetNumFunctions();
 1173 size_t SymbolFileNativePDB::ParseBlocksRecursive(Function &func) {
 1282 size_t SymbolFileNativePDB::ParseTypes(CompileUnit &comp_unit) {
 1288   const size_t old_count = GetTypeList().GetSize();
 1318   const size_t new_count = GetTypeList().GetSize();
 1325 size_t
 1400 size_t SymbolFileNativePDB::ParseVariablesForBlock(PdbCompilandSymId block_id) {
 1403   size_t count = 0;
 1479 size_t SymbolFileNativePDB::ParseVariablesForContext(const SymbolContext &sc) {
 1487     size_t count = ParseVariablesForBlock(block_id.asCompilandSym());
 1494     size_t count = ParseVariablesForBlock(block_id.asCompilandSym());
tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h
   75   size_t ParseFunctions(lldb_private::CompileUnit &comp_unit) override;
   83   size_t ParseTypes(lldb_private::CompileUnit &comp_unit) override;
   89   size_t ParseBlocksRecursive(Function &func) override;
   96   size_t ParseVariablesForContext(const SymbolContext &sc) override;
  187                                       size_t size, CompilerType ct);
  213   size_t ParseVariablesForCompileUnit(CompileUnit &comp_unit,
  215   size_t ParseVariablesForBlock(PdbCompilandSymId block_id);
tools/lldb/source/Plugins/SymbolFile/PDB/PDBLocationToDWARFExpression.cpp
   42     for (size_t i = 0; i < ranges.GetSize(); i++) {
tools/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
  320 size_t SymbolFilePDB::ParseFunctions(CompileUnit &comp_unit) {
  322   size_t func_added = 0;
  386 static size_t ParseFunctionBlocksForPDBSymbol(
  391   size_t num_added = 0;
  436 size_t SymbolFilePDB::ParseBlocksRecursive(Function &func) {
  438   size_t num_added = 0;
  449 size_t SymbolFilePDB::ParseTypes(CompileUnit &comp_unit) {
  452   size_t num_added = 0;
  501 size_t
  507   size_t num_added = 0;
  792   const size_t old_size = sc_list.GetSize();
  998       for (size_t i = 0, num_ranges = block->GetNumRanges(); i < num_ranges;
 1030 size_t
 1034   size_t num_added = 0;
 1115   size_t old_size = variables.GetSize();
 1154   size_t old_size = variables.GetSize();
 1379   for (size_t i = 0; i < symtab.GetNumSymbols(); i++)
tools/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h
   54   size_t ParseFunctions(lldb_private::CompileUnit &comp_unit) override;
   63   size_t ParseTypes(lldb_private::CompileUnit &comp_unit) override;
   69   size_t ParseBlocksRecursive(lldb_private::Function &func) override;
   71   size_t
  195   size_t ParseVariables(const lldb_private::SymbolContext &sc,
tools/lldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp
  136 size_t SymbolFileSymtab::ParseFunctions(CompileUnit &comp_unit) {
  138   size_t num_added = 0;
  207 size_t SymbolFileSymtab::ParseTypes(CompileUnit &comp_unit) { return 0; }
  225 size_t SymbolFileSymtab::ParseBlocksRecursive(Function &func) { return 0; }
  227 size_t SymbolFileSymtab::ParseVariablesForContext(const SymbolContext &sc) {
tools/lldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.h
   43   size_t ParseFunctions(lldb_private::CompileUnit &comp_unit) override;
   52   size_t ParseTypes(lldb_private::CompileUnit &comp_unit) override;
   58   size_t ParseBlocksRecursive(lldb_private::Function &func) override;
   60   size_t
tools/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp
  145         size_t bytes_read =
tools/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp
   51     AddressRange &range, uint8_t *opcode_data, size_t opcode_size,
  100       const size_t num_instructions = inst_list.GetSize();
  145         for (size_t idx = 0; idx < num_instructions; ++idx) {
  360 size_t UnwindAssemblyInstEmulation::ReadMemory(
  363     size_t dst_len) {
  379 size_t UnwindAssemblyInstEmulation::WriteMemory(
  382     const void *dst, size_t dst_len) {
  389 size_t UnwindAssemblyInstEmulation::WriteMemory(
  391     lldb::addr_t addr, const void *dst, size_t dst_len) {
tools/lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.h
   28                                        uint8_t *opcode_data, size_t opcode_size,
   79   static size_t
   82              lldb::addr_t addr, void *dst, size_t length);
   84   static size_t
   87               lldb::addr_t addr, const void *dst, size_t length);
  107   size_t WriteMemory(lldb_private::EmulateInstruction *instruction,
  109                      lldb::addr_t addr, const void *dst, size_t length);
tools/lldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp
  227     size_t offset;
tools/lldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp
  236     for (size_t i = 0; i < reg_info.size(); ++i) {
  897   const size_t inst_size =
  916     uint8_t *data, size_t size, AddressRange &func_range,
 1269           for (size_t i = 0; i < prologue_completed_saved_registers.size(); ++i) {
 1311       for (size_t i = 0; i < saved_registers.size(); ++i) {
 1337     uint8_t *data, size_t size, AddressRange &func_range,
 1370   size_t offset = 0;
 1581     uint8_t *data, size_t size, size_t &offset) {
 1581     uint8_t *data, size_t size, size_t &offset) {
tools/lldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.h
   67   GetNonCallSiteUnwindPlanFromAssembly(uint8_t *data, size_t size,
   84   bool AugmentUnwindPlanFromCallSite(uint8_t *data, size_t size,
   89   bool FindFirstNonPrologueInstruction(uint8_t *data, size_t size,
   90                                        size_t &offset);
tools/lldb/source/Symbol/Block.cpp
   34   size_t num_ranges = m_ranges.GetSize();
   45     for (size_t i = 0; i < num_ranges; ++i) {
   83     size_t num_ranges = m_ranges.GetSize();
   84     for (size_t i = 0; i < num_ranges; ++i) {
  160     size_t num_ranges = m_ranges.GetSize();
  161     for (size_t i = 0; i < num_ranges; ++i) {
  365 size_t Block::MemorySize() const {
  366   size_t mem_size = sizeof(Block) + m_ranges.GetSize() * sizeof(Range);
  409     for (size_t i = 0; i < block_var_list->GetSize(); ++i) {
  442     for (size_t i = 0; i < variable_list_sp->GetSize(); ++i) {
tools/lldb/source/Symbol/ClangASTContext.cpp
  846                                                      size_t bit_size) {
 1435   const size_t num_template_params = template_param_infos.args.size();
 1438   for (size_t i = 0; i < num_template_params; ++i) {
 1500   for (size_t i = 0, template_param_decl_count = template_param_decls.size();
 1550   for (size_t i = 0, template_param_decl_count = template_param_decls.size();
 2157                                               size_t element_count,
 2261                                                     size_t bit_size,
 2533     int *assigned_accessibilities, size_t num_assigned_accessibilities) {
 3165 size_t ClangASTContext::GetNumberOfFunctionArguments(
 3179                                             const size_t index) {
 4506     lldb::opaque_compiler_type_t type, size_t idx) {
 4531 size_t
 4533   size_t num_functions = 0;
 4618                                           size_t idx) {
 4939 ClangASTContext::GetFloatTypeSemantics(size_t byte_size) {
 4941     const size_t bit_size = byte_size * 8;
 5020 llvm::Optional<size_t>
 5909                     clang::ObjCInterfaceDecl *class_interface_decl, size_t idx,
 5960                                               size_t idx, std::string &name,
 6212     lldb::opaque_compiler_type_t type, size_t idx, uint32_t *bit_offset_ptr) {
 6335     lldb::opaque_compiler_type_t type, size_t idx, uint32_t *bit_offset_ptr) {
 6564     lldb::opaque_compiler_type_t type, ExecutionContext *exe_ctx, size_t idx,
 7149 size_t ClangASTContext::GetIndexOfChildMemberWithName(
 7214               const size_t num_path_elements = path->size();
 7215               for (size_t e = 0; e < num_path_elements; ++e) {
 7642 size_t
 7744                                          size_t arg_idx) {
 7783                                          size_t idx) {
 7799                                              size_t idx) {
 8016           size_t nested_chain_size =
 8600   size_t len = 0;
 8981   size_t ntypes = type_list.GetSize();
 8983   for (size_t i = 0; i < ntypes; ++i) {
 9008     lldb::offset_t data_byte_offset, size_t data_byte_size,
 9385                           size_t byte_size, uint32_t bitfield_bit_offset,
 9465     const DataExtractor &data, lldb::offset_t byte_offset, size_t byte_size,
 9590                                   size_t data_byte_size) {
 9607         size_t bytes_read;
 9608         size_t total_cstr_len = 0;
 9612           const size_t len = strlen((const char *)&buf.front());
 9939 size_t ClangASTContext::DeclGetFunctionNumArguments(void *opaque_decl) {
 9951                                                           size_t idx) {
tools/lldb/source/Symbol/CompileUnit.cpp
  246   const size_t num_file_indexes = file_indexes.size();
tools/lldb/source/Symbol/CompilerDecl.cpp
   35 size_t CompilerDecl::GetNumFunctionArguments() const {
   39 CompilerType CompilerDecl::GetFunctionArgumentType(size_t arg_idx) const {
tools/lldb/source/Symbol/CompilerType.cpp
  115 size_t CompilerType::GetNumberOfFunctionArguments() const {
  122 CompilerType::GetFunctionArgumentAtIndex(const size_t index) const {
  271 size_t CompilerType::GetPointerByteSize() const {
  368 CompilerType CompilerType::GetFunctionArgumentTypeAtIndex(size_t idx) const {
  382 size_t CompilerType::GetNumMemberFunctions() const {
  389 TypeMemberFunctionImpl CompilerType::GetMemberFunctionAtIndex(size_t idx) {
  491 llvm::Optional<size_t> CompilerType::GetTypeBitAlign(ExecutionContextScope *exe_scope) const {
  539 CompilerType CompilerType::GetFieldAtIndex(size_t idx, std::string &name,
  562 CompilerType::GetDirectBaseClassAtIndex(size_t idx,
  571 CompilerType::GetVirtualBaseClassAtIndex(size_t idx,
  599     ExecutionContext *exe_ctx, size_t idx, bool transparent_pointers,
  648 size_t CompilerType::GetIndexOfChildMemberWithName(
  658 size_t CompilerType::GetNumTemplateArguments() const {
  665 TemplateArgumentKind CompilerType::GetTemplateArgumentKind(size_t idx) const {
  671 CompilerType CompilerType::GetTypeTemplateArgument(size_t idx) const {
  679 CompilerType::GetIntegralTemplateArgument(size_t idx) const {
  723                              size_t data_byte_size, uint32_t bitfield_bit_size,
  736                                  lldb::offset_t byte_offset, size_t byte_size,
  750                                size_t data_byte_size) {
  778                                     size_t data_byte_size,
tools/lldb/source/Symbol/DWARFCallFrameInfo.cpp
  214   const size_t count = m_fde_index.GetSize();
  218   for (size_t i = 0; i < count; ++i) {
  262     size_t i;
  279         for (size_t j = i + 1; j < CFI_AUG_MAX_SIZE; ++j)
  313       const size_t aug_data_len = (size_t)m_cfi_data.GetULEB128(&offset);
  314       const size_t aug_data_end = offset + aug_data_len;
  315       const size_t aug_str_len = strlen(cie_sp->augmentation);
  322         size_t aug_str_idx = 0;
  929       size_t block_len = (size_t)m_cfi_data.GetULEB128(&offset);
 1018   for (size_t i = 0, c = m_fde_index.GetSize(); i < c; ++i) {
tools/lldb/source/Symbol/Declaration.cpp
   67 size_t Declaration::MemorySize() const { return sizeof(Declaration); }
tools/lldb/source/Symbol/Function.cpp
   58 size_t FunctionInfo::MemorySize() const {
  126 size_t InlineFunctionInfo::MemorySize() const {
  153     size_t num_matches = sc_list.GetSize();
  418 size_t Function::MemorySize() const {
  419   size_t mem_size = sizeof(Function) + m_block.MemorySize();
tools/lldb/source/Symbol/LineTable.cpp
  291   const size_t count = m_entries.size();
  294   size_t best_match = UINT32_MAX;
  296   for (size_t idx = start_idx; idx < count; ++idx) {
  337   const size_t count = m_entries.size();
  338   size_t best_match = UINT32_MAX;
  340   for (size_t idx = start_idx; idx < count; ++idx) {
  377 size_t LineTable::FineLineEntriesForFileIndex(uint32_t file_idx, bool append,
  383   size_t num_added = 0;
  384   const size_t count = m_entries.size();
  388     for (size_t idx = 0; idx < count; ++idx) {
  407   const size_t count = m_entries.size();
  410   for (size_t idx = 0; idx < count; ++idx) {
  421   const size_t count = m_entries.size();
  423   for (size_t idx = 0; idx < count; ++idx) {
  430 size_t LineTable::GetContiguousFileAddressRanges(FileAddressRanges &file_ranges,
  434   const size_t initial_count = file_ranges.GetSize();
  436   const size_t count = m_entries.size();
  439   for (size_t idx = 0; idx < count; ++idx) {
  458   const size_t count = m_entries.size();
  465   for (size_t idx = 0; idx < count; ++idx) {
tools/lldb/source/Symbol/LocateSymbolFile.cpp
   54     for (size_t i = 0; i < module_specs.GetSize(); ++i) {
  319   size_t num_directories = debug_file_search_paths.GetSize();
  320   for (size_t idx = 0; idx < num_directories; ++idx) {
  345     for (size_t idx_file = 0; idx_file < num_files; ++idx_file) {
  356         const size_t num_specs =
tools/lldb/source/Symbol/ObjectFile.cpp
  207 size_t ObjectFile::GetModuleSpecifications(const FileSpec &file,
  230 size_t ObjectFile::GetModuleSpecifications(
  234   const size_t initial_count = specs.GetSize();
  462                                     lldb::addr_t addr, size_t byte_size) {
  467     const size_t bytes_read = process_sp->ReadMemory(
  475 size_t ObjectFile::GetData(lldb::offset_t offset, size_t length,
  475 size_t ObjectFile::GetData(lldb::offset_t offset, size_t length,
  482 size_t ObjectFile::CopyData(lldb::offset_t offset, size_t length,
  482 size_t ObjectFile::CopyData(lldb::offset_t offset, size_t length,
  489 size_t ObjectFile::ReadSectionData(Section *section,
  491                                    size_t dst_len) {
  516       const size_t section_bytes_left = section_file_size - section_offset;
  517       size_t section_dst_len = dst_len;
  538 size_t ObjectFile::ReadSectionData(Section *section,
  577   size_t len = path_with_object.size();
  654   size_t section_count = section_list->GetNumSections(0);
  655   for (size_t i = 0; i < section_count; ++i) {
tools/lldb/source/Symbol/PostfixExpression.cpp
  175   size_t m_stack_depth = 1;
tools/lldb/source/Symbol/Symbol.cpp
  439     const size_t num_scs = sc_list.GetSize();
  441       for (size_t i = 0; i < num_scs; ++i) {
  456     size_t num_reexported_libraries = reexported_libraries.GetSize();
  457     for (size_t idx = 0; idx < num_reexported_libraries; idx++) {
tools/lldb/source/Symbol/SymbolContext.cpp
  603     const size_t old_type_list_size = type_list.GetSize();
  613     const size_t new_type_list_size = type_list.GetSize();
  615       for (size_t i = old_type_list_size; i < new_type_list_size; ++i)
  622     const size_t old_type_list_size = type_list.GetSize();
  633     const size_t new_type_list_size = type_list.GetSize();
  635       for (size_t i = old_type_list_size; i < new_type_list_size; ++i)
  642     const size_t old_type_list_size = type_list.GetSize();
  651     const size_t new_type_list_size = type_list.GetSize();
  653       for (size_t i = old_type_list_size; i < new_type_list_size; ++i)
 1277 bool SymbolContextList::GetContextAtIndex(size_t idx, SymbolContext &sc) const {
 1285 bool SymbolContextList::RemoveContextAtIndex(size_t idx) {
 1299   const size_t size = m_symbol_contexts.size();
 1300   for (size_t idx = 0; idx < size; ++idx) {
 1309   const size_t size = m_symbol_contexts.size();
 1310   for (size_t idx = 0; idx < size; ++idx)
tools/lldb/source/Symbol/SymbolFile.cpp
  176   const size_t num_compile_units = GetNumCompileUnits();
tools/lldb/source/Symbol/SymbolVendor.cpp
   31   for (size_t idx = 0;
tools/lldb/source/Symbol/Symtab.cpp
   38 void Symtab::Reserve(size_t count) {
   44 Symbol *Symtab::Resize(size_t count) {
   63 size_t Symtab::GetNumSymbols() const {
  133       const size_t num_entries = m_file_addr_to_index.GetSize();
  134       for (size_t i = 0; i < num_entries; ++i) {
  150   const size_t num_symbols = GetNumSymbols();
  162       size_t idx = *pos;
  203 Symbol *Symtab::SymbolAtIndex(size_t idx) {
  211 const Symbol *Symtab::SymbolAtIndex(size_t idx) const {
  260     const size_t num_symbols = m_symbols.size();
  423     const size_t num_indexes = indexes.size();
  424     for (size_t i = 0; i < num_indexes; ++i) {
  620     const size_t old_size = indexes.size();
  625     const size_t name_match_count =
  627     for (size_t i = 0; i < name_match_count; ++i) {
  728   const size_t count = m_symbols.size();
  729   for (size_t idx = start_idx; idx < count; ++idx) {
  844         size_t size = sect_sp->GetByteSize();
  873     const size_t num_entries = m_file_addr_to_index.GetSize();
  893       for (size_t i = 0; i < num_entries; i++) {
  915           for (size_t j = i; j < num_entries; j++) {
  993   const size_t addr_match_count =
  997   for (size_t i = 0; i < addr_match_count; ++i) {
 1012   size_t num_indices = symbol_indexes.size();
 1016     for (size_t i = 0; i < num_indices; i++) {
tools/lldb/source/Symbol/Type.cpp
  680   size_t namespace_separator = basename.find("::");
  684   size_t template_begin = basename.find('<');
  688       size_t template_depth = 1;
 1084 size_t TypeMemberFunctionImpl::GetNumArguments() const {
 1091 CompilerType TypeMemberFunctionImpl::GetArgumentAtIndex(size_t idx) const {
tools/lldb/source/Symbol/TypeList.cpp
  145           const size_t type_scope_size = type_scope.size();
  146           const size_t match_type_scope_size = match_type_scope.size();
  151               const size_t type_scope_pos = match_type_scope.rfind(type_scope);
tools/lldb/source/Symbol/TypeMap.cpp
  175           const size_t type_scope_size = type_scope.size();
  176           const size_t match_type_scope_size = match_type_scope.size();
  181               const size_t type_scope_pos = match_type_scope.rfind(type_scope);
tools/lldb/source/Symbol/TypeSystem.cpp
   30 static const size_t g_num_small_bitvector_bits = 64 - 8;
   42 size_t LanguageSet::Size() const { return bitvector.count(); }
  122 size_t TypeSystem::GetNumTemplateArguments(lldb::opaque_compiler_type_t type) {
  127 TypeSystem::GetTemplateArgumentKind(opaque_compiler_type_t type, size_t idx) {
  132                                                  size_t idx) {
  138                                         size_t idx) {
  162 size_t TypeSystem::DeclGetFunctionNumArguments(void *opaque_decl) { return 0; }
  165                                                      size_t arg_idx) {
tools/lldb/source/Symbol/Variable.cpp
  204 size_t Variable::MemorySize() const { return sizeof(Variable); }
  612           const size_t num_variables = variable_list->GetSize();
  613           for (size_t i = 0; i < num_variables; ++i) {
  686         const size_t partial_path_len = partial_path.size();
  687         size_t pos = 1;
  713           const size_t num_variables = variable_list->GetSize();
  714           for (size_t i = 0; i < num_variables; ++i) {
tools/lldb/source/Symbol/VariableList.cpp
   47 VariableSP VariableList::GetVariableAtIndex(size_t idx) const {
   54 VariableSP VariableList::RemoveVariableAtIndex(size_t idx) {
  103 size_t VariableList::AppendVariablesIfUnique(VariableList &var_list) {
  104   const size_t initial_size = var_list.GetSize();
  111 size_t VariableList::AppendVariablesIfUnique(const RegularExpression &regex,
  113                                              size_t &total_matches) {
  114   const size_t initial_size = var_list.GetSize();
  128 size_t VariableList::AppendVariablesWithScope(lldb::ValueType type,
  131   const size_t initial_size = var_list.GetSize();
  157 size_t VariableList::MemorySize() const {
  158   size_t mem_size = sizeof(VariableList);
  165 size_t VariableList::GetSize() const { return m_variables.size(); }
tools/lldb/source/Target/JITLoaderList.cpp
   32 size_t JITLoaderList::GetSize() const { return m_jit_loaders_vec.size(); }
   34 JITLoaderSP JITLoaderList::GetLoaderAtIndex(size_t idx) {
tools/lldb/source/Target/Language.cpp
  378 size_t Language::TypeScavenger::Find(ExecutionContextScope *exe_scope,
  390   size_t old_size = results.size();
tools/lldb/source/Target/Memory.cpp
   41                                  size_t src_len) {
   52 void MemoryCache::Flush(addr_t addr, size_t size) {
  125 size_t MemoryCache::Read(addr_t addr, void *dst, size_t dst_len,
  125 size_t MemoryCache::Read(addr_t addr, void *dst, size_t dst_len,
  127   size_t bytes_left = dst_len;
  159     size_t bytes_read =
  185         size_t curr_read_size = cache_line_byte_size - cache_offset;
  229         size_t process_bytes_read = m_process.ReadMemoryFromInferior(
  265   const size_t free_count = m_free_blocks.GetSize();
  266   for (size_t i=0; i<free_count; ++i)
  276       size_t num_chunks = CalculateChunksNeededForSize(size);
  343   const size_t page_size = 4096;
  344   const size_t num_pages = (byte_size + page_size - 1) / page_size;
  345   const size_t page_byte_size = num_pages * page_size;
  366 lldb::addr_t AllocatedMemoryCache::AllocateMemory(size_t byte_size,
tools/lldb/source/Target/ModuleCache.cpp
   40   size_t size = result.size();
   41   for (size_t i = 0; i < size; ++i) {
tools/lldb/source/Target/PathMappingList.cpp
  109 bool PathMappingList::Remove(size_t index, bool notify) {
tools/lldb/source/Target/Platform.cpp
 1067   size_t num_debuggers = Debugger::GetNumDebuggers();
 1068   for (size_t didx = 0; didx < num_debuggers; ++didx) {
 1106   size_t i = 0;
 1251     size_t bytes_read = buffer_sp->GetByteSize();
 1806 size_t Platform::ConnectToWaitingProcesses(lldb_private::Debugger &debugger,
 1812 size_t Platform::GetSoftwareBreakpointTrapOpcode(Target &target,
 1816   size_t trap_opcode_size = 0;
tools/lldb/source/Target/Process.cpp
  835         size_t num_reasons =
  852             for (size_t i = 0; i < num_reasons; i++) {
  884           const size_t num_threads = thread_list.GetSize();
  885           size_t i;
 1206           size_t num_old_threads = old_thread_list.GetSize(false);
 1207           for (size_t i = 0; i < num_old_threads; ++i)
 1717 size_t Process::RemoveBreakpointOpcodesFromBuffer(addr_t bp_addr, size_t size,
 1717 size_t Process::RemoveBreakpointOpcodesFromBuffer(addr_t bp_addr, size_t size,
 1719   size_t bytes_removed = 0;
 1728         size_t intersect_size;
 1729         size_t opcode_offset;
 1736           size_t buf_offset = intersect_addr - bp_addr;
 1747 size_t Process::GetSoftwareBreakpointTrapOpcode(BreakpointSite *bp_site) {
 1777   const size_t bp_opcode_size = GetSoftwareBreakpointTrapOpcode(bp_site);
 1844     const size_t break_op_size = bp_site->GetByteSize();
 1924 size_t Process::ReadMemory(addr_t addr, void *buf, size_t size, Status &error) {
 1924 size_t Process::ReadMemory(addr_t addr, void *buf, size_t size, Status &error) {
 1965 size_t Process::ReadCStringFromMemory(addr_t addr, std::string &out_str,
 1971     size_t length = ReadCStringFromMemory(curr_addr, buf, sizeof(buf), error);
 1985 size_t Process::ReadStringFromMemory(addr_t addr, char *dst, size_t max_bytes,
 1985 size_t Process::ReadStringFromMemory(addr_t addr, char *dst, size_t max_bytes,
 1986                                      Status &error, size_t type_width) {
 1987   size_t total_bytes_read = 0;
 1992     size_t bytes_left = max_bytes - type_width;
 2000     const size_t cache_line_size = m_memory_cache.GetMemoryCacheLineSize();
 2009       size_t bytes_read = ReadMemory(curr_addr, curr_dst, bytes_to_read, error);
 2016       size_t aligned_start = total_bytes_read - total_bytes_read % type_width;
 2017       for (size_t i = aligned_start;
 2038 size_t Process::ReadCStringFromMemory(addr_t addr, char *dst,
 2039                                       size_t dst_max_len,
 2041   size_t total_cstr_len = 0;
 2048     const size_t cache_line_size = m_memory_cache.GetMemoryCacheLineSize();
 2049     size_t bytes_left = dst_max_len - 1;
 2057       size_t bytes_read = ReadMemory(curr_addr, curr_dst, bytes_to_read, error);
 2064       const size_t len = strlen(curr_dst);
 2084 size_t Process::ReadMemoryFromInferior(addr_t addr, void *buf, size_t size,
 2084 size_t Process::ReadMemoryFromInferior(addr_t addr, void *buf, size_t size,
 2089   size_t bytes_read = 0;
 2093     const size_t curr_size = size - bytes_read;
 2094     const size_t curr_bytes_read =
 2109                                                 size_t integer_byte_size,
 2120                                              size_t integer_byte_size,
 2150 size_t Process::WriteMemoryPrivate(addr_t addr, const void *buf, size_t size,
 2150 size_t Process::WriteMemoryPrivate(addr_t addr, const void *buf, size_t size,
 2152   size_t bytes_written = 0;
 2156     const size_t curr_size = size - bytes_written;
 2157     const size_t curr_bytes_written = DoWriteMemory(
 2166 size_t Process::WriteMemory(addr_t addr, const void *buf, size_t size,
 2166 size_t Process::WriteMemory(addr_t addr, const void *buf, size_t size,
 2198     size_t intersect_size;
 2199     size_t opcode_offset;
 2214       size_t curr_size = intersect_addr - curr_addr;
 2215       size_t curr_bytes_written =
 2242 size_t Process::WriteScalarToMemory(addr_t addr, const Scalar &scalar,
 2243                                     size_t byte_size, Status &error) {
 2248     const size_t mem_size =
 2260 size_t Process::ReadScalarIntegerFromMemory(addr_t addr, uint32_t byte_size,
 2270     const size_t bytes_read = ReadMemory(addr, &uval, byte_size, error);
 2302 addr_t Process::AllocateMemory(size_t size, uint32_t permissions,
 2325 addr_t Process::CallocateMemory(size_t size, uint32_t permissions,
 2395                                        size_t size_to_read) {
 2815               for (size_t i = 0; i < num_matches; i++) {
 2976   size_t num_modules = target_modules.GetSize();
 2979   for (size_t i = 0; i < num_modules; i++) {
 4107 size_t
 4119                                                      size_t idx) {
 4191 void Process::AppendSTDOUT(const char *s, size_t len) {
 4198 void Process::AppendSTDERR(const char *s, size_t len) {
 4228 size_t Process::GetAsyncProfileData(char *buf, size_t buf_size, Status &error) {
 4228 size_t Process::GetAsyncProfileData(char *buf, size_t buf_size, Status &error) {
 4234   size_t bytes_available = one_profile_data.size();
 4253 size_t Process::GetSTDOUT(char *buf, size_t buf_size, Status &error) {
 4253 size_t Process::GetSTDOUT(char *buf, size_t buf_size, Status &error) {
 4255   size_t bytes_available = m_stdout_data.size();
 4272 size_t Process::GetSTDERR(char *buf, size_t buf_size, Status &error) {
 4272 size_t Process::GetSTDERR(char *buf, size_t buf_size, Status &error) {
 4274   size_t bytes_available = m_stderr_data.size();
 4292                                            size_t src_len) {
 4340         size_t n;
 4350           size_t bytes_read;
 4387       size_t bytes_written = 0;
 4400       size_t bytes_written = 0;
 5450 size_t Process::GetThreadStatus(Stream &strm,
 5455   size_t num_thread_infos_dumped = 0;
 5753 size_t Process::AddImageToken(lldb::addr_t image_ptr) {
 5758 lldb::addr_t Process::GetImagePtrFromToken(size_t token) const {
 5764 void Process::ResetImageToken(size_t token) {
 5797   size_t insn_offset =
tools/lldb/source/Target/RegisterContext.cpp
   80   const size_t dwarf_opcode_len = reg_info->dynamic_size_dwarf_len;
  273                                                 size_t size) {
  281 uint32_t RegisterContext::SetHardwareWatchpoint(lldb::addr_t addr, size_t size,
tools/lldb/source/Target/SectionLoadHistory.cpp
  135 size_t
tools/lldb/source/Target/SectionLoadList.cpp
  135 size_t SectionLoadList::SetSectionUnloaded(const lldb::SectionSP &section_sp) {
  136   size_t unload_count = 0;
tools/lldb/source/Target/StackFrame.cpp
  538   size_t separator_idx = var_expr.find_first_of(".-[=+~|&^%#@!/?,<>{}");
  576     for (size_t i = 0; i < variable_list->GetSize(); i++) {
  756       size_t end_pos = var_expr.find_first_of(']');
 1532   for (size_t vi = 0, ve = variables.GetSize(); vi != ve; ++vi) {
 1919           size_t num_lines =
tools/lldb/source/Target/StackFrameList.cpp
  556     size_t curr_frame_num, prev_frame_num;
  562       const size_t curr_frame_idx = curr_frame_num - 1;
  563       const size_t prev_frame_idx = prev_frame_num - 1;
  939 size_t StackFrameList::GetStatus(Stream &strm, uint32_t first_frame,
  944   size_t num_frames_displayed = 0;
  963     size_t len = strlen(selected_frame_marker);
tools/lldb/source/Target/StopInfo.cpp
  195             size_t num_owners = bp_site_sp->GetNumberOfOwners();
  196             for (size_t idx = 0; idx < num_owners; idx++) {
  289         size_t num_owners = bp_site_sp->CopyOwnersList(site_locations);
  350               for (size_t j = 0; j < num_owners; j++) {
  382           for (size_t j = 0; j < num_owners; j++) {
  387           for (size_t j = 0; j < num_owners; j++) {
tools/lldb/source/Target/Target.cpp
  444   size_t num_names = func_names.size();
  465                          const char *func_names[], size_t num_names,
  772 WatchpointSP Target::CreateWatchpoint(lldb::addr_t addr, size_t size,
  812     size_t old_size = matched_sp->GetByteSize();
 1015     size_t num_breakpoints = breakpoints.GetSize();
 1016     for (size_t i = 0; i < num_breakpoints; i++) {
 1026     const size_t count = bp_ids.GetSize();
 1027     for (size_t i = 0; i < count; ++i) {
 1087   size_t num_bkpts = bkpt_array->GetSize();
 1088   size_t num_names = names.size();
 1090   for (size_t i = 0; i < num_bkpts; i++) {
 1138   size_t num_watchpoints = m_watchpoint_list.GetSize();
 1139   for (size_t i = 0; i < num_watchpoints; ++i) {
 1169   size_t num_watchpoints = m_watchpoint_list.GetSize();
 1170   for (size_t i = 0; i < num_watchpoints; ++i) {
 1198   size_t num_watchpoints = m_watchpoint_list.GetSize();
 1199   for (size_t i = 0; i < num_watchpoints; ++i) {
 1216   size_t num_watchpoints = m_watchpoint_list.GetSize();
 1217   for (size_t i = 0; i < num_watchpoints; ++i) {
 1232   size_t num_watchpoints = m_watchpoint_list.GetSize();
 1233   for (size_t i = 0; i < num_watchpoints; ++i) {
 1252   size_t num_watchpoints = m_watchpoint_list.GetSize();
 1253   for (size_t i = 0; i < num_watchpoints; ++i) {
 1336   for (size_t i = 0; i < m_images.GetSize(); ++i) {
 1604   const size_t num_images = module_list.GetSize();
 1606     for (size_t idx = 0; idx < num_images; ++idx) {
 1652     size_t num_modules = matchingModules.GetSize();
 1657       for (size_t i = 0; i < num_modules; i++) {
 1678 size_t Target::ReadMemoryFromFileCache(const Address &addr, void *dst,
 1679                                        size_t dst_len, Status &error) {
 1692         size_t bytes_read = objfile->ReadSectionData(
 1710 size_t Target::ReadMemory(const Address &addr, bool prefer_file_cache,
 1711                           void *dst, size_t dst_len, Status &error,
 1720   size_t bytes_read = 0;
 1802 size_t Target::ReadCStringFromMemory(const Address &addr, std::string &out_str,
 1809     size_t length = ReadCStringFromMemory(address, buf, sizeof(buf), error);
 1824 size_t Target::ReadCStringFromMemory(const Address &addr, char *dst,
 1825                                      size_t dst_max_len, Status &result_error) {
 1826   size_t total_cstr_len = 0;
 1838     const size_t cache_line_size = 512;
 1840     size_t bytes_left = dst_max_len - 1;
 1848       size_t bytes_read =
 1856       const size_t len = strlen(curr_dst);
 1877 size_t Target::ReadScalarIntegerFromMemory(const Address &addr,
 1884     size_t bytes_read =
 1908                                                size_t integer_byte_size,
 2442   const size_t num_images = modules.GetSize();
 2443   for (size_t idx = 0; idx < num_images; ++idx) {
 2510   size_t num_removed = m_stop_hooks.erase(user_id);
 2585   size_t num_threads = cur_threadlist.GetSize();
 2586   for (size_t i = 0; i < num_threads; i++) {
 2598   size_t num_exe_ctx = exc_ctx_with_reasons.size();
 2618     for (size_t i = 0; keep_going && i < num_exe_ctx; i++) {
 2706         const size_t num_images = modules.GetSize();
 2707         for (size_t idx = 0; idx < num_images; ++idx) {
 2775 size_t Target::UnloadModuleSections(const ModuleList &module_list) {
 2776   size_t section_unload_count = 0;
 2777   size_t num_modules = module_list.GetSize();
 2778   for (size_t i = 0; i < num_modules; ++i) {
 2785 size_t Target::UnloadModuleSections(const lldb::ModuleSP &module_sp) {
 2793   size_t section_unload_count = 0;
 4093   for (size_t i = 0; i < m_module_list.GetSize(); ++i) {
tools/lldb/source/Target/TargetList.cpp
  125     const size_t num_specs = ObjectFile::GetModuleSpecifications(
  178           for (size_t i = 0; i < num_specs; ++i) {
  593   size_t num_targets = m_target_list.size();
  594   for (size_t idx = 0; idx < num_targets; idx++) {
tools/lldb/source/Target/Thread.cpp
 1476     bool abort_other_plans, lldb::addr_t *address_list, size_t num_addresses,
 1720   for (size_t n = 0; n < list.size(); n++) {
 1896 size_t Thread::GetStatus(Stream &strm, uint32_t start_frame,
 1926   size_t num_frames_shown = 0;
 2014       const size_t msg_count = messages_array->GetSize();
 2017         for (size_t i = 0; i < msg_count; i++) {
 2037 size_t Thread::GetStackFrameStatus(Stream &strm, uint32_t first_frame,
tools/lldb/source/Target/ThreadPlanRunToAddress.cpp
   60   size_t num_addresses = m_addresses.size();
   63   for (size_t i = 0; i < num_addresses; i++) {
   79   size_t num_break_ids = m_break_ids.size();
   80   for (size_t i = 0; i < num_break_ids; i++) {
   88   size_t num_addresses = m_addresses.size();
   99     for (size_t i = 0; i < num_addresses; i++) {
  113     for (size_t i = 0; i < num_addresses; i++) {
  140   size_t num_break_ids = m_break_ids.size();
  141   for (size_t i = 0; i < num_break_ids; i++) {
  177     size_t num_break_ids = m_break_ids.size();
  179     for (size_t i = 0; i < num_break_ids; i++) {
  195   size_t num_addresses = m_addresses.size();
  196   for (size_t i = 0; i < num_addresses; i++) {
tools/lldb/source/Target/ThreadPlanShouldStopHere.cpp
   97   const size_t frame_index = 0;
tools/lldb/source/Target/ThreadPlanStepInRange.cpp
  259         size_t bytes_to_skip = 0;
  334   size_t num_libraries = libraries_to_avoid.GetSize();
  340       for (size_t i = 0; i < num_libraries; i++) {
tools/lldb/source/Target/ThreadPlanStepOut.cpp
  443       size_t num_ranges = inlined_block->GetNumRanges();
  469         for (size_t i = 1; i < num_ranges; i++) {
tools/lldb/source/Target/ThreadPlanStepRange.cpp
   89   size_t num_ranges = m_address_ranges.size();
   94     for (size_t i = 0; i < num_ranges; i++) {
  108   size_t num_ranges = m_address_ranges.size();
  109   for (size_t i = 0; i < num_ranges; i++) {
  246     lldb::addr_t addr, size_t &range_index, size_t &insn_offset) {
  246     lldb::addr_t addr, size_t &range_index, size_t &insn_offset) {
  247   size_t num_ranges = m_address_ranges.size();
  248   for (size_t i = 0; i < num_ranges; i++) {
  311   size_t pc_index;
  312   size_t range_index;
  332         size_t last_inst_size = last_inst->GetOpcode().GetByteSize();
  395     size_t num_owners = bp_site_sp->GetNumberOfOwners();
  401     for (size_t i = 0; i < num_owners; i++) {
  476       size_t num_ranges = m_address_ranges.size();
  477       for (size_t i = 0; i < num_ranges; i++) {
tools/lldb/source/Target/ThreadPlanStepUntil.cpp
   27                                          size_t num_addresses, bool stop_others,
   66     for (size_t i = 0; i < num_addresses; i++) {
tools/lldb/source/Utility/ArchSpec.cpp
  239   size_t num_entries;
  488 static const size_t k_num_arch_definitions =
  526   for (size_t i = 0; i < def->num_entries; ++i) {
  540   for (size_t i = 0; i < def->num_entries; ++i) {
  805   size_t pos = triple_str.find_first_of("-.");
tools/lldb/source/Utility/Args.cpp
   30     size_t regular = quoted.find_first_of(k_escapable_characters);
   59 static size_t ArgvToArgc(const char **argv) {
   62   size_t count = 0;
   98     size_t regular = command.find_first_of(" \t\r\"'`\\");
  144         size_t quoted = command.find(special);
  161   size_t size = str.size();
  210   for (size_t i = 0; i < m_entries.size(); ++i) {
  222   for (size_t i = 0; i < m_entries.size(); ++i) {
  254 size_t Args::GetArgumentCount() const { return m_entries.size(); }
  256 const char *Args::GetArgumentAtIndex(size_t idx) const {
  302   size_t argc = ArgvToArgc(argv);
  319 void Args::InsertArgumentAtIndex(size_t idx, llvm::StringRef arg_str,
  330 void Args::ReplaceArgumentAtIndex(size_t idx, llvm::StringRef arg_str,
  342 void Args::DeleteArgumentAtIndex(size_t idx) {
  350 void Args::SetArguments(size_t argc, const char **argv) {
  356   for (size_t i = 0; i < args.size(); ++i) {
  402   size_t prev_pos = 0;
  405     size_t pos = safe_arg.find_first_of(escapables, prev_pos);
  450       size_t non_special_chars = ::strcspn(p, "\\");
tools/lldb/source/Utility/Broadcaster.cpp
  387   for (size_t i = 0; i < to_be_readded.size(); i++) {
tools/lldb/source/Utility/ConstString.cpp
   43   static size_t GetConstCStringLength(const char *ccstr) {
   68   const char *GetConstCStringWithLength(const char *cstr, size_t cstr_len) {
  127                                                size_t cstr_len) {
  129       const size_t trimmed_len = strnlen(cstr, cstr_len);
  137   size_t MemorySize() const {
  138     size_t mem_size = sizeof(Pool);
  182 ConstString::ConstString(const char *cstr, size_t cstr_len)
  211 size_t ConstString::GetLength() const {
  266   size_t cstr_len = GetLength();
  294 void ConstString::SetCStringWithLength(const char *cstr, size_t cstr_len) {
  299                                               size_t cstr_len) {
  303 size_t ConstString::StaticMemorySize() {
tools/lldb/source/Utility/DataEncoder.cpp
   66 size_t DataEncoder::GetSharedDataOffset() const {
  118       const size_t data_size = data_sp->GetByteSize();
  121         const size_t bytes_left = data_size - data_offset;
tools/lldb/source/Utility/DataExtractor.cpp
  108 static inline uint64_t ReadMaxInt64(const uint8_t *data, size_t byte_size,
  112     for (size_t i = 0; i < byte_size; ++i)
  116     for (size_t i = 0; i < byte_size; ++i)
  206 size_t DataExtractor::GetSharedDataOffset() const {
  292       const size_t data_size = data_sp->GetByteSize();
  295         const size_t bytes_left = data_size - data_offset;
  306   size_t new_size = GetByteSize();
  402   const size_t src_size = sizeof(uint16_t) * count;
  451   const size_t src_size = sizeof(uint32_t) * count;
  499   const size_t src_size = sizeof(uint64_t) * count;
  523                                   size_t byte_size) const {
  529                                   size_t byte_size) const {
  553                                             size_t byte_size) const {
  572 int64_t DataExtractor::GetMaxS64(offset_t *offset_ptr, size_t byte_size) const {
  577 uint64_t DataExtractor::GetMaxU64Bitfield(offset_t *offset_ptr, size_t size,
  595 int64_t DataExtractor::GetMaxS64Bitfield(offset_t *offset_ptr, size_t size,
  618   const size_t src_size = sizeof(float_type);
  625       for (size_t i = 0; i < sizeof(float_type); ++i)
  637   const size_t src_size = sizeof(float_type);
  644       for (size_t i = 0; i < sizeof(float_type); ++i)
  693 size_t DataExtractor::ExtractBytes(offset_t offset, offset_t length,
  756       const size_t num_zeroes = dst_len - src_len;
 1036 size_t DataExtractor::Copy(DataExtractor &dest_data) const {
 1042     size_t data_size = GetByteSize();
 1058   size_t bytes = GetByteSize() + rhs.GetByteSize();
 1083   size_t bytes = GetByteSize() + length;
tools/lldb/source/Utility/Environment.cpp
   15   const size_t size = Key.size() + 1 /*=*/ + Value.size() + 1 /*\0*/;
tools/lldb/source/Utility/Event.cpp
  111 EventDataBytes::EventDataBytes(const void *src, size_t src_len) : m_bytes() {
  127   size_t num_printable_chars =
  142 size_t EventDataBytes::GetByteSize() const { return m_bytes.size(); }
  144 void EventDataBytes::SetBytes(const void *src, size_t src_len) {
  165 size_t EventDataBytes::GetByteSizeFromEvent(const Event *event_ptr) {
tools/lldb/source/Utility/FileSpec.cpp
   99 inline char safeCharAtIndex(const llvm::StringRef &path, size_t i) {
  371 size_t FileSpec::GetPath(char *path, size_t path_max_len,
  371 size_t FileSpec::GetPath(char *path, size_t path_max_len,
  418 size_t FileSpec::MemorySize() const {
tools/lldb/source/Utility/GDBRemote.cpp
   28 int StreamGDBRemote::PutEscapedBytes(const void *s, size_t src_len) {
tools/lldb/source/Utility/Listener.cpp
   72   size_t num_managers = m_broadcaster_managers.size();
   74   for (size_t i = 0; i < num_managers; i++) {
  402 size_t Listener::HandleBroadcastEvent(EventSP &event_sp) {
  403   size_t num_handled = 0;
tools/lldb/source/Utility/RegisterValue.cpp
  749 void RegisterValue::SetBytes(const void *bytes, size_t length,
tools/lldb/source/Utility/Scalar.cpp
   74 bool Scalar::GetData(DataExtractor &data, size_t limit_byte_size) const {
   75   size_t byte_size = GetByteSize();
  119       size_t byte_size = m_integer.getBitWidth() / 8;
  184 size_t Scalar::GetByteSize() const {
  419 Scalar::Type Scalar::GetBestTypeForBitSize(size_t bit_size, bool sign) {
 1195 Scalar::GetValueTypeForSignedIntegerWithByteSize(size_t byte_size) {
 1206 Scalar::GetValueTypeForUnsignedIntegerWithByteSize(size_t byte_size) {
 1216 Scalar::Type Scalar::GetValueTypeForFloatWithByteSize(size_t byte_size) {
 2407                                    size_t byte_size) {
 2540                                 size_t byte_size) {
 2705 size_t Scalar::GetAsMemoryData(void *dst, size_t dst_len,
 2705 size_t Scalar::GetAsMemoryData(void *dst, size_t dst_len,
 2715   const size_t src_len = data.GetByteSize();
 2718   const size_t bytes_copied =
tools/lldb/source/Utility/Stream.cpp
   45 size_t Stream::PutSLEB128(int64_t sval) {
   53 size_t Stream::PutULEB128(uint64_t uval) {
   61 size_t Stream::PutCString(llvm::StringRef str) {
   62   size_t bytes_written = 0;
  103 size_t Stream::PutChar(char ch) { return Write(&ch, 1); }
  106 size_t Stream::Printf(const char *format, ...) {
  109   size_t result = PrintfVarArg(format, args);
  115 size_t Stream::PrintfVarArg(const char *format, va_list args) {
  120   size_t length = buf.size();
  127 size_t Stream::EOL() { return PutChar('\n'); }
  131 size_t Stream::Indent(const char *s) {
  135 size_t Stream::Indent(llvm::StringRef str) {
  244 size_t Stream::PrintfAsRawHex8(const char *format, ...) {
  260 size_t Stream::PutNHex8(size_t n, uint8_t uvalue) {
  260 size_t Stream::PutNHex8(size_t n, uint8_t uvalue) {
  262   for (size_t i = 0; i < n; ++i)
  284 size_t Stream::PutHex8(uint8_t uvalue) {
  290 size_t Stream::PutHex16(uint16_t uvalue, ByteOrder byte_order) {
  297     for (size_t byte = 0; byte < sizeof(uvalue); ++byte)
  300     for (size_t byte = sizeof(uvalue) - 1; byte < sizeof(uvalue); --byte)
  306 size_t Stream::PutHex32(uint32_t uvalue, ByteOrder byte_order) {
  313     for (size_t byte = 0; byte < sizeof(uvalue); ++byte)
  316     for (size_t byte = sizeof(uvalue) - 1; byte < sizeof(uvalue); --byte)
  322 size_t Stream::PutHex64(uint64_t uvalue, ByteOrder byte_order) {
  329     for (size_t byte = 0; byte < sizeof(uvalue); ++byte)
  332     for (size_t byte = sizeof(uvalue) - 1; byte < sizeof(uvalue); --byte)
  338 size_t Stream::PutMaxHex64(uint64_t uvalue, size_t byte_size,
  338 size_t Stream::PutMaxHex64(uint64_t uvalue, size_t byte_size,
  353 size_t Stream::PutPointer(void *ptr) {
  358 size_t Stream::PutFloat(float f, ByteOrder byte_order) {
  365 size_t Stream::PutDouble(double d, ByteOrder byte_order) {
  372 size_t Stream::PutLongDouble(long double ld, ByteOrder byte_order) {
  379 size_t Stream::PutRawBytes(const void *s, size_t src_len,
  379 size_t Stream::PutRawBytes(const void *s, size_t src_len,
  394     for (size_t i = 0; i < src_len; ++i)
  397     for (size_t i = src_len - 1; i < src_len; --i)
  406 size_t Stream::PutBytesAsRawHex8(const void *s, size_t src_len,
  406 size_t Stream::PutBytesAsRawHex8(const void *s, size_t src_len,
  420     for (size_t i = 0; i < src_len; ++i)
  423     for (size_t i = src_len - 1; i < src_len; --i)
  432 size_t Stream::PutStringAsRawHex8(llvm::StringRef s) {
tools/lldb/source/Utility/StreamCallback.cpp
   18 void StreamCallback::write_impl(const char *Ptr, size_t Size) {
tools/lldb/source/Utility/StreamString.cpp
   26 size_t StreamString::WriteImpl(const void *s, size_t length) {
   26 size_t StreamString::WriteImpl(const void *s, size_t length) {
   38 size_t StreamString::GetSize() const { return m_packet.size(); }
   40 size_t StreamString::GetSizeOfLastLine() const {
   41   const size_t length = m_packet.size();
   42   size_t last_line_begin_pos = m_packet.find_last_of("\r\n");
   54   const size_t length = m_packet.size();
   55   size_t last_line_begin_pos = m_packet.find_last_of("\r\n");
   62   const size_t line_columns = length - last_line_begin_pos;
tools/lldb/source/Utility/StringExtractor.cpp
  265 size_t StringExtractor::GetHexBytes(llvm::MutableArrayRef<uint8_t> dest,
  267   size_t bytes_extracted = 0;
  286 size_t StringExtractor::GetHexBytesAvail(llvm::MutableArrayRef<uint8_t> dest) {
  287   size_t bytes_extracted = 0;
  299 size_t StringExtractor::GetHexByteString(std::string &str) {
  308 size_t StringExtractor::GetHexByteStringFixedLength(std::string &str,
  321 size_t StringExtractor::GetHexByteStringTerminatedBy(std::string &str,
  360     size_t bytes_consumed = d.data() - view.data();
  367   const size_t n = m_packet.size();
tools/lldb/source/Utility/StringExtractorGDBRemote.cpp
   65   const size_t packet_size = m_packet.size();
  480 size_t StringExtractorGDBRemote::GetEscapedBinaryData(std::string &str) {
  486   const size_t bytes_left = GetBytesLeft();
tools/lldb/source/Utility/StringList.cpp
   47 void StringList::AppendString(const char *str, size_t str_len) {
   68 size_t StringList::GetSize() const { return m_strings.size(); }
   70 size_t StringList::GetMaxStringLength() const {
   71   size_t max_length = 0;
   73     const size_t len = s.size();
   80 const char *StringList::GetStringAtIndex(size_t idx) const {
   87   size_t size = GetSize();
  108     size_t count = 0;
  118 void StringList::InsertStringAtIndex(size_t idx, const char *str) {
  127 void StringList::InsertStringAtIndex(size_t idx, const std::string &str) {
  134 void StringList::InsertStringAtIndex(size_t idx, std::string &&str) {
  141 void StringList::DeleteStringAtIndex(size_t idx) {
  146 size_t StringList::SplitIntoLines(const std::string &lines) {
  150 size_t StringList::SplitIntoLines(const char *lines, size_t len) {
  150 size_t StringList::SplitIntoLines(const char *lines, size_t len) {
  151   const size_t orig_size = m_strings.size();
  160     size_t count = strcspn(p, k_newline_chars);
  183   size_t idx = 0;
  195   for (size_t i = 0; i < GetSize(); i++) {
tools/lldb/source/Utility/UUID.cpp
   24 static inline bool separate(size_t count) {
   92 size_t UUID::SetFromStringRef(llvm::StringRef str, uint32_t num_uuid_bytes) {
  113 size_t UUID::SetFromOptionalStringRef(llvm::StringRef str, 
  115   size_t num_chars_consumed = SetFromStringRef(str, num_uuid_bytes);
tools/lldb/tools/driver/Driver.cpp
  391       size_t num_chars = python_file_spec.GetPath(python_path, PATH_MAX);
  415                                           size_t commands_size) {
  528     const size_t num_args = m_option_data.m_args.size();
  547         for (size_t arg_idx = 1; arg_idx < num_args; ++arg_idx)
  589   const size_t commands_size = commands_stream.GetSize();
  624         const size_t crash_commands_size = crash_commands_stream.GetSize();
tools/lldb/tools/intel-features/intel-mpx/cli-wrapper-mpxtable.cpp
   77                            size_t &size, lldb::addr_t &bt_entry_addr,
  117   size_t ret = target.GetProcess().ReadMemory(
  156   size_t size;
  167   size_t ret = target.GetProcess().ReadMemory(
  205 static std::vector<uint8_t> uIntToU8(uint64_t input, size_t size) {
  207   for (size_t i = 0; i < size; i++)
  220   size_t size;
  237   size_t ret = target.GetProcess().WriteMemory(
tools/lldb/tools/lldb-server/lldb-gdbserver.cpp
  202   size_t bytes_written = 0;
tools/lldb/tools/lldb-test/lldb-test.cpp
  311   for (size_t i = 0, e = List.GetSize(); i < e; ++i) {
  323     for (size_t l = 0, le = BP->GetNumLocations(); l < le; ++l) {
  352       size_t pos = Cmd.find('%');
  413     size_t cu_count = Module.GetNumCompileUnits();
  414     for (size_t i = 0; i < cu_count; i++) {
  467   size_t cu_count = Module.GetNumCompileUnits();
  468   for (size_t i = 0; i < cu_count; i++) {
  550     for (size_t Ind = 0; !CU && Ind < Module.GetNumCompileUnits(); ++Ind) {
  824   size_t Count = List.GetNumSections(0);
  831   for (size_t I = 0; I < Count; ++I) {
  903       for (size_t I = 0; I < Files.GetSize(); ++I) {
  923   size_t Size;
  962   addr_t EndOfRegion = Addr + std::max<size_t>(Size, 1);
tools/lldb/tools/lldb-vscode/IOStream.cpp
   91 bool InputStream::read_full(std::ofstream *log, size_t length,
tools/lldb/tools/lldb-vscode/IOStream.h
   55   bool read_full(std::ofstream *log, size_t length, std::string &text);
tools/lldb/tools/lldb-vscode/JSONUtils.cpp
  311   for (size_t i = 0; i < num_locations; ++i) {
  519     for (size_t i = 0; i < num_insts; ++i) {
tools/lldb/tools/lldb-vscode/VSCode.cpp
  242   for (size_t i = 0; i < num; i += 2) {
tools/lldb/tools/lldb-vscode/lldb-vscode.cpp
  313   size_t count;
  389             for (size_t i = 0; i < num_locs; ++i) {
tools/lldb/unittests/Core/StreamCallbackTest.cpp
   16 static size_t callback_count = 0;
tools/lldb/unittests/Editline/EditlineTest.cpp
   31 const size_t TIMEOUT_MILLIS = 5000;
   73   bool GetLine(std::string &line, bool &interrupted, size_t timeout_millis);
   76                 size_t timeout_millis);
  151   const size_t eoln_length = strlen(eoln);
  173                               size_t /* timeout_millis */) {
  183                                bool &interrupted, size_t /* timeout_millis */) {
tools/lldb/unittests/Host/MainLoopTest.cpp
   74   size_t len = sizeof(X);
   89   size_t len = sizeof(X);
tools/lldb/unittests/Host/NativeProcessProtocolTest.cpp
  110   size_t bytes_read;
  126   size_t bytes_read;
  143   size_t bytes_read;
tools/lldb/unittests/Interpreter/TestCompletion.cpp
  107     for (size_t I = 0; I < Paths.GetSize(); ++I) {
  139   for (size_t Idx = 0; Idx < SL.GetSize(); ++Idx)
tools/lldb/unittests/Language/Highlighting/HighlighterTest.cpp
  101                  llvm::Optional<size_t> cursor = llvm::Optional<size_t>()) {
  131            llvm::Optional<size_t> cursor = llvm::Optional<size_t>()) {
tools/lldb/unittests/Process/Linux/ProcessorTraceTest.cpp
   18 size_t ReadCylicBufferWrapper(void *buf, size_t buf_size, void *cyc_buf,
   18 size_t ReadCylicBufferWrapper(void *buf, size_t buf_size, void *cyc_buf,
   19                               size_t cyc_buf_size, size_t cyc_start,
   19                               size_t cyc_buf_size, size_t cyc_start,
   20                               size_t offset) {
   30   size_t bytes_read;
   67   size_t bytes_read = 0;
   71   for (size_t i = 0; i < sizeof(cyclic); i++) {
   84   size_t bytes_read;
  133   size_t bytes_read = 0;
  137   for (size_t i = 0; i < sizeof(cyclic); i++) {
tools/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
  430   size_t offset = 0;
  462   size_t offset = 0;
tools/lldb/unittests/Process/gdb-remote/GDBRemoteTestUtils.h
   43   size_t Write(const void *dst, size_t dst_len, lldb::ConnectionStatus &status,
   43   size_t Write(const void *dst, size_t dst_len, lldb::ConnectionStatus &status,
tools/lldb/unittests/Process/minidump/RegisterContextMinidumpTest.cpp
  191   size_t num_regs = RegisterContextMinidump_ARM::GetRegisterCountStatic();
  193   for (size_t reg=0; reg<num_regs; ++reg) {
tools/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
  123 extern "C" size_t LLDBSwigPython_CalculateNumChildren(void *implementor,
tools/lldb/unittests/Signals/UnixSignalsTest.cpp
   36   for (size_t i = 0; i < observed.size(); ++i) {
tools/lldb/unittests/Symbol/PostfixExpressionTest.cpp
  149   const size_t addr_size = 4;
tools/lldb/unittests/Target/ExecutionContextTest.cpp
   57   virtual size_t DoReadMemory(lldb::addr_t vm_addr, void *buf, size_t size,
   57   virtual size_t DoReadMemory(lldb::addr_t vm_addr, void *buf, size_t size,
tools/lldb/unittests/Target/ModuleCacheTest.cpp
   46 static const size_t module_size = 5602;
tools/lldb/unittests/TestingSupport/Host/NativeProcessTestUtils.h
   67   Status ReadMemory(addr_t Addr, void *Buf, size_t Size,
   68                     size_t &BytesRead) /*override*/ {
   80   Status WriteMemory(addr_t Addr, const void *Buf, size_t Size,
   81                      size_t &BytesWritten) /*override*/ {
  100                                                              size_t Size) {
  102     size_t BytesRead;
  120   FakeMemory(const void *Data, size_t data_size, addr_t start_addr = 0)
  124   llvm::Expected<std::vector<uint8_t>> Read(addr_t Addr, size_t Size) {
  134   llvm::Expected<size_t> Write(addr_t Addr, llvm::ArrayRef<uint8_t> Chunk) {
  139     size_t Size = std::min(Chunk.size(), Data.size() - (size_t)Addr);
tools/lldb/unittests/UnwindAssembly/x86/Testx86AssemblyInspectionEngine.cpp
 2523   for (size_t i = 3; i < sizeof(data) - 2; ++i)
 2557   for (size_t i = 4; i < sizeof(data) - 2; ++i)
 2601   for (size_t i = 3; i < 33; ++i)
 2610   for (size_t i = 18; i < 30; ++i)
tools/lldb/unittests/Utility/CompletionRequestTest.cpp
   17   const size_t arg_index = 1;
   89   const size_t arg_index = 1;
tools/lldb/unittests/Utility/LogTest.cpp
   77   size_t m_consumed_bytes = 0;
tools/lldb/unittests/Utility/ReproducerInstrumentationTest.cpp
  118 void ValidateObjects(size_t expected_foos, size_t expected_bars) {
  118 void ValidateObjects(size_t expected_foos, size_t expected_bars) {
tools/lldb/unittests/Utility/StreamTeeTest.cpp
   92     size_t WriteImpl(const void *src, size_t src_len) override {
   92     size_t WriteImpl(const void *src, size_t src_len) override {
tools/lldb/unittests/Utility/StringExtractorTest.cpp
  220   const size_t kValidHexPairs = 8;
  243   const size_t kValidHexPairs = 8;
  260   const size_t kValidHexPairs = 7;
  279   const size_t kValidHexPairs = 7;
  297   const size_t kValidHexPairs = 8;
  325   const size_t kReadBytes = 4;
  356   const size_t kValidHexPairs = 8;
  379   const size_t kValidHexPairs = 8;
  396   const size_t kValidHexPairs = 7;
  412   const size_t kValidHexPairs = 7;
  428   const size_t kValidHexPairs = 8;
  457   const size_t kReadBytes = 4;
tools/lldb/unittests/tools/lldb-server/tests/MessageObjects.cpp
   78   for (size_t i = 0; i < Keys->GetSize(); i++) {
  104   for (size_t i = 0; i < array->GetSize(); i++) {
tools/lldb/unittests/tools/lldb-server/tests/TestClient.cpp
  135   for (size_t i = 0; i < inferior_args.size(); i++) {
tools/lli/RemoteJITUtils.h
  116                         size_t Size) override {
tools/lli/lli.cpp
  282     size_t PrefixLength = Prefix.length();
  294     size_t pos = CacheName.rfind('.');
tools/llvm-ar/llvm-ar.cpp
 1093   for (size_t i = 1; i < Argv.size(); ++i) {
 1097       size_t len = strlen(expected);
tools/llvm-c-test/disassemble.c
   51     size_t l = LLVMDisasmInstruction(D, buf + pos, siz - pos, 0, outline,
   67   size_t disbuflen = 0;
tools/llvm-c-test/echo.cpp
  177     size_t NameLen;
  236     size_t NameLen;
  426     size_t NameLen;
  761     size_t NumMetadataEntries;
  791     size_t NameLen;
  890     size_t NameLen;
  922     size_t NameLen;
  967     size_t NameLen;
 1001     size_t NameLen;
 1036     size_t NameLen;
 1070     size_t NameLen;
 1079     size_t NumMetadataEntries;
 1123     size_t NameLen;
 1130       size_t FNameLen;
 1139     size_t NumMetadataEntries;
 1177     size_t NameLen;
 1216     size_t NameLen;
 1255     size_t NameLen;
 1289   size_t SourceFileLen;
 1291   size_t ModuleIdentLen;
 1304   size_t ModuleInlineAsmLen;
tools/llvm-cfi-verify/llvm-cfi-verify.cpp
   73   for (unsigned i = std::max<size_t>(1, LineInfo.Line - Context);
   75        std::min<size_t>(Lines.size() + 1, LineInfo.Line + Context + 1);
tools/llvm-config/llvm-config.cpp
  242   size_t Offset = 0;
  244     const size_t NextOffset = DyLibComponentsStr.find(';', Offset);
tools/llvm-cov/CodeCoverage.cpp
  873   size_t found = ModifiedTimeStr.rfind(':');
tools/llvm-cov/CoverageReport.cpp
   89 size_t FileReportColumns[] = {25, 12, 18, 10, 12, 18, 10,
   91 size_t FunctionReportColumns[] = {25, 10, 8, 8, 10, 8, 8};
  105 void renderDivider(ArrayRef<size_t> ColumnWidths, raw_ostream &OS) {
  106   size_t Length = std::accumulate(ColumnWidths.begin(), ColumnWidths.end(), 0);
  107   for (size_t I = 0; I < Length; ++I)
tools/llvm-cov/CoverageSummaryInfo.cpp
   23   size_t NumCodeRegions = 0, CoveredRegions = 0;
   33   size_t NumLines = 0, CoveredLines = 0;
tools/llvm-cov/CoverageSummaryInfo.h
   25   size_t Covered;
   28   size_t NumRegions;
   33   RegionCoverageInfo(size_t Covered, size_t NumRegions)
   33   RegionCoverageInfo(size_t Covered, size_t NumRegions)
   49   size_t getCovered() const { return Covered; }
   51   size_t getNumRegions() const { return NumRegions; }
   66   size_t Covered;
   69   size_t NumLines;
   74   LineCoverageInfo(size_t Covered, size_t NumLines)
   74   LineCoverageInfo(size_t Covered, size_t NumLines)
   90   size_t getCovered() const { return Covered; }
   92   size_t getNumLines() const { return NumLines; }
  107   size_t Executed;
  110   size_t NumFunctions;
  115   FunctionCoverageInfo(size_t Executed, size_t NumFunctions)
  115   FunctionCoverageInfo(size_t Executed, size_t NumFunctions)
  130   size_t getExecuted() const { return Executed; }
  132   size_t getNumFunctions() const { return NumFunctions; }
tools/llvm-cxxfilt/llvm-cxxfilt.cpp
   65   size_t DecoratedLength = strlen(DecoratedStr);
tools/llvm-diff/DiffConsumer.cpp
  167     size_t percent = format.find('%');
tools/llvm-dwarfdump/llvm-dwarfdump.cpp
   70   void printOptionInfo(const Option &O, size_t GlobalWidth) const {
   76                        size_t GlobalWidth) const {
tools/llvm-dwp/llvm-dwp.cpp
  286     for (size_t i = 0; i != array_lengthof(E.second.Contributions); ++i)
  305   size_t i = 0;
  334   for (size_t i = 0; i != ContributionOffsets.size(); ++i)
tools/llvm-elfabi/ELFObjHandler.cpp
   47 static Expected<StringRef> terminatedSubstr(StringRef Str, size_t Offset) {
   48   size_t StrEnd = Str.find('\0', Offset);
   54   size_t StrLen = StrEnd - Offset;
tools/llvm-elfabi/ErrorCollector.cpp
   44   for (size_t i = 0; i < Errors.size(); ++i) {
tools/llvm-exegesis/lib/Analysis.cpp
  126 void Analysis::printInstructionRowCsv(const size_t PointId,
  199   for (size_t I = 0, E = Clusters.size(); I < E; ++I) {
  200     for (const size_t PointId : Clusters[I].PointIndices) {
  216   std::unordered_map<unsigned, size_t> SchedClassIdToIndex;
  218   for (size_t PointId = 0, E = Points.size(); PointId < E; ++PointId) {
  318     for (const size_t PointId : Cluster.getPointIds()) {
  337     size_t PointId, const InstructionBenchmarkClustering &Clustering) {
  552     for (const size_t PointId : RSCAndPoints.PointIds) {
tools/llvm-exegesis/lib/Analysis.h
   61     const std::vector<size_t> &getPointIds() const { return PointIds; }
   63     void addPoint(size_t PointId,
   77     std::vector<size_t> PointIds;
   82   void printInstructionRowCsv(size_t PointId, raw_ostream &OS) const;
  103     std::vector<size_t> PointIds;
tools/llvm-exegesis/lib/BenchmarkRunner.h
   48     static constexpr const size_t kAlignment = 1024;
   49     static constexpr const size_t kSize = 1 << 20; // 1MB.
tools/llvm-exegesis/lib/Clustering.cpp
   39     const size_t Q, std::vector<size_t> &Neighbors) const {
   39     const size_t Q, std::vector<size_t> &Neighbors) const {
   43   for (size_t P = 0, NumPoints = Points_.size(); P < NumPoints; ++P) {
   59     ArrayRef<size_t> Pts) const {
   99   for (size_t P = 0, NumPoints = Points_.size(); P < NumPoints; ++P) {
  112       for (size_t I = 0, E = LastMeasurement->size(); I < E; ++I) {
  128 void InstructionBenchmarkClustering::clusterizeDbScan(const size_t MinPts) {
  129   std::vector<size_t> Neighbors; // Persistent buffer to avoid allocs.
  130   for (size_t P = 0, NumPoints = Points_.size(); P < NumPoints; ++P) {
  148     SetVector<size_t, std::deque<size_t>> ToProcess;
  148     SetVector<size_t, std::deque<size_t>> ToProcess;
  152       const size_t Q = *ToProcess.begin();
  178   for (size_t P = 0, NumPoints = Points_.size(); P < NumPoints; ++P) {
  187   std::vector<SmallVector<size_t, 1>> OpcodeToPoints;
  189   size_t NumOpcodesSeen = 0;
  190   for (size_t P = 0, NumPoints = Points_.size(); P < NumPoints; ++P) {
  194     SmallVectorImpl<size_t> &PointsOfOpcode = OpcodeToPoints[Opcode];
  206   for (ArrayRef<size_t> PointsOfOpcode :
  318     const size_t DbscanMinPts, const double AnalysisClusteringEpsilon,
  363   size_t NumMeasurements = Representative.size();
tools/llvm-exegesis/lib/Clustering.h
   34          size_t DbscanMinPts, double AnalysisClusteringEpsilon,
   41     static ClusterId makeValid(size_t Id, bool IsUnstable = false) {
   44     static ClusterId makeValidUnstable(size_t Id) {
   61     size_t getId() const {
   67     ClusterId(size_t Id, bool IsUnstable = false)
   70     static constexpr const size_t kMaxValid =
   71         (std::numeric_limits<size_t>::max() >> 1) - 4;
   72     static constexpr const size_t kNoise = kMaxValid + 1;
   73     static constexpr const size_t kError = kMaxValid + 2;
   74     static constexpr const size_t kUndef = kMaxValid + 3;
   76     size_t Id_ : (std::numeric_limits<size_t>::digits - 1);
   76     size_t Id_ : (std::numeric_limits<size_t>::digits - 1);
   77     size_t IsUnstable_ : 1;
   79   static_assert(sizeof(ClusterId) == sizeof(size_t), "should be a bit field.");
   90   ClusterId getClusterIdForPoint(size_t P) const {
  114     for (size_t I = 0, E = P.size(); I < E; ++I) {
  128   void clusterizeDbScan(size_t MinPts);
  134   void rangeQuery(size_t Q, std::vector<size_t> &Scratchpad) const;
  134   void rangeQuery(size_t Q, std::vector<size_t> &Scratchpad) const;
  136   bool areAllNeighbours(ArrayRef<size_t> Pts) const;
tools/llvm-exegesis/lib/Latency.cpp
   38 static constexpr size_t kMaxAliasingInstructions = 10;
   42                             size_t MaxAliasingInstructions,
  191   for (size_t I = 0; I < NumMeasurements; ++I) {
tools/llvm-exegesis/lib/MCInstrDescView.cpp
  137       const size_t VariableIndex = Variables.size();
tools/llvm-exegesis/lib/RegisterAliasing.cpp
   17   for (const size_t PhysReg : SourceBits.set_bits()) {
   51   for (const size_t PhysReg : SourceBits.set_bits()) {
tools/llvm-exegesis/lib/RegisterAliasing.h
   72   PackedVector<size_t, 10> Origins; // Max 1024 physical registers.
tools/llvm-exegesis/lib/SchedClassResolution.cpp
  137   size_t NumMinimalSU = 1;
  145       for (size_t I = 0; I < NumMinimalSU; ++I) {
  157       for (size_t I = 0; I < NumMinimalSU; ++I) {
  163     for (size_t I = 0; I < NumMinimalSU; ++I) {
  260   const size_t NumMeasurements = Representative.size();
tools/llvm-exegesis/lib/SnippetGenerator.cpp
  173 size_t randomIndex(size_t Max) {
  173 size_t randomIndex(size_t Max) {
  201 size_t randomBit(const BitVector &Vector) {
  204   for (size_t I = randomIndex(Vector.count() - 1); I != 0; --I)
tools/llvm-exegesis/lib/SnippetGenerator.h
   87 size_t randomIndex(size_t Max);
   87 size_t randomIndex(size_t Max);
   91 size_t randomBit(const BitVector &Vector);
tools/llvm-exegesis/lib/Uops.cpp
  103   const size_t OriginalInstructionsSize = Instructions.size();
  104   size_t I = 0;
  141     for (size_t VarId = 0; VarId < TiedVariables.size(); ++VarId) {
  249 constexpr const size_t UopsSnippetGenerator::kMinNumDifferentAddresses;
tools/llvm-exegesis/lib/Uops.h
   32   static constexpr const size_t kMinNumDifferentAddresses = 6;
   69   static constexpr const size_t kMinNumDifferentAddresses = 6;
tools/llvm-exegesis/lib/X86/Target.cpp
  509   size_t ByteOffset = 0;
tools/llvm-exegesis/llvm-exegesis.cpp
  169   const size_t NumSetFlags = (OpcodeNames.empty() ? 0 : 1) +
tools/llvm-extract/llvm-extract.cpp
  154   for (size_t i = 0, e = ExtractAliases.size(); i != e; ++i) {
  165   for (size_t i = 0, e = ExtractRegExpAliases.size(); i != e; ++i) {
  188   for (size_t i = 0, e = ExtractGlobals.size(); i != e; ++i) {
  199   for (size_t i = 0, e = ExtractRegExpGlobals.size(); i != e; ++i) {
  221   for (size_t i = 0, e = ExtractFuncs.size(); i != e; ++i) {
  231   for (size_t i = 0, e = ExtractRegExpFuncs.size(); i != e; ++i) {
  322     for (size_t i = 0, e = GVs.size(); i != e; ++i)
tools/llvm-isel-fuzzer/DummyISelFuzzer.cpp
   15 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp
   65 extern "C" LLVM_ATTRIBUTE_USED size_t LLVMFuzzerCustomMutator(
   66     uint8_t *Data, size_t Size, size_t MaxSize, unsigned int Seed) {
   66     uint8_t *Data, size_t Size, size_t MaxSize, unsigned int Seed) {
   80 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
tools/llvm-itanium-demangle-fuzzer/DummyDemanglerFuzzer.cpp
   15 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
tools/llvm-itanium-demangle-fuzzer/llvm-itanium-demangle-fuzzer.cpp
   15 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
tools/llvm-jitlink/llvm-jitlink.cpp
  641     size_t EqIdx = AbsDefStmt.find_first_of('=');
tools/llvm-link/llvm-link.cpp
  228     size_t Idx = Import.find(':');
tools/llvm-lipo/llvm-lipo.cpp
  706   for (size_t Index = 0, Size = Slices.size(); Index < Size; ++Index) {
tools/llvm-lto/llvm-lto.cpp
  397     for (size_t I = 0, C = LTOModule::getDependentLibraryCount(Input.get());
  399       size_t L = 0;
tools/llvm-mc/Disassembler.cpp
   86     if (size_t Pos = Str.find_first_not_of(" \t\r\n,")) {
  110     size_t Next = Str.find_first_of(" \t\n\r,#[]");
tools/llvm-microsoft-demangle-fuzzer/DummyDemanglerFuzzer.cpp
   15 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
tools/llvm-microsoft-demangle-fuzzer/llvm-microsoft-demangle-fuzzer.cpp
   15 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
tools/llvm-objcopy/Buffer.cpp
   29 Error FileBuffer::allocate(size_t Size) {
   63 Error MemBuffer::allocate(size_t Size) {
tools/llvm-objcopy/Buffer.h
   30   virtual Error allocate(size_t Size) = 0;
   45   Error allocate(size_t Size) override;
   56   Error allocate(size_t Size) override;
tools/llvm-objcopy/COFF/COFFObjcopy.cpp
   52   size_t CRCPos = alignTo(FileName.size() + 1, 4);
tools/llvm-objcopy/COFF/Object.cpp
   33 const Symbol *Object::findSymbol(size_t UniqueId) const {
   73   size_t Index = 1;
tools/llvm-objcopy/COFF/Object.h
   32   size_t Target;
   41   size_t Index;
   89   Optional<size_t> WeakTargetSymbolId;
   90   size_t UniqueId;
   91   size_t RawIndex;
  116   const Symbol *findSymbol(size_t UniqueId) const;
  140   DenseMap<size_t, Symbol *> SymbolMap;
  142   size_t NextSymbolUniqueId = 0;
tools/llvm-objcopy/COFF/Reader.cpp
   47   for (size_t I = 0; I < Obj.PeHeader.NumberOfRvaAndSize; I++) {
   59   for (size_t I = 1, E = COFFObj.getNumberOfSections(); I <= E; I++) {
  108     size_t SymSize = IsBigObj ? sizeof(coff_symbol32) : sizeof(coff_symbol16);
  121       for (size_t I = 0; I < SymRef.getNumberOfAuxSymbols(); I++)
  160     for (size_t I = 0; I < Sym.Sym.NumberOfAuxSymbols; I++)
tools/llvm-objcopy/COFF/Writer.cpp
  111 size_t COFFWriter::finalizeStringTable() {
  143 std::pair<size_t, size_t> COFFWriter::finalizeSymbolTable() {
  143 std::pair<size_t, size_t> COFFWriter::finalizeSymbolTable() {
  144   size_t RawSymIndex = 0;
  159   size_t SymTabSize, SymbolSize;
  169   size_t SizeOfHeaders = 0;
  171   size_t PeHeaderSize = 0;
  214   size_t StrTabSize = finalizeStringTable();
  216   size_t PointerToSymbolTable = FileSize;
  226   size_t NumRawSymbols = SymTabSize / SymbolSize;
  388       size_t Offset = Dir->RelativeVirtualAddress - S.Header.VirtualAddress;
tools/llvm-objcopy/COFF/Writer.h
   28   size_t FileSize;
   29   size_t FileAlignment;
   30   size_t SizeOfInitializedData;
   33   template <class SymbolTy> std::pair<size_t, size_t> finalizeSymbolTable();
   33   template <class SymbolTy> std::pair<size_t, size_t> finalizeSymbolTable();
   37   size_t finalizeStringTable();
tools/llvm-objcopy/CopyConfig.cpp
  332   size_t NumLines = Lines.size();
  333   for (size_t LineNo = 0; LineNo < NumLines; ++LineNo) {
tools/llvm-objcopy/ELF/ELFConfig.cpp
   69   for (size_t I = 1, NumFlags = Flags.size(); I < NumFlags; ++I)
tools/llvm-objcopy/ELF/Object.cpp
  166 static Iterator utohexstr(T X, Iterator It, size_t Len) {
  264   for (size_t Pos = 1; Pos < Line.size(); ++Pos)
  283   size_t DataLen = checkedGetHex<uint8_t>(Line.substr(1, 2));
  425   const size_t DataOffset = isDataGnuCompressed(Sec.OriginalData)
  513   size_t ChdrSize;
 1640   for (size_t LineNo = 1; LineNo <= Lines.size(); ++LineNo) {
 1981 template <class ELFT> size_t ELFWriter<ELFT>::totalSize() const {
 1986   size_t ShdrCount = Obj.sections().size() + 1; // Includes null shdr.
tools/llvm-objcopy/ELF/Object.h
   62   size_t size() const { return Sections.size(); }
  204   static size_t getLength(size_t DataSize) {
  204   static size_t getLength(size_t DataSize) {
  210   static size_t getLineLength(size_t DataSize) {
  210   static size_t getLineLength(size_t DataSize) {
  339   size_t totalSize() const;
  369   size_t TotalSize;
  637   void reserve(size_t NumSymbols) {
  921   size_t EhdrOffset = 0;
  956   Error parseError(size_t LineNo, Error E) const {
  963   Error parseError(size_t LineNo, char const *Fmt, const Ts &... Vals) const {
tools/llvm-objcopy/MachO/MachOReader.cpp
   69                 size_t &NextSectionIndex) {
  117   size_t NextSectionIndex = 1;
tools/llvm-objcopy/MachO/MachOWriter.cpp
   23 size_t MachOWriter::headerSize() const {
   27 size_t MachOWriter::loadCommandsSize() const { return O.Header.SizeOfCmds; }
   29 size_t MachOWriter::symTableSize() const {
   34 size_t MachOWriter::totalSize() const {
   39   SmallVector<size_t, 7> Ends;
  239       for (size_t Index = 0; Index < Sec.Relocations.size(); ++Index) {
tools/llvm-objcopy/MachO/MachOWriter.h
   30   size_t headerSize() const;
   31   size_t loadCommandsSize() const;
   32   size_t symTableSize() const;
   33   size_t strTableSize() const;
   58   size_t totalSize() const;
tools/llvm-objcopy/MachO/Object.h
  246   Optional<size_t> SymTabCommandIndex;
  248   Optional<size_t> DyLdInfoCommandIndex;
  250   Optional<size_t> DySymTabCommandIndex;
  252   Optional<size_t> DataInCodeCommandIndex;
  254   Optional<size_t> FunctionStartsCommandIndex;
tools/llvm-objdump/COFFDump.cpp
  250   size_t FormatWidth = sizeof(T) * 2;
  680       size_t Size = 0;
tools/llvm-objdump/MachODump.cpp
 2217                               size_t ChildIndex, bool verbose,
 2291   size_t I = 0;
 7171     size_t Position = Comments.find('\n');
tools/llvm-objdump/llvm-objdump.cpp
  696     size_t Start = OS.tell();
  977 static size_t countSkippableZeroBytes(ArrayRef<uint8_t> Buf) {
  979   size_t N = 0;
 1394           if (size_t N =
 1698 static size_t getMaxSectionNameWidth(const ObjectFile *Obj) {
 1700   size_t MaxWidth = 13;
 1709   size_t NameWidth = getMaxSectionNameWidth(Obj);
 1710   size_t AddressWidth = 2 * Obj->getBytesInAddress();
tools/llvm-opt-fuzzer/DummyOptFuzzer.cpp
   15 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp
   52 extern "C" LLVM_ATTRIBUTE_USED size_t LLVMFuzzerCustomMutator(
   53     uint8_t *Data, size_t Size, size_t MaxSize, unsigned int Seed) {
   53     uint8_t *Data, size_t Size, size_t MaxSize, unsigned int Seed) {
  104 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
tools/llvm-pdbutil/DumpOutputStyle.cpp
  762   size_t L = 0;
  786   size_t LongestNamespace = 0;
  809     size_t Pos = UDT.Name.find("::");
  849   size_t LongestTypeLeafKind = getLongestTypeLeafName(UdtTargetStats);
  850   size_t FieldWidth = std::max(LongestNamespace, LongestTypeLeafKind);
  856   size_t CD = NumDigits(UdtStats.Totals.Count);
  860   size_t SD = NumDigits(UdtStats.Totals.Size);
 1617   size_t TotalRecs = File.types().size();
 1618   size_t RefRecs = 0;
 1619   size_t TotalBytes = 0;
 1620   size_t RefBytes = 0;
tools/llvm-pdbutil/FormatUtil.cpp
   26   uint32_t FinalLen = std::min<size_t>(S.size(), MaxLen - 3);
   36   uint32_t FinalLen = std::min<size_t>(S.size(), MaxLen - 3);
tools/llvm-profdata/llvm-profdata.cpp
  769   for (size_t I = 0; I < NS; ++I) {
  831   size_t ShownFunctions = 0;
  832   size_t BelowCutoffFunctions = 0;
  879     for (size_t I = 0, E = Func.Counts.size(); I < E; ++I) {
  927         size_t Start = (IsIRInstr ? 0 : 1);
  928         for (size_t I = Start, E = Func.Counts.size(); I < E; ++I) {
tools/llvm-rc/ResourceFileWriter.cpp
   51 static Error checkNumberFits(uint32_t Number, size_t MaxBits,
  177   size_t Pos = 0;
  239         size_t RemainingChars = IsLongString ? 4 : 2;
  274         size_t RemainingChars = IsLongString ? 6 : 2;
  342     for (size_t Pos = 0; Pos < Result.size(); ++Pos)
  348     for (size_t Pos = 0; Pos + 1 < Result.size(); ++Pos)
  691   size_t AcceleratorId = 0;
  714   constexpr size_t BITMAPFILEHEADER_size = 14;
  911   for (size_t ID = 0; ID < NumItems; ++ID) {
  920   for (size_t ID = 0; ID < NumItems; ++ID) {
  932   for (size_t ID = 0; ID < NumItems; ++ID) {
 1258   for (size_t ID = 0; ID < Res->Bundle.Data.size(); ++ID) {
 1402   for (size_t Id = 0; Id < Val.Values.size(); ++Id) {
tools/llvm-rc/ResourceScriptCppFilter.cpp
   36   size_t DataLength;
   38   size_t Pos = 0;
   46     size_t LineStart = Pos;
   79   size_t N;
tools/llvm-rc/ResourceScriptParser.cpp
  303   for (size_t i = 0; i < MaxCount; ++i) {
  332     for (size_t FlagId = 0; FlagId < FlagDesc.size(); ++FlagId) {
  773     size_t NumInts = RetType::isVersionType(FixedType) ? 4 : 1;
tools/llvm-rc/ResourceScriptParser.h
  106   Expected<SmallVector<RCInt, 8>> readIntsWithCommas(size_t MinCount,
  107                                                      size_t MaxCount);
tools/llvm-rc/ResourceScriptStmt.cpp
   51     for (size_t i = 0; i < Accelerator::NumFlags; ++i)
   82   for (size_t i = 0; i < NumFlags; ++i)
  180   size_t NumValues = Values.size();
  181   for (size_t Id = 0; Id < NumValues; ++Id) {
tools/llvm-rc/ResourceScriptStmt.h
  340     static constexpr size_t NumFlags = 6;
  479   static constexpr size_t NumFlags = 6;
tools/llvm-rc/ResourceScriptToken.cpp
   34   size_t Length = Representation.size();
   94   bool advance(size_t Amount = 1);
  144   size_t DataLength, Pos;
  171     const size_t TokenStart = Pos;
  198 bool Tokenizer::advance(size_t Amount) {
tools/llvm-readobj/ARMEHABIPrinter.h
   67   void Decode(const uint8_t *Opcodes, off_t Offset, size_t Length);
  308                                   size_t Length) {
  336   static const size_t IndexTableEntrySize;
  352   void PrintOpcodes(const uint8_t *Entry, size_t Length, off_t Offset) const;
  363 const size_t PrinterContext<ET>::IndexTableEntrySize = 8;
  495                                       size_t Length, off_t Offset) const {
tools/llvm-readobj/ARMWinEHPrinter.cpp
  116 const size_t Decoder::PDataEntrySize = sizeof(RuntimeFunction);
  889     const size_t HandlerOffset = HeaderWords(XData)
tools/llvm-readobj/ARMWinEHPrinter.h
   22   static const size_t PDataEntrySize;
tools/llvm-readobj/COFFDumper.cpp
  994     size_t SectionOffset = Data.data() - SectionContents.data();
  995     size_t NextOffset = SectionOffset + SubSectionSize;
 1090             size_t EqOrEnd = FrameFunc.find('=');
tools/llvm-readobj/ELFDumper.cpp
  285     size_t Size = 0;
  331   size_t Entries = 0;
  398                                   size_t Offset, bool NonVisibilityBitsUsed) {}
  465   void printSymtabMessage(const ELFO *Obj, StringRef Name, size_t Offset,
  672       size_t Index = Vernaux->vna_other & ELF::VERSYM_VERSION;
  700     size_t Index = Verdef->vd_ndx & ELF::VERSYM_VERSION;
  741   size_t EntryIndex = (reinterpret_cast<uintptr_t>(Sym) -
  779   size_t VersionIndex = SymbolVersionIndex & VERSYM_VERSION;
  794   size_t NameOffset;
 2318   size_t LocalNum;
 2319   size_t GlobalNum;
 2395     size_t DynSymTotal = DynSyms.size();
 2469   size_t Skip = getGotModulePointer() ? 2 : 1;
 2486   size_t OtherNum = GotEntries.size() - LocalNum - GlobalNum;
 3209   size_t SectionIndex = 0;
 3252                                         size_t Entries,
 3955     size_t NBucket = HashTable->nbucket;
 3956     size_t NChain = HashTable->nchain;
 3959     size_t TotalSyms = 0;
 3961     size_t MaxChain = 1;
 3962     size_t CumulativeNonZero = 0;
 3967     std::vector<size_t> ChainLen(NBucket, 0);
 3970     for (size_t B = 0; B < NBucket; B++) {
 3972       for (size_t C = Buckets[B]; C < NChain; C = Chains[C]) {
 3992     std::vector<size_t> Count(MaxChain, 0) ;
 3994     for (size_t B = 0; B < NBucket; B++)
 4001     for (size_t I = 0; I < MaxChain; I++) {
 4011     size_t NBucket = GnuHashTable->nbuckets;
 4017     size_t Symndx = GnuHashTable->symndx;
 4018     size_t TotalSyms = 0;
 4019     size_t MaxChain = 1;
 4020     size_t CumulativeNonZero = 0;
 4025     std::vector<size_t> ChainLen(NBucket, 0);
 4027     for (size_t B = 0; B < NBucket; B++) {
 4030       size_t Len = 1;
 4031       for (size_t C = Buckets[B] - Symndx;
 4043     std::vector<size_t> Count(MaxChain, 0) ;
 4044     for (size_t B = 0; B < NBucket; B++)
 4051     for (size_t I = 0; I <MaxChain; I++) {
 4985   size_t Bias = ELFT::Is64Bits ? 8 : 0;
 5062   size_t Bias = ELFT::Is64Bits ? 8 : 0;
tools/llvm-readobj/ObjDumper.cpp
   35 static void printAsPrintable(raw_ostream &W, const uint8_t *Start, size_t Len) {
   36   for (size_t i = 0; i < Len; i++)
  104       size_t WordSize = strnlen(reinterpret_cast<const char *>(CurrentWord),
tools/llvm-readobj/Win64EHDumper.cpp
  327     const size_t Count = Contents.size() / sizeof(RuntimeFunction);
  330     size_t Index = 0;
tools/llvm-readobj/XCOFFDumper.cpp
   78     size_t BytesWritten =
tools/llvm-rtdyld/llvm-rtdyld.cpp
  242                         size_t Size) override {}
  601     size_t EqualsIdx = Mapping.find_first_of("=");
  603     size_t ComaIdx = Mapping.find_first_of(",");
  708     size_t EqualsIdx = Mapping.find_first_of('=');
tools/llvm-size/llvm-size.cpp
  163 static size_t getNumLengthAsString(uint64_t num) {
tools/llvm-special-case-list-fuzzer/DummySpecialCaseListFuzzer.cpp
   15 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
tools/llvm-special-case-list-fuzzer/special-case-list-fuzzer.cpp
   14 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
tools/llvm-xray/xray-color-helper.cpp
  190   size_t MaxIndex = ColorMap.size() - 1;
  194   size_t SectionNo = std::floor(OffsetP / SectionWidth);
tools/llvm-xray/xray-graph-diff.cpp
  305 static Twine truncateString(const StringRef &S, size_t n) {
tools/llvm-yaml-numeric-parser-fuzzer/DummyYAMLNumericParserFuzzer.cpp
   15 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
tools/llvm-yaml-numeric-parser-fuzzer/yaml-numeric-parser-fuzzer.cpp
   40 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
tools/lto/lto.cpp
  194 bool lto_module_has_objc_category(const void *mem, size_t length) {
  204 bool lto_module_is_object_file_in_memory(const void* mem, size_t length) {
  210                                             size_t length,
  229 lto_module_t lto_module_create_from_fd(int fd, const char *path, size_t size) {
  240                                                  size_t file_size,
  241                                                  size_t map_size,
  252 lto_module_t lto_module_create_from_memory(const void* mem, size_t length) {
  263                                                      size_t length,
  274 lto_module_t lto_module_create_in_local_context(const void *mem, size_t length,
  292                                                   size_t length,
  420 const void *lto_codegen_compile(lto_code_gen_t cg, size_t *length) {
  438 const void *lto_codegen_compile_optimized(lto_code_gen_t cg, size_t *length) {
  638 lto_input_t lto_input_create(const void *buffer, size_t buffer_size, const char *path) {
  651                                                    size_t index,
  652                                                    size_t *size) {
  656 extern const char *const *lto_runtime_lib_symbols_list(size_t *size) {
tools/polly/include/polly/ScopDetectionDiagnostic.h
  168   size_t size() const { return ErrorReports.size(); }
tools/polly/include/polly/ScopInfo.h
 1538   size_t size() const { return MemAccs.size(); }
 2113   size_t getNumParams() const { return Parameters.size(); }
 2440   size_t getSize() const { return Stmts.size(); }
tools/polly/lib/Analysis/ScopBuilder.cpp
 1276   size_t Dimension = LoopStack.size();
tools/polly/lib/External/isl/imath/gmp_compat.c
  687 void* GMPZAPI(export)(void *rop, size_t *countp, int order, size_t size, int endian, size_t nails, mp_int op) {
  687 void* GMPZAPI(export)(void *rop, size_t *countp, int order, size_t size, int endian, size_t nails, mp_int op) {
  687 void* GMPZAPI(export)(void *rop, size_t *countp, int order, size_t size, int endian, size_t nails, mp_int op) {
  690   size_t num_words, num_missing_bytes;
  765 void GMPZAPI(import)(mp_int rop, size_t count, int order, size_t size, int endian, size_t nails, const void* op) {
  765 void GMPZAPI(import)(mp_int rop, size_t count, int order, size_t size, int endian, size_t nails, const void* op) {
  765 void GMPZAPI(import)(mp_int rop, size_t count, int order, size_t size, int endian, size_t nails, const void* op) {
  768   size_t total_size;
  769   size_t num_digits;
  834 size_t GMPZAPI(sizeinbase)(mp_int op, int base) {
  836   size_t size;
tools/polly/lib/External/isl/imath/gmp_compat.h
  155 size_t GMPZAPI(sizeinbase)(mp_int op, int base);
  221 void* GMPZAPI(export)(void *rop, size_t *countp, int order, size_t size, int endian, size_t nails, mp_int op);
  221 void* GMPZAPI(export)(void *rop, size_t *countp, int order, size_t size, int endian, size_t nails, mp_int op);
  221 void* GMPZAPI(export)(void *rop, size_t *countp, int order, size_t size, int endian, size_t nails, mp_int op);
  224 void GMPZAPI(import)(mp_int rop, size_t count, int order, size_t size, int endian, size_t nails, const void* op);
  224 void GMPZAPI(import)(mp_int rop, size_t count, int order, size_t size, int endian, size_t nails, const void* op);
  224 void GMPZAPI(import)(mp_int rop, size_t count, int order, size_t size, int endian, size_t nails, const void* op);
tools/polly/lib/External/isl/include/isl/arg.h
   56 	size_t			 offset;
   92 		size_t			 offset_n;
  108 	size_t			 options_size;
tools/polly/lib/External/isl/include/isl/ctx.h
  115 void *isl_malloc_or_die(isl_ctx *ctx, size_t size);
  116 void *isl_calloc_or_die(isl_ctx *ctx, size_t nmemb, size_t size);
  116 void *isl_calloc_or_die(isl_ctx *ctx, size_t nmemb, size_t size);
  117 void *isl_realloc_or_die(isl_ctx *ctx, void *ptr, size_t size);
tools/polly/lib/External/isl/include/isl/hash.h
   40 uint32_t isl_hash_mem(uint32_t hash, const void *p, size_t len);
tools/polly/lib/External/isl/include/isl/isl-noexceptions.h
 3701   inline size_t n_abs_num_chunks(size_t size) const;
 3701   inline size_t n_abs_num_chunks(size_t size) const;
19324 size_t val::n_abs_num_chunks(size_t size) const
19324 size_t val::n_abs_num_chunks(size_t size) const
tools/polly/lib/External/isl/include/isl/polynomial.h
  378 size_t isl_pw_qpolynomial_fold_size(__isl_keep isl_pw_qpolynomial_fold *pwf);
tools/polly/lib/External/isl/include/isl/val.h
   35 __isl_give isl_val *isl_val_int_from_chunks(isl_ctx *ctx, size_t n,
   36 	size_t size, const void *chunks);
   47 size_t isl_val_n_abs_num_chunks(__isl_keep isl_val *v, size_t size);
   47 size_t isl_val_n_abs_num_chunks(__isl_keep isl_val *v, size_t size);
   48 int isl_val_get_abs_num_chunks(__isl_keep isl_val *v, size_t size,
tools/polly/lib/External/isl/isl_aff_private.h
   40 	size_t size;
   66 	size_t size;
tools/polly/lib/External/isl/isl_arg.c
  217 	size_t len[10];
  277 		size_t len = prefixes->len[i];
  332 const void *isl_memrchr(const void *s, int c, size_t n)
  845 	size_t len)
tools/polly/lib/External/isl/isl_blk.c
   52 				size_t new_n)
   74 struct isl_blk isl_blk_alloc(struct isl_ctx *ctx, size_t n)
  108 				size_t new_n)
tools/polly/lib/External/isl/isl_blk.h
   20 	size_t size;
   28 struct isl_blk isl_blk_alloc(struct isl_ctx *ctx, size_t n);
   32 				size_t new_n);
tools/polly/lib/External/isl/isl_ctx.c
   29 static void *check_non_null(isl_ctx *ctx, void *p, size_t size)
   61 void *isl_malloc_or_die(isl_ctx *ctx, size_t size)
   71 void *isl_calloc_or_die(isl_ctx *ctx, size_t nmemb, size_t size)
   71 void *isl_calloc_or_die(isl_ctx *ctx, size_t nmemb, size_t size)
   81 void *isl_realloc_or_die(isl_ctx *ctx, void *ptr, size_t size)
tools/polly/lib/External/isl/isl_farkas.c
   72 	size_t prefix_len = strlen(prefix);
  150 	size_t prefix_len = strlen(prefix);
tools/polly/lib/External/isl/isl_fold.c
 1128 size_t isl_pw_qpolynomial_fold_size(__isl_keep isl_pw_qpolynomial_fold *pwf)
 1131 	size_t n = 0;
tools/polly/lib/External/isl/isl_hash.c
   22 uint32_t isl_hash_mem(uint32_t hash, const void *p, size_t len)
   45 	size_t size;
   81 	size_t old_size, size;
  164 	size_t size;
  192 	size_t size;
  212 	size_t size;
tools/polly/lib/External/isl/isl_int_sioimath.c
  192 extern size_t isl_sioimath_sizeinbase(isl_sioimath_src arg, int base);
  200 	size_t len;
tools/polly/lib/External/isl/isl_int_sioimath.h
 1176 inline size_t isl_sioimath_sizeinbase(isl_sioimath_src arg, int base)
tools/polly/lib/External/isl/isl_list_templ.h
   12 	size_t size;
tools/polly/lib/External/isl/isl_map.c
 1112 	size_t row_size = 1 + isl_space_dim(bmap->dim, isl_dim_all) + extra;
 4242 	size_t row_size;
tools/polly/lib/External/isl/isl_map_private.h
   66 	size_t c_size;
  111 	size_t size;
tools/polly/lib/External/isl/isl_polynomial_private.h
   26 	size_t size;
   64 	size_t size;
   88 	size_t size;
  105 	size_t size;
tools/polly/lib/External/isl/isl_sort.c
   53 msort (void *array, void *buf, size_t low, size_t high, size_t size,
   53 msort (void *array, void *buf, size_t low, size_t high, size_t size,
   53 msort (void *array, void *buf, size_t low, size_t high, size_t size,
   57     size_t copied = 0;
   58     size_t mid;
  133 MergeSort (void *base, size_t nmemb, size_t size,
  133 MergeSort (void *base, size_t nmemb, size_t size,
  153 int isl_sort(void *const pbase, size_t total_elems, size_t size,
  153 int isl_sort(void *const pbase, size_t total_elems, size_t size,
tools/polly/lib/External/isl/isl_sort.h
    6 int isl_sort(void *const pbase, size_t total_elems, size_t size,
    6 int isl_sort(void *const pbase, size_t total_elems, size_t size,
tools/polly/lib/External/isl/isl_stream_private.h
   53 	size_t	    	size;
   54 	size_t	    	len;
tools/polly/lib/External/isl/isl_val_sioimath.c
    7 __isl_give isl_val *isl_val_int_from_chunks(isl_ctx *ctx, size_t n,
    8 	size_t size, const void *chunks)
   34 int isl_val_get_abs_num_chunks(__isl_keep isl_val *v, size_t size,
   57 size_t isl_val_n_abs_num_chunks(__isl_keep isl_val *v, size_t size)
   57 size_t isl_val_n_abs_num_chunks(__isl_keep isl_val *v, size_t size)
tools/polly/lib/Support/GICHelper.cpp
  164   size_t pos = 0;
tools/polly/lib/Support/ISLTools.cpp
  739     size_t OpenPos = Str.find_first_of('{');
  741     size_t ClosePos = Str.find_last_of('}');
tools/polly/lib/Transform/FlattenAlgo.cpp
  132 size_t scheduleScatterDims(const isl::union_map &Schedule) {
tools/polly/lib/Transform/ScheduleTreeTransform.cpp
  442   size_t Pos;
tools/sancov/sancov.cpp
  166   size_t AllPoints;
  167   size_t CovPoints;
  168   size_t AllFns;
  169   size_t CovFns;
  418             size_t ColonPos = Loc.find(':');
  456   size_t Pos = Path.find(ClStripPathPrefix);
 1022   for (size_t I = 0; I < Coverages.size(); ++I) {
unittests/ADT/APFloatTest.cpp
 2007   for (size_t i = 0; i < NumTests; ++i) {
 2295   for (size_t i = 0; i < NumTests; ++i) {
 2584   for (size_t i = 0; i < NumTests; ++i) {
 2873   for (size_t i = 0; i < NumTests; ++i) {
unittests/ADT/DepthFirstIteratorTest.cpp
   28   size_t count(const T &Item) const { return S.count(Item); }
unittests/ADT/HashingTest.cpp
  126 struct HashableDummy { size_t value; };
  164   const size_t arr5[] = { 1, 2, 3 };
  174   std::map<size_t, size_t> code_to_size;
  174   std::map<size_t, size_t> code_to_size;
  178     std::map<size_t, size_t>::iterator
  178     std::map<size_t, size_t>::iterator
  186     std::map<size_t, size_t>::iterator
  186     std::map<size_t, size_t>::iterator
  194     std::map<size_t, size_t>::iterator
  194     std::map<size_t, size_t>::iterator
  202     std::map<size_t, size_t>::iterator
  202     std::map<size_t, size_t>::iterator
  296   const size_t s1 = 1024, s2 = 8888, s3 = 9000000;
  298   const size_t arr2[] = { s1, s2, s3 };
unittests/ADT/IteratorTest.cpp
  341     size_t iters = 0;
  355     size_t iters = 0;
unittests/ADT/STLExtrasTest.cpp
  269   for (size_t I = 0; I < v.size(); ++I) {
unittests/ADT/SmallVectorTest.cpp
  172   void assertValuesInOrder(VectorT & v, size_t size, ...) {
  177     for (size_t i = 0; i < size; ++i) {
  327   size_t Ctors = Constructable::getNumConstructorCalls();
  329   size_t MoveCtors = Constructable::getNumMoveConstructorCalls();
  331   size_t Dtors = Constructable::getNumDestructorCalls();
unittests/ADT/StringMapTest.cpp
   27   static size_t testKeyLength;
   75 size_t StringMapTest::testKeyLength = sizeof(testKey) - 1;
  513   size_t LargeValue;
  516   if (sizeof(size_t) <= sizeof(unsigned))
  524   LargeValue = std::numeric_limits<size_t>::max();
  526   LargeValue = std::numeric_limits<size_t>::max();
  532   size_t LargeValue;
  535   if (sizeof(size_t) <= sizeof(unsigned))
  544   LargeValue = std::numeric_limits<size_t>::max();
unittests/ADT/StringRefTest.cpp
  604   for (size_t i = 0; i < array_lengthof(Unsigned); ++i) {
  640   for (size_t i = 0; i < array_lengthof(Signed); ++i) {
  690   for (size_t i = 0; i < array_lengthof(BadStrings); ++i) {
  773   for (size_t i = 0; i < array_lengthof(ConsumeUnsigned); ++i) {
  826   for (size_t i = 0; i < array_lengthof(ConsumeSigned); ++i) {
  908   for (size_t i = 0; i < array_lengthof(join_input); ++i) {
unittests/ADT/StringSetTest.cpp
   38   size_t Count = Set.count(*Element);
   39   size_t Expected = 1;
unittests/ADT/TinyPtrVectorTest.cpp
   48     for (size_t i = 0, e = array_lengthof(TestValues); i != e; ++i)
   56   ArrayRef<PtrT> testArray(size_t N) {
   61     for (size_t i = 0, e = Values.size(); i != e; ++i)
   75     for (size_t i = 0, e = Values.size(); i != e; ++i) {
unittests/BinaryFormat/TestFileMagic.cpp
   92     size_t magic_str_len;
unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp
   57   static size_t length(const CVType &Item) { return Item.length(); }
unittests/DebugInfo/CodeView/TypeHashingTest.cpp
   54   for (size_t I = 0; I < Hashes.size() - 1; ++I) {
   55     for (size_t J = I + 1; J < Hashes.size(); ++J) {
unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp
   97     size_t WhichMsg = 0;
unittests/DebugInfo/DWARF/DwarfGenerator.cpp
  102                                  size_t S) {
  105   for (size_t I = 0; I < S; ++I)
unittests/DebugInfo/DWARF/DwarfGenerator.h
  131   void addAttribute(uint16_t Attr, dwarf::Form Form, const void *P, size_t S);
unittests/DebugInfo/GSYM/GSYMTest.cpp
   32   size_t WhichMsg = 0;
  983   for (size_t i=0; i<GSYM_MAX_UUID_SIZE; ++i) {
unittests/Demangle/ItaniumDemangleTest.cpp
   31   void *allocateNodeArray(size_t sz) {
unittests/Demangle/PartialDemangleTest.cpp
   61   size_t Size = 1;
  152   const size_t OriginalSize = 4;
  161     size_t N = OriginalSize;
  174     size_t N = OriginalSize;
  186     size_t N = OriginalSize;
unittests/ExecutionEngine/JITLink/JITLinkTestCommon.cpp
  200 Expected<std::pair<MCInst, size_t>>
  202                                size_t Offset) {
  220     const MCDisassembler &Dis, jitlink::Block &B, size_t OpIdx, size_t Offset) {
  220     const MCDisassembler &Dis, jitlink::Block &B, size_t OpIdx, size_t Offset) {
unittests/ExecutionEngine/JITLink/JITLinkTestCommon.h
  144                              size_t Offset = 0) {
  154                              size_t Offset = 0) {
  163   static Expected<std::pair<MCInst, size_t>>
  164   disassemble(const MCDisassembler &Dis, jitlink::Block &B, size_t Offset = 0);
  168                                                   size_t OpIdx,
  169                                                   size_t Offset = 0);
  189   static size_t countEdgesMatching(jitlink::Block &B, const PredT &Pred) {
  194   static size_t countEdgesMatching(jitlink::LinkGraph &G, StringRef Name,
unittests/ExecutionEngine/Orc/ObjectTransformLayerTest.cpp
  280     void registerEHFrames(uint8_t *, uint64_t, size_t) override {}
unittests/ExecutionEngine/Orc/QueueChannel.h
  155   std::atomic<size_t> InFlightIncomingMessages{0};
  156   std::atomic<size_t> CompletedIncomingMessages{0};
  157   std::atomic<size_t> InFlightOutgoingMessages{0};
  158   std::atomic<size_t> CompletedOutgoingMessages{0};
  159   std::atomic<size_t> SendCalls{0};
unittests/IR/CFGBuilder.cpp
  149   size_t i = 0;
  191   const size_t NumUpdates = Updates.size();
  195   size_t i = 0;
  220   const size_t NumUpdates = Updates.size();
  237   size_t i = 1;
  256   const size_t NumUpdates = Updates.size();
  259   size_t i = 0;
unittests/IR/ModuleTest.cpp
   62   const size_t NBCheck = 10;
unittests/IR/ValueMapTest.cpp
  126   size_t size = 0;
unittests/LineEditor/LineEditor.cpp
   49                                                  size_t Pos) const {
unittests/MC/Disassembler.cpp
   37   size_t InstSize;
   79   size_t InstSize;
unittests/ProfileData/CoverageMappingTest.cpp
  272   size_t N = makeArrayRef(Input.Regions).size();
  274   for (size_t I = 0; I < N; ++I) {
unittests/Support/AlignmentTest.cpp
   48   for (size_t Shift = 0; Shift < 64; ++Shift)
  234   for (size_t I = 1; I < ValidAlignments.size(); ++I) {
unittests/Support/AllocatorTest.cpp
  140   static size_t LastSlabSize;
  145   void *Allocate(size_t Size, size_t /*Alignment*/) {
  145   void *Allocate(size_t Size, size_t /*Alignment*/) {
  161   void Deallocate(void *Slab, size_t Size) {
  165   static size_t GetLastSlabSize() { return LastSlabSize; }
  168 size_t MockSlabAllocator::LastSlabSize = 0;
unittests/Support/AnnotationsTest.cpp
   16 llvm::Annotations::Range range(size_t Begin, size_t End) {
   16 llvm::Annotations::Range range(size_t Begin, size_t End) {
unittests/Support/ArrayRecyclerTest.cpp
   29   size_t PrevSize = Cap.getSize();
unittests/Support/BinaryStreamTest.cpp
  604     for (size_t I = 0; I < Enums.size(); ++I) {
  813   size_t Length = 0;
  862   static size_t length(const BinaryItemStreamObject &Item) {
unittests/Support/CommandLineTest.cpp
  220                               const char *const Output[], size_t OutputSize) {
  340   static const size_t ARGC = 3;
  348   for (size_t i = 0, e = array_lengthof(Inputs); i < e; ++i) {
  938   constexpr size_t NON_RSP_AT_ARGS = 64;
  952   size_t i = 0;
 1166   void printOptionInfo(const cl::Option &O, size_t Width) {
 1240   size_t runTest(StringRef ArgName, Ts... OptionAttributes) {
 1250   size_t getOptionWidth(const cl::Option &O) { return O.getOptionWidth(); }
 1255   size_t ExpectedStrSize = ("  --" + ArgName + "=<value> - ").str().size();
 1263   size_t ExpectedStrSize = ("    =" + OptName + " - ").str().size();
 1272   size_t ExpectedStrSize = ("    =" + OptName + " - ").str().size();
 1280   size_t ExpectedStrSize = StringRef("    =<empty> - ").size();
 1297   size_t ExpectedStrSize = ("  -" + ArgName + "=<value> - ").str().size();
 1309   size_t ExpectedStrSize = StringRef("    =<empty> - ").size();
unittests/Support/FileCheckTest.cpp
  214   size_t LineNumber = 1;
  258     size_t MatchLen;
unittests/Support/ManagedStatic.cpp
   33   void *allocate_stack(pthread_attr_t &a, size_t n = 65536) {
unittests/Support/MemoryBufferTest.cpp
  212   for (size_t i = 0; i < 321; ++i)
  218   for (size_t i = 0; i < 123; ++i)
  351   for (size_t i = 0; i < MB.getBufferSize(); i += 0x10)
unittests/Support/MemoryTest.cpp
   85   size_t   PageSize;
unittests/Support/NativeFormatTests.cpp
   29                           Optional<size_t> Width = None) {
   38                           Optional<size_t> Precision = None) {
unittests/Support/Path.cpp
 1527     if (Expected<size_t> BytesRead = fs::readNativeFile(
 1547     if (Expected<size_t> BytesRead = fs::readNativeFileSlice(
unittests/Support/ThreadPool.cpp
   91   for (size_t i = 0; i < 5; ++i) {
  111   for (size_t i = 0; i < 5; ++i) {
  155     for (size_t i = 0; i < 5; ++i) {
unittests/Support/TrailingObjectsTest.cpp
   24   size_t numTrailingObjects(OverloadToken<short>) const { return NumShorts; }
   60   size_t numTrailingObjects(OverloadToken<short>) const {
   63   size_t numTrailingObjects(OverloadToken<double>) const {
  181   size_t numTrailingObjects(OverloadToken<double>) const { return 1; }
  182   size_t numTrailingObjects(OverloadToken<short>) const { return 1; }
  214   size_t numTrailingObjects(OverloadToken<char>) const { return 1; }
  247   size_t numTrailingObjects(
  252   size_t numTrailingObjects(
unittests/Support/YAMLIOTest.cpp
 1009       size_t byStart = scalar.find("by");
 2921   static size_t size(IO &IO, Seq &A) { return A.size(); }
 2923   static std::unique_ptr<Poly> &element(IO &IO, Seq &A, size_t Index) {
unittests/Support/raw_sha1_ostream_test.cpp
   19   size_t Length = Input.size();
   23   for (size_t i = 0; i < Length; ++i) {
unittests/Transforms/Utils/ASanStackFrameLayoutTest.cpp
   18   for (size_t i = 0, n = ShadowBytes.size(); i < n; i++) {
unittests/tools/llvm-exegesis/RegisterValueTest.cpp
   23   const size_t SizeInBits = 16;
   39   const size_t SizeInBits = 32;
   55   const size_t SizeInBits = 64;
unittests/tools/llvm-exegesis/X86/TargetTest.cpp
   82                                   size_t Offset) {
usr/include/alloca.h
   32 extern void *alloca (size_t __size) __THROW;
usr/include/arpa/inet.h
   77 extern char *inet_neta (in_addr_t __net, char *__buf, size_t __len) __THROW;
   83 			    char *__buf, size_t __len) __THROW;
   89 			  void *__buf, size_t __len) __THROW;
usr/include/arpa/nameser.h
  403 			     const char *, const char *, char *, size_t)
  405 int		ns_sprintrrf (const unsigned char *, size_t, const char *,
  407 			      const unsigned char *, size_t, const char *,
  408 			      const char *, char *, size_t) __THROW;
  409 int		ns_format_ttl (unsigned long, char *, size_t) __THROW;
  412 int		ns_name_ntol (const unsigned char *, unsigned char *, size_t)
  414 int		ns_name_ntop (const unsigned char *, char *, size_t) __THROW;
  415 int		ns_name_pton (const char *, unsigned char *, size_t) __THROW;
  417 				const unsigned char *, unsigned char *, size_t)
  425 				    char *, size_t) __THROW;
  426 int		ns_name_compress (const char *, unsigned char *, size_t,
  436 int		ns_makecanon (const char *, char *, size_t) __THROW;
usr/include/c++/7.4.0/bits/cxxabi_init_exception.h
   63       __cxa_allocate_exception(size_t) _GLIBCXX_NOTHROW;
usr/include/c++/7.4.0/cxxabi.h
   65   __cxa_vec_new(size_t __element_count, size_t __element_size,
   65   __cxa_vec_new(size_t __element_count, size_t __element_size,
   66 		size_t __padding_size, __cxa_cdtor_type __constructor,
   70   __cxa_vec_new2(size_t __element_count, size_t __element_size,
   70   __cxa_vec_new2(size_t __element_count, size_t __element_size,
   71 		 size_t __padding_size, __cxa_cdtor_type __constructor,
   72 		 __cxa_cdtor_type __destructor, void *(*__alloc) (size_t),
   76   __cxa_vec_new3(size_t __element_count, size_t __element_size,
   76   __cxa_vec_new3(size_t __element_count, size_t __element_size,
   77 		 size_t __padding_size, __cxa_cdtor_type __constructor,
   78 		 __cxa_cdtor_type __destructor, void *(*__alloc) (size_t),
   79 		 void (*__dealloc) (void*, size_t));
   83   __cxa_vec_ctor(void* __array_address, size_t __element_count,
   84 		 size_t __element_size, __cxa_cdtor_type __constructor,
   89 		  size_t __element_count, size_t __element_size,
   89 		  size_t __element_count, size_t __element_size,
   95   __cxa_vec_dtor(void* __array_address, size_t __element_count,
   96 		 size_t __element_size, __cxa_cdtor_type __destructor);
   99   __cxa_vec_cleanup(void* __array_address, size_t __element_count, size_t __s,
   99   __cxa_vec_cleanup(void* __array_address, size_t __element_count, size_t __s,
  104   __cxa_vec_delete(void* __array_address, size_t __element_size,
  105 		   size_t __padding_size, __cxa_cdtor_type __destructor);
  108   __cxa_vec_delete2(void* __array_address, size_t __element_size,
  109 		    size_t __padding_size, __cxa_cdtor_type __destructor,
  113   __cxa_vec_delete3(void* __array_address, size_t __element_size,
  114 		    size_t __padding_size, __cxa_cdtor_type __destructor,
  115 		    void (*__dealloc) (void*, size_t));
  196 		 size_t* __length, int* __status);
usr/include/dirent.h
  354 				size_t __nbytes,
  371 				  size_t __nbytes,
usr/include/dlfcn.h
  181   size_t dls_size;		/* Size in bytes of the whole buffer.  */
usr/include/grp.h
  132 		       char *__restrict __buffer, size_t __buflen,
  141 		       char *__restrict __buffer, size_t __buflen,
  150 		       char *__restrict __buffer, size_t __buflen,
  163 			char *__restrict __buffer, size_t __buflen,
  176 extern int setgroups (size_t __n, const __gid_t *__groups) __THROW;
usr/include/link.h
  157     size_t dlpi_tls_modid;
  168 					       size_t, void *),
usr/include/linux/sysctl.h
   39 	size_t *oldlenp;
   41 	size_t newlen;
usr/include/malloc.h
   38 extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur;
   41 extern void *calloc (size_t __nmemb, size_t __size)
   41 extern void *calloc (size_t __nmemb, size_t __size)
   49 extern void *realloc (void *__ptr, size_t __size)
   57 extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size)
   57 extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size)
   64 extern void *memalign (size_t __alignment, size_t __size)
   64 extern void *memalign (size_t __alignment, size_t __size)
   68 extern void *valloc (size_t __size) __THROW __attribute_malloc__ __wur;
   72 extern void *pvalloc (size_t __size) __THROW __attribute_malloc__ __wur;
  130 extern int malloc_trim (size_t __pad) __THROW;
  134 extern size_t malloc_usable_size (void *__ptr) __THROW;
  146 extern void *(*__MALLOC_HOOK_VOLATILE __malloc_hook)(size_t __size,
  150                                                       size_t __size,
  153 extern void *(*__MALLOC_HOOK_VOLATILE __memalign_hook)(size_t __alignment,
  154                                                        size_t __size,
usr/include/netdb.h
  166 			 char *__restrict __buf, size_t __buflen,
  173 			    char *__restrict __buf, size_t __buflen,
  179 			    char *__restrict __buf, size_t __buflen,
  185 			     char *__restrict __buf, size_t __buflen,
  236 			char *__restrict __buf, size_t __buflen,
  242 			   char *__restrict __buf, size_t __buflen,
  248 			   char *__restrict __buf, size_t __buflen,
  307 			 char *__restrict __buf, size_t __buflen,
  313 			    char *__restrict __buf, size_t __buflen,
  318 			    char *__restrict __buf, size_t __buflen,
  373 			  char *__restrict __buf, size_t __buflen,
  378 			     char *__restrict __buf, size_t __buflen,
  383 			       char *__restrict __buf, size_t __buflen,
  433 			  char *__restrict __buffer, size_t __buflen);
usr/include/plugin-api.h
  300                                          size_t* len);
usr/include/pthread.h
  307 				      size_t *__guardsize)
  312 				      size_t __guardsize)
  370 				      __attr, size_t *__restrict __stacksize)
  377 				      size_t __stacksize)
  384 				  size_t *__restrict __stacksize)
  391 				  size_t __stacksize) __THROW __nonnull ((1));
  398 					size_t __cpusetsize,
  405 					size_t __cpusetsize,
  448 			       size_t __buflen)
  475 extern int pthread_setaffinity_np (pthread_t __th, size_t __cpusetsize,
  480 extern int pthread_getaffinity_np (pthread_t __th, size_t __cpusetsize,
usr/include/pwd.h
  139 		       char *__restrict __buffer, size_t __buflen,
  146 		       char *__restrict __buffer, size_t __buflen,
  152 		       char *__restrict __buffer, size_t __buflen,
  167 			char *__restrict __buffer, size_t __buflen,
usr/include/python2.7/fileobject.h
   66 size_t Py_UniversalNewlineFread(char *, size_t, FILE *, PyObject *);
   66 size_t Py_UniversalNewlineFread(char *, size_t, FILE *, PyObject *);
usr/include/python2.7/import.h
   39 	const char *, PyObject *, char *, size_t, FILE **, PyObject **);
usr/include/python2.7/longobject.h
   93 	const unsigned char* bytes, size_t n,
  116 	unsigned char* bytes, size_t n,
usr/include/python2.7/objimpl.h
  321 PyAPI_FUNC(PyObject *) _PyObject_GC_Malloc(size_t);
usr/include/python2.7/pyarena.h
   50   PyAPI_FUNC(void *) PyArena_Malloc(PyArena *, size_t size);
usr/include/python2.7/pyerrors.h
  321 PyAPI_FUNC(int) PyOS_snprintf(char *str, size_t size, const char  *format, ...)
  323 PyAPI_FUNC(int) PyOS_vsnprintf(char *str, size_t size, const char  *format, va_list va)
usr/include/python2.7/pymem.h
   52 PyAPI_FUNC(void *) PyMem_Malloc(size_t);
   53 PyAPI_FUNC(void *) PyMem_Realloc(void *, size_t);
usr/include/python2.7/pystrtod.h
   13 PyAPI_FUNC(char *) PyOS_ascii_formatd(char *buffer, size_t buf_len,
usr/include/regex.h
  385   size_t re_nsub;
  473 extern const char *re_compile_pattern (const char *__pattern, size_t __length,
  567 		    const char *__restrict __string, size_t __nmatch,
  571 extern size_t regerror (int __errcode, const regex_t *__restrict __preg,
  572 			char *__restrict __errbuf, size_t __errbuf_size);
usr/include/resolv.h
  247 int		b64_ntop (const unsigned char *, size_t, char *, size_t)
  247 int		b64_ntop (const unsigned char *, size_t, char *, size_t)
  249 int		b64_pton (char const *, unsigned char *, size_t) __THROW;
  286 const char *	res_hostalias (const res_state, const char *, char *, size_t)
usr/include/rpc/netdb.h
   61 			   char *__buffer, size_t __buflen,
   65 			     char *__buffer, size_t __buflen,
   69 			size_t __buflen, struct rpcent **__result) __THROW;
usr/include/sched.h
  121 extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize,
  125 extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize,
usr/include/stdio.h
  278 extern FILE *fmemopen (void *__s, size_t __len, const char *__modes)
  284 extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __THROW __wur;
  295 		    int __modes, size_t __n) __THROW;
  301 		       size_t __size) __THROW;
  340 extern int snprintf (char *__restrict __s, size_t __maxlen,
  344 extern int vsnprintf (char *__restrict __s, size_t __maxlen,
  604 			       size_t *__restrict __n, int __delimiter,
  617 			    size_t *__restrict __n,
  646 extern size_t fread (void *__restrict __ptr, size_t __size,
  646 extern size_t fread (void *__restrict __ptr, size_t __size,
  647 		     size_t __n, FILE *__restrict __stream) __wur;
  652 extern size_t fwrite (const void *__restrict __ptr, size_t __size,
  652 extern size_t fwrite (const void *__restrict __ptr, size_t __size,
  653 		      size_t __n, FILE *__restrict __s);
  673 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
  673 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
  674 			      size_t __n, FILE *__restrict __stream) __wur;
  675 extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size,
  675 extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size,
  676 			       size_t __n, FILE *__restrict __stream);
usr/include/stdlib.h
   97 extern size_t __ctype_get_mb_cur_max (void) __THROW __wur;
  212 extern int strfromd (char *__dest, size_t __size, const char *__format,
  216 extern int strfromf (char *__dest, size_t __size, const char *__format,
  220 extern int strfroml (char *__dest, size_t __size, const char *__format,
  232 extern int strfromf32 (char *__dest, size_t __size, const char * __format,
  238 extern int strfromf64 (char *__dest, size_t __size, const char * __format,
  250 extern int strfromf32x (char *__dest, size_t __size, const char * __format,
  256 extern int strfromf64x (char *__dest, size_t __size, const char * __format,
  411 			size_t __statelen) __THROW __nonnull ((2));
  441 			size_t __statelen,
  539 extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur;
  541 extern void *calloc (size_t __nmemb, size_t __size)
  541 extern void *calloc (size_t __nmemb, size_t __size)
  549 extern void *realloc (void *__ptr, size_t __size)
  558 extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size)
  558 extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size)
  572 extern void *valloc (size_t __size) __THROW __attribute_malloc__ __wur;
  577 extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
  577 extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
  583 extern void *aligned_alloc (size_t __alignment, size_t __size)
  583 extern void *aligned_alloc (size_t __alignment, size_t __size)
  818 		      size_t __nmemb, size_t __size, __compar_fn_t __compar)
  818 		      size_t __nmemb, size_t __size, __compar_fn_t __compar)
  827 extern void qsort (void *__base, size_t __nmemb, size_t __size,
  827 extern void qsort (void *__base, size_t __nmemb, size_t __size,
  830 extern void qsort_r (void *__base, size_t __nmemb, size_t __size,
  830 extern void qsort_r (void *__base, size_t __nmemb, size_t __size,
  901 		   size_t __len) __THROW __nonnull ((3, 4, 5));
  904 		   size_t __len) __THROW __nonnull ((3, 4, 5));
  908 		    char *__restrict __buf, size_t __len)
  912 		    char *__restrict __buf, size_t __len)
  919 extern int mblen (const char *__s, size_t __n) __THROW;
  923 		   const char *__restrict __s, size_t __n) __THROW;
  930 extern size_t mbstowcs (wchar_t *__restrict  __pwcs,
  931 			const char *__restrict __s, size_t __n) __THROW;
  933 extern size_t wcstombs (char *__restrict __s,
  934 			const wchar_t *__restrict __pwcs, size_t __n)
  995 extern int ptsname_r (int __fd, char *__buf, size_t __buflen)
usr/include/string.h
   43 		     size_t __n) __THROW __nonnull ((1, 2));
   46 extern void *memmove (void *__dest, const void *__src, size_t __n)
   54 		      int __c, size_t __n)
   60 extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
   63 extern int memcmp (const void *__s1, const void *__s2, size_t __n)
   90 extern void *memchr (const void *__s, int __c, size_t __n)
  114 extern void *memrchr (const void *__s, int __c, size_t __n)
  125 		      const char *__restrict __src, size_t __n)
  133 		      size_t __n) __THROW __nonnull ((1, 2));
  139 extern int strncmp (const char *__s1, const char *__s2, size_t __n)
  146 extern size_t strxfrm (char *__restrict __dest,
  147 		       const char *__restrict __src, size_t __n)
  159 extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n,
  159 extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n,
  174 extern char *strndup (const char *__string, size_t __n)
  272 extern size_t strcspn (const char *__s, const char *__reject)
  276 extern size_t strspn (const char *__s, const char *__accept)
  368 extern void *memmem (const void *__haystack, size_t __haystacklen,
  369 		     const void *__needle, size_t __needlelen)
  375 			const void *__restrict __src, size_t __n)
  378 		      const void *__restrict __src, size_t __n)
  384 extern size_t strlen (const char *__s)
  390 extern size_t strnlen (const char *__string, size_t __maxlen)
  390 extern size_t strnlen (const char *__string, size_t __maxlen)
  420 extern char *strerror_r (int __errnum, char *__buf, size_t __buflen)
  435 extern void explicit_bzero (void *__s, size_t __n) __THROW __nonnull ((1));
  457 			const char *__restrict __src, size_t __n)
  460 		      const char *__restrict __src, size_t __n)
  473 extern void *memfrob (void *__s, size_t __n) __THROW __nonnull ((1));
usr/include/strings.h
   34 extern int bcmp (const void *__s1, const void *__s2, size_t __n)
   38 extern void bcopy (const void *__src, void *__dest, size_t __n)
   42 extern void bzero (void *__s, size_t __n) __THROW __nonnull ((1));
  120 extern int strncasecmp (const char *__s1, const char *__s2, size_t __n)
  134 			  size_t __n, locale_t __loc)
usr/include/time.h
   88 extern size_t strftime (char *__restrict __s, size_t __maxsize,
   88 extern size_t strftime (char *__restrict __s, size_t __maxsize,
  104 extern size_t strftime_l (char *__restrict __s, size_t __maxsize,
  104 extern size_t strftime_l (char *__restrict __s, size_t __maxsize,
usr/include/unistd.h
  363 extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __wur;
  369 extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur;
  379 extern ssize_t pread (int __fd, void *__buf, size_t __nbytes,
  387 extern ssize_t pwrite (int __fd, const void *__buf, size_t __n,
  407 extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes,
  411 extern ssize_t pwrite64 (int __fd, const void *__buf, size_t __n,
  514 extern char *getcwd (char *__buf, size_t __size) __THROW __wur;
  626 extern size_t confstr (int __name, char *__buf, size_t __len) __THROW;
  626 extern size_t confstr (int __name, char *__buf, size_t __len) __THROW;
  777 extern int ttyname_r (int __fd, char *__buf, size_t __buflen)
  812 			 char *__restrict __buf, size_t __len)
  823 			   char *__restrict __buf, size_t __len)
  859 extern int getlogin_r (char *__name, size_t __name_len) __nonnull ((1));
  880 extern int gethostname (char *__name, size_t __len) __THROW __nonnull ((1));
  887 extern int sethostname (const char *__name, size_t __len)
  898 extern int getdomainname (char *__name, size_t __len)
  900 extern int setdomainname (const char *__name, size_t __len)
  918 extern int profil (unsigned short int *__sample_buffer, size_t __size,
  919 		   size_t __offset, unsigned int __scale)
 1112 			 size_t __length, unsigned int __flags);
 1167 int getentropy (void *__buffer, size_t __length) __wur;
usr/include/wchar.h
   93 			 const wchar_t *__restrict __src, size_t __n)
  102 			 const wchar_t *__restrict __src, size_t __n)
  109 extern int wcsncmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n)
  118 			size_t __n) __THROW;
  126 			  size_t __n, locale_t __loc) __THROW;
  135 extern size_t wcsxfrm (wchar_t *__restrict __s1,
  136 		       const wchar_t *__restrict __s2, size_t __n) __THROW;
  150 extern size_t wcsxfrm_l (wchar_t *__s1, const wchar_t *__s2,
  151 			 size_t __n, locale_t __loc) __THROW;
  187 extern size_t wcscspn (const wchar_t *__wcs, const wchar_t *__reject)
  191 extern size_t wcsspn (const wchar_t *__wcs, const wchar_t *__accept)
  222 extern size_t wcslen (const wchar_t *__s) __THROW __attribute_pure__;
  240 extern size_t wcsnlen (const wchar_t *__s, size_t __maxlen)
  240 extern size_t wcsnlen (const wchar_t *__s, size_t __maxlen)
  253 extern wchar_t *wmemchr (const wchar_t *__s, wchar_t __c, size_t __n)
  258 extern int wmemcmp (const wchar_t *__s1, const wchar_t *__s2, size_t __n)
  263 			 const wchar_t *__restrict __s2, size_t __n) __THROW;
  267 extern wchar_t *wmemmove (wchar_t *__s1, const wchar_t *__s2, size_t __n)
  271 extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __THROW;
  277 			  const wchar_t *__restrict __s2, size_t __n)
  296 extern size_t mbrtowc (wchar_t *__restrict __pwc,
  297 		       const char *__restrict __s, size_t __n,
  301 extern size_t wcrtomb (char *__restrict __s, wchar_t __wc,
  305 extern size_t __mbrlen (const char *__restrict __s, size_t __n,
  305 extern size_t __mbrlen (const char *__restrict __s, size_t __n,
  307 extern size_t mbrlen (const char *__restrict __s, size_t __n,
  307 extern size_t mbrlen (const char *__restrict __s, size_t __n,
  328 __extern_inline size_t
  337 extern size_t mbsrtowcs (wchar_t *__restrict __dst,
  338 			 const char **__restrict __src, size_t __len,
  343 extern size_t wcsrtombs (char *__restrict __dst,
  344 			 const wchar_t **__restrict __src, size_t __len,
  351 extern size_t mbsnrtowcs (wchar_t *__restrict __dst,
  352 			  const char **__restrict __src, size_t __nmc,
  353 			  size_t __len, mbstate_t *__restrict __ps) __THROW;
  357 extern size_t wcsnrtombs (char *__restrict __dst,
  359 			  size_t __nwc, size_t __len,
  359 			  size_t __nwc, size_t __len,
  371 extern int wcswidth (const wchar_t *__s, size_t __n) __THROW;
  557 			 const wchar_t *__restrict __src, size_t __n)
  567 extern __FILE *open_wmemstream (wchar_t **__bufloc, size_t *__sizeloc) __THROW;
  590 extern int swprintf (wchar_t *__restrict __s, size_t __n,
  611 extern int vswprintf (wchar_t *__restrict __s, size_t __n,
  835 extern size_t wcsftime (wchar_t *__restrict __s, size_t __maxsize,
  835 extern size_t wcsftime (wchar_t *__restrict __s, size_t __maxsize,
  842 extern size_t wcsftime_l (wchar_t *__restrict __s, size_t __maxsize,
  842 extern size_t wcsftime_l (wchar_t *__restrict __s, size_t __maxsize,
usr/include/wordexp.h
   43     size_t we_wordc;		/* Count of words matched.  */
   45     size_t we_offs;		/* Slots to reserve in `we_wordv'.  */
usr/include/x86_64-linux-gnu/bits/cpu-set.h
  117 extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp)
  119 extern cpu_set_t *__sched_cpualloc (size_t __count) __THROW __wur;
usr/include/x86_64-linux-gnu/bits/fcntl-linux.h
  385 extern __ssize_t readahead (int __fd, __off64_t __offset, size_t __count)
  402 			   size_t __count, unsigned int __flags);
  409 			 __off64_t *__offout, size_t __len,
  416 extern __ssize_t tee (int __fdin, int __fdout, size_t __len,
usr/include/x86_64-linux-gnu/bits/libio.h
  306   size_t __pad5;
  309   char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
  337 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
  346 				 size_t __n);
usr/include/x86_64-linux-gnu/bits/mman-shared.h
   50 int mlock2 (const void *__addr, size_t __length, unsigned int __flags) __THROW;
   72 int pkey_mprotect (void *__addr, size_t __len, int __prot, int __pkey) __THROW;
usr/include/x86_64-linux-gnu/bits/socket.h
  260     size_t msg_iovlen;		/* Number of elements in the vector.  */
  263     size_t msg_controllen;	/* Ancillary data buffer length.
  274     size_t cmsg_len;		/* Length of data in cmsg_data plus length
usr/include/x86_64-linux-gnu/bits/stdio.h
  115 getline (char **__lineptr, size_t *__n, FILE *__stream)
usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h
   20 bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size,
   20 bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size,
   23   size_t __l, __u, __idx;
usr/include/x86_64-linux-gnu/bits/types/stack_t.h
   30     size_t ss_size;
usr/include/x86_64-linux-gnu/bits/types/struct_iovec.h
   29     size_t iov_len;	/* Length of data.  */
usr/include/x86_64-linux-gnu/sys/mman.h
   57 extern void *mmap (void *__addr, size_t __len, int __prot,
   70 extern void *mmap64 (void *__addr, size_t __len, int __prot,
   76 extern int munmap (void *__addr, size_t __len) __THROW;
   81 extern int mprotect (void *__addr, size_t __len, int __prot) __THROW;
   89 extern int msync (void *__addr, size_t __len, int __flags);
   94 extern int madvise (void *__addr, size_t __len, int __advice) __THROW;
   98 extern int posix_madvise (void *__addr, size_t __len, int __advice) __THROW;
  103 extern int mlock (const void *__addr, size_t __len) __THROW;
  106 extern int munlock (const void *__addr, size_t __len) __THROW;
  123 extern int mincore (void *__start, size_t __len, unsigned char *__vec)
  133 extern void *mremap (void *__addr, size_t __old_len, size_t __new_len,
  133 extern void *mremap (void *__addr, size_t __old_len, size_t __new_len,
  138 extern int remap_file_pages (void *__start, size_t __size, int __prot,
  139 			     size_t __pgoff, int __flags) __THROW;
usr/include/x86_64-linux-gnu/sys/socket.h
  138 extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
  145 extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
  152 extern ssize_t sendto (int __fd, const void *__buf, size_t __n,
  163 extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
utils/FileCheck/FileCheck.cpp
  537     size_t EqIdx = G.find('=');
utils/TableGen/AsmMatcherEmitter.cpp
  821   size_t start = Ops.first.find_first_of('$');
  825   size_t end = Ops.first.find_last_of(" \t");
  970   size_t Prev = 0;
  973   for (size_t i = 0, e = String.size(); i != e; ++i) {
 1032       size_t EndPos = String.find('}', i);
 1941   size_t MaxRowLength = 2; // minimum is custom converter plus terminator.
 1967     size_t MaxNumOperands = 0;
 3318   size_t MaxNumOperands = 0;
utils/TableGen/AsmWriterEmitter.cpp
  170   for (size_t i = 0, e = Instructions.size(); i != e; ++i) {
  181       size_t idx = I - UniqueOperandCommands.begin();
  199   for (size_t CommandIdx = 0, e = UniqueOperandCommands.size();
  359     for (size_t i = 0, e = InstIdxs.size(); i != e; ++i) {
utils/TableGen/CodeGenDAGPatterns.cpp
 4321     for (size_t i = 0, e = N->getNumChildren(); i != e; ++i)
utils/TableGen/CodeGenInstruction.cpp
  468     size_t VariantsStart = 0;
  469     for (size_t e = Cur.size(); VariantsStart != e; ++VariantsStart)
  483     size_t VariantsEnd = VariantsStart;
  485     for (size_t e = Cur.size(); VariantsEnd != e; ++VariantsEnd) {
utils/TableGen/CodeGenIntrinsics.h
  174     size_t Offset;
  175     size_t Count;
  183   size_t size() const { return Intrinsics.size(); }
  184   CodeGenIntrinsic &operator[](size_t Pos) { return Intrinsics[Pos]; }
  185   const CodeGenIntrinsic &operator[](size_t Pos) const {
utils/TableGen/CodeGenTarget.cpp
  594   for (size_t I = 0, E = Intrinsics.size(); I < E; ++I)
utils/TableGen/DFAPacketizerEmitter.cpp
  474       size_t Sz = V.size();
utils/TableGen/ExegesisEmitter.cpp
  114   const size_t NumIssueCounters =
utils/TableGen/FixedLenDecoderEmitter.cpp
  672   size_t PrevFilter = 0;
utils/TableGen/GICombinerEmitter.cpp
   83   size_t getNumRoots() const { return Roots.size(); }
utils/TableGen/GlobalISel/CodeExpander.cpp
   25     size_t Pos = Current.find_first_of("$\n\\");
   61         size_t LocOffset = StartVar.data() - Code.data();
   71         size_t LocOffset = StartVar.data() - Code.data();
   85     size_t LocOffset = Current.data() - Code.data();
utils/TableGen/GlobalISelEmitter.cpp
  722   size_t size() const { return Matchers.size(); }
  774   size_t size() const { return Matchers.size(); }
utils/TableGen/OptParserEmitter.cpp
  252       for (size_t i = 0, e = AliasArgs.size(); i != e; ++i)
utils/TableGen/RegisterInfoEmitter.cpp
  778     for (size_t s = 0, se = Sequences.size(); s != se; ++s, SIdx = NextSIdx) {
  799   for (size_t s = 0, se = Sequences.size(); s != se; ++s) {
  802     for (size_t p = 0, pe = Sequence.size(); p != pe; ++p) {
  815   for (size_t i = 0, e = SubRegIndices.size(); i != e; ++i) {
utils/TableGen/SearchableTableEmitter.cpp
  591     for (size_t i = 0; i < Enum.Entries.size(); ++i)
utils/TableGen/WebAssemblyDisassemblerEmitter.cpp
  120         size_t OperandStart = OperandTable.size();
  122           for (size_t J = 0; J <= OperandTable.size() - CurOperandList.size();
  124             size_t K = 0;
utils/benchmark/include/benchmark/benchmark.h
  276 size_t RunSpecifiedBenchmarks();
  277 size_t RunSpecifiedBenchmarks(BenchmarkReporter* console_reporter);
  278 size_t RunSpecifiedBenchmarks(BenchmarkReporter* console_reporter,
  462   bool KeepRunningBatch(size_t n);
  589   size_t iterations() const {
  600   size_t total_iterations_;
  605   size_t batch_leftover_;
  608   const size_t max_iterations;
  633   State(size_t max_iters, const std::vector<int64_t>& ranges, int thread_i,
  641   bool KeepRunningInternal(size_t n, bool is_batch);
  654 bool State::KeepRunningBatch(size_t n) {
  659 bool State::KeepRunningInternal(size_t n, bool is_batch) {
  722   size_t cached_;
  826   Benchmark* Iterations(size_t n);
  917   size_t iterations_;
 1267     size_t name_field_width;
 1411   size_t name_field_width_;
utils/benchmark/src/benchmark.cc
  107 static const size_t kMaxIterations = 1000000000;
  162                  size_t iters, int thread_id,
  190   size_t iters = has_explicit_iteration_count ? b.iterations : 1;
  293 State::State(size_t max_iters, const std::vector<int64_t>& ranges, int thread_i,
  397   size_t name_field_width = 10;
  398   size_t stat_field_width = 0;
  401         std::max<size_t>(name_field_width, benchmark.name.size());
  405       stat_field_width = std::max<size_t>(stat_field_width, Stat.name_.size());
  485 size_t RunSpecifiedBenchmarks() {
  489 size_t RunSpecifiedBenchmarks(BenchmarkReporter* console_reporter) {
  493 size_t RunSpecifiedBenchmarks(BenchmarkReporter* console_reporter,
utils/benchmark/src/benchmark_api_internal.h
   32   size_t iterations;
utils/benchmark/src/benchmark_register.cc
   57 static const size_t kMaxFamilySize = 100;
   73   size_t AddBenchmark(std::unique_ptr<Benchmark> family);
   96 size_t BenchmarkFamilies::AddBenchmark(std::unique_ptr<Benchmark> family) {
   98   size_t index = families_.size();
  142     const size_t family_size = family->args_.size() * thread_counts->size();
  173         size_t arg_i = 0;
  358 Benchmark* Benchmark::Iterations(size_t n) {
utils/benchmark/src/commandlineflags.cc
   85   for (size_t i = 0; i != flag_str.length(); ++i)
  143   const size_t flag_len = flag_str.length();
utils/benchmark/src/complexity.cc
   85   for (size_t i = 0; i < n.size(); ++i) {
  101   for (size_t i = 0; i < n.size(); ++i) {
utils/benchmark/src/json_reporter.cc
   97   for (size_t i = 0; i < info.caches.size(); ++i) {
utils/benchmark/src/string_util.cc
   52     for (size_t i = 0; i < arraysize(kBigSIUnits); ++i) {
   67       for (size_t i = 0; i < arraysize(kSmallSIUnits); ++i) {
utils/benchmark/src/sysinfo.cc
  231   size_t Pos;
  403     size_t SplitIdx = ln.find(':');
  474     size_t SplitIdx = ln.find(':');
utils/unittest/googlemock/include/gmock/gmock-matchers.h
 1113   const size_t i1 = s1.find(nul), i2 = s2.find(nul);
 2757       const size_t actual_size = lhs_stl_container.size();
 2765       for (size_t i = 0; i != actual_size; ++i, ++left, ++right) {
 2825     size_t i = 0;
 3142       for (size_t i = 0; i != count(); ++i) {
 3160     for (size_t i = 0; i != count(); ++i) {
 3180     size_t exam_pos = 0;
 3206     size_t actual_count = exam_pos;
 3235       for (size_t i = 0; i != count(); ++i) {
 3250   static Message Elements(size_t count) {
 3254   size_t count() const { return matchers_.size(); }
 3267   MatchMatrix(size_t num_elements, size_t num_matchers)
 3267   MatchMatrix(size_t num_elements, size_t num_matchers)
 3273   size_t LhsSize() const { return num_elements_; }
 3274   size_t RhsSize() const { return num_matchers_; }
 3275   bool HasEdge(size_t ilhs, size_t irhs) const {
 3275   bool HasEdge(size_t ilhs, size_t irhs) const {
 3278   void SetEdge(size_t ilhs, size_t irhs, bool b) {
 3278   void SetEdge(size_t ilhs, size_t irhs, bool b) {
 3292   size_t SpaceIndex(size_t ilhs, size_t irhs) const {
 3292   size_t SpaceIndex(size_t ilhs, size_t irhs) const {
 3292   size_t SpaceIndex(size_t ilhs, size_t irhs) const {
 3296   size_t num_elements_;
 3297   size_t num_matchers_;
 3305 typedef ::std::pair<size_t, size_t> ElementMatcherPair;
 3305 typedef ::std::pair<size_t, size_t> ElementMatcherPair;
 3341   static Message Elements(size_t n) {
 3395     const size_t actual_count = matrix.LhsSize();
 3424     size_t num_elements = 0;
 3429       for (size_t irhs = 0; irhs != matchers_.size(); ++irhs) {
 3436     for (size_t ilhs = 0; ilhs != num_elements; ++ilhs) {
 3437       for (size_t irhs = 0; irhs != matchers_.size(); ++irhs) {
 3671     const T* pointer, size_t count) {
 3713 UnorderedElementsAreArray(const T* pointer, size_t count) {
utils/unittest/googlemock/src/gmock-matchers.cc
  113       for (size_t i = 1; i < fields.size(); i++) {
  222     for (size_t ilhs = 0; ilhs < graph_->LhsSize(); ++ilhs) {
  232     for (size_t ilhs = 0; ilhs < left_.size(); ++ilhs) {
  233       size_t irhs = left_[ilhs];
  241   static const size_t kUnused = static_cast<size_t>(-1);
  259   bool TryAugment(size_t ilhs, ::std::vector<char>* seen) {
  260     for (size_t irhs = 0; irhs < graph_->RhsSize(); ++irhs) {
  299   ::std::vector<size_t> left_;
  300   ::std::vector<size_t> right_;
  305 const size_t MaxBipartiteMatchState::kUnused;
  332   size_t max_flow = matches.size();
  349       for (size_t mi = 0; mi < matches.size(); ++mi) {
  360   for (size_t ilhs = 0; ilhs < LhsSize(); ++ilhs) {
  361     for (size_t irhs = 0; irhs < RhsSize(); ++irhs) {
  374   for (size_t ilhs = 0; ilhs < LhsSize(); ++ilhs) {
  375     for (size_t irhs = 0; irhs < RhsSize(); ++irhs) {
  385   for (size_t i = 0; i < LhsSize(); ++i) {
  387     for (size_t j = 0; j < RhsSize(); ++j) {
  409   for (size_t i = 0; i != matcher_describers_.size(); ++i) {
  431   for (size_t i = 0; i != matcher_describers_.size(); ++i) {
  452   for (size_t ilhs = 0; ilhs < matrix.LhsSize(); ilhs++) {
  453     for (size_t irhs = 0; irhs < matrix.RhsSize(); irhs++) {
  463     for (size_t mi = 0; mi < matcher_matched.size(); ++mi) {
  482     for (size_t ei = 0; ei < element_matched.size(); ++ei) {
utils/unittest/googlemock/src/gmock.cc
   66   const size_t flag_len = flag_str.length();
utils/unittest/googletest/include/gtest/gtest-printers.h
  120                                      size_t count,
  149 const size_t kProtobufOneLinerMaxLength = 50;
  374   const size_t kMaxCount = 32;  // The maximum number of elements to print.
  376   size_t count = 0;
  549 void PrintRawArrayTo(const T a[], size_t count, ::std::ostream* os) {
  551   for (size_t i = 1; i != count; i++) {
  717 void UniversalPrintArray(const T* begin, size_t len, ::std::ostream* os) {
  722     const size_t kThreshold = 18;
  723     const size_t kChunkSize = 8;
  740     const char* begin, size_t len, ::std::ostream* os);
  744     const wchar_t* begin, size_t len, ::std::ostream* os);
  876   static const size_t tuple_size = ::std::tr1::tuple_size<Tuple>::value;
  889 const size_t TuplePolicy<TupleT>::tuple_size;
  896   static const size_t tuple_size = ::std::tuple_size<Tuple>::value;
  908 const size_t TuplePolicy< ::std::tuple<Types...> >::tuple_size;
utils/unittest/googletest/include/gtest/internal/gtest-internal.h
  182     const std::vector<size_t>& left, const std::vector<size_t>& right);
  182     const std::vector<size_t>& left, const std::vector<size_t>& right);
  192                                          size_t context = 2);
  202                                    size_t* total_line_count);
  271   static const size_t kBitCount = 8*sizeof(RawType);
  274   static const size_t kFractionBitCount =
  278   static const size_t kExponentBitCount = kBitCount - 1 - kFractionBitCount;
  302   static const size_t kMaxUlps = 4;
  956 bool ArrayEq(const T* lhs, size_t size, const U* rhs);
  972 bool ArrayEq(const T* lhs, size_t size, const U* rhs) {
  973   for (size_t i = 0; i != size; i++) {
  996 void CopyArray(const T* from, size_t size, U* to);
 1012 void CopyArray(const T* from, size_t size, U* to) {
 1013   for (size_t i = 0; i != size; i++) {
 1042   NativeArray(const Element* array, size_t count, RelationToSourceReference) {
 1047   NativeArray(const Element* array, size_t count, RelationToSourceCopy) {
 1062   size_t size() const { return size_; }
 1077   void InitCopy(const Element* array, size_t a_size) {
 1086   void InitRef(const Element* array, size_t a_size) {
 1093   size_t size_;
utils/unittest/googletest/include/gtest/internal/gtest-param-util.h
   60   TestParamInfo(const ParamType& a_param, size_t an_index) :
   64   size_t index;
  564         size_t i = 0;
utils/unittest/googletest/include/gtest/internal/gtest-port.h
 1434 GTEST_API_ size_t GetFileSize(FILE* file);
 2187 GTEST_API_ size_t GetThreadCount();
 2365 inline const char* StrNCpy(char* dest, const char* src, size_t n) {
utils/unittest/googletest/src/gtest-death-test.cc
  228 static std::string DeathTestThreadWarning(size_t thread_count) {
  506   for (size_t at = 0; ; ) {
  507     const size_t line_end = output.find('\n', at);
  834   const size_t thread_count = GetThreadCount();
 1073     const size_t stack_size = getpagesize();
 1085     const size_t kMaxStackAlignment = 64;
utils/unittest/googletest/src/gtest-port.cc
  109 size_t GetThreadCount() {
  599   const size_t full_regex_len = strlen(regex) + 10;
 1076 size_t GetFileSize(FILE* file) {
 1082   const size_t file_size = GetFileSize(file);
 1085   size_t bytes_last_read = 0;  // # of bytes read in the last fread()
 1086   size_t bytes_read = 0;       // # of bytes read so far
 1139   for (size_t i = 0; i != full_flag.length(); i++) {
utils/unittest/googletest/src/gtest-printers.cc
   63 void PrintByteSegmentInObjectTo(const unsigned char* obj_bytes, size_t start,
   64                                 size_t count, ostream* os) {
   66   for (size_t i = 0; i != count; i++) {
   67     const size_t j = start + i;
   82 void PrintBytesInObjectToImpl(const unsigned char* obj_bytes, size_t count,
   87   const size_t kThreshold = 132;
   88   const size_t kChunkSize = 64;
   99     const size_t resume_pos = (count - kChunkSize + 1)/2*2;
  114 void PrintBytesInObjectTo(const unsigned char* obj_bytes, size_t count,
  263     const CharType* begin, size_t len, ostream* os) {
  267   for (size_t index = 0; index < len; ++index) {
  287     const CharType* begin, size_t len, ostream* os) {
  309 void UniversalPrintArray(const char* begin, size_t len, ostream* os) {
  315 void UniversalPrintArray(const wchar_t* begin, size_t len, ostream* os) {
utils/unittest/googletest/src/gtest.cc
  338   for (size_t i = 0; i < case_list.size(); i++) {
  906 static void StreamWideCharsToMessage(const wchar_t* wstr, size_t length,
  908   for (size_t i = 0; i != length; ) {  // NOLINT
 1028 std::vector<EditType> CalculateOptimalEdits(const std::vector<size_t>& left,
 1029                                             const std::vector<size_t>& right) {
 1036   for (size_t l_i = 0; l_i < costs.size(); ++l_i) {
 1041   for (size_t r_i = 1; r_i < costs[0].size(); ++r_i) {
 1046   for (size_t l_i = 0; l_i < left.size(); ++l_i) {
 1047     for (size_t r_i = 0; r_i < right.size(); ++r_i) {
 1075   for (size_t l_i = left.size(), r_i = right.size(); l_i > 0 || r_i > 0;) {
 1090   size_t GetId(const std::string& str) {
 1093     size_t id = ids_.size();
 1098   typedef std::map<std::string, size_t> IdMap;
 1107   std::vector<size_t> left_ids, right_ids;
 1110     for (size_t i = 0; i < left.size(); ++i) {
 1113     for (size_t i = 0; i < right.size(); ++i) {
 1128   Hunk(size_t left_start, size_t right_start)
 1128   Hunk(size_t left_start, size_t right_start)
 1189   size_t left_start_, right_start_;
 1190   size_t adds_, removes_, common_;
 1205                               size_t context) {
 1208   size_t l_i = 0, r_i = 0, edit_i = 0;
 1219     const size_t prefix_context = std::min(l_i, context);
 1221     for (size_t i = prefix_context; i > 0; --i) {
 1227     size_t n_suffix = 0;
 1274   size_t start = 0, end = str.size();
 1280   for (size_t i = start; i + 1 < end; ++i) {
 1951   const size_t str_len = str.length();
 1952   const size_t suffix_len = suffix.length();
 2129   for (size_t i = 0; i < words.size(); ++i) {
 2799   for (size_t i = 0; i < test_indices_.size(); i++) {
 3282   for (size_t i = 0; i < listeners_.size(); ++i) {
 3331     for (size_t i = 0; i < listeners_.size(); i++) {
 3480   for (size_t i = 0; i < str.size(); ++i) {
 4418     const size_t pos = target.find(':');
 4801   for (size_t i = 0; i < test_cases_.size(); i++) {
 4806     for (size_t j = 0; j < test_case->test_info_list().size(); j++) {
 4869   for (size_t i = 0; i < test_cases_.size(); i++) {
 4873     for (size_t j = 0; j < test_case->test_info_list().size(); j++) {
 4948   for (size_t i = 0; i < test_cases_.size(); i++) {
 4955   for (size_t i = 0; i < test_cases_.size(); i++) {
 5002   const size_t prefix_len = strlen(prefix);
 5023   const size_t flag_len = flag_str.length();
 5266   for (size_t i = 0; i < lines.size(); ++i) {
utils/yaml-bench/YAMLBench.cpp
  176 static std::string createJSONText(size_t MemoryMB, unsigned ValueSize) {
  180   size_t MemoryBytes = MemoryMB * 1024 * 1024;