/ohos5.0/base/security/device_security_level/baselib/utils/src/ |
H A D | utils_base64.c | 76 uint32_t j = 0; in Base64Encode() local 80 uint32_t b = (i < fromLen) ? (uint8_t)from[i] : 0; in Base64Encode() local 130 uint32_t j = 0; in Base64Decode() local 133 uint32_t b = g_base64DecodeTable[from[i++]]; in Base64Decode() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/color_picker/src/ |
H A D | color_extract.cpp | 47 for (int j = 0; j < pixmap->GetWidth(); j++) { in ColorExtract() local 84 for (uint32_t j = left; j < right; j++) { in ColorExtract() local 150 uint32_t b = ModifyWordWidth(GetARGB32ColorB(color), 8, QUANTIZE_WORD_WIDTH); in QuantizeFromRGB888() local 155 uint32_t ColorExtract::ApproximateToRGB888(uint32_t r, uint32_t g, uint32_t b) in ApproximateToRGB888() 195 bool ColorExtract::cmp(std::pair<uint32_t, uint32_t>&a, std::pair<uint32_t, uint32_t>&b) {return a.… in cmp() argument 220 uint32_t b = GetARGB32ColorB(color); in Rgb2Gray() local 258 uint32_t b = GetARGB32ColorB(color); in CalcRelativeLum() local
|
/ohos5.0/foundation/graphic/graphic_2d/utils/color_manager/src/ |
H A D | color_space.cpp | 176 Matrix3x3 operator*(const Matrix3x3& a, const Matrix3x3& b) in operator *() 180 for (size_t j = 0; j < b.size(); ++j) { in operator *() local 191 Vector3 b = {}; in operator *() local 193 for (size_t j = 0; j < a.size(); ++j) { in operator *() local 202 Vector3 b = {}; in operator *() local 204 for (size_t j = 0; j < x.size(); ++j) { in operator *() local 211 Matrix3x3 operator/(const Vector3& a, const Vector3& b) in operator /() 387 for (int j = 0; j < DIMES_3; ++j) { in ToSkiaXYZ() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_color_extract.cpp | 37 for (int j = 0; j < pixmap->GetWidth(); j++) { in RSColorExtract() local 64 for (uint32_t j = left; j < right; j++) { in RSColorExtract() local 118 uint32_t b = ModifyWordWidth(GetARGB32ColorB(color), 8, QUANTIZE_WORD_WIDTH); in QuantizeFromRGB888() local 123 uint32_t RSColorExtract::ApproximateToRGB888(uint32_t r, uint32_t g, uint32_t b) in ApproximateToRGB888() 163 bool RSColorExtract::cmp(std::pair<uint32_t, uint32_t> &a, std::pair<uint32_t, uint32_t> &b) in cmp() argument 191 uint32_t b = GetARGB32ColorB(color); in Rgb2Gray() local 229 uint32_t b = GetARGB32ColorB(color); in CalcRelativeLum() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/colorspace_fuzzer/ |
H A D | color_space_fuzzer.cpp | 72 float b = GetObject<float>(); in ColorSpaceFuzzTest002() local 80 for (uint32_t j = 0; j < CMSMATRIX_SIZE; j++) { in ColorSpaceFuzzTest002() local
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/brightness/ |
H A D | cpu_brightness_algo.cpp | 131 for (uint32_t j = 0; j < width; j++) { in OnApplyYUVNV21() local 140 uint8_t b = FormatHelper::YuvToB(y, u, v); in OnApplyYUVNV21() local 190 for (uint32_t j = 0; j < width; j++) { in OnApplyYUVNV12() local 199 uint8_t b = FormatHelper::YuvToB(y, u, v); in OnApplyYUVNV12() local
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/ |
H A D | cpu_contrast_algo.cpp | 120 for (uint32_t j = 0; j < width; j++) { in OnApplyYUVNV21() local 129 uint8_t b = FormatHelper::YuvToB(y, u, v); in OnApplyYUVNV21() local 177 for (uint32_t j = 0; j < width; j++) { in OnApplyYUVNV12() local 186 uint8_t b = FormatHelper::YuvToB(y, u, v); in OnApplyYUVNV12() local
|
/ohos5.0/drivers/peripheral/display/test/unittest/lite/ |
H A D | loadbmp_test.c | 41 static uint16_t OsdMakeColorU16(uint8_t r, uint8_t g, uint8_t b, OsdCompInfo compinfo) in OsdMakeColorU16() 188 uint16_t j; in LoadRgbData() local 212 uint16_t j; in LoadData() local 259 uint16_t j; in Copy2BitsAnd4Bits() local
|
/ohos5.0/base/hiviewdfx/faultloggerd/common/cutil/ |
H A D | dfx_cutil.c | 102 char b; in GetRealPid() local 139 size_t i = 0, j = 0; in TrimAndDupStr() local
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | post_proc_slr.cpp | 79 for (int j = 0; j < 2 * a; j++) { // 2 max SLR box size in GetWeights() local 85 for (int j = 0; j < 2 * a; j++) { // 2 max SLR box size in GetWeights() local 197 …uint32_t r = SLRCast(rgba[0]), g = SLRCast(rgba[1]), b = SLRCast(rgba[2]), a = SLRCast(rgba[3]); /… in SLRBox() local 210 for (int j = 0; j < n; j++) { in Serial() local 224 for (int j = 0; j < n; j++) { in SLRSubtask() local 260 for (int j = 0; j < n; j++) { in Parallel() local
|
/ohos5.0/foundation/resourceschedule/ffrt/test/ut/testcase/ |
H A D | ut_csync.cpp | 149 for (int j = 0; j < M; ++j) { in __anonc91b23f70402() local 158 for (int j = 0; j < J; ++j) { variable 182 for (int j = 0; j < M; ++j) { in __anonc91b23f70a02() local 191 for (int j = 0; j < J; ++j) { variable 592 for (int j = 0; j < N; ++j) { in LockTest() local 727 auto ThreadFunc1 = [](int a, const int& b) { in __anonc91b23f77402() 732 auto ThreadFunc2 = [](const char* a, const char* b) { in __anonc91b23f77502() 818 baz b; variable 844 baz b; variable
|
/ohos5.0/foundation/communication/netstack/frameworks/cj/http/src/ |
H A D | lru_cache_disk_handler.cpp | 169 for (int32_t j = 0; j < cJSON_GetArraySize(keyItem); j++) { in ReadCacheFromJsonValue() local 183 std::sort(nodeVec.begin(), nodeVec.end(), [](Node &a, Node &b) { in ReadCacheFromJsonValue() 221 std::stringstream b; in Read() local
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/cache/lru_cache/src/ |
H A D | lru_cache.cpp | 173 for (int32_t j = 0; j < cJSON_GetArraySize(keyItem); j++) { in ReadCacheFromJsonValue() local 187 std::sort(nodeVec.begin(), nodeVec.end(), [](Node &a, Node &b) { in ReadCacheFromJsonValue()
|
/ohos5.0/base/customization/config_policy/frameworks/config_policy/src/ |
H A D | config_policy_utils.c | 82 static inline size_t Min(size_t a, size_t b) in Min() 87 static inline size_t Max(size_t a, size_t b) in Max() 449 for (int j = (result ? result->segCount : 0); j > 0; j--) { in GetOneCfgFileEx() local 504 for (int j = 0; result && j < result->segCount && index < MAX_CFG_POLICY_DIRS_CNT; j++) { in GetCfgFilesEx() local
|
/ohos5.0/base/hiviewdfx/hilog/services/hilogtool/ |
H A D | log_display.cpp | 148 std::sort(v.begin(), v.end(), [](T& a, T& b) { in SortByLens() 177 uint16_t j = 0; in HilogShowDomainStatsInfo() local 247 uint16_t j = 0; in HilogShowProcStatsInfo() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | transform_util.cpp | 28 float Dot(const float* a, const float* b) in Dot() 38 void Combine(float* out, const float* a, const float* b, double scaleA, double scaleB) in Combine() 63 for (int j = 0; j < 4; j++) { in Normalize() local 524 for (int32_t j = 0; j < 3; j++) { in DecomposeTransform() local 577 for (int j = 0; j < 3; ++j) in DecomposeTransform() local
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/render_environment/ |
H A D | render_environment.cpp | 307 for (uint32_t j = 0; j < width; j++) { in ConvertFromYUVToRGB() local 325 uint8_t b = FormatHelper::YuvToB(y, u, v); in ConvertFromYUVToRGB() local 345 for (uint32_t j = 0; j < width; j++) { in ConvertFromRGBToYUV() local 351 uint8_t b = rgbData[rgb_index + B_POS]; in ConvertFromRGBToYUV() local
|
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/ |
H A D | graphic_math.h | 46 #define MATH_MAX(a, b) ((a) > (b) ? (a) : (b)) argument 50 #define MATH_MIN(a, b) ((a) < (b) ? (a) : (b)) argument 58 #define MATH_MINUS(a, b) ((a) < (b) ? ((b) - (a)) : ((a) - (b))) argument 66 #define MATH_FLT_EQUAL(a, b) (MATH_ABS((a) - (b)) <= UI_FLT_EPSILON) argument 801 for (int16_t j = 0; j < ORDER_MATRIX_4; j++) { in ConomialMatrix() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_canvas_autocache.cpp | 147 static bool CmpSkRectLTRB(const SkRect& a, const SkRect& b) in CmpSkRectLTRB() 181 for (uint32_t j = 0; j < drawAreaRects.size(); j++) { in MergeDrawAreaRects() local 192 for (uint32_t j = i + 1; j < drawAreaRects.size(); j++) { in MergeDrawAreaRects() local 225 int j = 0; in ShowDrawResult() local
|
/ohos5.0/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/main_test/ |
H A D | v4l2_main.cpp | 230 int x, y, j; in ProcessImage() local 231 int y0, u, v, r, g, b; in ProcessImage() local 524 for (int j = 0; j < i; ++j) { in V4L2FrameThread() local
|
/ohos5.0/base/update/updater/services/diffpatch/diff/ |
H A D | blocks_diff.cpp | 28 #define SWAP(a, b) auto swapTmp = (a); (a) = (b); (b) = swapTmp argument 551 DataType j = 0; in SplitForLess() local 592 DataType j = 0; in Split() local
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | gpu_program_gles.cpp | 36 #define BIND_MAP_4_4(a, b) (((a) << 4) | (b)) argument 404 for (const auto& b : s.bindings) { in BuildBindInfos() local 598 for (uint32_t j = 0; j < inputsInUse; j++) { in FilterInputs() local 673 for (const auto& b : combSets) { in Specialize() local
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/services/dfx/src/ |
H A D | hiview_adapter.cpp | 338 …for (std::int32_t j = TimeConsumingLevel::TIME_LEVEL_ONE; j <= TimeConsumingLevel::TIME_LEVEL_ELEV… in ReportStatisticEvent() local 388 … [](std::pair<std::string, int> a, std::pair<std::string, int> b) { return a.second > b.second; }); in ReportBehaviour()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_extension/ |
H A D | cloud_extension_stub.js | 69 let j; variable 899 async function b(o5) { function
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioutils/src/ |
H A D | audio_utils.cpp | 606 void ConvertFrom24BitToFloat(unsigned n, const uint8_t *a, float *b) in ConvertFrom24BitToFloat() 616 void ConvertFrom32BitToFloat(unsigned n, const int32_t *a, float *b) in ConvertFrom32BitToFloat() 634 void ConvertFromFloatTo24Bit(unsigned n, const float *a, uint8_t *b) in ConvertFromFloatTo24Bit() 644 void ConvertFromFloatTo32Bit(unsigned n, const float *a, int32_t *b) in ConvertFromFloatTo32Bit() 713 for (int j = 0; j < 3; ++j) { // 3 bytes in CalculateMaxAmplitudeForPCM24Bit() local
|