Home
last modified time | relevance | path

Searched refs:rb (Results 1 – 25 of 76) sorted by relevance

1234

/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dimage_transform_test.cpp54 int rb = i * 4; in ConstructPixmapInfo() local
57 *(pixmapInfo.data + rb) = 255; in ConstructPixmapInfo()
58 *(pixmapInfo.data + rb + 1) = 255; in ConstructPixmapInfo()
62 *(pixmapInfo.data + rb) = 255; in ConstructPixmapInfo()
63 *(pixmapInfo.data + rb + 2) = 255; in ConstructPixmapInfo()
68 *(pixmapInfo.data + rb) = 255; in ConstructPixmapInfo()
69 *(pixmapInfo.data + rb + 3) = 255; in ConstructPixmapInfo()
74 *(pixmapInfo.data + rb) = 255; in ConstructPixmapInfo()
113 int rb = i * 4; variable
178 int rb = i * 4; variable
[all …]
H A Dbasic_transformer_test.cpp146 uint32_t rb = 2; variable
148 basicTransformer.GetAroundPixelRGB565(aroundPos, data, rb, aroundPixels);
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/
H A Dbpf_ring_buffer.cpp64 struct ring_buffer *rb = NULL; in ListenRingBufferThread() local
67 rb = ring_buffer__new(ringbufFd, HandleNetworkPolicyEventCallback, NULL, NULL); in ListenRingBufferThread()
68 if (!rb) { in ListenRingBufferThread()
77 err = ring_buffer__poll(rb, RING_BUFFER_POLL_TIME_OUT_MS); in ListenRingBufferThread()
84 ring_buffer__free(rb); in ListenRingBufferThread()
H A Dbpf_netfirewall.cpp107 ring_buffer *rb = ring_buffer__new(mapFd, NetsysBpfNetFirewall::HandleEvent, NULL, NULL); in RingBufferListenThread() local
108 if (!rb) { in RingBufferListenThread()
118 int err = ring_buffer__poll(rb, RING_BUFFER_POLL_TIME_OUT_MS); in RingBufferListenThread()
127 ring_buffer__free(rb); in RingBufferListenThread()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/
H A Dbasic_transformer.cpp235 uint32_t rb = pixmapInfo.imageInfo.size.width * pixelBytes; in DrawPixelmap() local
252 BilinearProc(srcPoint, pixmapInfo, rb, shiftBytes, data); in DrawPixelmap()
367 procArgs.rowBytes = rb; in BilinearProc()
383 const uint16_t *row0 = reinterpret_cast<uint16_t *>(data + aroundPos.y0 * rb); in GetAroundPixelRGB565()
384 const uint16_t *row1 = reinterpret_cast<uint16_t *>(data + aroundPos.y1 * rb); in GetAroundPixelRGB565()
395 const uint8_t *row0 = data + aroundPos.y0 * rb; in GetAroundPixelRGB888()
396 const uint8_t *row1 = data + aroundPos.y1 * rb; in GetAroundPixelRGB888()
411 uint32_t rb, AroundPixels &aroundPixels) in GetAroundPixelRGBA() argument
413 const uint32_t *row0 = reinterpret_cast<uint32_t *>(data + aroundPos.y0 * rb); in GetAroundPixelRGBA()
424 const uint8_t *row0 = data + aroundPos.y0 * rb; in GetAroundPixelALPHA8()
[all …]
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/sink/sdl/audio_sink/
H A Dsdl_audio_sink_plugin.cpp147 rb = CppExt::make_unique<RingBuffer>(srcFrameSize_ * 10); // 最大缓存10帧 in Prepare()
148 rb->Init(); in Prepare()
193 rb->SetActive(true); in Start()
200 rb->SetActive(false); in Stop()
340 rb->SetActive(true); in Resume()
376 rb->WriteBuffer(destBuffer, destLength); in Write()
384 rb->SetActive(false); in Flush()
391 while (rb->GetSize()) { in Drain()
405 auto realLen = rb->ReadBuffer(mixCache_.data(), len); in AudioCallback()
H A Dsdl_audio_sink_plugin.h90 std::unique_ptr<RingBuffer> rb {};
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/include/
H A Dbasic_transformer.h174 …void BilinearProc(const Point &pt, const PixmapInfo &pixmapInfo, const uint32_t rb, const int32_t …
176 …void GetAroundPixelRGB565(const AroundPos aroundPos, uint8_t *data, uint32_t rb, AroundPixels &aro…
178 …void GetAroundPixelRGB888(const AroundPos aroundPos, uint8_t *data, uint32_t rb, AroundPixels &aro…
180 …void GetAroundPixelRGBA(const AroundPos aroundPos, uint8_t *data, uint32_t rb, AroundPixels &aroun…
182 …void GetAroundPixelALPHA8(const AroundPos aroundPos, uint8_t *data, uint32_t rb, AroundPixels &aro…
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_bitmap.cpp243 size_t rb = skiaBitmap_.rowBytes(); in Serialize() local
255 writer.writeUInt(rb); in Serialize()
296 size_t rb = reader.readUInt(); in Deserialize() local
320 …skiaBitmap_.installPixels(imageInfo, const_cast<void*>(pixBuffer.release()), rb, releaseProc, null… in Deserialize()
H A Dskia_image.cpp587 size_t rb = pixmap.rowBytes(); in Serialize() local
595 writer.writeUInt(rb); in Serialize()
637 size_t rb = reader.readUInt(); in Deserialize() local
659 skiaImage_ = SkImage::MakeRasterData(imageInfo, skData, rb); in Deserialize()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/
H A Derrorcode-zlib.md86 2. 检查文件访问模式,是否为"w"、"wb"、"r"、"rb"、"a"、"ab"等。
189 2. 检查接口调用前,调用打开gz文件的相关接口时传入的访问模式是否与该接口匹配。例如gzgetc属于解压缩操作接口,调用打开gz文件的相关接口时传入的访问模式需要为解压缩模式(r或rb等)。
H A Djs-apis-zlib.md4074 await gzip.gzopen(path, "rb");
4205 await gzip.gzopen(path, "rb");
4385 await gzip.gzopen(path, "rb");
4528 await gzip.gzopen(path, "rb");
4752 await gzip.gzopen(path, "rb");
4879 await gzip.gzopen(path, "rb");
5020 await gzip.gzopen(path, "rb");
5288 await gzip.gzopen(path, "rb");
5365 await gzip.gzopen(path, "rb");
5709 await gzip.gzopen(path, "rb");
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dshader_pipeline_binder.cpp611 IShaderPipelineBinder::ResourceBinding rb; in GetResourceBinding() local
613 rb.set = set; in GetResourceBinding()
614 rb.binding = binding; in GetResourceBinding()
615 rb.arrayOffset = resBinding.arrayoffset; in GetResourceBinding()
616 rb.descriptorCount = resBinding.descriptorCount; in GetResourceBinding()
619 rb.handle = setResources.buffers[resBinding.resIdx].handle; in GetResourceBinding()
622 rb.handle = setResources.images[resBinding.resIdx].handle; in GetResourceBinding()
625 rb.handle = setResources.samplers[resBinding.resIdx].handle; in GetResourceBinding()
627 return rb; in GetResourceBinding()
/ohos5.0/drivers/peripheral/usb/net/include/
H A Dcdc_ether.h93 struct EcmRb rb[ECM_NR]; member
/ohos5.0/drivers/peripheral/usb/test/unittest/host_sdk/
H A Dusb_host_sdk_if_test.h88 struct AcmRb rb[ACM_NR]; member
H A Dusb_raw_sdk_if_test.h93 struct AcmRb rb[ACM_NR]; member
/ohos5.0/drivers/peripheral/usb/serial/include/
H A Dusb_serial_rawapi.h117 struct AcmRb rb[ACM_NR]; member
H A Dusb_serial.h108 struct AcmRb rb[ACM_NR]; member
/ohos5.0/drivers/hdf_core/framework/test/unittest/model/usb/host/include/
H A Dusb_test.h171 struct AcmRb rb[ACM_NR]; member
H A Dusb_raw_test.h227 struct RawRb rb[ACM_NR]; member
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/
H A Derrorcode-zlib.md86 2. Check whether the file access mode is **w**, **wb**, **r**, **rb**, **a**, and **ab**.
189 … a decompression API, so the input access mode should be decompression mode (such **r** or **rb**).
H A Djs-apis-zlib.md4043 await gzip.gzopen(path, "rb");
4174 await gzip.gzopen(path, "rb");
4354 await gzip.gzopen(path, "rb");
4497 await gzip.gzopen(path, "rb");
4721 await gzip.gzopen(path, "rb");
4848 await gzip.gzopen(path, "rb");
4989 await gzip.gzopen(path, "rb");
5257 await gzip.gzopen(path, "rb");
5334 await gzip.gzopen(path, "rb");
5678 await gzip.gzopen(path, "rb");
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dbase_text_select_overlay.cpp401 … const OffsetF& point, const OffsetF& lb, const OffsetF& rb, const OffsetF& rt, const OffsetF& lt) in IsPointInRect() argument
408 auto bottomProduct = crossProduct(point, lb, rb); in IsPointInRect()
409 auto rightProduct = crossProduct(point, rb, rt); in IsPointInRect()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_marshalling_helper.cpp395 size_t rb = pixmap.GetRowBytes(); in Marshalling() local
407 parcel.WriteUint32(rb); in Marshalling()
480 size_t rb = parcel.ReadUint32(); in UnmarshallingNoLazyGeneratedImage() local
513 val = Drawing::Image::MakeRasterData(imageInfo, skData, rb); in UnmarshallingNoLazyGeneratedImage()
/ohos5.0/base/update/updater/test/fuzztest/fuzz_src_data/
H A DTestDecompressGzip.new.gz1/* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * ...

1234