Home
last modified time | relevance | path

Searched refs:size (Results 2401 - 2425 of 20369) sorted by relevance

1...<<919293949596979899100>>...815

/third_party/python/Lib/multiprocessing/
H A Dshared_memory.py75 def __init__(self, name=None, create=False, size=0):
76 if not size >= 0:
77 raise ValueError("'size' must be a positive integer")
80 if size == 0:
81 raise ValueError("'size' must be a positive number different from zero")
111 if create and size:
112 os.ftruncate(self._fd, size)
114 size = stats.st_size
115 self._mmap = mmap.mmap(self._fd, size)
135 (size >> 3
219 def size(self): global() member in SharedMemory
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageMisalignedCubeTests.cpp59 inline VkImageCreateInfo makeImageCreateInfo (const tcu::IVec3& size, const VkFormat format) in makeImageCreateInfo() argument
69 makeExtent3D(size.x(), size.y(), 1u), // VkExtent3D extent; in makeImageCreateInfo()
71 (deUint32)size.z(), // deUint32 arrayLayers; in makeImageCreateInfo()
84 void fillBuffer (const DeviceInterface& vk, const VkDevice device, const Allocation& alloc, const VkDeviceSize offset, const VkDeviceSize size, const VkFormat format, const tcu::Vec4& color) in fillBuffer() argument
97 for (deUint32 pixelPos = 0; pixelPos < size; pixelPos += colorPixelSize) in fillBuffer()
100 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset() + offset, size); in fillBuffer()
133 const tcu::IVec3& size,
142 MisalignedCubeTestInstance::MisalignedCubeTestInstance (Context& context, const tcu::IVec3& size, const VkFormat format) in MisalignedCubeTestInstance() argument
144 , m_size (size) in MisalignedCubeTestInstance()
300 MisalignedCubeTest(tcu::TestContext& testCtx, const std::string& name, const tcu::IVec3& size, const VkFormat format) MisalignedCubeTest() argument
381 const tcu::IVec3 size = s_baseImageSizes[imageSizeNdx]; createMisalignedCubeTests() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageMisalignedCubeTests.cpp59 inline VkImageCreateInfo makeImageCreateInfo (const tcu::IVec3& size, const VkFormat format) in makeImageCreateInfo() argument
69 makeExtent3D(size.x(), size.y(), 1u), // VkExtent3D extent; in makeImageCreateInfo()
71 (deUint32)size.z(), // deUint32 arrayLayers; in makeImageCreateInfo()
84 void fillBuffer (const DeviceInterface& vk, const VkDevice device, const Allocation& alloc, const VkDeviceSize offset, const VkDeviceSize size, const VkFormat format, const tcu::Vec4& color) in fillBuffer() argument
97 for (deUint32 pixelPos = 0; pixelPos < size; pixelPos += colorPixelSize) in fillBuffer()
100 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset() + offset, size); in fillBuffer()
133 const tcu::IVec3& size,
142 MisalignedCubeTestInstance::MisalignedCubeTestInstance (Context& context, const tcu::IVec3& size, const VkFormat format) in MisalignedCubeTestInstance() argument
144 , m_size (size) in MisalignedCubeTestInstance()
301 MisalignedCubeTest(tcu::TestContext& testCtx, const std::string& name, const std::string& description, const tcu::IVec3& size, const VkFormat format) MisalignedCubeTest() argument
382 const tcu::IVec3 size = s_baseImageSizes[imageSizeNdx]; createMisalignedCubeTests() local
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DDrawElementsTest.cpp95 glBufferData(GL_ARRAY_BUFFER, sizeof(vertices[0]) * vertices.size(), vertices.data(), in TEST_P()
131 glBufferData(GL_ARRAY_BUFFER, sizeof(vertices[0]) * vertices.size(), vertices.data(), in TEST_P()
139 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices[0]) * indices.size(), indices.data(), in TEST_P()
219 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * indexData[0].size(), &indexData[0][0], in TEST_P()
223 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * indexData[0].size(), &indexData[0][0], in TEST_P()
227 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * indexData[1].size(), &indexData[1][0], in TEST_P()
235 glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * positionData.size(), &positionData[0], in TEST_P()
241 glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat) * testFlagData.size(), &testFlagData[0], in TEST_P()
289 glBufferData(GL_ARRAY_BUFFER, sizeof(vertices[0]) * vertices.size(), vertices.data(), in TEST_P()
295 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices[0]) * indices.size(), indice in TEST_P()
[all...]
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/
H A Dbitmap_size_table.cc81 if (index >= 0 && (size_t)index < subtable_list->size()) { in GetIndexSubTable()
132 // would be faster to binary search but too many size tables don't have in SearchIndexSubTables()
157 int32_t top = subtable_list->size(); in BinarySearchIndexSubTables()
215 int32_t size = EblcTable::Offset::kBitmapSizeTableLength; in SubDataSizeToSerialize() local
219 size += EblcTable::Offset::kIndexSubTableEntryLength; in SubDataSizeToSerialize()
224 fprintf(stderr, "subtable size=%d\n", sub_table_size); in SubDataSizeToSerialize()
227 size += abs(sub_table_size) + padding; in SubDataSizeToSerialize()
230 fprintf(stderr, "bitmap table size=%d\n", variable ? -size : size); in SubDataSizeToSerialize()
244 int32_t size = InternalReadData()->CopyTo(new_data); SubSerialize() local
279 SetIndexTableSize(int32_t size) SetIndexTableSize() argument
[all...]
/third_party/skia/third_party/externals/dawn/src/utils/
H A DWGPUHelpers.cpp75 uint64_t size, in CreateBufferFromData()
78 descriptor.size = size; in CreateBufferFromData()
82 device.GetQueue().WriteBuffer(buffer, 0, data, size); in CreateBufferFromData()
102 colorAttachmentCount = static_cast<uint32_t>(colorAttachmentInfo.size()); in ComboRenderPassDescriptor()
169 descriptor.size.width = width; in CreateBasicRenderPass()
170 descriptor.size.height = height; in CreateBasicRenderPass()
171 descriptor.size.depthOrArrayLayers = 1; in CreateBasicRenderPass()
232 descriptor.bindGroupLayoutCount = uint32_t(bgls.size()); in MakePipelineLayout()
246 descriptor.entryCount = static_cast<uint32_t>(entries.size()); in MakeBindGroupLayout()
73 CreateBufferFromData(const wgpu::Device& device, const void* data, uint64_t size, wgpu::BufferUsage usage) CreateBufferFromData() argument
334 BindingInitializationHelper(uint32_t binding, const wgpu::Buffer& buffer, uint64_t offset, uint64_t size) BindingInitializationHelper() argument
[all...]
/third_party/zlib/
H A Dgzread.c71 state->size - strm->avail_in, &got) == -1) in gz_avail()
95 if (state->size == 0) { in gz_look()
105 state->size = state->want; in gz_look()
116 state->size = 0; in gz_look()
247 if (gz_load(state, state->out, state->size << 1, &(state->x.have)) in gz_fetch()
255 strm->avail_out = state->size << 1; in gz_fetch()
353 else if (state->how == LOOK || n < (state->size << 1)) { in gz_read()
435 z_size_t ZEXPORT gzfread(voidp buf, z_size_t size, z_size_t nitems, gzFile file) in gzfread() argument
455 len = nitems * size; in gzfread()
456 if (size in gzfread()
[all...]
/test/testfwk/arkxtest/uitest/test/
H A Dwidget_selector_test.cpp175 ASSERT_EQ(0, targets.size()); in TEST_F()
188 ASSERT_EQ(1, targets.size()); in TEST_F()
205 ASSERT_EQ(1, targets.size()); in TEST_F()
220 ASSERT_EQ(2, targets.size()); in TEST_F()
243 ASSERT_EQ(0, targets.size()); in TEST_F()
262 ASSERT_EQ(1, targets.size()); in TEST_F()
284 ASSERT_EQ(2, targets.size()); in TEST_F()
311 ASSERT_EQ(0, targets.size()); in TEST_F()
335 ASSERT_EQ(1, targets.size()); in TEST_F()
362 ASSERT_EQ(4, targets.size()); in TEST_F()
[all...]
/third_party/mesa3d/src/nouveau/codegen/
H A Dnv50_ir.cpp217 reg.size = 4; in Value()
223 reg.size = (file != FILE_PREDICATE) ? 4 : 1; in LValue()
240 reg.size = lval->reg.size; in LValue()
259 that->reg.size = this->reg.size; in clone()
269 if (defs.size() > 1) in isUniform()
298 that->reg.size = this->reg.size; in clone()
321 reg.size in ImmediateValue()
631 int size = defs.size(); setDef() local
643 int size = srcs.size(); setSrc() local
[all...]
/third_party/node/deps/uv/src/win/
H A Dutil.c144 * returned size shouldn't. */ in uv_exepath()
154 int uv_cwd(char* buffer, size_t* size) { in uv_cwd() argument
159 if (buffer == NULL || size == NULL) { in uv_cwd()
201 } else if (r > (int) *size) { in uv_cwd()
203 *size = r; in uv_cwd()
213 *size > INT_MAX ? INT_MAX : (int) *size, in uv_cwd()
222 *size = r - 1; in uv_cwd()
457 int uv_get_process_title(char* buffer, size_t size) { in uv_get_process_title() argument
460 if (buffer == NULL || size in uv_get_process_title()
1082 uv_os_homedir(char* buffer, size_t* size) uv_os_homedir() argument
1119 uv_os_tmpdir(char* buffer, size_t* size) uv_os_tmpdir() argument
1440 uv_os_getenv(const char* name, char* buffer, size_t* size) uv_os_getenv() argument
1588 uv_os_gethostname(char* buffer, size_t* size) uv_os_gethostname() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiBufferMarkerTests.cpp106 for (deUint32 familyIdx = 0; familyIdx < queueFamilyProperties.size(); ++familyIdx) in createDeviceWithExtension()
142 static_cast<deUint32>(cstrDeviceExtensions.size()), // deUint32 enabledExtensionCount; in createDeviceWithExtension()
162 for (size_t i = 0; i < expected.size(); ++i) in checkMarkerBuffer()
175 deUint32 size; // Number of buffer markers member
234 hostMemory = MovePtr<ExternalHostMemory>(new ExternalHostMemory(memReqs.size + bufferOffset, hostProps.minImportedHostPointerAlignment)); in createMarkerBufferMemory()
255 hostMemory->size, in createMarkerBufferMemory()
275 const VkDeviceSize markerBufferSize(params.size * sizeof(deUint32)); in bufferMarkerSequential()
283 de::Random rng(12345 ^ params.size); in bufferMarkerSequential()
284 std::vector<deUint32> expected(params.size); in bufferMarkerSequential()
286 for (size_t i = 0; i < params.size; in bufferMarkerSequential()
[all...]
/third_party/ffmpeg/libavformat/
H A Dmatroskadec.c135 int size; member
428 // The following forward declarations need their size because
966 * Returns NEEDS_CHECKING unless size == 0.
968 static int ebml_read_uint(AVIOContext *pb, int size, in ebml_read_uint() argument
973 if (size == 0) { in ebml_read_uint()
979 while (n++ < size) in ebml_read_uint()
987 * Returns NEEDS_CHECKING unless size == 0.
989 static int ebml_read_sint(AVIOContext *pb, int size, in ebml_read_sint() argument
994 if (size == 0) { in ebml_read_sint()
1001 while (n++ < size) in ebml_read_sint()
1012 ebml_read_float(AVIOContext *pb, int size, double default_value, double *num) ebml_read_float() argument
1032 ebml_read_ascii(AVIOContext *pb, int size, const char *default_value, char **str) ebml_read_ascii() argument
1592 int len_mask = 0x80, size = 1, n = 1, i; matroska_probe() local
2053 int size = track->codec_priv.size; matroska_parse_flac() local
2194 size_t size = 0; mkv_parse_video_color() local
3193 matroska_parse_laces(MatroskaDemuxContext *matroska, uint8_t **buf, int size, int type, AVIOContext *pb, uint32_t lace_size[256], int *laces) matroska_parse_laces() argument
3289 matroska_parse_rm_audio(MatroskaDemuxContext *matroska, MatroskaTrack *track, AVStream *st, uint8_t *data, int size, uint64_t timecode, int64_t pos) matroska_parse_rm_audio() argument
3367 matroska_parse_wavpack(MatroskaTrack *track, uint8_t **data, int *size) matroska_parse_wavpack() argument
3451 matroska_parse_prores(MatroskaTrack *track, uint8_t **data, int *size) matroska_parse_prores() argument
3695 matroska_parse_block(MatroskaDemuxContext *matroska, AVBufferRef *buf, uint8_t *data, int size, int64_t pos, uint64_t cluster_time, uint64_t block_duration, int is_keyframe, uint8_t *additional, uint64_t additional_id, int additional_size, int64_t cluster_pos, int64_t discard_padding) matroska_parse_block() argument
[all...]
H A Diff.c97 * set it to smallest possible size of 2 to indicate that there's
109 int is_64bit; ///< chunk size is 64-bit
222 uint64_t size = avio_rb64(pb); in parse_dsd_diin() local
226 if (size >= INT64_MAX) in parse_dsd_diin()
234 if (metadata_tag && size > 4) { in parse_dsd_diin()
236 int ret = get_metadata(s, metadata_tag, FFMIN(tag_size, size - 4)); in parse_dsd_diin()
243 avio_skip(pb, size - (avio_tell(pb) - orig_pos) + (size & 1)); in parse_dsd_diin()
259 uint64_t size = avio_rb64(pb); in parse_dsd_prop() local
262 if (size > in parse_dsd_prop()
810 get_anim_duration(uint8_t *buf, int size) get_anim_duration() argument
818 unsigned size = bytestream2_get_be32(&gb); get_anim_duration() local
[all...]
/third_party/backends/backend/
H A Dcoolscan.c283 test_unit_ready.size, 0, 0); in wait_scanner()
334 ret = do_scsi_cmd (s->sfd, reserve_unit.cmd, reserve_unit.size, NULL, 0); in coolscan_grab_scanner()
343 * Convert a size in ilu to the units expected by the scanner
402 memcpy(s->buffer, autofocusLS30.cmd, autofocusLS30.size); in coolscan_autofocus_LS30()
403 memcpy(s->buffer+ autofocusLS30.size, autofocuspos, 9); in coolscan_autofocus_LS30()
411 autofocusLS30.size + 9, NULL, 0); in coolscan_autofocus_LS30()
414 command_c1.size, NULL, 0); in coolscan_autofocus_LS30()
432 memcpy(s->buffer, autofocus.cmd, autofocus.size); in coolscan_autofocus()
444 autofocus.size + AF_Point_length, NULL, 0); in coolscan_autofocus()
461 ret = do_scsi_cmd (s->sfd, sabort.cmd, sabort.size, NUL
1262 int size; coolscan_do_inquiry() local
1465 int size; get_inquiery_part_LS30() local
1487 int size; coolscan_read_var_data_block() local
1558 int size; get_feeder_type_LS30() local
1994 size_t size, max_size = 0; max_string_size() local
2281 RGBIfix(Coolscan_t * scanner, unsigned char* rgbimat, unsigned char* orgbimat, int size, int *lutr, int *lutg, int *lutb, int *luti) RGBIfix() argument
2349 RGBIfix16(Coolscan_t * scanner, unsigned short* rgbimat, unsigned short* orgbimat, int size, int *lutr, int *lutg, int *lutb, int *luti) RGBIfix16() argument
2402 rgb2g(unsigned char* rgbimat,unsigned char* gomat, int size) rgb2g() argument
[all...]
/third_party/ninja/src/
H A Dbuild_test.cc579 if (active_edges_.size() < max_active_edges_) in CanRunMore()
586 assert(active_edges_.size() < max_active_edges_); in StartCommand()
610 assert(edge->outputs_.size() == 1); in StartCommand()
782 ASSERT_EQ(1u, command_runner_.commands_ran_.size()); in TEST_F()
796 ASSERT_EQ(1u, command_runner_.commands_ran_.size()); in TEST_F()
806 ASSERT_EQ(3u, command_runner_.commands_ran_.size()); in TEST_F()
826 ASSERT_EQ(5u, command_runner_.commands_ran_.size()); in TEST_F()
844 ASSERT_EQ(1u, command_runner_.commands_ran_.size()); in TEST_F()
860 ASSERT_EQ(1u, command_runner_.commands_ran_.size()); in TEST_F()
898 ASSERT_EQ(4u, command_runner_.commands_ran_.size()); in TEST_F()
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fSSBOLayoutCase.cpp131 : size(0) in BlockLayoutEntry()
136 int size; member
143 << ", size = " << entry.size in operator <<()
219 for (int ndx = 0; ndx < (int)bufferVars.size(); ndx++) in getVariableIndex()
229 for (int ndx = 0; ndx < (int)blocks.size(); ndx++) in getBlockIndex()
254 m_structs.reserve(m_structs.size()+1); in allocStruct()
288 m_bufferBlocks.reserve(m_bufferBlocks.size()+1); in allocBlock()
298 int size; //!< Redundant, for debugging purposes. member
303 , size (size in BlockDataPtr()
1920 int size; global() member
1930 int size; global() member
[all...]
/third_party/lzma/CPP/7zip/UI/Common/
H A DHashCalc.cpp35 bool Alloc(size_t size) in Alloc() argument
39 _data = ::MidAlloc(size); in Alloc()
130 void CHashBundle::Update(const void *data, UInt32 size) in Update() argument
132 CurSize += size; in Update()
134 Hashers[i].Hasher->Update(data, size); in Update()
137 void CHashBundle::SetSize(UInt64 size) in SetSize() argument
139 CurSize = size; in SetSize()
142 static void AddDigests(Byte *dest, const Byte *src, UInt32 size) in AddDigests() argument
148 if (size > 8) in AddDigests()
150 for (unsigned i = size; in AddDigests()
602 UInt32 size; HashCalc() local
658 HashHexToString(char *dest, const Byte *data, UInt32 size) HashHexToString() argument
771 const UInt64 size = ConvertStringToUInt64(end, &end); ParseCksum() local
992 Is_CR_LF_Data(const Byte *buf, size_t size) Is_CR_LF_Data() argument
1389 CheckDigests(const Byte *a, const Byte *b, size_t size) CheckDigests() argument
1409 AddDefaultMethod(UStringVector &methods, unsigned size) AddDefaultMethod() argument
1603 UInt32 size; Extract() local
1872 UInt64 size; UpdateItems() local
1911 UInt32 size; UpdateItems() local
[all...]
/third_party/json/tests/src/
H A Dunit-deserialization.cpp237 CHECK(l.events.size() == 11);
256 CHECK(l.events.size() == 11);
275 CHECK(l.events.size() == 11);
332 CHECK(l.events.size() == 11);
355 CHECK(l.events.size() == 11);
399 CHECK(l.events.size() == 1);
411 CHECK(l.events.size() == 1);
423 CHECK(l.events.size() == 1);
440 CHECK(l.events.size() == 1);
454 CHECK(l.events.size()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineRenderToImageTests.cpp83 MAX_VERIFICATION_REGION_SIZE = 32, //!< Limit the checked area to a small size, especially for huge images
131 return vec.size() * sizeof(vec[0]); in sizeInBytes()
171 inline int maxLayersOrDepth (const IVec4& size) in maxLayersOrDepth() argument
174 return deMax32(size.z(), size.w()); in maxLayersOrDepth()
434 static_cast<deUint32>(attachmentDescriptions.size()), // deUint32 attachmentCount; in makeRenderPass()
436 static_cast<deUint32>(subpasses.size()), // deUint32 subpassCount; in makeRenderPass()
450 const IVec3& size, in makeImage()
462 makeExtent3D(size), // VkExtent3D extent; in makeImage()
608 IVec4 size in getMaxImageSize() local
445 makeImage(const DeviceInterface& vk, const VkDevice device, VkImageCreateFlags flags, VkImageType imageType, const VkFormat format, const IVec3& size, const deUint32 numMipLevels, const deUint32 numLayers, const VkImageUsageFlags usage) makeImage() argument
649 getReducedImageSize(const CaseDef& caseDef, IVec4 size) getReducedImageSize() argument
680 getSupportedImageMemoryRequirements(Context& context, const CaseDef& caseDef, const VkFormat format, const IVec4 size, const VkImageUsageFlags usage, VkMemoryRequirements& imageMemoryRequiements) getSupportedImageMemoryRequirements() argument
1693 getSizeDescription(const IVec4& size) getSizeDescription() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationSignalOrderTests.cpp119 std::vector<deUint32> queueFamilyIndices (queueFamilyProperties.size(), 0xFFFFFFFFu); in createTestDevice()
159 for (size_t ndx = 0; ndx < queueFamilyProperties.size(); ndx++) in createTestDevice()
181 (deUint32)queues.size(), in createTestDevice()
187 (deUint32)extensions.size(), in createTestDevice()
385 (deUint32)resourceDesc.size.x(), in importResource()
386 de::max(1u, (deUint32)resourceDesc.size.y()), in importResource()
387 de::max(1u, (deUint32)resourceDesc.size.z()) in importResource()
440 const VkDeviceSize size = static_cast<VkDeviceSize>(resourceDesc.size.x()); in importResource() local
454 size, in importResource()
592 createBuffer(const vk::DeviceInterface& vkd, vk::VkDevice device, const vk::VkDeviceSize& size, deUint32 queueFamilyIndex) createBuffer() argument
702 const VkDeviceSize size = static_cast<VkDeviceSize>(m_resourceDesc.size.x()); iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
H A DvktSynchronizationSignalOrderTests.cpp101 std::vector<deUint32> queueFamilyIndices (queueFamilyProperties.size(), 0xFFFFFFFFu); in createTestDevice()
141 for (size_t ndx = 0; ndx < queueFamilyProperties.size(); ndx++) in createTestDevice()
163 (deUint32)queues.size(), in createTestDevice()
169 (deUint32)extensions.size(), in createTestDevice()
367 (deUint32)resourceDesc.size.x(), in importResource()
368 de::max(1u, (deUint32)resourceDesc.size.y()), in importResource()
369 de::max(1u, (deUint32)resourceDesc.size.z()) in importResource()
422 const VkDeviceSize size = static_cast<VkDeviceSize>(resourceDesc.size.x()); in importResource() local
436 size, in importResource()
574 createBuffer(const vk::DeviceInterface& vkd, vk::VkDevice device, const vk::VkDeviceSize& size, deUint32 queueFamilyIndex) createBuffer() argument
680 const VkDeviceSize size = static_cast<VkDeviceSize>(m_resourceDesc.size.x()); iterate() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dsinewin_fixed_tablegen.c34 #define PRINT_TABLE(size) \ in main()
35 printf("SINETABLE("#size") = {\n"); \ in main()
36 write_int32_t_array(sine_ ## size ## _fixed, size); \ in main()
/third_party/musl/porting/liteos_m/user/src/thread/
H A Dpthread_attr_setstack.c4 _LIBC_TEXT_SECTION int pthread_attr_setstack(pthread_attr_t *a, void *addr, size_t size) in pthread_attr_setstack() argument
6 if (size-PTHREAD_STACK_MIN > SIZE_MAX/4) return EINVAL; in pthread_attr_setstack()
7 a->_a_stackaddr = (size_t)addr + size; in pthread_attr_setstack()
8 a->_a_stacksize = size; in pthread_attr_setstack()
/third_party/musl/src/thread/
H A Dpthread_attr_setstack.c3 int pthread_attr_setstack(pthread_attr_t *a, void *addr, size_t size) in pthread_attr_setstack() argument
5 if (size-PTHREAD_STACK_MIN > SIZE_MAX/4) return EINVAL; in pthread_attr_setstack()
6 a->_a_stackaddr = (size_t)addr + size; in pthread_attr_setstack()
7 a->_a_stacksize = size; in pthread_attr_setstack()
/test/xts/hats/hdf/camera/cameraHdi/v4l2/src/
H A Dusb_camera_test_mult.cpp73 streamInfoPre_.bufferQueue_->producer_->SetQueueSize(8); // 8:set bufferQueue size in DefaultInfosPreview()
94 streamInfoVideo_.bufferQueue_->producer_->SetQueueSize(8); // 8:set bufferQueue size in DefaultInfosVideo()
115 streamInfoCapture_.bufferQueue_->producer_->SetQueueSize(8); // 8:set bufferQueue size in DefaultInfosCapture()
149 void UtestUSBCameraTestMult::StoreImage(const unsigned char *bufStart, const uint32_t size) in StoreImage() argument
175 CAMERA_LOGD("demo test:StoreImage2 %{public}s size == %{public}d\n", path, size); in StoreImage()
177 ret = write(imgFD, bufStart, size); in StoreImage()
185 void UtestUSBCameraTestMult::StoreVideo(const unsigned char *bufStart, const uint32_t size) in StoreVideo() argument
189 ret = write(videoFd_, bufStart, size); in StoreVideo()
193 CAMERA_LOGD("demo test:StoreVideo size in StoreVideo()
[all...]

Completed in 31 milliseconds

1...<<919293949596979899100>>...815