/external/chromium_org/third_party/lzma_sdk/ |
7zIn.c | 176 #define MY_ALLOC(T, p, size, alloc) { if ((size) == 0) p = 0; else \ 177 if ((p = (T *)IAlloc_Alloc(alloc, (size) * sizeof(T))) == 0) return SZ_ERROR_MEM; } 253 UInt64 size = 0; local 257 UInt64 t = size + p->db.PackSizes[packStreamIndex + i]; 258 if (t < size) /* check it */ 260 size = t; 262 *resSize = size; 272 RINOK(ReadBoolVector2(files.Size(), boolVector)) 277 for (int i = 0; i < files.Size(); i++ 399 UInt64 size; local 787 UInt64 size; local 998 UInt64 size; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
radeon_code.h | 78 unsigned Size:3;
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
deep-heap-profile.cc | 194 // Calculate the size of the allocation part in this page. 449 int DeepHeapProfile::TextBuffer::Size() { [all...] |
/external/chromium_org/third_party/webrtc/base/ |
httpcommon.cc | 56 static size_t Size; 61 if (!find_string(index, name, Names, Size)) 79 template<> size_t Enum<e>::Size = sizeof(n)/sizeof(n[0]) 239 for (size_t i=0; i<attributes.size(); ++i) { 320 if (index >= attributes.size()) 506 HttpRequestData::formatLeader(char* buffer, size_t size) const { 508 return sprintfn(buffer, size, "%s %.*s HTTP/%s", ToString(verb), path.size(), 624 HttpResponseData::formatLeader(char* buffer, size_t size) const { 625 size_t len = sprintfn(buffer, size, "HTTP/%s %lu", ToString(version), scode) [all...] |
/external/chromium_org/ui/views/layout/ |
grid_layout.cc | 20 // A LayoutElement has a size and location along one axis. It contains 43 location += (*i)->Size(); 81 element->SetSize(element->Size() + to_give); 86 // Returns the sum of the size of the elements from start to start + length. 90 start + length <= static_cast<int>(elements->size())); 91 int size = 0; local 93 size += (*elements)[i]->Size(); 95 return size; 113 // Adjusts the size of this LayoutElement to be the max of the current siz 240 int size = 0; local [all...] |
/external/clang/include/clang/AST/ |
TypeLoc.h | 98 /// \brief Returns the size of type source info data block for the given type. 138 /// \brief Returns the size of the type source info data block. 167 size_t Size = getFullDataSize(); 168 memcpy(getOpaqueData(), Other.getOpaqueData(), Size); 172 /// TypeLoc of the same type. The given size must be the full data 173 /// size. 174 void initializeFullCopy(TypeLoc Other, unsigned Size) const { 176 assert(getFullDataSize() == Size); 177 memcpy(getOpaqueData(), Other.getOpaqueData(), Size); 256 /// \brief Returns the size of the type source info data block that i 335 unsigned size = sizeof(LocalData); local 367 unsigned size = sizeof(LocalData); local [all...] |
/external/clang/include/clang/Frontend/ |
ASTUnit.h | 202 size_t size() const { return Buffer.size(); } function in class:clang::ASTUnit::PreambleData 216 return SourceRange(FileLoc, FileLoc.getLocWithOffset(size()-1)); 229 /// All files have size set. 230 off_t Size; 241 static PreambleFileHash createForFile(off_t Size, time_t ModTime); 266 /// preamble, with both their buffer size and their modification time. 555 return TopLevelDeclsInPreamble.size() + TopLevelDecls.size(); 641 unsigned stored_diag_size() const { return StoredDiagnostics.size(); } [all...] |
/external/clang/lib/AST/ |
DeclObjC.cpp | 340 data().AllReferencedProtocols.set(ProtocolRefs.data(), ProtocolRefs.size(),C); 688 NumParams = Params.size(); 692 unsigned Size = sizeof(ParmVarDecl *) * NumParams + 693 sizeof(SourceLocation) * SelLocs.size(); 694 ParamsAndSelLocs = C.Allocate(Size); [all...] |
ExprCXX.cpp | 78 for (unsigned I = 0, N = TAL.size(); I != N; ++I) { 159 AllocateArgsArray(C, arraySize != nullptr, placementArgs.size(), 182 for (unsigned j = 0; j != placementArgs.size(); ++j) { 302 unsigned num_args = Args ? Args->size() : 0; 315 std::size_t size = sizeof(UnresolvedLookupExpr); local 317 size += ASTTemplateKWAndArgsInfo::sizeFor(NumTemplateArgs); 319 void *Mem = C.Allocate(size, llvm::alignOf<UnresolvedLookupExpr>()); 459 std::size_t size = sizeof(DependentScopeDeclRefExpr); local 461 size += ASTTemplateKWAndArgsInfo::sizeFor(Args->size()); 473 std::size_t size = sizeof(DependentScopeDeclRefExpr); local 1117 size_t size = sizeof(ExprWithCleanups) local 1131 size_t size = sizeof(ExprWithCleanups) + numObjects * sizeof(CleanupObject); local 1258 std::size_t size = sizeof(CXXDependentScopeMemberExpr) local 1364 std::size_t size = sizeof(UnresolvedMemberExpr); local 1381 std::size_t size = sizeof(UnresolvedMemberExpr); local [all...] |
Stmt.cpp | 33 unsigned Size; 46 StmtClassInfo[(unsigned)Stmt::CLASS##Class].Size = sizeof(CLASS); 77 << StmtClassInfo[i].Name << ", " << StmtClassInfo[i].Size 78 << " each (" << StmtClassInfo[i].Counter*StmtClassInfo[i].Size 80 sum += StmtClassInfo[i].Counter*StmtClassInfo[i].Size; 258 CompoundStmtBits.NumStmts = Stmts.size(); 259 assert(CompoundStmtBits.NumStmts == Stmts.size() && 262 if (Stmts.size() == 0) { 267 Body = new (C) Stmt*[Stmts.size()]; 289 void *Mem = C.Allocate(sizeof(AttributedStmt) + sizeof(Attr *) * Attrs.size(), 667 size_t size = str.size(); local [all...] |
/external/clang/lib/CodeGen/ |
CGAtomic.cpp | 77 /// Is the atomic size larger than the underlying value type? 90 CharUnits size = CGF.getContext().toCharUnitsFromBits(AtomicSizeInBits); local 91 return CGF.CGM.getSize(size); 146 // If the atomic type has size padding, we definitely need a memset. 151 // For scalars and complexes, check whether the store size of the 152 // type uses the full size. 180 uint64_t Size, unsigned Align, 234 uint64_t Size, unsigned Align, 255 emitAtomicCmpXchg(CGF, E, IsWeak, Dest, Ptr, Val1, Val2, Size, Align, 280 Size, Align, SuccessOrder, llvm::Monotonic) [all...] |
CGExprAgg.cpp | 291 llvm::Value *size = llvm::ConstantInt::get(CGF.SizeTy, sz.getQuantity()); local 295 size); 354 llvm::Value *Size = Builder.getInt(ArrayType->getSize()); 360 llvm::Value *IdxEnd[] = { Zero, Size }; 366 CGF.EmitStoreThroughLValue(RValue::get(Size), EndOrLength); 1463 CharUnits size = TypeInfo.first; local 1474 CharUnits size = TypeInfo.first; local [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_linux.cc | 155 uptr internal_ftruncate(fd_t fd, uptr size) { 157 HANDLE_EINTR(res, (sptr)internal_syscall(SYSCALL(ftruncate), fd, size)); 469 // The actual size of this structure is specified by d_reclen. 661 buffer_.size()); 694 size_t Size = buf_len; 695 bool IsErr = (sysctl(Mib, 4, buf, &Size, NULL, 0) != 0); 697 uptr module_name_len = Size; 858 void GetExtraActivationFlags(char *buf, uptr size) { 859 CHECK(size > PROP_VALUE_MAX);
|
/external/deqp/modules/gles2/functional/ |
es2fShaderMatrixTests.cpp | 650 // \note At the moment there is no difference between uniform and const inputs. This saves binary size. 701 template <int Size> 702 void writeVectorConstructor (std::ostream& str, const tcu::Vector<float, Size>& v) 704 str << "vec" << Size << "("; 705 for (int ndx = 0; ndx < Size; ndx++) [all...] |
/external/jhead/ |
jhead.h | 56 unsigned Size; 65 // Buffer size must large enough to hold maximum location string 124 unsigned ThumbnailSize; // Size of thumbnail. 260 Section_t * CreateSection(int SectionType, unsigned char * Data, int size);
|
/external/llvm/include/llvm/MC/ |
MCInstrDesc.h | 143 unsigned short Size; // Number of bytes in encoding. 422 /// is the same speed as the shift but has bigger code size. 581 /// or zero if the encoding size cannot be known from the opcode. 583 return Size;
|
/external/llvm/include/llvm/Object/ |
ELF.h | 44 if (Object.size() < ELF::EI_NIDENT) 255 DynRegionInfo() : Addr(nullptr), Size(0), EntSize(0) {} 258 /// \brief Size in bytes of the region. 259 uintX_t Size; 260 /// \brief Size of each entity in the region. 345 /// the section size. 361 (const char *)DynSymRegion.Addr + DynSymRegion.Size, 437 unsigned vd_size = sec->sh_size; // Size of section in bytes 451 if (index >= VersionMap.size()) 462 unsigned vn_size = sec->sh_size; // Size of section in byte [all...] |
/external/llvm/include/llvm/Support/ |
FileSystem.h | 170 uid_t UID, gid_t GID, off_t Size) 172 fs_st_gid(GID), fs_st_size(Size), Type(Type), Perms(Perms) {} 344 /// @brief Resize path to size. File is resized as if by POSIX truncate(). 347 /// @param size Size to resize to. 348 /// @returns errc::success if \a path has been resized to \a size, otherwise a 350 std::error_code resize_file(const Twine &path, uint64_t size); 495 /// @brief Get file size. 498 /// @param Result Set to the size of the file in \a Path. 643 uint64_t Size; [all...] |
/external/llvm/lib/CodeGen/ |
MachineInstr.cpp | 434 : PtrInfo(ptrinfo), Size(s), 448 ID.AddInteger(Size); 454 // The Value and Offset may differ due to CSE. But the flags and size 457 assert(MMO->getSize() == getSize() && "Size mismatch!"); [all...] |
MachineVerifier.cpp | 185 return Reg < regsReserved.size() && regsReserved.test(Reg); 477 if (MInfo.Preds.size() != MBB.pred_size()) 481 if (MInfo.Succs.size() != MBB.succ_size()) 548 if (LandingPadSuccs.size() > 1 && 569 } else if (MBB->succ_size() == LandingPadSuccs.size()) { 573 } else if (MBB->succ_size() != 1+LandingPadSuccs.size()) { 591 if (MBB->succ_size() != 1+LandingPadSuccs.size()) { [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
FastISel.cpp | [all...] |
LegalizeFloatTypes.cpp | 12 // type into a computation in an integer type of the same size; also known as 146 unsigned Size = NVT.getSizeInBits(); 148 // Mask = ~(1 << (Size-1)) 149 APInt API = APInt::getAllOnesValue(Size); 150 API.clearBit(Size-1); [all...] |
/external/llvm/lib/ExecutionEngine/ |
ExecutionEngine.cpp | 86 for (unsigned i = 0, e = Modules.size(); i != e; ++i) 143 for (unsigned i = 0, e = Modules.size(); i != e; ++i) { 265 for (size_t I = 0, E = Values.size(); I != E; ++I) { 280 Array = new char[(InputArgv.size()+1)*PtrSize]; 285 for (unsigned i = 0; i != InputArgv.size(); ++i) { 286 unsigned Size = InputArgv[i].size()+1; 287 char *Dest = new char[Size]; 292 Dest[Size-1] = 0; 301 (GenericValue*)(Array+InputArgv.size()*PtrSize) [all...] |
/external/llvm/lib/ExecutionEngine/JIT/ |
JITEmitter.cpp | 284 // the estimated size of the function we're trying to JIT here, so we can 386 size_t Size, unsigned Alignment) override; 389 /// allocate a new one of the given size. 390 void *allocateSpace(uintptr_t Size, unsigned Alignment) override; 395 void *allocateGlobal(uintptr_t Size, unsigned Alignment) override; 402 if (MBBLocations.size() <= (unsigned)MBB->getNumber()) 417 assert(MBBLocations.size() > (unsigned)MBB->getNumber() && 423 /// given function. Increase the minimum allocation size so that we get 528 JE.startGVStub(F, SL.Size, SL.Alignment); 591 JE.startGVStub(nullptr, SL.Size, SL.Alignment) [all...] |
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldMachO.cpp | 187 for (int i = 0, e = UnregisteredEHFrameSections.size(); i != e; ++i) { 204 unsigned char *End = P + EHFrame->Size; 210 EHFrame->Size); 276 << " Size: " << (1 << RE.Size) << "\n"; 315 1 << RE.Size); 323 return applyRelocationValue(LocalAddress, Value, 1 << RE.Size); 353 return applyRelocationValue(LocalAddress, Value + RE.Addend, 1 << RE.Size); 382 return applyRelocationValue(LocalAddress, Value, 1 << RE.Size); 431 return applyRelocationValue(LocalAddress, Value, 1 << RE.Size); [all...] |