Home
last modified time | relevance | path

Searched refs:size (Results 3976 - 4000 of 21408) sorted by relevance

1...<<151152153154155156157158159160>>...857

/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/mqueue_h/
H A D9-1-buildonly.c16 ssize_t size; in test_mq_timedreceive_prototype() local
24 size = mq_timedreceive(mqdes, msgp, msg_len, &msg_prio, &abstime); in test_mq_timedreceive_prototype()
25 (void)size; in test_mq_timedreceive_prototype()
/third_party/node/deps/v8/src/codegen/
H A Dflush-instruction-cache.h14 V8_EXPORT_PRIVATE void FlushInstructionCache(void* start, size_t size);
16 size_t size) { in FlushInstructionCache()
17 return FlushInstructionCache(reinterpret_cast<void*>(start), size); in FlushInstructionCache()
15 FlushInstructionCache(Address start, size_t size) FlushInstructionCache() argument
/third_party/node/deps/v8/src/codegen/loong64/
H A Dcpu-loong64.cc17 void CpuFeatures::FlushICache(void* start, size_t size) { in FlushICache() argument
20 if (size == 0) { in FlushICache()
26 char* end = reinterpret_cast<char*>(start) + size; in FlushICache()
/third_party/node/deps/uvwasi/src/
H A Duvwasi_alloc.h6 void* uvwasi__malloc(const uvwasi_t* uvwasi, size_t size);
8 void* uvwasi__calloc(const uvwasi_t* uvwasi, size_t nmemb, size_t size);
9 void* uvwasi__realloc(const uvwasi_t* uvwasi, void* ptr, size_t size);
/third_party/skia/third_party/externals/freetype/include/freetype/
H A Dftsizes.h5 * FreeType size objects management (specification).
57 * object is automatically created and used to store all pixel-size
58 * dependent information, available in the `face->size` field.
65 * contents of the current 'active' size; you thus need to use
80 * Create a new size object from a given face object.
88 * A handle to a new size object.
94 * You need to call @FT_Activate_Size in order to select the new size for
100 FT_Size* size );
109 * Discard a given size object. Note that @FT_Done_Face automatically
110 * discards all size object
120 FT_Done_Size( FT_Size size ); global() variable
149 FT_Activate_Size( FT_Size size ); global() variable
[all...]
/third_party/skia/fuzz/oss_fuzz/
H A DFuzzMockGPUCanvas.cpp22 int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput() argument
23 if (size > 4000) { in LLVMFuzzerTestOneInput()
27 auto fuzz = Fuzz(SkData::MakeWithoutCopy(data, size)); in LLVMFuzzerTestOneInput()
/third_party/skia/docs/examples/
H A DImageInfo_ByteSizeOverflowed.cpp11 const size_t size = info.computeByteSize(rowBytes); in REG_FIDDLE() local
12 SkDebugf("rowBytes:%llu size:%llu overflowed:%s\n", rowBytes, size, in REG_FIDDLE()
13 SkImageInfo::ByteSizeOverflowed(size) ? "true" : "false"); in REG_FIDDLE()
/third_party/vk-gl-cts/framework/delibs/decpp/
H A DdeMemPool.cpp34 deUintptr size = (deUintptr)strlen(string) + 1; in copyToPool() local
35 char* copy = (char*)pool->alloc(size); in copyToPool()
37 std::copy(string, string+size, copy); in copyToPool()
/third_party/ffmpeg/libavformat/
H A Dasfdec_f.c44 uint16_t size; member
86 uint64_t data_object_offset; ///< data object offset (excl. GUID & size)
87 uint64_t data_object_size; ///< size of the data object
204 /* size of type 2 (BOOL) is 32bit for "Extended Content Description Object"
298 static int asf_read_stream_properties(AVFormatContext *s, int64_t size) in asf_read_stream_properties() argument
391 /* We have to init the frame size at some point .... */ in asf_read_stream_properties()
393 if (size >= (pos2 + 8 - pos1 + 24)) { in asf_read_stream_properties()
407 size - (avio_tell(pb) - pos1 + 24) >= 51) { in asf_read_stream_properties()
411 avio_rl16(pb); /* size */ in asf_read_stream_properties()
412 sizeX = avio_rl32(pb); /* size */ in asf_read_stream_properties()
510 int size; asf_read_ext_stream_properties() local
1036 int size = p->size; asf_read_frame_header() local
[all...]
H A Dgxfenc.c143 int size; in updatePacketSize() local
145 size = avio_tell(pb) - pos; in updatePacketSize()
146 if (size % 4) { in updatePacketSize()
147 gxf_write_padding(pb, 4 - size % 4); in updatePacketSize()
148 size = avio_tell(pb) - pos; in updatePacketSize()
152 avio_wb32(pb, size); in updatePacketSize()
173 avio_wb32(pb, 0); /* size */ in gxf_write_packet_header()
183 int size, starting_line; in gxf_write_mpeg_auxiliary() local
206 size = snprintf(buffer, sizeof(buffer), "Ver 1\nBr %.6f\nIpg 1\nPpi %d\nBpiop %d\n" in gxf_write_mpeg_auxiliary()
211 av_assert0(size < sizeo in gxf_write_mpeg_auxiliary()
865 gxf_parse_mpeg_frame(GXFStreamContext *sc, const uint8_t *buf, int size) gxf_parse_mpeg_frame() argument
877 gxf_write_media_preamble(AVFormatContext *s, AVPacket *pkt, int size) gxf_write_media_preamble() argument
[all...]
/third_party/backends/backend/pixma/
H A Dpixma_bjnp.c1061 struct BJNP_command cmd, int size) in bjnp_send_broadcast()
1081 if ((num_bytes = sendto (sockfd, &cmd, size, 0, in bjnp_send_broadcast()
1083 sa_size( broadcast_addr)) ) != size) in bjnp_send_broadcast()
1130 bjnp_poll_scanner (int devno, char type,char *hostname, char *user, SANE_Byte *status, int size) in bjnp_poll_scanner() argument
1214 memcpy( status, response->status, size); in bjnp_poll_scanner()
1216 PDBG (bjnp_hexdump( LOG_DEBUG2, status, size )); in bjnp_poll_scanner()
1218 return size; in bjnp_poll_scanner()
1392 * size: return value for data size returned by scanner in bjnp_recv_header()
1585 (LOG_DEBUG, "bjnp_recv_data: WARNING - requested block size ( in bjnp_recv_data()
1060 bjnp_send_broadcast(int sockfd, const bjnp_sockaddr_t * broadcast_addr, int port, struct BJNP_command cmd, int size) bjnp_send_broadcast() argument
2403 sanei_bjnp_read_bulk(SANE_Int dn, SANE_Byte * buffer, size_t * size) sanei_bjnp_read_bulk() argument
2520 sanei_bjnp_write_bulk(SANE_Int dn, const SANE_Byte * buffer, size_t * size) sanei_bjnp_write_bulk() argument
2595 sanei_bjnp_read_int(SANE_Int dn, SANE_Byte * buffer, size_t * size) sanei_bjnp_read_int() argument
[all...]
/third_party/node/deps/v8/src/compiler/
H A Dcode-assembler.cc965 TNode<IntPtrT> size, AllocationType allocation, in OptimizedAllocate()
968 size, allocation, allow_large_objects)); in OptimizedAllocate()
972 if (state_->exception_handler_labels_.size() == 0) return; in HandleException()
1001 DCHECK_GT(kMaxSize, size()); in Add()
1006 int size() const { return static_cast<int>(ptr_ - arr_); } in size() function in v8::internal::compiler::__anon14330::NodeArray
1021 DCHECK_GE(kMaxNumArgs, args.size()); in CallRuntimeImpl()
1022 int argc = static_cast<int>(args.size()); in CallRuntimeImpl()
1041 raw_assembler()->CallN(call_descriptor, inputs.size(), inputs.data()); in CallRuntimeImpl()
1054 DCHECK_GE(kMaxNumArgs, args.size()); in TailCallRuntimeImpl()
1055 int argc = static_cast<int>(args.size()); in TailCallRuntimeImpl()
964 OptimizedAllocate( TNode<IntPtrT> size, AllocationType allocation, AllowLargeObjects allow_large_objects) OptimizedAllocate() argument
[all...]
/third_party/skia/src/gpu/
H A DGrResourceCache.cpp66 uint32_t GrResourceKeyHash(const uint32_t* data, size_t size) { in GrResourceKeyHash() argument
67 return SkOpts::hash(data, size); in GrResourceKeyHash()
170 for (int i = 0; i < lines.size(); ++i) { in dumpInfo()
284 if (purgSizeInfoWid.size() > 0) { in cacheInfoPurgeableQueue()
288 if (purgSizeInfoPid.size() > 0) { in cacheInfoPurgeableQueue()
292 if (purgSizeInfoFid.size() > 0) { in cacheInfoPurgeableQueue()
337 if (noPurgSizeInfoWid.size() > 0) { in cacheInfoNoPurgeableQueue()
341 if (noPurgSizeInfoPid.size() > 0) { in cacheInfoNoPurgeableQueue()
345 if (noPurgSizeInfoFid.size() > 0) { in cacheInfoNoPurgeableQueue()
428 if (realAllocSizeInfoWid.size() > in cacheInfoRealAllocQueue()
516 size_t size = resource->getRealAllocSize(); updateRealAllocWidMap() local
535 size_t size = resource->getRealAllocSize(); updateRealAllocPidMap() local
553 size_t size = resource->getRealAllocSize(); updateRealAllocFidMap() local
642 size_t size = resource->gpuMemorySize(); insertResource() local
701 size_t size = resource->gpuMemorySize(); removeResource() local
885 initGpuMemoryLimit(MemoryOverflowCalllback callback, uint64_t size) initGpuMemoryLimit() argument
911 auto& size = fBytesOfPid[afterPid]; changeByteOfPid() local
1143 size_t size = resource->gpuMemorySize(); didChangeBudgetStatus() local
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/
H A Dr600_state_common.c701 if (!is_buffer && rtex->cmask.size) { in r600_set_sampler_views()
756 if (rtex->cmask.size) { in r600_update_compressed_colortex_mask()
808 if (rtex->cmask.size) { in r600_update_compressed_colortex_mask_images()
1297 unsigned i, size = input->buffer_size; in r600_set_constant_buffer() local
1299 if (!(tmpPtr = malloc(size))) { in r600_set_constant_buffer()
1304 for (i = 0; i < size / 4; ++i) { in r600_set_constant_buffer()
1308 u_upload_data(ctx->stream_uploader, 0, size, 256, in r600_set_constant_buffer()
1348 int sh, size; in r600_update_driver_const_buffers() local
1372 size = info->alloc_size; in r600_update_driver_const_buffers()
1377 if (!size) { in r600_update_driver_const_buffers()
1613 unsigned size = 0x1C000; update_gs_block_state() local
1758 unsigned size = align(itemsize * nthreads * num_pipes * num_ses * 4, 256); r600_setup_scratch_area_for_shader() local
[all...]
/third_party/skia/third_party/externals/freetype/src/base/
H A Dftobjs.c357 /* also check whether the size is too large for rendering */
527 FT_ULong size ) in FT_BASE_DEF()
538 FT_MEM_ALLOC( slot->bitmap.buffer, size ); in FT_BASE_DEF()
848 if ( !face || !face->size || !face->glyph ) in FT_EXPORT_DEF()
930 /* check the size of the `fpgm' and `prep' tables, too -- */ in FT_EXPORT_DEF()
958 error = driver->clazz->load_glyph( slot, face->size, in FT_EXPORT_DEF()
979 slot, face->size, in FT_EXPORT_DEF()
988 face->size, in FT_EXPORT_DEF()
1027 FT_Size_Metrics* metrics = &face->size->metrics; in FT_EXPORT_DEF()
1164 FT_Size size, in destroy_size()
1163 destroy_size( FT_Memory memory, FT_Size size, FT_Driver driver ) destroy_size() argument
1608 new_memory_stream( FT_Library library, FT_Byte* base, FT_ULong size, FT_Stream_CloseFunc close, FT_Stream *astream ) new_memory_stream() argument
2640 FT_Size size; ft_open_face_internal() local
2884 FT_Size size = NULL; FT_EXPORT_DEF() local
[all...]
/test/xts/hats/hdf/hdf_lite/manager/common/
H A Dhdf_sbuf_test.cpp59 dataTable[STRING]->data[dataTable[STRING]->size - 1] = '\0'; in GenDataTable()
101 ret = HdfSbufWriteBuffer(sbuf, (uint8_t *)dataTable[type]->data, dataTable[type]->size); in PushDataSequence()
117 static bool DataCompare(const void *s, const void *t, uint32_t size) in DataCompare() argument
119 return memcmp(s, t, size) == 0; in DataCompare()
130 EXPECT_EQ(true, DataCompare(&val, dataTable[type]->data, dataTable[type]->size)); in PullDataSequence()
137 EXPECT_EQ(true, DataCompare(&val, dataTable[type]->data, dataTable[type]->size)); in PullDataSequence()
144 EXPECT_EQ(true, DataCompare(&val, dataTable[type]->data, dataTable[type]->size)); in PullDataSequence()
151 EXPECT_EQ(true, DataCompare(&val, dataTable[type]->data, dataTable[type]->size)); in PullDataSequence()
159 ret = DataCompare(&val, dataTable[type]->data, dataTable[type]->size); in PullDataSequence()
166 EXPECT_EQ(true, DataCompare(&val, dataTable[type]->data, dataTable[type]->size)); in PullDataSequence()
246 uint32_t size; global() member in OHOS::HdfSBufTest::SbufData
[all...]
/third_party/backends/tools/
H A Dsane-find-scanner.c84 size_t size; member
224 size_t size; in scanner_do_scsi_inquiry() local
229 size = 5; /* first get only 5 bytes to get size of in scanner_do_scsi_inquiry()
231 set_inquiry_return_size (inquiry.cmd, size); in scanner_do_scsi_inquiry()
232 status = sanei_scsi_cmd (sfd, inquiry.cmd, inquiry.size, buffer, &size); in scanner_do_scsi_inquiry()
237 size = get_scsi_inquiry_additional_length (buffer) + 5; in scanner_do_scsi_inquiry()
239 /* then get inquiry with actual size */ in scanner_do_scsi_inquiry()
240 set_inquiry_return_size (inquiry.cmd, size); in scanner_do_scsi_inquiry()
415 int size = 2; get_libusb_string_descriptor() local
768 int size; get_libusb_string_descriptor() local
[all...]
/third_party/libcoap/src/
H A Dcoap_subscribe.c113 /* Need max space incase PDU is updated with updated token, huge size etc. */ in coap_persist_observe_add()
310 ssize_t size; in coap_op_observe_read() local
327 if (fread(&size, sizeof(size), 1, fp) != 1) in coap_op_observe_read()
329 if (size < 0 || size > 0x10000) in coap_op_observe_read()
331 scratch = coap_new_binary(size); in coap_op_observe_read()
338 if (fread(&size, sizeof(size), 1, fp) != 1) in coap_op_observe_read()
340 /* If size in coap_op_observe_read()
829 ssize_t size; coap_op_dyn_resource_read() local
[all...]
/third_party/ltp/lib/
H A Dtst_test.c95 size_t size = getpagesize(); in setup_ipc() local
117 SAFE_FTRUNCATE(ipc_fd, size); in setup_ipc()
119 results = SAFE_MMAP(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, ipc_fd, 0); in setup_ipc()
133 tst_max_futexes = (size - sizeof(struct results))/sizeof(futex_t); in setup_ipc()
139 size_t size = getpagesize(); in cleanup_ipc() local
148 msync((void *)results, size, MS_SYNC); in cleanup_ipc()
149 munmap((void *)results, size); in cleanup_ipc()
157 size_t size = getpagesize(); in tst_reinit() local
168 results = SAFE_MMAP(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in tst_reinit()
170 tst_max_futexes = (size in tst_reinit()
204 int ret, size = sizeof(buf), ssize, int_errno, buflen; print_result() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/video/
H A DvktVideoDecodeTests.cpp340 static_cast<deUint32>(2 * 1024 * 1024), // 2MiB is the default bitstream buffer size in createParser()
351 tcu::print("Creating a parser with offset alignment=%d and size alignment=%d\n", in createParser()
432 deInt64 size = 0; in parseNextChunk() local
433 bool demuxerSuccess = m_demuxer.Demux(&pData, &size); in parseNextChunk()
437 pkt.nDataLength = size; // Data length for this packet in parseNextChunk()
505 m_frameDataIdx = (m_frameDataIdx + 1) % m_frameData.size(); in decodeFrame()
526 DE_ASSERT(m_decoder->m_cachedDecodeParams.size() == framesToDecode); in bufferFrames()
789 fwrite(bytes.data(), 1, bytes.size(), output); in iterate()
805 if (!correctFrames.empty() && correctFrames.size() == m_testDefinition->framesToCheck()) in iterate()
810 ss << correctFrames.size() << " ou in iterate()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/
H A DvktComputeWorkgroupMemoryExplicitLayoutTests.cpp154 VkDeviceSize size = sizeof(deUint32) * workgroupSize; in runCompute() local
157 vk, device, allocator, makeBufferCreateInfo(size, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT|VK_BUFFER_USAGE_TRANSFER_DST_BIT|VK_BUFFER_USAGE_TRANSFER_SRC_BIT), in runCompute()
159 bufferDescriptor = makeDescriptorBufferInfo(**buffer, 0, size); in runCompute()
163 deMemset(ptr, 0xFF, static_cast<std::size_t>(size)); in runCompute()
541 for (std::size_t i = 0; i < values.size(); i++) in makeArray()
544 if (i != values.size() - 1) in makeArray()
784 for (deUint32 i = 0; i < cases.size(); i++) in AddAliasTests()
931 // Small enough to fit in the minimum shared memory size limit even if with uvec4. in initPrograms()
1065 DE_ASSERT(types.size() > 0); in testName()
1066 DE_ASSERT(types.size() in testName()
1243 SizeTest(tcu::TestContext& testCtx, deUint32 size) SizeTest() argument
1410 tcu::TestCaseGroup* size = new tcu::TestCaseGroup(testCtx, "size", "Test blocks of various sizes"); createWorkgroupMemoryExplicitLayoutTests() local
[all...]
/third_party/python/Modules/_ctypes/
H A Dcallproc.c779 if (can_return_struct_as_int(dict->ffi_type_pointer.size)) in _ctypes_get_ffi_type()
781 else if (can_return_struct_as_sint64 (dict->ffi_type_pointer.size)) in _ctypes_get_ffi_type()
986 retval = dict->getfunc(result, dict->size); in GetResult()
1134 * - argtypes is either NULL, or a tuple of the same size as argtuple
1226 resbuf = alloca(max(rtype->size, sizeof(ffi_arg))); in _ctypes_callproc()
1232 __msan_unpoison(resbuf, max(rtype->size, sizeof(ffi_arg))); in _ctypes_callproc()
1244 size_t size = atypes[i]->size; in _ctypes_callproc() local
1245 if (IS_PASS_BY_REF(size)) { in _ctypes_callproc()
1246 void *tmp = alloca(size); in _ctypes_callproc()
1250 memcpy(tmp, (void*)&args[i].value, size); _ctypes_callproc() local
1808 Py_ssize_t size; resize() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp171 /// total size of each piece is 1, 2 or a multiple of 4 bytes. \p Chain is
323 // Make sure that A and B are different pointers of the same size type. in isConsecutiveAccess()
559 if (NumFound == Chain.size()) { in getBoundaryInstrs()
589 unsigned SizeBytes = ElementSizeBytes * Chain.size(); in splitOddVectorElts()
591 if (NumLeft == Chain.size()) { in splitOddVectorElts()
646 for (unsigned E = ChainInstrs.size(); ChainInstrIdx < E; ++ChainInstrIdx) { in getVectorizablePrefix()
720 for (unsigned ChainLen = Chain.size(); ChainIdx < ChainLen; ++ChainIdx) { in getVectorizablePrefix()
853 unsigned Size = Chain.second.size(); in vectorizeChains()
871 LLVM_DEBUG(dbgs() << "LSV: Vectorizing " << Instrs.size() in vectorizeInstructions()
878 for (int i = 0, e = Instrs.size(); in vectorizeInstructions()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
H A DBTFDebug.cpp289 for (unsigned I = 1, N = Elements.size(); I < N; ++I) { in completeType()
355 BTFType.Info |= Vars.size(); in completeType()
376 OffsetToIdMap[Offset] = Table.size(); in addString()
378 Size += S.size() + 1; in addString()
391 TypeEntry->setId(TypeEntries.size() + 1); in addType()
399 TypeEntry->setId(TypeEntries.size() + 1); in addType()
427 uint32_t VLen = Elements.size() - 1; in visitSubroutineType()
451 uint32_t VLen = Elements.size(); in visitStructType()
483 for (int I = Elements.size() - 1; I >= 0; --I) { in visitArrayType()
516 uint32_t VLen = Elements.size(); in visitEnumType()
[all...]
/third_party/skia/third_party/externals/zlib/contrib/tests/
H A Dutils_unittest.cc22 zlib_internal::GzipExpectedCompressedSize(input.size())); in TestPayloads()
23 std::vector<unsigned char> decompressed(input.size()); in TestPayloads()
27 unsigned long compressed_size = static_cast<unsigned long>(compressed.size()); in TestPayloads()
29 type, compressed.data(), &compressed_size, input.data(), input.size(), in TestPayloads()
34 static_cast<unsigned long>(decompressed.size()); in TestPayloads()
43 // Minimal ZLIB wrapped short stream size is about 8 bytes. in TEST()
55 // RAW has no wrapper (V8 Blobs is a known user), size in TEST()
76 zlib_internal::GzipExpectedCompressedSize(input.size())); in TEST()
77 std::vector<unsigned char> decompressed(input.size()); in TEST()
78 unsigned long compressed_size = static_cast<unsigned long>(compressed.size()); in TEST()
[all...]

Completed in 34 milliseconds

1...<<151152153154155156157158159160>>...857