/external/pdfium/third_party/base/allocator/partition_allocator/ |
H A D | page_allocator.cc | 29 // On POSIX |mmap| uses a nearby address if the hint address is blocked. 37 // |VirtualAlloc| will fail if allocation at the hint address is blocked. 51 void* hint, 55 DCHECK(!(reinterpret_cast<uintptr_t>(hint) & 61 ret = VirtualAlloc(hint, length, MEM_RESERVE | MEM_COMMIT, access_flag); 68 ret = mmap(hint, length, access_flag, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); 50 SystemAllocPages( void* hint, size_t length, PageAccessibilityConfiguration page_accessibility) argument
|
/external/python/cpython3/Modules/_io/clinic/ |
H A D | iobase.c.h | 199 "readlines($self, hint=-1, /)\n" 204 "hint can be specified to control the number of lines read: no more\n" 206 "lines so far exceeds hint."); 212 _io__IOBase_readlines_impl(PyObject *self, Py_ssize_t hint); 218 Py_ssize_t hint = -1; local 221 _PyIO_ConvertSsize_t, &hint)) { 224 return_value = _io__IOBase_readlines_impl(self, hint);
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
H A D | CalcSpillWeights.cpp | 99 // Find the best physreg hist and the best virtreg hint. 103 // Don't recompute a target specific hint. 141 unsigned hint = copyHint(mi, li.reg, tri, mri); local 142 if (!hint) 144 float hweight = Hint[hint] += weight; 145 if (TargetRegisterInfo::isPhysicalRegister(hint)) { 146 if (hweight > bestPhys && LIS.isAllocatable(hint)) 147 bestPhys = hweight, hintPhys = hint; 150 bestVirt = hweight, hintVirt = hint; 156 // Always prefer the physreg hint [all...] |
/external/v8/src/compiler/ |
H A D | control-builders.cc | 14 void IfBuilder::If(Node* condition, BranchHint hint) { argument 15 builder_->NewBranch(condition, hint); 160 void BlockBuilder::BreakWhen(Node* condition, BranchHint hint) { argument 162 control_if.If(condition, hint); 170 void BlockBuilder::BreakUnless(Node* condition, BranchHint hint) { argument 172 control_if.If(condition, hint);
|
H A D | js-type-hint-lowering.cc | 5 #include "src/compiler/js-type-hint-lowering.h" 36 bool GetBinaryNumberOperationHint(NumberOperationHint* hint) { argument 39 *hint = NumberOperationHint::kSignedSmall; 42 *hint = NumberOperationHint::kSigned32; 45 *hint = NumberOperationHint::kNumberOrOddball; 55 const Operator* SpeculativeNumberOp(NumberOperationHint hint) { argument 58 return simplified()->SpeculativeNumberAdd(hint); 60 return simplified()->SpeculativeNumberSubtract(hint); 62 return simplified()->SpeculativeNumberMultiply(hint); 64 return simplified()->SpeculativeNumberDivide(hint); 137 NumberOperationHint hint; local [all...] |
/external/v8/src/ |
H A D | type-hints.h | 24 inline size_t hash_value(BinaryOperationHint hint) { argument 25 return static_cast<unsigned>(hint); 42 inline size_t hash_value(CompareOperationHint hint) { argument 43 return static_cast<unsigned>(hint);
|
H A D | feedback-vector-inl.h | 206 BinaryOperationHint hint = BinaryOperationHintFromFeedback(feedback); local 207 if (hint == BinaryOperationHint::kAny) { 210 if (hint != BinaryOperationHint::kNone) { 223 CompareOperationHint hint = local 225 if (hint == CompareOperationHint::kAny) { 228 if (hint != CompareOperationHint::kNone) {
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fBufferCopyTests.cpp | 155 deUint32 hint, 160 , m_hint (hint) 268 const deUint32 hint = GL_STATIC_DRAW; local 272 basicGroup->addChild(new BasicBufferCopyCase(m_context, name.c_str(), "", srcTarget, size, hint, dstTarget, size, hint, 0, 0, size, verify)); 306 deUint32 hint = GL_STATIC_DRAW; local 310 srcTarget, cases[ndx].srcSize, hint, 311 dstTarget, cases[ndx].dstSize, hint, 331 const deUint32 hint = GL_STATIC_DRAW; local 335 singleBufGroup->addChild(new SingleBufferCopyCase(m_context, name.c_str(), "", srcTarget, dstTarget, hint, verif 150 SingleBufferCopyCase(Context& context, const char* name, const char* desc, deUint32 srcTarget, deUint32 dstTarget, deUint32 hint, VerifyType verifyType) argument [all...] |
H A D | es3fBufferMapTests.cpp | 613 const deUint32 hint = GL_STATIC_READ; local 618 writeGroup->addChild(new BufferMapReadCase(m_context, (string(getBufferTargetName(target)) + "_full").c_str(), "", target, hint, size, 0, size, write)); 619 writeGroup->addChild(new BufferMapReadCase(m_context, (string(getBufferTargetName(target)) + "_partial").c_str(), "", target, hint, size, partialOffs, partialSize, write)); 633 deUint32 hint = usageHints[hintNdx]; local 635 string name = string(getBufferTargetName(target)) + "_" + getUsageHintName(hint); 637 hintsGroup->addChild(new BufferMapReadCase(m_context, name.c_str(), "", target, hint, size, 0, size, WRITE_BUFFER_SUB_DATA)); 658 deUint32 hint = GL_STATIC_DRAW; local 662 string name = string(getBufferTargetName(target)) + "_" + getUsageHintName(hint); 664 useGroup->addChild(new BufferMapWriteCase (m_context, (string(getBufferTargetName(target)) + "_full").c_str(), "", target, hint, size, verify)); 665 useGroup->addChild(new BufferPartialMapWriteCase (m_context, (string(getBufferTargetName(target)) + "_partial").c_str(), "", target, hint, siz 679 deUint32 hint = usageHints[hintNdx]; local 696 deUint32 hint = GL_STATIC_DRAW; local 711 deUint32 hint = GL_STATIC_DRAW; local 726 deUint32 hint = GL_STATIC_DRAW; local 741 deUint32 hint = GL_STATIC_DRAW; local 763 deUint32 hint = GL_STATIC_DRAW; local 784 deUint32 hint = usageHints[hintNdx]; local [all...] |
/external/dng_sdk/source/ |
H A D | dng_matrix.cpp | 1057 const dng_matrix &hint) 1061 A.Rows () != hint.Cols () || 1062 A.Cols () != hint.Rows ()) 1072 // Use the specified hint matrix. 1074 return Invert (hint * A) * hint; 1056 Invert(const dng_matrix &A, const dng_matrix &hint) argument
|
/external/llvm/lib/CodeGen/ |
H A D | CalcSpillWeights.cpp | 141 // Find the best physreg hint and the best virtreg hint. 145 // Don't recompute a target specific hint. 185 unsigned hint = copyHint(mi, li.reg, tri, mri); local 186 if (!hint) 192 volatile float hweight = Hint[hint] += weight; 193 if (TargetRegisterInfo::isPhysicalRegister(hint)) { 194 if (hweight > bestPhys && mri.isAllocatable(hint)) { 196 hintPhys = hint; 201 hintVirt = hint; [all...] |
/external/python/cpython2/Mac/Modules/ |
H A D | icgluemodule.c | 232 "(hint, data, selStart, selEnd, handle)->selStart, selEnd; Find a URL, return in handle" 239 Str255 hint; local 245 if (!PyArg_ParseTuple(args, "O&s#llO&", PyMac_GetStr255, hint, &data, &datalen, 248 if ((err=ICParseURL(self->inst, hint, (Ptr)data, (long)datalen, 256 "(hint, data, selStart, selEnd)->None; Find a URL and launch the correct app" 263 Str255 hint; local 268 if (!PyArg_ParseTuple(args, "O&s#ll", PyMac_GetStr255, hint, &data, &datalen, 271 if ((err=ICLaunchURL(self->inst, hint, (Ptr)data, (long)datalen,
|
/external/sfntly/cpp/src/sfntly/table/core/ |
H A D | font_header_table.cc | 237 void FontHeaderTable::Builder::SetFontDirectionHint(int32_t hint) { argument 238 InternalWriteData()->WriteShort(Offset::kFontDirectionHint, hint);
|
/external/skia/gm/ |
H A D | readpixels.cpp | 131 SkImage::CachingHint hint) { 137 if (!image->readPixels(dstInfo, data->writable_data(), rowBytes, 0, 0, hint)) { 266 for (SkImage::CachingHint hint : hints) { 268 hint); 332 for (SkImage::CachingHint hint : hints) { 334 dstColorSpace, hint); 129 draw_image(SkCanvas* canvas, SkImage* image, SkColorType dstColorType, SkAlphaType dstAlphaType, sk_sp<SkColorSpace> dstColorSpace, SkImage::CachingHint hint) argument
|
/external/skqp/gm/ |
H A D | readpixels.cpp | 130 SkImage::CachingHint hint) { 136 if (!image->readPixels(dstInfo, data->writable_data(), rowBytes, 0, 0, hint)) { 265 for (SkImage::CachingHint hint : hints) { 267 hint); 331 for (SkImage::CachingHint hint : hints) { 333 dstColorSpace, hint); 128 draw_image(SkCanvas* canvas, SkImage* image, SkColorType dstColorType, SkAlphaType dstAlphaType, sk_sp<SkColorSpace> dstColorSpace, SkImage::CachingHint hint) argument
|
/external/v8/src/builtins/ |
H A D | builtins-conversion.cc | 14 Handle<Code> Builtins::NonPrimitiveToPrimitive(ToPrimitiveHint hint) { argument 15 switch (hint) { 31 ToPrimitiveHint hint) { 56 // representation of the {hint}. 60 assembler->factory()->ToPrimitiveHintString(hint)); 93 assembler->isolate(), (hint == ToPrimitiveHint::kString) 215 Handle<Code> Builtins::OrdinaryToPrimitive(OrdinaryToPrimitiveHint hint) { argument 216 switch (hint) { 228 // 7.1.1.1 OrdinaryToPrimitive ( O, hint ) 230 OrdinaryToPrimitiveHint hint) { 30 Generate_NonPrimitiveToPrimitive(CodeStubAssembler* assembler, ToPrimitiveHint hint) argument 229 Generate_OrdinaryToPrimitive(CodeStubAssembler* assembler, OrdinaryToPrimitiveHint hint) argument [all...] |
/external/ImageMagick/MagickCore/ |
H A D | distribute-cache.c | 197 hint, 219 (void) ResetMagickMemory(&hint,0,sizeof(hint)); 220 hint.ai_family=AF_INET; 221 hint.ai_socktype=SOCK_STREAM; 222 hint.ai_flags=AI_PASSIVE; 224 status=getaddrinfo(hostname,service,&hint,&result); 923 hint, 937 (void) ResetMagickMemory(&hint,0,sizeof(hint)); 194 hint, local 918 hint, local [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
H A D | antlr3commontreenodestream.c | 116 antlr3CommonTreeNodeStreamNewTree(pANTLR3_BASE_TREE tree, ANTLR3_UINT32 hint) argument 120 stream = antlr3CommonTreeNodeStreamNew(tree->strFactory, hint); 270 antlr3CommonTreeNodeStreamNew(pANTLR3_STRING_FACTORY strFactory, ANTLR3_UINT32 hint) argument 376 if (hint == 0) 378 hint = DEFAULT_INITIAL_BUFFER_SIZE; 380 stream->nodes = antlr3VectorNew(hint);
|
H A D | antlr3tokenstream.c | 206 antlr3CommonTokenDebugStreamSourceNew(ANTLR3_UINT32 hint, pANTLR3_TOKEN_SOURCE source, pANTLR3_DEBUG_EVENT_LISTENER debugger) argument 212 stream = antlr3CommonTokenStreamSourceNew(hint, source); 235 antlr3CommonTokenStreamSourceNew(ANTLR3_UINT32 hint, pANTLR3_TOKEN_SOURCE source) argument 239 stream = antlr3CommonTokenStreamNew(hint); 254 antlr3CommonTokenStreamNew(ANTLR3_UINT32 hint) argument
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fBufferTestUtil.cpp | 149 const char* getUsageHintName (deUint32 hint) argument 151 switch (hint)
|
/external/freetype/src/psaux/ |
H A D | pshints.h | 64 * rebuilt each time there is a hint substitution (HintMask operator) in 111 * operation (beginning with a Move operator) and at each hint 151 cf2_hint_isValid( const CF2_Hint hint ); variable 153 cf2_hint_isTop( const CF2_Hint hint ); variable 155 cf2_hint_isBottom( const CF2_Hint hint ); variable 157 cf2_hint_lock( CF2_Hint hint ); variable 189 CF2_HintMapRec hintMap; /* current hint map */ 193 CF2_ArrStackRec hintMoves; /* list of hint moves for 2nd pass */
|
/external/libdrm/amdgpu/ |
H A D | util_hash.c | 57 primeForNumBits(n) >= hint. 59 static int countBits(int hint) argument 62 int bits = hint; 71 } else if (primeForNumBits(numBits) < hint) { 129 static void util_data_rehash(struct util_hash_data *hash, int hint) argument 131 if (hint < 0) { 132 hint = countBits(-hint); 133 if (hint < MinNumBits) 134 hint [all...] |
/external/libevent/ |
H A D | bufferevent_sock.c | 504 struct evutil_addrinfo hint; local 513 memset(&hint, 0, sizeof(hint)); 514 hint.ai_family = family; 515 hint.ai_protocol = IPPROTO_TCP; 516 hint.ai_socktype = SOCK_STREAM; 528 portbuf, &hint, bufferevent_connect_getaddrinfo_cb, bev);
|
/external/mesa3d/src/gallium/auxiliary/cso_cache/ |
H A D | cso_hash.c | 56 primeForNumBits(n) >= hint. 58 static int countBits(int hint) argument 61 int bits = hint; 70 } else if (primeForNumBits(numBits) < hint) { 128 static void cso_data_rehash(struct cso_hash_data *hash, int hint) argument 130 if (hint < 0) { 131 hint = countBits(-hint); 132 if (hint < MinNumBits) 133 hint [all...] |
/external/python/cpython2/Modules/_io/ |
H A D | iobase.c | 585 "hint can be specified to control the number of lines read: no more\n" 587 "lines so far exceeds hint."); 592 Py_ssize_t hint = -1, length = 0; local 595 if (!PyArg_ParseTuple(args, "|O&:readlines", &_PyIO_ConvertSsize_t, &hint)) { 603 if (hint <= 0) { 635 if (length > hint)
|