/external/chromium_org/content/browser/gpu/ |
shader_disk_cache.cc | 317 buf_->size(), 324 if (rv && rv == buf_->size()) { 328 buf_->size())); 564 int32 ShaderDiskCache::Size() {
|
/external/chromium_org/net/disk_cache/ |
block_files.cc | 55 bool BlockHeader::CreateMapBlock(int size, int* index) { 56 DCHECK(size > 0 && size <= kMaxNumBlocks); 58 for (int i = size; i <= kMaxNumBlocks; i++) { 86 DLOG_IF(ERROR, *index / 4 != (*index + size - 1) / 4) << "Bit mismatch"; 87 uint32 to_add = ((1 << size) - 1) << index_offset; 100 if (target != size) { 101 header_->empty[target - size - 1]++; 115 void BlockHeader::DeleteMapBlock(int index, int size) { 116 if (size < 0 || size > kMaxNumBlocks) 362 size_t size = address.BlockSize() * address.num_blocks(); local [all...] |
/external/chromium_org/third_party/leveldatabase/src/helpers/memenv/ |
memenv.cc | 50 uint64_t Size() const { return size_; } 54 return Status::IOError("Offset greater than file size."); 96 size_t src_len = data.size(); 161 pos_ += result->size(); 167 if (pos_ > file_->Size()) { 168 return Status::IOError("pos_ > file_->Size()"); 170 const size_t available = file_->Size() - pos_; 292 if (filename.size() >= dir.size() + 1 && filename[dir.size()] == '/' & [all...] |
/external/chromium_org/third_party/lzma_sdk/ |
7z.h | 97 UInt64 Size; 168 if dest == NULL, the return value specifies the required size of the buffer, 181 size_t *outBufferSize, /* buffer size for output buffer */ 183 size_t *outSizeProcessed, /* size of file in *outBuffer */
|
/external/clang/lib/AST/ |
DeclTemplate.cpp | 60 unsigned Size = sizeof(TemplateParameterList) 64 void *Mem = C.Allocate(Size, Align); 101 if (size() == 0) 155 for (unsigned I = 0, N = PrevDecls.size(); I != N; ++I) 286 = new (getASTContext()) TemplateArgument[Params->size()]; 291 return llvm::makeArrayRef(CommonPtr->InjectedArgs, Params->size()); 400 PS.resize(PartialSpecs.size()); 456 TemplateArgs.resize(Params->size()); 461 TemplateArgs.size()); 561 unsigned Size = sizeof(NonTypeTemplateParmDecl) [all...] |
/external/clang/lib/Rewrite/Core/ |
Rewriter.cpp | 49 void RewriteBuffer::RemoveText(unsigned OrigOffset, unsigned Size, 52 if (Size == 0) return; 55 assert(RealOffset+Size < Buffer.size() && "Invalid location"); 58 Buffer.erase(RealOffset, Size); 61 AddReplaceDelta(OrigOffset, -Size); 102 AddInsertDelta(OrigOffset, Str.size()); 113 if (OrigLength != NewStr.size()) 114 AddReplaceDelta(OrigOffset, NewStr.size() - OrigLength); 122 /// getRangeSize - Return the size in bytes of the specified range if the [all...] |
/external/clang/lib/Sema/ |
SemaTemplateVariadic.cpp | 213 for (unsigned N = FunctionScopes.size(); N; --N) { 225 for (unsigned I = 0, N = Unexpanded.size(); I != N; ++I) { 241 = Names.size() == 0? Diag(Loc, diag::err_unexpanded_parameter_pack_0) 243 : Names.size() == 1? Diag(Loc, diag::err_unexpanded_parameter_pack_1) 245 : Names.size() == 2? Diag(Loc, diag::err_unexpanded_parameter_pack_2) 250 for (unsigned I = 0, N = Locations.size(); I != N; ++I) 562 // Determine the size of this argument pack. 573 NewPackSize = Instantiation->get<DeclArgumentPack *>()->size(); 590 // Determine the size of the argument pack. 644 for (unsigned I = 0, N = Unexpanded.size(); I != N; ++I) [all...] |
/external/e2fsprogs/lib/ext2fs/ |
nt_io.c | 1047 // Get size 1160 // get size 1262 // set block size 1308 ULONG Size; 1329 Size = (count < 0) ? (ULONG)(-count) : (ULONG)(count * channel->block_size); 1337 if(Size <= NtData->BufferSize) 1349 SizeToRead = Size; 1360 Size, 0, Errno); 1371 ASSERT(Size <= SizeToRead); 1372 memcpy(buf, BufferToRead, Size); [all...] |
/external/eigen/Eigen/src/Eigenvalues/ |
SelfAdjointEigenSolver.h | 22 template<typename SolverType,int Size,bool IsComplex> struct direct_selfadjoint_eigenvalues; 74 Size = MatrixType::RowsAtCompileTime, 92 friend struct internal::direct_selfadjoint_eigenvalues<SelfAdjointEigenSolver,Size,NumTraits<Scalar>::IsComplex>; 97 * The length of the vector is the size of \p _MatrixType. 102 /** \brief Default constructor for fixed-size matrices. 106 * can only be used if \p _MatrixType is a fixed-size matrix; use 107 * SelfAdjointEigenSolver(Index) for dynamic-size matrices. 119 /** \brief Constructor, pre-allocates memory for dynamic-size matrices. 121 * \param [in] size Positive integer, size of the matrix whos [all...] |
/external/llvm/include/llvm/ADT/ |
FoldingSet.h | 177 /// size - Returns the number of nodes in the folding set. 178 unsigned size() const { return NumNodes; } function in class:llvm::FoldingSetImpl 185 /// GrowHashTable - Double the size of the hash table and rehash everything. 270 size_t Size; 272 FoldingSetNodeIDRef() : Data(0), Size(0) {} 273 FoldingSetNodeIDRef(const unsigned *D, size_t S) : Data(D), Size(S) {} 286 size_t getSize() const { return Size; } 628 /// size - Returns the number of nodes in the folding set. 629 unsigned size() const { return Set.size(); } function in class:llvm::FoldingSetVector [all...] |
/external/llvm/include/llvm/Analysis/ |
AliasSetTracker.h | 42 uint64_t Size; 46 : Val(V), PrevInList(0), NextInList(0), AS(0), Size(0), 60 if (NewSize > Size) Size = NewSize; 70 uint64_t getSize() const { return Size; } 149 assert(i < UnknownInsts.size()); 251 void addPointer(AliasSetTracker &AST, PointerRec &Entry, uint64_t Size, 256 for (size_t i = 0, e = UnknownInsts.size(); i != e; ++i) 269 bool aliasesPointer(const Value *Ptr, uint64_t Size, const MDNode *TBAAInfo, 324 bool add(Value *Ptr, uint64_t Size, const MDNode *TBAAInfo); // Add a locatio [all...] |
MemoryDependenceAnalysis.h | 282 /// Size - The maximum size of the dereferences of the 284 uint64_t Size; 289 NonLocalPointerInfo() : Size(AliasAnalysis::UnknownSize), TBAATag(0) {} 409 /// and Size) and compares it against a load. If the specified load could 412 /// location value, then this function returns the size in bytes of the
|
/external/llvm/lib/Analysis/ |
Lint.cpp | 74 uint64_t Size, unsigned Align, 276 // TODO: If the size is known, use it. 287 uint64_t Size = 0; 292 Size = Len->getValue().getZExtValue(); 293 Assert1(AA->alias(MCI->getSource(), Size, MCI->getDest(), Size) != 300 // TODO: If the size is known, use it. 311 // TODO: If the size is known, use it. 371 Value *Ptr, uint64_t Size, unsigned Align, 375 if (Size == 0 [all...] |
MemoryBuiltins.cpp | 46 // First and Second size parameters (or -1 if unused) 206 // The size of the malloc's result type must be known to determine array size. 227 /// is a call to malloc whose array size can be determined and the array size 286 /// getMallocArraySize - Returns the array size of a malloc call. If the 287 /// argument passed to malloc is a multiple of the size of the malloced type, 289 /// constant 1. Otherwise, return NULL for mallocs whose array size cannot be 349 // Utility functions to compute size of objects. 353 /// \brief Compute the size of the object pointed by Ptr. Returns true and th [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
DIE.h | 116 /// Size - Size of instance + children. 118 unsigned Size; 140 : Offset(0), Size(0), Abbrev(Tag, dwarf::DW_CHILDREN_no), Parent(0) {} 148 unsigned getSize() const { return Size; } 157 void setSize(unsigned S) { Size = S; } 218 /// SizeOf - Return the size of a value in bytes. 252 /// EmitValue - Emit integer of appropriate size. 258 /// SizeOf - Determine size of integer value in bytes. 286 /// SizeOf - Determine size of expression value in bytes [all...] |
/external/llvm/lib/CodeGen/ |
PrologEpilogInserter.cpp | 52 WarnStackSize("warn-stack-size", cl::Hidden, cl::init((unsigned)-1), 53 cl::desc("Warn for stack size bigger than the given" 138 // Warn on stack size when we exceeds the given limit. 142 errs() << "warning: Stack size limit exceeded (" << MFI->getStackSize() 177 unsigned Size = I->getOperand(0).getImm(); 178 if (Size > MaxCallFrameSize) MaxCallFrameSize = Size; 311 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { 325 for (unsigned ri = 0, re = ReturnBlocks.size(); ri != re; ++ri) { 343 for (unsigned i = 0, e = CSI.size(); i != e; ++i) [all...] |
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyld.cpp | 43 for (int i = 0, e = Sections.size(); i != e; ++i) { 54 for (unsigned i = 0, e = Sections.size(); i != e; ++i) { 105 uint64_t Size = 0; 106 Check(i->getSize(Size)); 107 CommonSize += Size + Align; 108 CommonSymbols[*i] = CommonSymbolInfo(Size, Align); 177 unsigned SectionID = Sections.size(); 194 uint64_t Size = it->second.first; 208 Offset += Size; 209 Addr += Size; [all...] |
/external/llvm/lib/IR/ |
Metadata.cpp | 113 NumOperands = Vals.size(); 224 for (unsigned i = 0; i != Vals.size(); ++i) 236 for (unsigned i = 0; i != Vals.size(); ++i) { 254 void *Ptr = malloc(sizeof(MDNode) + Vals.size() * sizeof(MDNodeOperand)); 282 (MDNode *)malloc(sizeof(MDNode) + Vals.size() * sizeof(MDNodeOperand)); 428 unsigned Size = EndPoints.size(); 429 APInt LB = cast<ConstantInt>(EndPoints[Size - 2])->getValue(); 430 APInt LE = cast<ConstantInt>(EndPoints[Size - 1])->getValue(); 435 EndPoints[Size - 2] = ConstantInt::get(Ty, Union.getLower()) [all...] |
/external/llvm/lib/MC/MCParser/ |
COFFAsmParser.cpp | 165 for (unsigned i = 0; i < FlagsString.size(); ++i) { 573 int64_t Size; 575 if (getParser().parseAbsoluteExpression(Size)) 578 if (Size & 7) 579 return Error(startLoc, "size is not a multiple of 8"); 585 getStreamer().EmitWin64EHAllocStack(Size); 603 return Error(startLoc, "size is not a multiple of 8");
|
/external/llvm/lib/Target/AArch64/ |
AArch64InstrInfo.cpp | 302 for (int i = 1, e = Cond.size(); i != e; ++i) 309 for (int i = 1, e = Cond.size(); i != e; ++i) 391 llvm_unreachable("Unknown size for regclass"); 402 llvm_unreachable("Unknown size for regclass"); 437 llvm_unreachable("Unknown size for regclass"); 448 llvm_unreachable("Unknown size for regclass"); 582 unsigned Size = 0; 587 Size += getInstSizeInBytes(*I); 589 return Size;
|
/external/llvm/lib/Target/AArch64/Disassembler/ |
AArch64Disassembler.cpp | 53 uint64_t &size, 207 DecodeStatus AArch64Disassembler::getInstruction(MCInst &MI, uint64_t &Size, 218 Size = 0; 232 Size = 4; 237 Size = 0; 620 // fields of the instruction. These also obviously determine the size of the 761 unsigned Size = fieldFromInstruction(Insn, 30, 2); 768 if (V == 0 && (Opc == 2 || Size == 3)) { 775 switch (Size) {
|
/external/llvm/lib/Target/ARM/ |
ARMMachineFunctionInfo.h | 41 /// StackAlignment == 8, and GPRs-part-size mod 8 != 0, 46 /// VarArgsRegSaveSize - Size of the register save area for vararg functions. 194 if (fi < 0 || fi >= (int)GPRCS1Frames.size()) 199 if (fi < 0 || fi >= (int)GPRCS2Frames.size()) 204 if (fi < 0 || fi >= (int)DPRCSFrames.size()) 211 int Size = GPRCS1Frames.size(); 212 if (fi >= Size) { 213 Size *= 2; 214 if (fi >= Size) [all...] |
/external/llvm/lib/Target/Mips/ |
MipsSEInstrInfo.cpp | 339 unsigned Size = STI.isABI_N64() ? 64 : 32; 347 AnalyzeImm.Analyze(Imm, Size, LastInstrIsADDiu); 350 assert(Seq.size() && (!LastInstrIsADDiu || (Seq.size() > 1)));
|
/external/llvm/lib/Transforms/Scalar/ |
DeadStoreElimination.cpp | 199 // If we don't have target data around, an unknown size in Location means 200 // that we should use the size of the pointee type. This isn't valid for 202 if (Loc.Size == AliasAnalysis::UnknownSize && AA.getDataLayout() == 0) 213 // If we don't have target data around, an unknown size in Location means 214 // that we should use the size of the pointee type. This isn't valid for 218 // FIXME: We don't know the size of the trampoline, so we can't really 320 uint64_t Size; 321 if (getObjectSize(V, Size, AA.getDataLayout(), AA.getTargetLibraryInfo())) 322 return Size; 352 if (Later.Size == AliasAnalysis::UnknownSize | [all...] |
/external/llvm/tools/llvm-objdump/ |
MachODump.cpp | 102 static void DumpDataInCode(const char *bytes, uint64_t Size, 108 switch (Size) { 309 for (unsigned SectIdx = 0; SectIdx != Sections.size(); SectIdx++) { 349 for (unsigned SymIdx = 0; SymIdx != Symbols.size(); SymIdx++) { 376 while (Symbols.size() > NextSymIdx) { 392 uint64_t Size; 398 for (uint64_t Index = Start; Index < End; Index += Size) { 422 if (DisAsm->getInstruction(Inst, Size, memoryObject, Index, 424 DumpBytes(StringRef(Bytes.data() + Index, Size)); 440 if (Size == 0 [all...] |