Home
last modified time | relevance | path

Searched refs:nbytes (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dutf.cpp44 auto [pair, nbytes] = ConvertMUtf8ToUtf16Pair(mutf8, mutf8Len - pos); in MUtf8ToUtf16Size()
45 if (nbytes == 0) { in MUtf8ToUtf16Size()
46 nbytes = 1; in MUtf8ToUtf16Size()
49 mutf8 += nbytes; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in MUtf8ToUtf16Size()
50 pos += nbytes; in MUtf8ToUtf16Size()
100 auto [pair, nbytes] = ConvertMUtf8ToUtf16Pair(mutf8In, mutf8Len - inPos); in ConvertRegionUtf8ToUtf16()
103 mutf8In += nbytes; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in ConvertRegionUtf8ToUtf16()
104 inPos += nbytes; in ConvertRegionUtf8ToUtf16()
106 start -= nbytes; in ConvertRegionUtf8ToUtf16()
/ohos5.0/base/startup/init/interfaces/innerkits/fs_manager/erofs_overlay/
H A Derofs_overlay_common.c61 ssize_t nbytes = read(fd, &superBlock, sizeof(superBlock)); in CheckIsExt4() local
62 if (nbytes != sizeof(superBlock)) { in CheckIsExt4()
92 ssize_t nbytes = read(fd, &superBlock, sizeof(superBlock)); in CheckIsErofs() local
93 if (nbytes != sizeof(superBlock)) { in CheckIsErofs()
H A Derofs_mount_overlay.c91 ssize_t nbytes = read(fd, &sb, sizeof(sb)); in LookupErofsEnd() local
92 if (nbytes != sizeof(sb)) { in LookupErofsEnd()
124 ssize_t nbytes = read(fd, &header, sizeof(header)); in GetImgSize() local
125 if (nbytes != sizeof(header)) { in GetImgSize()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/pulseaudio/modules/capturer/
H A Dmodule_inner_capturer_sink.c130 size_t nbytes; in SinkUpdateRequestedLatencyCb() local
141 nbytes = pa_usec_to_bytes(u->block_usec, &s->sample_spec); in SinkUpdateRequestedLatencyCb()
142 pa_sink_set_max_rewind_within_thread(s, nbytes); in SinkUpdateRequestedLatencyCb()
143 pa_sink_set_max_request_within_thread(s, nbytes); in SinkUpdateRequestedLatencyCb()
422 size_t nbytes; in pa__init() local
453 nbytes = pa_usec_to_bytes(u->block_usec, &u->sink->sample_spec); in pa__init()
455 pa_sink_set_max_rewind(u->sink, nbytes); in pa__init()
/ohos5.0/base/startup/init/interfaces/innerkits/fs_manager/libfs_hvb/
H A Dhvb_ops.c37 ssize_t nbytes; in GetImageSizeForHVB() local
47 nbytes = read(fd, &headerBuf, sizeof(headerBuf)); in GetImageSizeForHVB()
48 if (nbytes != sizeof(headerBuf)) { in GetImageSizeForHVB()
H A Dfs_hvb.c610 ssize_t nbytes; in CheckAndGetExtheaderSize() local
621 nbytes = read(fd, &header, sizeof(header)); in CheckAndGetExtheaderSize()
622 if (nbytes != sizeof(header)) { in CheckAndGetExtheaderSize()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/pulseaudio/modules/hdi/
H A Dmodule_split_stream_sink.c252 size_t nbytes; in SinkUpdateRequestedLatencyCb() local
263 nbytes = pa_usec_to_bytes(u->block_usec, &s->sample_spec); in SinkUpdateRequestedLatencyCb()
264 pa_sink_set_max_rewind_within_thread(s, nbytes); in SinkUpdateRequestedLatencyCb()
265 pa_sink_set_max_request_within_thread(s, nbytes); in SinkUpdateRequestedLatencyCb()
992 size_t nbytes; in PaHdiSinkNewInit() local
1005 nbytes = pa_usec_to_bytes(u->block_usec, &u->sink->sample_spec); in PaHdiSinkNewInit()
1006 pa_sink_set_max_rewind(u->sink, nbytes); in PaHdiSinkNewInit()
H A Dhdi_sink.c2595 size_t nbytes = pa_usec_to_bytes(MAX_REWIND, &i->sink->sample_spec); in offloadSetMaxRewind() local
2599 pa_resampler_request(i->thread_info.resampler, nbytes) : nbytes); in offloadSetMaxRewind()
3433 size_t nbytes; in SinkUpdateRequestedLatencyCb() local
3447 nbytes = pa_usec_to_bytes(u->block_usec, &s->sample_spec); in SinkUpdateRequestedLatencyCb()
3448 pa_sink_set_max_request_within_thread(s, nbytes); in SinkUpdateRequestedLatencyCb()
/ohos5.0/base/update/packaging_tools/test/
H A Dsource_vendor_data Error!