/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | image_transform_test.cpp | 54 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 D | basic_transformer_test.cpp | 146 uint32_t rb = 2; variable 148 basicTransformer.GetAroundPixelRGB565(aroundPos, data, rb, aroundPixels);
|
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/ |
H A D | bpf_ring_buffer.cpp | 64 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 D | bpf_netfirewall.cpp | 107 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 D | basic_transformer.cpp | 235 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 D | sdl_audio_sink_plugin.cpp | 147 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 D | sdl_audio_sink_plugin.h | 90 std::unique_ptr<RingBuffer> rb {};
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/include/ |
H A D | basic_transformer.h | 174 …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 D | skia_bitmap.cpp | 243 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 D | skia_image.cpp | 587 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 D | errorcode-zlib.md | 86 2. 检查文件访问模式,是否为"w"、"wb"、"r"、"rb"、"a"、"ab"等。 189 2. 检查接口调用前,调用打开gz文件的相关接口时传入的访问模式是否与该接口匹配。例如gzgetc属于解压缩操作接口,调用打开gz文件的相关接口时传入的访问模式需要为解压缩模式(r或rb等)。
|
H A D | js-apis-zlib.md | 4074 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 D | shader_pipeline_binder.cpp | 611 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 D | cdc_ether.h | 93 struct EcmRb rb[ECM_NR]; member
|
/ohos5.0/drivers/peripheral/usb/test/unittest/host_sdk/ |
H A D | usb_host_sdk_if_test.h | 88 struct AcmRb rb[ACM_NR]; member
|
H A D | usb_raw_sdk_if_test.h | 93 struct AcmRb rb[ACM_NR]; member
|
/ohos5.0/drivers/peripheral/usb/serial/include/ |
H A D | usb_serial_rawapi.h | 117 struct AcmRb rb[ACM_NR]; member
|
H A D | usb_serial.h | 108 struct AcmRb rb[ACM_NR]; member
|
/ohos5.0/drivers/hdf_core/framework/test/unittest/model/usb/host/include/ |
H A D | usb_test.h | 171 struct AcmRb rb[ACM_NR]; member
|
H A D | usb_raw_test.h | 227 struct RawRb rb[ACM_NR]; member
|
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/ |
H A D | errorcode-zlib.md | 86 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 D | js-apis-zlib.md | 4043 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 D | base_text_select_overlay.cpp | 401 … 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 D | rs_marshalling_helper.cpp | 395 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 D | TestDecompressGzip.new.gz | 1/*
2 * Copyright (c) 2021 Huawei Device Co., Ltd.
3 * ... |