/ohos5.0/docs/zh-cn/application-dev/media/image/ |
H A D | image-decoding-native.md | 110 char srcBuf[2048]; 112 napi_get_value_string_utf8(env, args[1], srcBuf, sizeof(srcBuf), &strSize); 115 RawFile * rawFile = OH_ResourceManager_OpenRawFile(mNativeResMgr, srcBuf); 200 char srcBuf[2048]; 202 napi_get_value_string_utf8(env, args[1], srcBuf, sizeof(srcBuf), &strSize); 205 RawFile * rawFile = OH_ResourceManager_OpenRawFile(mNativeResMgr, srcBuf);
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/ |
H A D | wifi_hdi_util_test.cpp | 61 char srcBuf[100] = "123\t456\t789\t012\t345"; variable 62 int length = strlen(srcBuf); 75 char srcBuf[100] = "\t\t\t\t\t"; variable 76 int length = strlen(srcBuf); 1007 char srcBuf[10] = ""; variable 1008 GetInfoElems(0, 0, srcBuf, nullptr); 1015 char srcBuf[10] = "[123"; variable 1024 char srcBuf[10] = "123"; variable 1033 char srcBuf[10] = "123["; variable 1042 char srcBuf[10] = "123[]"; variable [all …]
|
/ohos5.0/foundation/window/window_manager_lite/services/wms/ |
H A D | lite_win.cpp | 162 …uint8_t* srcBuf = reinterpret_cast<uint8_t*>(backBuf_->GetVirAddr()) + y1 * stride + x1 * sizeof(C… in FlushWithModeCopy() local 167 ColorType* tmpSrc = reinterpret_cast<ColorType*>(srcBuf); in FlushWithModeCopy() 173 if (memcpy_s(dstBuf, lineSize, srcBuf, lineSize) != EOK) { in FlushWithModeCopy() 177 srcBuf += stride; in FlushWithModeCopy() 190 …uint8_t* srcBuf = reinterpret_cast<uint8_t*>(backBuf_->GetVirAddr()) + y1 * stride + x1 * sizeof(C… in FlushWithModeBlend() local 193 ColorType* tmpSrc = reinterpret_cast<ColorType*>(srcBuf); in FlushWithModeBlend() 223 srcBuf += stride; in FlushWithModeBlend()
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/ |
H A D | wifi_hdi_util.c | 401 static void GetInfoElems(int length, int end, char *srcBuf, ScanInfo *pcmd) in GetInfoElems() argument 423 if (srcBuf[start] == '[') { in GetInfoElems() 427 if (srcBuf[start] != ' ') { in GetInfoElems() 430 if (srcBuf[last] != ']') { in GetInfoElems() 441 srcBuf[last] = '\0'; in GetInfoElems() 1250 int DelScanInfoLine(ScanInfo *pcmd, char *srcBuf, int length) in DelScanInfoLine() argument 1257 if (srcBuf[end] != '\t') { in DelScanInfoLine() 1261 srcBuf[end] = '\0'; in DelScanInfoLine() 1268 pcmd->freq = atoi(srcBuf + start); in DelScanInfoLine() 1270 pcmd->siglv = atoi(srcBuf + start); in DelScanInfoLine() [all …]
|
H A D | wifi_hdi_util.h | 33 int DelScanInfoLine(ScanInfo *pcmd, char *srcBuf, int length);
|
/ohos5.0/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/wifi_hal_module/wpa_supplicant_hal/wpa_sta_hal/ |
H A D | wifi_supplicant_hal.c | 1157 if (srcBuf[start] == '[') { in GetInfoElems() 1159 infoElemsTemp[infoElemsSize].id = atoi(srcBuf + start); in GetInfoElems() 1161 if (srcBuf[start] != ' ') { in GetInfoElems() 1164 if (srcBuf[last] != ']') { in GetInfoElems() 1175 srcBuf[last] = '\0'; in GetInfoElems() 1204 int DelScanInfoLine(ScanInfo *pcmd, char *srcBuf, int length) in DelScanInfoLine() argument 1211 if (srcBuf[end] != '\t') { in DelScanInfoLine() 1215 srcBuf[end] = '\0'; in DelScanInfoLine() 1222 pcmd->freq = atoi(srcBuf + start); in DelScanInfoLine() 1224 pcmd->siglv = atoi(srcBuf + start); in DelScanInfoLine() [all …]
|
H A D | wifi_supplicant_hal.h | 128 int DelScanInfoLine(ScanInfo *pcmd, char *srcBuf, int length);
|
/ohos5.0/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/ |
H A D | wpa_supplicant_hal.c | 1348 if (srcBuf[start] == '[') { in GetInfoElems() 1350 infoElemsTemp[infoElemsSize].id = atoi(srcBuf + start); in GetInfoElems() 1352 if (srcBuf[start] != ' ') { in GetInfoElems() 1355 if (srcBuf[last] != ']') { in GetInfoElems() 1366 srcBuf[last] = '\0'; in GetInfoElems() 1394 int DelScanInfoLine(ScanInfo *pcmd, char *srcBuf, int length) in DelScanInfoLine() argument 1401 if (srcBuf[end] != '\t') { in DelScanInfoLine() 1405 srcBuf[end] = '\0'; in DelScanInfoLine() 1412 pcmd->freq = atoi(srcBuf + start); in DelScanInfoLine() 1414 pcmd->siglv = atoi(srcBuf + start); in DelScanInfoLine() [all …]
|
H A D | wpa_supplicant_hal.h | 130 int DelScanInfoLine(ScanInfo *pcmd, char *srcBuf, int length);
|
/ohos5.0/docs/en/application-dev/media/image/ |
H A D | image-decoding-native.md | 110 char srcBuf[2048]; 112 napi_get_value_string_utf8(env, args[1], srcBuf, sizeof(srcBuf), &strSize); 115 RawFile * rawFile = OH_ResourceManager_OpenRawFile(mNativeResMgr, srcBuf); 200 char srcBuf[2048]; 202 napi_get_value_string_utf8(env, args[1], srcBuf, sizeof(srcBuf), &strSize); 205 RawFile * rawFile = OH_ResourceManager_OpenRawFile(mNativeResMgr, srcBuf);
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/idl_client/unittest/ |
H A D | wifi_supplicant_hal_interface_test.cpp | 95 …char srcBuf[] = "00:00:00:00\tfreq=1024\trssid=70\tflags=WPA=PSK\t\t\t[ 255sdF1dwxansa][ 61sdF1dwa… variable 98 DelScanInfoLine(&pcmd, srcBuf, length);
|
/ohos5.0/docs/zh-cn/application-dev/media/camera/ |
H A D | camera-dual-channel-preview.md | 86 const srcBuf = new Uint8Array(imgComponent.byteBuffer, j * stride, width) 87 dstArr.set(srcBuf, j * width) 120 const srcBuf = new Uint8Array(imgComponent.byteBuffer, j * stride, width); 121 dstArr.set(srcBuf, j * width); 288 const srcBuf = new Uint8Array(imgComponent.byteBuffer, j * stride, width) 289 dstArr.set(srcBuf, j * width)
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/base/ |
H A D | efilter.cpp | 502 EffectBuffer *srcBuf = src.get(); in RenderInner() local 504 …CHECK_AND_RETURN_RET_LOG(srcBuf != nullptr && dstBuf != nullptr, ErrorCode::ERR_INPUT_NULL, "src o… in RenderInner() 520 res = CreateDmaEffectBufferIfNeed(runningType, srcBuf, srcBuf, context, input); in RenderInner() 524 MemcpyHelper::CopyData(srcBuf, input.get()); in RenderInner() 534 …CreateDmaEffectBufferIfNeed(runningType, dstBuf, input == nullptr ? srcBuf : input.get(), context,… in RenderInner() 537 …res = Render(input == nullptr ? srcBuf : input.get(), output == nullptr ? dstBuf : output.get(), c… in RenderInner() 545 res = Render(srcBuf, context); in RenderInner()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_base_render_util.cpp | 651 int32_t pixelFormat = srcBuf->GetFormat(); in ConvertBufferColorGamut() 660 uint32_t bufferSize = srcBuf->GetSize(); in ConvertBufferColorGamut() 663 auto bufferAddr = srcBuf->GetVirAddr(); in ConvertBufferColorGamut() 737 if (srcBuf == nullptr || rgbaBuf.empty()) { in ConvertYUV420SPToRGBA() 742 uint8_t* src = static_cast<uint8_t*>(srcBuf->GetVirAddr()); in ConvertYUV420SPToRGBA() 747 int32_t bufferWidth = srcBuf->GetWidth(); in ConvertYUV420SPToRGBA() 748 int32_t bufferHeight = srcBuf->GetHeight(); in ConvertYUV420SPToRGBA() 749 int32_t bufferStride = srcBuf->GetStride(); in ConvertYUV420SPToRGBA() 750 int32_t bufferSize = static_cast<int32_t>(srcBuf->GetSize()); in ConvertYUV420SPToRGBA() 758 if (srcBuf->GetFormat() == GRAPHIC_PIXEL_FMT_YCBCR_420_SP) { in ConvertYUV420SPToRGBA() [all …]
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.50/ |
H A D | changelogs-multimedia.md | 59 const srcBuf = new Uint8Array(component.byteBuffer, j*stride, width) 60 dstArr.set(srcBuf, j*width) 118 const srcBuf = new Uint8Array(component.byteBuffer, j*stride, width) 119 dstArr.set(srcBuf, j*width)
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_hal/unittest/ |
H A D | wifi_hal_sta_interface_test.cpp | 260 …char srcBuf[] = "00:00:00:00\tfreq=1024\trssid=70\tflags=WPA=PSK\t\t\t[ 255sdF1dwxansa][ 61sdF1dwa… variable 263 DelScanInfoLine(&pcmd, srcBuf, length);
|
/ohos5.0/docs/en/application-dev/media/camera/ |
H A D | camera-dual-channel-preview.md | 86 const srcBuf = new Uint8Array(imgComponent.byteBuffer, j * stride, width) 87 dstArr.set(srcBuf, j * width) 120 const srcBuf = new Uint8Array(imgComponent.byteBuffer, j * stride, width); 121 dstArr.set(srcBuf, j * width); 290 const srcBuf = new Uint8Array(imgComponent.byteBuffer, j * stride, width) 291 dstArr.set(srcBuf, j * width)
|
/ohos5.0/base/print/print_fwk/frameworks/ohscan/src/ |
H A D | ohscan.cpp | 231 bool CopySingleBuf(char* destBuf, const char* srcBuf, size_t bufferSize) in CopySingleBuf() argument 233 if (destBuf == nullptr || srcBuf == nullptr) { in CopySingleBuf() 241 if (strncpy_s(destBuf, bufferSize, srcBuf, bufferSize) != 0) { in CopySingleBuf()
|
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/innerkits/ |
H A D | graphic_neon_utils.h | 263 static inline void SetPixelColor_ARGB8888(uint8_t* dstBuf, uint8_t* srcBuf) in SetPixelColor_ARGB8888() argument 265 uint8x8x4_t vSrcBuf = vld4_u8(srcBuf); in SetPixelColor_ARGB8888()
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_file/class_file/ |
H A D | file_n_exporter.cpp | 607 string srcBuf = src + "/" + string(entp->d_name); in DirMove() local 609 if (entp->d_type == DT_DIR && DirMove(srcBuf.c_str(), dstBuf.c_str()) != SUCCESS) { in DirMove() 615 if (FileCopy(srcBuf.c_str(), dstBuf.c_str()) != SUCCESS) { in DirMove() 619 remove(srcBuf.c_str()); in DirMove()
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_utils.cpp | 632 uint8_t* srcBuf = const_cast<uint8_t*>(src); in SetDestAndSrc() local 635 pipeLine.Invoke(dstBuf, srcBuf, opa); in SetDestAndSrc() 637 srcBuf += srcStep; in SetDestAndSrc() 641 COLOR_FILL_BLEND(dstBuf, destMode, srcBuf, srcMode, opa); in SetDestAndSrc() 643 srcBuf += srcByteSize; in SetDestAndSrc()
|