Home
last modified time | relevance | path

Searched refs:size (Results 14401 - 14425 of 31208) sorted by relevance

1...<<571572573574575576577578579580>>...1249

/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/test/unittest/capturer_test/src/
H A Daudio_capturer_unit_test.cpp95 size_t size = 1; in StartCaptureThread() local
104 fwrite(buffer.get(), size, bytesRead, capFile); in StartCaptureThread()
122 EXPECT_EQ(AUDIO_SUPPORTED_FORMATS.size(), supportedFormatList.size()); in HWTEST()
133 EXPECT_EQ(CAPTURER_SUPPORTED_CHANNELS.size(), supportedChannelList.size()); in HWTEST()
145 EXPECT_EQ(AUDIO_SUPPORTED_ENCODING_TYPES.size(), supportedEncodingTypes.size()); in HWTEST()
156 EXPECT_EQ(AUDIO_SUPPORTED_SAMPLING_RATES.size(), supportedSamplingRates.size()); in HWTEST()
1449 size_t size = 1; HWTEST() local
1498 size_t size = 1; HWTEST() local
1715 size_t size = 1; HWTEST() local
[all...]
/third_party/alsa-lib/src/pcm/
H A Dpcm_rate.c82 /* allocate a channel area and a temporary buffer for the given size */
656 * rate->hw_ptr += [ (no. of updated slave periods * pcm rate period size) - in snd_pcm_rate_sync_hwptr0()
772 snd_pcm_uframes_t size ATTRIBUTE_UNUSED, in snd_pcm_rate_commit_area()
1027 snd_pcm_uframes_t size) in snd_pcm_rate_mmap_commit()
1032 if (size == 0) in snd_pcm_rate_mmap_commit()
1035 err = snd_pcm_rate_sync_playback_area(pcm, rate->appl_ptr + size); in snd_pcm_rate_mmap_commit()
1039 snd_pcm_mmap_appl_forward(pcm, size); in snd_pcm_rate_mmap_commit()
1040 return size; in snd_pcm_rate_mmap_commit()
1048 snd_pcm_uframes_t xfer, hw_offset, size; in snd_pcm_rate_avail_update_capture() local
1051 size in snd_pcm_rate_avail_update_capture()
1025 snd_pcm_rate_mmap_commit(snd_pcm_t *pcm, snd_pcm_uframes_t offset ATTRIBUTE_UNUSED, snd_pcm_uframes_t size) snd_pcm_rate_mmap_commit() argument
1131 snd_pcm_uframes_t size, ofs, saved_avail_min; snd_pcm_rate_drain() local
[all...]
/third_party/backends/frontend/
H A Dscanimage.c114 {"buffer-size", optional_argument, NULL, 'B'},
452 && opt->size > (SANE_Int) sizeof (SANE_Word)) in print_option()
482 if (opt->size > (SANE_Int) sizeof(SANE_Word)) in print_option()
505 if (opt->size > (SANE_Int) sizeof(SANE_Word)) in print_option()
538 if (opt->size > (SANE_Int) sizeof (SANE_Word)) in print_option()
563 if (opt->type == SANE_TYPE_STRING || opt->size == sizeof (SANE_Word)) in print_option()
567 void *val = alloca (opt->size); in print_option()
948 && opt->size == sizeof (SANE_Int) in fetch_options()
957 && opt->size == sizeof (SANE_Int) in fetch_options()
1044 if (opt->size in set_option()
[all...]
/third_party/libcoap/src/
H A Dcoap_io.c227 (socklen_t)listen_addr->size) == COAP_SOCKET_ERROR) {
233 bound_addr->size = (socklen_t)sizeof(*bound_addr);
234 if (getsockname(sock->fd, &bound_addr->addr.sa, &bound_addr->size) < 0) {
360 (socklen_t)local_if->size) == COAP_SOCKET_ERROR) {
394 (socklen_t)bind_addr.size) == COAP_SOCKET_ERROR) {
400 if (getsockname(sock->fd, &local_addr->addr.sa, &local_addr->size) == COAP_SOCKET_ERROR) {
417 if (getsockname(sock->fd, &local_addr->addr.sa, &local_addr->size) == COAP_SOCKET_ERROR) {
439 (socklen_t)bind_addr.size) == COAP_SOCKET_ERROR) {
451 if (connect(sock->fd, &connect_addr.addr.sa, connect_addr.size) == COAP_SOCKET_ERROR) {
465 if (getsockname(sock->fd, &local_addr->addr.sa, &local_addr->size)
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_clear.c39 uint32_t size, uint32_t clear_value) in si_init_buffer_clear()
43 info->size = size; in si_init_buffer_clear()
51 uint32_t size, uint32_t clear_value, uint32_t writemask) in si_init_buffer_clear_rmw()
53 si_init_buffer_clear(info, resource, offset, size, clear_value); in si_init_buffer_clear_rmw()
85 assert(info[i].size > 0); in si_execute_clears()
88 si_compute_clear_buffer_rmw(sctx, info[i].resource, info[i].offset, info[i].size, in si_execute_clears()
93 si_clear_buffer(sctx, info[i].resource, info[i].offset, info[i].size, in si_execute_clears()
231 int max = u_bit_consecutive(0, desc->channel[i].size - 1); in gfx8_get_dcc_clear_parameters()
239 unsigned max = u_bit_consecutive(0, desc->channel[i].size); in gfx8_get_dcc_clear_parameters()
37 si_init_buffer_clear(struct si_clear_info *info, struct pipe_resource *resource, uint64_t offset, uint32_t size, uint32_t clear_value) si_init_buffer_clear() argument
49 si_init_buffer_clear_rmw(struct si_clear_info *info, struct pipe_resource *resource, uint64_t offset, uint32_t size, uint32_t clear_value, uint32_t writemask) si_init_buffer_clear_rmw() argument
[all...]
/third_party/node/deps/v8/tools/gcmole/
H A Dgcmole.cc512 size_t size = std::max(live_.size(), env.live_.size()); in Equal()
513 for (size_t i = 0; i < size; ++i) { in Equal()
529 int new_code = symbol_table_.size(); in SymbolToCode()
569 if (pos >= live_.size()) live_.resize(pos + 1); in set_live()
574 return unreachable_ || (live_.size() > pos && live_[pos]); in is_live()
582 for (size_t i = 0, e = o.live_.size(); i < e; ++i) { in operator |=()
595 size_t size = std::max(live_.size(), in operator &=()
[all...]
/third_party/ntfs-3g/libfuse-lite/
H A Dfuse_lowlevel.c89 attr->size = stbuf->st_size; in convert_stat()
107 stbuf->st_size = attr->size; in convert_attr()
411 arg.size = count; in fuse_reply_write()
416 int fuse_reply_buf(fuse_req_t req, const char *buf, size_t size) in fuse_reply_buf() argument
418 return send_reply_ok(req, buf, size); in fuse_reply_buf()
424 size_t size = req->f->conn.proto_minor < 4 ? FUSE_COMPAT_STATFS_SIZE : sizeof(arg); in fuse_reply_statfs() local
429 return send_reply_ok(req, &arg, size); in fuse_reply_statfs()
437 arg.size = count; in fuse_reply_xattr()
469 int fuse_reply_ioctl(fuse_req_t req, int result, const void *buf, size_t size) in fuse_reply_ioctl() argument
481 if (size) { in fuse_reply_ioctl()
[all...]
/third_party/mesa3d/src/mesa/main/
H A Duniform_query.cpp55 GLsizei maxLength, GLsizei *length, GLint *size, in _mesa_GetActiveUniform_impl()
90 if (size) in _mesa_GetActiveUniform_impl()
92 res, index, GL_ARRAY_SIZE, (GLint*) size, in _mesa_GetActiveUniform_impl()
98 GLsizei maxLength, GLsizei *length, GLint *size, in _mesa_GetActiveUniform()
101 _mesa_GetActiveUniform_impl(program, index, maxLength, length, size, in _mesa_GetActiveUniform()
363 * account for the size of the user's buffer. in _mesa_get_uniform()
386 /* doubles have a different size than the other 3 types */ in _mesa_get_uniform()
1297 unsigned size = sizeof(storage[0]) * components * count * size_mul;
1299 if (!memcmp(storage, values, size))
1305 memcpy(storage, values, size);
54 _mesa_GetActiveUniform_impl(GLuint program, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *nameOut, bool glthread) _mesa_GetActiveUniform_impl() argument
97 _mesa_GetActiveUniform(GLuint program, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *nameOut) _mesa_GetActiveUniform() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
H A DLTO.cpp163 AddUint64(Entry.second.size()); in computeLTOCacheKey()
254 AddUint64(S.WPDRes.size()); in computeLTOCacheKey()
260 AddUint64(WPD.second.ResByArg.size()); in computeLTOCacheKey()
262 AddUint64(ByArg.first.size()); in computeLTOCacheKey()
280 AddUnsigned(UsedCfiDefs.size()); in computeLTOCacheKey()
284 AddUnsigned(UsedCfiDecls.size()); in computeLTOCacheKey()
444 for (unsigned I = 0; I != FOrErr->Mods.size(); ++I) { in create()
445 size_t Begin = File->Symbols.size(); in create()
452 File->ModuleSymIndices.push_back({Begin, File->Symbols.size()}); in create()
465 assert(Mods.size() in getSingleBitcodeModule()
[all...]
/third_party/vk-gl-cts/android/cts/runner/src/com/drawelements/deqp/runner/
H A DDeqpTestRunner.java1247 if (runBatch.tests.size() >= getBatchSizeLimitForInstability(leadingInstability)) { in selectRunBatch()
1248 // batch size is limited. in selectRunBatch()
1275 // reduce group size exponentially down to one in getBatchSizeLimitForInstability()
1439 // since executeTestRunBatchRun will always progress for a batch of size 1. in executeTestRunBatch()
1448 final int divisorNdx = pendingTests.size() / 2; in executeTestRunBatch()
1450 final List<TestDescription> tailList = pendingTests.subList(divisorNdx, pendingTests.size()); in executeTestRunBatch()
1486 if (getBatchNumPendingCases(batch) != batch.tests.size()) { in executeTestRunBatchRun()
1577 if (batch.tests.size() == 1) { in executeTestRunBatchRun()
1663 retVal += mInstanceListerner.mPendingResults.get(testId).remainingConfigs.size(); in getNumRemainingInstances()
1665 retVal += mTestInstances.get(testId).size(); in getNumRemainingInstances()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DSecondaryCommandBuffer.h92 // This makes it easy to know the size of params & to copy params
93 // TODO: Could optimize the size of some of these structs through bit-packing
343 VkDeviceSize size; member
386 uint32_t size; member
455 uint16_t size; member
457 static_assert(sizeof(CommandHeader) == 4, "Check CommandHeader size");
631 VkDeviceSize size,
659 uint32_t size,
709 // Make sure block size is 4-byte aligned to avoid Android errors
750 bool empty() const { return mCommands.size()
1315 fillBuffer(const Buffer &dstBuffer, VkDeviceSize dstOffset, VkDeviceSize size, uint32_t data) fillBuffer() argument
1390 pushConstants(const PipelineLayout &layout, VkShaderStageFlags flag, uint32_t offset, uint32_t size, const void *data) pushConstants() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DShaderStorageBufferTest.cpp1090 glBufferSubData(GL_SHADER_STORAGE_BUFFER, offset, kUVData.size() * kBytesPerComponent, in TEST_P()
1092 offset += (kUVData.size() * kBytesPerComponent); in TEST_P()
1093 glBufferSubData(GL_SHADER_STORAGE_BUFFER, offset, kUIData.size() * kBytesPerComponent, in TEST_P()
1095 offset += (kUIData.size() * kBytesPerComponent); in TEST_P()
1097 glBufferSubData(GL_SHADER_STORAGE_BUFFER, offset, kUVData.size() * kBytesPerComponent, in TEST_P()
1099 offset += (kUVData.size() * kBytesPerComponent); in TEST_P()
1100 glBufferSubData(GL_SHADER_STORAGE_BUFFER, offset, kUIData.size() * kBytesPerComponent, in TEST_P()
1102 offset += (kUIData.size() * kBytesPerComponent); in TEST_P()
1207 glBufferSubData(GL_SHADER_STORAGE_BUFFER, offset, kUVData.size() * kBytesPerComponent, in TEST_P()
1209 offset += (kUVData.size() * kBytesPerComponen in TEST_P()
[all...]
/third_party/skia/src/core/
H A DSkRuntimeEffect.cpp146 if (reflected.size() != effectPtrs.size()) { in verify_child_effects()
151 for (size_t i = 0; i < effectPtrs.size(); ++i) { in verify_child_effects()
164 if (!buffer.validate(childCount == effect->children().size())) { in read_child_effects()
188 buffer.write32(children.size()); in write_child_effects()
231 program = compiler->convertProgram(kind, SkSL::String(sksl.c_str(), sksl.size()), settings); in MakeFromSource()
328 c.index = children.size(); in MakeInternal()
455 : skslHashA(SkOpts::hash(sksl.c_str(), sksl.size(), 0)) in SkMakeCachedRuntimeEffect()
456 , skslHashB(SkOpts::hash(sksl.c_str(), sksl.size(), 1)) {} in SkMakeCachedRuntimeEffect()
515 : fHash(SkOpts::hash_fn(baseProgram->fSource->c_str(), baseProgram->fSource->size(), in SkRuntimeEffect()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DGenericDomTreeConstruction.h305 const unsigned NextDFSNum(NumToNode.size()); in runSemiNCA()
358 assert(NumToNode.size() == 1 && "SNCAInfo must be freshly constructed"); in addVirtualRoot()
517 for (unsigned i = 0; i < Roots.size(); ++i) { in RemoveRedundantRoots()
552 assert(DT.Roots.size() == 1 && "Dominators should have a singe root"); in doFullDFSWalk()
598 for (size_t i = 1, e = NumToNode.size(); i != e; ++i) { in attachNewSubtree()
620 for (size_t i = 1, e = NumToNode.size(); i != e; ++i) { in reattachExistingSubtree()
703 if (A.size() != B.size()) in isPermutation()
1156 const size_t NumUpdates = Updates.size(); in ApplyUpdates()
1173 LLVM_DEBUG(dbgs() << "Legalizing " << BUI.Updates.size() << " update in ApplyUpdates()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
H A DRDFGraph.cpp175 unsigned N = P.Obj.size(); in operator <<()
185 unsigned N = P.Obj.size(); in operator <<()
207 unsigned N = P.List.size(); in operator <<()
271 unsigned N = Ns.size(); in operator <<()
338 // memory in sizes that are multiples of the size of a node. Each block has
339 // the same size. Nodes are allocated from the currently active block, and
351 assert((Blocks.size() < ((size_t)1 << (8*sizeof(NodeId)-BitsPerIndex))) && in startNewBlock()
369 uint32_t ActiveB = Blocks.size()-1; in New()
379 for (unsigned i = 0, n = Blocks.size(); i != n; ++i) { in id()
672 Pos = DS.Stack.size(); in Iterator()
678 unsigned DataFlowGraph::DefStack::size() const { size() function in DataFlowGraph::DefStack
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Dlocid.cpp300 int32_t size = 0; in Locale() local
306 // Calculate the size of the resulting string. in Locale()
316 size = lsize; in Locale()
329 size += csize; in Locale()
355 size += vsize; in Locale()
361 size += 2; // at least: __v in Locale()
365 size += 1; // at least: _v in Locale()
375 size += ksize + 1; in Locale()
1299 (checkVariants && variants.size() == 0)) {
1303 int32_t variant_size = checkVariants ? variants.size()
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fShaderApiTests.cpp109 std::vector<const char*> cStrings (sources.strings.size(), 0); in setShaderSources()
111 for (size_t ndx = 0; ndx < sources.strings.size(); ndx++) in setShaderSources()
114 if (sources.lengths.size() > 0) in setShaderSources()
115 shader.setSources((int)cStrings.size(), &cStrings[0], &sources.lengths[0]); in setShaderSources()
117 shader.setSources((int)cStrings.size(), &cStrings[0], 0); in setShaderSources()
173 gl.getShaderSource(shader, (int)source.size(), &unusedLen, &source[0]); in queryShaderInfo()
180 gl.getShaderInfoLog(shader, (int)infoLog.size(), &unusedLen, &infoLog[0]); in queryShaderInfo()
631 glGetShaderSource(shader.getShader(), (GLsizei)sourceBuffer.size(), 0, &sourceBuffer[0]); in readSource()
727 std::vector<int> indices (sources.strings.size(), 0); in insertRandomNullTermStrings()
729 DE_ASSERT(sources.lengths.size() > in insertRandomNullTermStrings()
[all...]
/third_party/vk-gl-cts/modules/gles3/performance/
H A Des3pDepthTests.cpp117 , m_numVertices (int(object.geometry.size())/4) in RenderData()
125 gl.bufferData(GL_ARRAY_BUFFER, object.geometry.size() * sizeof(float), &object.geometry[0], GL_STATIC_DRAW); in RenderData()
606 for (size_t ndx = 0; ndx < params.size(); ndx++) in iterate()
631 for (size_t ndx = 0; ndx < samples.size(); ndx++) in logSamples()
650 for (size_t sampleNdx = 0; sampleNdx < samples.size(); sampleNdx++) in logSamples()
667 for (size_t sampleNdx = 0; sampleNdx < samples.size(); sampleNdx++) in logSamples()
747 vector<Vec2> testSamples (samples.size()); in logAnalysis()
749 for (size_t ndx = 0; ndx < samples.size(); ndx++) in logAnalysis()
1051 vector<Vec2> nullSamples (samples.size()); in logAnalysis()
1052 vector<Vec2> baseSamples (samples.size()); in logAnalysis()
1418 const int size = 128; init() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
H A Dp2p_go_neg.c617 unsigned freq_list[], unsigned int size) in p2p_check_pref_chan_no_recv()
630 for (i = 0; i < size && !found; i++) { in p2p_check_pref_chan_no_recv()
664 unsigned freq_list[], unsigned int size) in p2p_check_pref_chan_recv()
675 for (i = 0; i < size && !found; i++) { in p2p_check_pref_chan_recv()
707 unsigned int freq_list[P2P_MAX_PREF_CHANNELS], size; in p2p_check_pref_chan() local
723 size = P2P_MAX_PREF_CHANNELS; in p2p_check_pref_chan()
724 if (p2p->cfg->get_pref_freq_list(p2p->cfg->cb_ctx, go, &size, in p2p_check_pref_chan()
729 while (i < size) { in p2p_check_pref_chan()
739 if (size - i - 1 > 0) in p2p_check_pref_chan()
741 (size in p2p_check_pref_chan()
614 p2p_check_pref_chan_no_recv(struct p2p_data *p2p, int go, struct p2p_device *dev, struct p2p_message *msg, unsigned freq_list[], unsigned int size) p2p_check_pref_chan_no_recv() argument
661 p2p_check_pref_chan_recv(struct p2p_data *p2p, int go, struct p2p_device *dev, struct p2p_message *msg, unsigned freq_list[], unsigned int size) p2p_check_pref_chan_recv() argument
[all...]
/applications/standard/app_samples/code/BasicFeature/Media/ImageEffect/entry/src/main/cpp/backend/
H A Dimage_edit.cpp89 for (int i = 0; i < filters.size(); i++) { in Apply()
258 // 示例代码: 传入nullptr的format, 获取OH_Formats的size in LookupFilterInfo()
322 std::string res = "size: " + std::to_string(filterNames->size) + std::string(", name: "); in LookupFilters()
323 for (int i = 0; i < filterNames->size; i++) { in LookupFilters()
325 if (i < filterNames->size - 1) { in LookupFilters()
329 status = napi_create_string_utf8(env, res.c_str(), res.size(), &result); in LookupFilters()
/foundation/ai/intelligent_voice_framework/services/intell_voice_trigger/server/connector_mgr/
H A Dtrigger_connector.cpp90 std::shared_ptr<TriggerSession> session = std::make_shared<TriggerSession>(this, callback, activeSessions_.size()); in GetModule()
420 if (modelData.size() == 0) { in CreateAshmemFromModelData()
425 sptr<Ashmem> buffer = OHOS::Ashmem::CreateAshmem("ModelData", modelData.size()); in CreateAshmemFromModelData()
436 if (!buffer->WriteToAshmem(modelData.data(), modelData.size(), 0)) { in CreateAshmemFromModelData()
441 INTELL_VOICE_LOG_INFO("model data size:%{public}zu", modelData.size()); in CreateAshmemFromModelData()
/foundation/CastEngine/castengine_wifi_display/tests/unittest/protocol/rtcp/
H A Drtcp_unit_test.cpp269 EXPECT_EQ(ret.size(), 0); in HWTEST_F()
277 EXPECT_EQ(ret.size(), 0); in HWTEST_F()
317 EXPECT_EQ(ret.size(), 0); in HWTEST_F()
401 EXPECT_EQ(ret.size(), 0); in HWTEST_F()
417 EXPECT_EQ(ret.size(), 0); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/shared_overlay/
H A Dshared_overlay_manager.cpp57 // set size so the node will keep its size in CreateBlankFrameNode()
148 if (effects.size()) { in PrepareSharedTransition()
151 "size:%{public}zu, destMap size:%{public}zu", in PrepareSharedTransition()
152 effects.size(), anchorEffects.size(), srcMap.size(), destMap.size()); in PrepareSharedTransition()
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/
H A Drender_xcomponent.cpp135 touchEventPoint_.size = locationInfo.GetSize(); in HandleTouchEvent()
151 touchInfoList.size() <= OH_MAX_TOUCH_POINTS_NUMBER ? touchInfoList.size() : OH_MAX_TOUCH_POINTS_NUMBER; in SetTouchPoint()
166 ohTouchPoint.size = pointTouchInfo.GetSize(); in SetTouchPoint()
186 ohTouchPoint.size = 0; in SetTouchPoint()
275 // Save the size in case it changes before OnSurfaceCreated() is called in Paint()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/checkboxgroup/
H A Dcheckboxgroup_modifier.cpp259 void CheckBoxGroupModifier::DrawTouchAndHoverBoard(RSCanvas& canvas, const SizeF& size, const OffsetF& offset) const in DrawTouchAndHoverBoard() argument
274 endX = size.Width() + originX + CHECKBOX_GROUP_DOUBLE_RATIO * defaultPaddingSize_.ConvertToPx(); in DrawTouchAndHoverBoard()
275 endY = size.Height() + originY + CHECKBOX_GROUP_DOUBLE_RATIO * defaultPaddingSize_.ConvertToPx(); in DrawTouchAndHoverBoard()
279 endX = size.Width() + originX + CHECKBOX_GROUP_DOUBLE_RATIO * hotZoneHorizontalPadding_.ConvertToPx(); in DrawTouchAndHoverBoard()
280 endY = size.Height() + originY + CHECKBOX_GROUP_DOUBLE_RATIO * hotZoneVerticalPadding_.ConvertToPx(); in DrawTouchAndHoverBoard()

Completed in 49 milliseconds

1...<<571572573574575576577578579580>>...1249