/third_party/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_heap.c | 30 unsigned start, unsigned size) in nouveau_heap_init() 39 r->size = size; in nouveau_heap_init() 54 nouveau_heap_alloc(struct nouveau_heap *heap, unsigned size, void *priv, in nouveau_heap_alloc() argument 59 if (!heap || !size || !res || *res) in nouveau_heap_alloc() 63 if (!heap->in_use && heap->size >= size) { in nouveau_heap_alloc() 68 r->start = (heap->start + heap->size) - size; in nouveau_heap_alloc() 69 r->size in nouveau_heap_alloc() 29 nouveau_heap_init(struct nouveau_heap **heap, unsigned start, unsigned size) nouveau_heap_init() argument [all...] |
/third_party/node/deps/npm/node_modules/safer-buffer/ |
H A D | dangerous.js | 35 Dangereous.allocUnsafe = function (size) { 36 if (typeof size !== 'number') { 37 throw new TypeError('The "size" argument must be of type number. Received type ' + typeof size) 39 if (size < 0 || size >= 2 * (1 << 30)) { 40 throw new RangeError('The value "' + size + '" is invalid for option "size"') 42 return Buffer(size) 47 Dangereous.allocUnsafeSlow = function (size) { [all...] |
/third_party/lzma/CPP/7zip/Common/ |
H A D | StreamBinder.cpp | 19 Z7_COM7F_IMF(CBinderInStream::Read(void *data, UInt32 size, UInt32 *processedSize))
20 { return _binder->Read(data, size, processedSize); }
33 Z7_COM7F_IMF(CBinderOutStream::Write(const void *data, UInt32 size, UInt32 *processedSize))
34 { return _binder->Write(data, size, processedSize); }
72 HRESULT CStreamBinder::Read(void *data, UInt32 size, UInt32 *processedSize)
76 if (size != 0)
85 if (size > _bufSize)
86 size = _bufSize;
87 if (size != 0)
89 memcpy(data, _buf, size);
[all...] |
H A D | FilterCoder.cpp | 23 void CAlignedMidBuffer::AllocAligned(size_t size)
in AllocAligned() argument 26 _buf = (Byte *)ISzAlloc_Alloc(&alignedMidBuffer_Alloc, size);
in AllocAligned() 31 So we call IFilter::Filter(, size), where (size != 16 * N) only for last data block.
33 AES-CBC filters need data size aligned for 16-bytes.
39 Most filters process all data, if we send aligned size to filter.
40 But BCJ filter can process up 4 bytes less than sent size.
41 And ARMT filter can process 2 bytes less than sent size.
47 Z7_COM7F_IMF(CFilterCoder::SetInBufSize(UInt32 , UInt32 size)) { _inBufSize = size; retur argument 48 SetOutBufSize(UInt32 , UInt32 size) SetOutBufSize() argument 52 UInt32 size = MyMin(_inBufSize, _outBufSize); Alloc() local 206 UInt32 size = filterPos; Code() local 334 Write(const void *data, UInt32 size, UInt32 *processedSize) Write() argument 458 Read(void *data, UInt32 size, UInt32 *processedSize) Read() argument 540 CryptoSetPassword(const Byte *data, UInt32 size) CryptoSetPassword() argument 543 SetKey(const Byte *data, UInt32 size) SetKey() argument 546 SetInitVector(const Byte *data, UInt32 size) SetInitVector() argument 576 SetDecoderProperties2(const Byte *data, UInt32 size) SetDecoderProperties2() argument [all...] |
H A D | StreamObjects.cpp | 9 Z7_COM7F_IMF(CBufferInStream::Read(void *data, UInt32 size, UInt32 *processedSize))
in Read() argument 13 if (size == 0)
in Read() 18 if (rem > size)
in Read() 19 rem = (size_t)size;
in Read() 44 Z7_COM7F_IMF(CBufInStream::Read(void *data, UInt32 size, UInt32 *processedSize))
in Read() argument 48 if (size == 0)
in Read() 53 if (rem > size)
in Read() 54 rem = (size_t)size;
in Read() 79 void Create_BufInStream_WithReference(const void *data, size_t size, IUnknown *ref, ISequentialInStream **stream)
in Create_BufInStream_WithReference() argument 84 inStreamSpec->Init((const Byte *)data, size, re in Create_BufInStream_WithReference() 88 Create_BufInStream_WithNewBuffer(const void *data, size_t size, ISequentialInStream **stream) Create_BufInStream_WithNewBuffer() argument 135 Write(const void *data, UInt32 size, UInt32 *processedSize) Write() argument 151 Write(const void *data, UInt32 size, UInt32 *processedSize) Write() argument 166 Write(const void *data, UInt32 size, UInt32 *processedSize) Write() argument 212 Init(UInt64 size) Init() argument 221 Read(void *data, UInt32 size, UInt32 *processedSize) Read() argument [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | auth-cookie.c | 40 size_t size; member 43 pa_auth_cookie* pa_auth_cookie_get(pa_core *core, const char *cn, bool create, size_t size) { in pa_auth_cookie_get() argument 48 pa_assert(size > 0); in pa_auth_cookie_get() 56 if (c->size != size) in pa_auth_cookie_get() 62 c = pa_xmalloc(PA_ALIGN(sizeof(pa_auth_cookie)) + size); in pa_auth_cookie_get() 66 c->size = size; in pa_auth_cookie_get() 70 if (pa_authkey_load(cn, create, (uint8_t*) c + PA_ALIGN(sizeof(pa_auth_cookie)), size) < 0) { in pa_auth_cookie_get() 78 pa_auth_cookie *pa_auth_cookie_create(pa_core *core, const void *data, size_t size) { in pa_auth_cookie_create() argument 133 pa_auth_cookie_read(pa_auth_cookie *c, size_t size) pa_auth_cookie_read() argument [all...] |
/third_party/elfutils/backends/ |
H A D | ia64_retval.c | 52 #define DEFINE_FPREG(size) \ 53 static const Dwarf_Op loc_fpreg_##size[] = \ 56 { .atom = DW_OP_piece, .number = size }, \ 58 { .atom = DW_OP_piece, .number = size }, \ 60 { .atom = DW_OP_piece, .number = size }, \ 62 { .atom = DW_OP_piece, .number = size }, \ 64 { .atom = DW_OP_piece, .number = size }, \ 66 { .atom = DW_OP_piece, .number = size }, \ 68 { .atom = DW_OP_piece, .number = size }, \ 70 { .atom = DW_OP_piece, .number = size }, \ 106 hfa_type(Dwarf_Die *typedie, Dwarf_Word size, const Dwarf_Op **locp, int fpregs_used) hfa_type() argument [all...] |
/third_party/libuv/src/unix/ |
H A D | openbsd.c | 50 size_t size = sizeof(info); in uv_loadavg() local 53 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0) < 0) return; in uv_loadavg() 61 int uv_exepath(char* buffer, size_t* size) { in uv_exepath() argument 69 if (buffer == NULL || size == NULL || *size == 0) in uv_exepath() 97 *size -= 1; in uv_exepath() 99 if (*size > exepath_size) in uv_exepath() 100 *size = exepath_size; in uv_exepath() 102 memcpy(buffer, argsbuf[0], *size); in uv_exepath() 103 buffer[*size] in uv_exepath() 115 size_t size = sizeof(info); uv_get_free_memory() local 128 size_t size = sizeof(info); uv_get_total_memory() local 150 size_t size = sizeof(struct kinfo_proc); uv_resident_set_memory() local 171 size_t size = sizeof(info); uv_uptime() local 192 size_t size; uv_cpu_info() local [all...] |
H A D | freebsd.c | 59 int uv_exepath(char* buffer, size_t* size) { in uv_exepath() argument 64 if (buffer == NULL || size == NULL || *size == 0) in uv_exepath() 78 *size -= 1; in uv_exepath() 80 if (*size > abspath_size) in uv_exepath() 81 *size = abspath_size; in uv_exepath() 83 memcpy(buffer, abspath, *size); in uv_exepath() 84 buffer[*size] = '\0'; in uv_exepath() 91 size_t size = sizeof(freecount); in uv_get_free_memory() local 93 if (sysctlbyname("vm.stats.vm.v_free_count", &freecount, &size, NUL in uv_get_free_memory() 105 size_t size = sizeof(info); uv_get_total_memory() local 126 size_t size = sizeof(info); uv_loadavg() local 188 size_t size; uv_cpu_info() local [all...] |
/third_party/libdrm/intel/ |
H A D | mm.c | 42 p->size, p->free ? 'F' : '.', in mmDumpMemInfo() 50 p->size, p->free ? 'F' : '.', in mmDumpMemInfo() 58 drm_private struct mem_block *mmInit(int ofs, int size) in mmInit() argument 62 if (size <= 0) in mmInit() 87 block->size = size; in mmInit() 94 int startofs, int size, in SliceBlock() 106 newblock->size = p->size - (startofs - p->ofs); in SliceBlock() 120 p->size in SliceBlock() 93 SliceBlock(struct mem_block *p, int startofs, int size, int reserved, int alignment) SliceBlock() argument 163 mmAllocMem(struct mem_block *heap, int size, int align2, int startSearch) mmAllocMem() argument [all...] |
/third_party/mesa3d/src/vulkan/util/ |
H A D | vk_alloc.h | 45 size_t size, size_t align, in vk_alloc() 48 return alloc->pfnAllocation(alloc->pUserData, size, align, scope); in vk_alloc() 53 size_t size, size_t align, in vk_zalloc() 56 void *mem = vk_alloc(alloc, size, align, scope); in vk_zalloc() 60 memset(mem, 0, size); in vk_zalloc() 67 void *ptr, size_t size, size_t align, in vk_realloc() 70 return alloc->pfnReallocation(alloc->pUserData, ptr, size, align, scope); in vk_realloc() 89 size_t size = strlen(s) + 1; in vk_strdup() 90 char *copy = (char *)vk_alloc(alloc, size, 1, scope); in vk_strdup() 94 memcpy(copy, s, size); in vk_strdup() 44 vk_alloc(const VkAllocationCallbacks *alloc, size_t size, size_t align, VkSystemAllocationScope scope) vk_alloc() argument 52 vk_zalloc(const VkAllocationCallbacks *alloc, size_t size, size_t align, VkSystemAllocationScope scope) vk_zalloc() argument 66 vk_realloc(const VkAllocationCallbacks *alloc, void *ptr, size_t size, size_t align, VkSystemAllocationScope scope) vk_realloc() argument 104 size_t size = u_printf_length(fmt, args) + 1; vk_vasprintf() local 126 vk_alloc2(const VkAllocationCallbacks *parent_alloc, const VkAllocationCallbacks *alloc, size_t size, size_t align, VkSystemAllocationScope scope) vk_alloc2() argument 138 vk_zalloc2(const VkAllocationCallbacks *parent_alloc, const VkAllocationCallbacks *alloc, size_t size, size_t align, VkSystemAllocationScope scope) vk_zalloc2() argument 180 size_t size; global() member 191 vk_multialloc_add_size_align(struct vk_multialloc *ma, void **ptr, size_t size, size_t align) vk_multialloc_add_size_align() argument [all...] |
/third_party/node/deps/uv/src/unix/ |
H A D | openbsd.c | 50 size_t size = sizeof(info); in uv_loadavg() local 53 if (sysctl(which, ARRAY_SIZE(which), &info, &size, NULL, 0) < 0) return; in uv_loadavg() 61 int uv_exepath(char* buffer, size_t* size) { in uv_exepath() argument 69 if (buffer == NULL || size == NULL || *size == 0) in uv_exepath() 97 *size -= 1; in uv_exepath() 99 if (*size > exepath_size) in uv_exepath() 100 *size = exepath_size; in uv_exepath() 102 memcpy(buffer, argsbuf[0], *size); in uv_exepath() 103 buffer[*size] in uv_exepath() 115 size_t size = sizeof(info); uv_get_free_memory() local 128 size_t size = sizeof(info); uv_get_total_memory() local 145 size_t size = sizeof(struct kinfo_proc); uv_resident_set_memory() local 166 size_t size = sizeof(info); uv_uptime() local 187 size_t size; uv_cpu_info() local [all...] |
/third_party/cups-filters/fontembed/ |
H A D | embed_pdf.c | 229 int size=0,in_region=0; // current number of elements in after region start in emb_pdf_fw_cidwidths() local 231 // first pass: find continuous regions, calculate needed size, estimate dw in emb_pdf_fw_cidwidths() 245 size+=2; // len c in emb_pdf_fw_cidwidths() 249 size+=in_region; in emb_pdf_fw_cidwidths() 253 size+=in_region; in emb_pdf_fw_cidwidths() 262 EMB_PDF_FONTWIDTHS *ret=emb_pdf_fw_new(size+1); in emb_pdf_fw_cidwidths() 271 size=0; in emb_pdf_fw_cidwidths() 281 if ( (w==default_width)&&(ret->warray[size-1]==default_width) ) { // omit this and prev entry in emb_pdf_fw_cidwidths() 282 size--; in emb_pdf_fw_cidwidths() 286 (ret->warray[size in emb_pdf_fw_cidwidths() 373 int len,size; emb_pdf_simple_fontdescr() local 534 int len,size; emb_pdf_simple_cidfont() local 575 int len,size; emb_pdf_simple_stdfont() local [all...] |
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | CodedInputStream.java | 83 /** Create a new CodedInputStream wrapping the given InputStream, with a specified buffer size. */ 112 // Total size of the input in newInstance() 399 * <p>Set the maximum message size. In order to prevent malicious messages from exhausting memory 402 * harming your app's functionality. Note that size limits only apply when reading from an {@code 406 * #resetSizeCounter()} after each one to avoid hitting the size limit. 450 * Resets the current size counter to zero (see {@link #setSizeLimit(int)}). Only valid for {@link 506 * Read a fixed size of bytes from the input. 510 public abstract byte[] readRawBytes(final int size) throws IOException; in readRawBytes() argument 513 * Reads and discards {@code size} bytes. 517 public abstract void skipRawBytes(final int size) throw argument 2818 readRawBytes(final int size) readRawBytes() argument 2836 readRawBytesSlowPath( final int size, boolean ensureNoLeakedReferences) readRawBytesSlowPath() argument 2882 readRawBytesSlowPathOneChunk(final int size) readRawBytesSlowPathOneChunk() argument 2973 readBytesSlowPath(final int size) readBytesSlowPath() argument 3013 skipRawBytes(final int size) skipRawBytes() argument 3026 skipRawBytesSlowPath(final int size) skipRawBytesSlowPath() argument 3141 IterableDirectByteBufferDecoder( Iterable<ByteBuffer> inputBufs, int size, boolean immutableFlag) IterableDirectByteBufferDecoder() argument [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | rtpenc.c | 152 av_log(s1, AV_LOG_ERROR, "Max packet size %u too low\n", s1->packet_size); in rtp_write_header() 250 av_log(s1, AV_LOG_ERROR, "Incorrect iLBC block size specified\n"); in rtp_write_header() 264 av_log(s1, AV_LOG_ERROR, "RTP max payload size too small for AMR\n"); in rtp_write_header() 338 av_log(s1, AV_LOG_TRACE, "rtp_send_data size=%d\n", len); in ff_rtp_send_data() 358 const uint8_t *buf1, int size, int sample_size_bits) in rtp_send_samples() 367 if ((sample_size_bits % 8) == 0 && ((8 * size) % sample_size_bits) != 0) in rtp_send_samples() 370 while (size > 0) { in rtp_send_samples() 372 len = FFMIN(max_packet_size, size); in rtp_send_samples() 378 size -= len; in rtp_send_samples() 387 const uint8_t *buf1, int size) in rtp_send_mpegaudio() 357 rtp_send_samples(AVFormatContext *s1, const uint8_t *buf1, int size, int sample_size_bits) rtp_send_samples() argument 386 rtp_send_mpegaudio(AVFormatContext *s1, const uint8_t *buf1, int size) rtp_send_mpegaudio() argument 438 rtp_send_raw(AVFormatContext *s1, const uint8_t *buf1, int size) rtp_send_raw() argument 460 rtp_send_mpegts_raw(AVFormatContext *s1, const uint8_t *buf1, int size) rtp_send_mpegts_raw() argument 484 rtp_send_ilbc(AVFormatContext *s1, const uint8_t *buf, int size) rtp_send_ilbc() argument 524 int size= pkt->size; rtp_write_packet() local [all...] |
H A D | fitsdec.c | 71 * It also stores the header in the avbuf and stores the size of data part in data_size 76 * @param data_size to store the size of data part 84 int64_t buf_size = 0, size = 0, t; in is_image() local 111 size = 1; in is_image() 113 size = header->naxisn[0]; in is_image() 119 if(size && header->naxisn[i] > UINT64_MAX / size) in is_image() 121 size *= header->naxisn[i]; in is_image() 124 if(header->pcount > UINT64_MAX - size) in is_image() 126 size in is_image() 147 uint64_t size; fits_read_packet() local [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | format_parser.py | 47 def __init__(self, type, norm, size): 50 self.size = size 60 s += str(self.size) 67 return self.type == other.type and self.norm == other.norm and self.size == other.size 79 return (1 << self.size) - 1 81 return (1 << (self.size - 1)) - 1 93 return -(1 << (self.size - 1)) 99 return (1 << self.size) [all...] |
/third_party/protobuf/src/google/protobuf/io/ |
H A D | coded_stream.cc | 70 int* size) { in NextNonEmpty() 73 success = input->Next(data, size); in NextNonEmpty() 74 } while (success && *size == 0); in NextNonEmpty() 110 // the buffer size accordingly. in RecomputeBufferLimits() 233 bool CodedInputStream::GetDirectBufferPointer(const void** data, int* size) { in GetDirectBufferPointer() argument 237 *size = BufferSize(); in GetDirectBufferPointer() 241 bool CodedInputStream::ReadRaw(void* buffer, int size) { in ReadRaw() argument 243 while ((current_buffer_size = BufferSize()) < size) { in ReadRaw() 247 size -= current_buffer_size; in ReadRaw() 252 memcpy(buffer, buffer_, size); in ReadRaw() 69 NextNonEmpty(ZeroCopyInputStream* input, const void** data, int* size) NextNonEmpty() argument 258 ReadString(std::string* buffer, int size) ReadString() argument 277 ReadStringFallback(std::string* buffer, int size) ReadStringFallback() argument 304 buffer->append(reinterpret_cast<const char*>(buffer_), size); ReadStringFallback() local 727 int size = Flush(*pp); Skip() local 744 GetDirectBufferPointer(void** data, int* size, uint8** pp) GetDirectBufferPointer() argument 766 GetDirectBufferForNBytesAndAdvance(int size, uint8** pp) GetDirectBufferForNBytesAndAdvance() argument 794 int size; Next() local [all...] |
H A D | zero_copy_stream_unittest.cc | 106 bool WriteToOutput(ZeroCopyOutputStream* output, const void* data, int size); 108 int ReadFromInput(ZeroCopyInputStream* input, void* data, int size); 111 // Read a number of bytes equal to the size of the given string and checks 142 int size) { in WriteToOutput() 144 int in_size = size; in WriteToOutput() 169 int IoTest::ReadFromInput(ZeroCopyInputStream* input, void* data, int size) { in ReadFromInput() argument 171 int out_size = size; in ReadFromInput() 180 return size - out_size; in ReadFromInput() 195 return size; // Copied all of it. in ReadFromInput() 205 EXPECT_TRUE(WriteToOutput(output, str.c_str(), str.size())); in WriteString() 141 WriteToOutput(ZeroCopyOutputStream* output, const void* data, int size) WriteToOutput() argument 286 int size; TEST_F() local 324 int64 size = pos + output->ByteCount(); TEST_F() local 358 int size; TEST_F() local 392 int size; TEST_F() local 423 int size; TEST_F() local 451 int size; TEST_F() local 480 int size; TEST_F() local 507 int size; TEST_F() local 556 int size; Uncompress() local 558 result.append(reinterpret_cast<const char*>(buffer), size); Uncompress() local 630 int64 size = pos + output->ByteCount(); TEST_F() local 671 int size; TEST_F() local 691 int size; TEST_F() local 821 int size; TEST_F() local 834 int size; TEST_F() local 974 int size; TEST_F() local 988 int size; TEST() local 995 int size; TEST() local [all...] |
/third_party/lzma/C/ |
H A D | XzIn.c | 29 #define READ_VARINT_AND_CHECK(buf, pos, size, res) \
30 { unsigned s = Xz_ReadVarInt(buf + pos, size - pos, res); \
60 #define ADD_SIZE_CHECK(size, val) \
61 { UInt64 newSize = size + (val); if (newSize < size) return XZ_SIZE_OVERFLOW; size = newSize; }
65 UInt64 size = 0;
in Xz_GetUnpackSize() local 69 ADD_SIZE_CHECK(size, p->blocks[i].unpackSize)
in Xz_GetUnpackSize() 71 return size;
in Xz_GetUnpackSize() 76 UInt64 size in Xz_GetPackSize() local 92 Xz_ReadIndex2(CXzStream *p, const Byte *buf, size_t size, ISzAllocPtr alloc) Xz_ReadIndex2() argument 139 size_t size; Xz_ReadIndex() local 156 LookInStream_SeekRead_ForArc(ILookInStreamPtr stream, UInt64 offset, void *buf, size_t size) LookInStream_SeekRead_ForArc() argument 285 UInt64 size = 0; Xzs_GetUnpackSize() local [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_test_dma_perf.c | 68 printf("DMA rate is in MB/s for each size. Slow cases are skipped and print 0.\n"); in si_test_dma_perf() 70 for (unsigned size = MIN_SIZE; size <= MAX_SIZE; size <<= SIZE_SHIFT) { in si_test_dma_perf() 71 if (size >= 1024) in si_test_dma_perf() 72 printf("%6uKB,", size / 1024); in si_test_dma_perf() 74 printf(" %6uB,", size); in si_test_dma_perf() 78 /* results[log2(size)][placement][method][] */ in si_test_dma_perf() 95 for (unsigned size = MIN_SIZE; size < in si_test_dma_perf() 418 unsigned size = method_max_size[i]; si_test_dma_perf() local [all...] |
/third_party/libexif/libexif/huawei/ |
H A D | mnote-huawei-tag.c | 98 const MnoteHuaweiTable* get_tag_table(MnoteHuaweiTag tag, int* size) in get_tag_table() argument 101 *size = sizeof (huawei_table) / sizeof (huawei_table[0]); in get_tag_table() 106 *size = sizeof (huawei_face_table) / sizeof (huawei_face_table[0]); in get_tag_table() 110 *size = sizeof (huawei_scene_table) / sizeof (huawei_scene_table[0]); in get_tag_table() 147 int size = sizeof (huawei_table) / sizeof (huawei_table[0]) - 1; in mnote_huawei_tag_from_name() local 148 for (i = 0; i < size; i++) { in mnote_huawei_tag_from_name() 155 size = sizeof (huawei_face_table) / sizeof (huawei_face_table[0]) - 1; in mnote_huawei_tag_from_name() 156 for (i = 0; i < size; i++) { in mnote_huawei_tag_from_name() 163 size = sizeof (huawei_scene_table) / sizeof (huawei_scene_table[0]) - 1; in mnote_huawei_tag_from_name() 164 for (i = 0; i < size; in mnote_huawei_tag_from_name() 179 int size = 0; mnote_huawei_tag_get_name() local 189 int size = 0; mnote_huawei_tag_get_title() local 199 int size = 0; mnote_huawei_tag_get_description() local 209 int size = 0; mnote_huawei_tag_type() local [all...] |
/third_party/vixl/src/ |
H A D | code-generation-scopes-vixl.h | 41 // - Optionally, on destruction, check the size of the generated code. 42 // (The size can be either exact or a maximum size.) 46 // has enough space for the requested size. 59 kNoAssert, // Do not check the size of the code emitted. 60 kExactSize, // The code emitted must be exactly size bytes. 61 kMaximumSize // The code emitted must be at most size bytes. 68 size_t size, in CodeBufferCheckScope() 72 Open(assembler, size, check_policy, size_policy); in CodeBufferCheckScope() 91 size_t size, in Open() 67 CodeBufferCheckScope(internal::AssemblerBase* assembler, size_t size, BufferSpacePolicy check_policy = kReserveBufferSpace, SizePolicy size_policy = kMaximumSize) CodeBufferCheckScope() argument 90 Open(internal::AssemblerBase* assembler, size_t size, BufferSpacePolicy check_policy = kReserveBufferSpace, SizePolicy size_policy = kMaximumSize) Open() argument 158 EmissionCheckScope(MacroAssemblerInterface* masm, size_t size, SizePolicy size_policy = kMaximumSize) EmissionCheckScope() argument 183 Open(MacroAssemblerInterface* masm, size_t size, SizePolicy size_policy = kMaximumSize) Open() argument 208 Open(MacroAssemblerInterface* masm, size_t size, SizePolicy size_policy, PoolPolicy pool_policy) Open() argument 237 EmissionCheckScope(MacroAssemblerInterface* masm, size_t size, SizePolicy size_policy, PoolPolicy pool_policy) EmissionCheckScope() argument 257 ExactAssemblyScope(MacroAssemblerInterface* masm, size_t size, SizePolicy size_policy = kExactSize) ExactAssemblyScope() argument 271 Open(MacroAssemblerInterface* masm, size_t size, SizePolicy size_policy = kExactSize) Open() argument 297 ExactAssemblyScope(MacroAssemblerInterface* masm, size_t size, SizePolicy assert_policy, PoolPolicy pool_policy) ExactAssemblyScope() argument 304 Open(MacroAssemblerInterface* masm, size_t size, SizePolicy size_policy, PoolPolicy pool_policy) Open() argument [all...] |
/third_party/node/deps/v8/src/heap/cppgc/ |
H A D | object-allocator.cc | 60 void AddToFreeList(NormalPageSpace& space, Address start, size_t size) { in AddToFreeList() argument 63 space.free_list().Add({start, size}); in AddToFreeList() 75 if (lab.size()) { in ReplaceLinearAllocationBuffer() 76 AddToFreeList(space, lab.start(), lab.size()); in ReplaceLinearAllocationBuffer() 77 stats_collector.NotifyExplicitFree(lab.size()); in ReplaceLinearAllocationBuffer() 93 StatsCollector& stats_collector, size_t size, in AllocateLargeObject() 95 LargePage* page = LargePage::Create(page_backend, space, size); in AllocateLargeObject() 101 stats_collector.NotifyAllocation(size); in AllocateLargeObject() 119 void* ObjectAllocator::OutOfLineAllocate(NormalPageSpace& space, size_t size, in OutOfLineAllocate() argument 122 void* memory = OutOfLineAllocateImpl(space, size, alignmen in OutOfLineAllocate() 92 AllocateLargeObject(PageBackend& page_backend, LargePageSpace& space, StatsCollector& stats_collector, size_t size, GCInfoIndex gcinfo) AllocateLargeObject() argument 137 OutOfLineAllocateImpl(NormalPageSpace& space, size_t size, AlignVal alignment, GCInfoIndex gcinfo) OutOfLineAllocateImpl() argument 173 RefillLinearAllocationBuffer(NormalPageSpace& space, size_t size) RefillLinearAllocationBuffer() argument 207 RefillLinearAllocationBufferFromFreeList( NormalPageSpace& space, size_t size) RefillLinearAllocationBufferFromFreeList() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_video_array_of_textures_dpb_manager.cpp | 125 assert(m_D3D12DPB.pResources.size() == m_D3D12DPB.pSubresources.size()); in assign_reference_frame() 126 assert(m_D3D12DPB.pResources.size() == m_D3D12DPB.pHeaps.size()); in assign_reference_frame() 128 assert (dpbPosition < m_D3D12DPB.pResources.size()); in assign_reference_frame() 140 assert(m_D3D12DPB.pResources.size() == m_D3D12DPB.pSubresources.size()); 141 assert(m_D3D12DPB.pResources.size() == m_D3D12DPB.pHeaps.size()); 143 if (dpbPosition > m_D3D12DPB.pResources.size()) { [all...] |