Home
last modified time | relevance | path

Searched refs:j (Results 1 – 25 of 265) sorted by relevance

1234567891011

/foundation/distributedhardware/distributed_screen/services/common/utils/src/
Ddscreen_maprelation.cpp66 void to_json(json &j, const DScreenMapRelation &dScreenMapRelation) in to_json() argument
72 j = json { in to_json()
80 void from_json(const json &j, DScreenMapRelation &dScreenMapRelation) in from_json() argument
82 if (!IsUInt64(j, KEY_DISPLAY_ID) || !IsUInt64(j, KEY_SCREEN_ID)) { in from_json()
85 dScreenMapRelation.displayId_ = j[KEY_DISPLAY_ID].get<uint64_t>(); in from_json()
86 dScreenMapRelation.screenId_ = j[KEY_SCREEN_ID].get<uint64_t>(); in from_json()
87 if (!j.contains(KEY_DISPLAY_RECT) || !j.contains(KEY_SCREEN_RECT)) { in from_json()
90 from_json(j.at(KEY_DISPLAY_RECT), dScreenMapRelation.displayRect_); in from_json()
91 from_json(j.at(KEY_SCREEN_RECT), dScreenMapRelation.screenRect_); in from_json()
94 void to_json(json &j, const DisplayRect &rect) in to_json() argument
[all …]
Dvideo_param.cpp104 void to_json(json &j, const DistributedHardware::VideoParam &videoParam) in to_json() argument
106 j = json { in to_json()
118 void from_json(const json &j, DistributedHardware::VideoParam &videoParam) in from_json() argument
120 if (!IsUInt32(j, KEY_SCREEN_WIDTH) || !IsUInt32(j, KEY_SCREEN_HEIGHT) || in from_json()
121 !IsUInt32(j, KEY_VIDEO_WIDTH) || !IsUInt32(j, KEY_VIDEO_HEIGHT) || in from_json()
122 !IsBool(j, KEY_PARTIALREFREAH) || !IsUInt32(j, KEY_FPS) || in from_json()
123 !IsUInt8(j, KEY_CODECTYPE) || !IsUInt8(j, KEY_COLOR_FORMAT)) { in from_json()
127 videoParam.screenWidth_ = j[KEY_SCREEN_WIDTH].get<uint32_t>(); in from_json()
128 videoParam.screenHeight_ = j[KEY_SCREEN_HEIGHT].get<uint32_t>(); in from_json()
129 videoParam.videoWidth_ = j[KEY_VIDEO_WIDTH].get<uint32_t>(); in from_json()
[all …]
/foundation/arkui/ace_engine/frameworks/base/geometry/
Dmatrix3.cpp71 for (auto j = 0; j < columns; j++) { in operator *() local
74 value += matrix3X3_[i][k] * matrix[k][j]; in operator *()
76 Matrix3n[i][j] = value; in operator *()
86 for (auto j = 0; j < DIMENSION; j++) { in Transpose() local
87 matrix[j][i] = matrix3X3_[i][j]; in Transpose()
101 for (int32_t j = 0; j < DIMENSION; j++) { in MapScalars() local
102 item = item + matrix3X3_[i][j] * src[j]; in MapScalars()
117 for (int32_t j = 0; j < DIMENSION; j++) { in MapScalars() local
118 item = item + matrix3X3_[i][j] * src[j]; in MapScalars()
146 for (auto j = 0; j < DIMENSION; j++) { in operator *() local
[all …]
Dmatrix4.cpp292 for (auto j = 0; j < columns; j++) { in operator *() local
295 value += matrix4x4_[i][k] * matrix[k][j]; in operator *()
297 matrix4n[i][j] = value; in operator *()
393 for (int j = 0; j < DIMENSION; j++) { in MapScalars() local
394 value += matrix4x4_[j][i] * src[j]; in MapScalars()
408 for (double j : i) { in ToString() local
409 out += std::to_string(j); in ToString()
438 for (auto j = 0; j < DIMENSION; j++) { in operator *() local
441 value += matrix4n_[i][k] * matrix[k][j]; in operator *()
443 matrix4.SetEntry(i, j, value); in operator *()
[all …]
/foundation/distributeddatamgr/relational_store/test/js/rdb/performance/src/
DPredicatestPerf.js49 for (let j = 0; j < BASE_COUNT_SECOND; j++) {
64 for (let j = 0; j < BASE_COUNT_SECOND; j++) {
79 for (let j = 0; j < BASE_COUNT_SECOND; j++) {
94 for (let j = 0; j < BASE_COUNT_SECOND; j++) {
109 for (let j = 0; j < BASE_COUNT_SECOND; j++) {
124 for (let j = 0; j < BASE_COUNT_SECOND; j++) {
140 for (let j = 0; j < BASE_COUNT_SECOND; j++) {
157 for (let j = 0; j < BASE_COUNT_SECOND; j++) {
174 for (let j = 0; j < BASE_COUNT_SECOND; j++) {
189 for (let j = 0; j < BASE_COUNT_SECOND; j++) {
[all …]
/foundation/distributeddatamgr/relational_store/test/js/relationalstore/performance/src/
DPredicatestPerf.js49 for (let j = 0; j < BASE_COUNT_SECOND; j++) {
64 for (let j = 0; j < BASE_COUNT_SECOND; j++) {
79 for (let j = 0; j < BASE_COUNT_SECOND; j++) {
94 for (let j = 0; j < BASE_COUNT_SECOND; j++) {
109 for (let j = 0; j < BASE_COUNT_SECOND; j++) {
124 for (let j = 0; j < BASE_COUNT_SECOND; j++) {
140 for (let j = 0; j < BASE_COUNT_SECOND; j++) {
157 for (let j = 0; j < BASE_COUNT_SECOND; j++) {
174 for (let j = 0; j < BASE_COUNT_SECOND; j++) {
189 for (let j = 0; j < BASE_COUNT_SECOND; j++) {
[all …]
/foundation/distributedhardware/distributed_camera/common/src/utils/
Ddcamera_utils_tools.cpp103 uint32_t j = 0; in Base64Encode() local
104 for (j = i; j < sizeof(charArray3); j++) { in Base64Encode()
105 charArray3[j] = '\0'; in Base64Encode()
113 for (j = 0; j < i + 1; j++) { in Base64Encode()
114 ret += BASE_64_CHARS[charArray4[j]]; in Base64Encode()
152 uint32_t j = 0; in Base64Decode() local
153 for (j = i; j < sizeof(charArray4); j++) { in Base64Decode()
154 charArray4[j] = 0; in Base64Decode()
156 for (j = 0; j < sizeof(charArray4); j++) { in Base64Decode()
157 charArray4[j] = BASE_64_CHARS.find(charArray4[j]); in Base64Decode()
[all …]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/log/
Dlog_helper.c39 int j = (srcLen > (desLen - 1)) ? (desLen - 1) : srcLen; in EncryptLogMsg() local
40 j -= 1; in EncryptLogMsg()
42 while (k > 0 && i < j) { in EncryptLogMsg()
44 --j; in EncryptLogMsg()
48 if (i > j) { in EncryptLogMsg()
50 desMsg[j] = '*'; in EncryptLogMsg()
52 while (i <= j) { in EncryptLogMsg()
57 if (i > j) { in EncryptLogMsg()
59 desMsg[j] = '*'; in EncryptLogMsg()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/gaussdb_rd/src/executor/document/
Dcheck_common.cpp90 for (size_t j = 0; j < filterPath[i].size(); j++) { in CheckFilter() local
91 if (filterPath[i][j].empty()) { in CheckFilter()
94 for (auto oneChar : filterPath[i][j]) { in CheckFilter()
150 for (size_t j = 0; j < priFieldName.size(); j++) { in SplitFieldName() local
151 if (priFieldName[j] != '.') { in SplitFieldName()
152 tempParseName += priFieldName[j]; in SplitFieldName()
154 if (priFieldName[j] == '.' || j == priFieldName.size() - 1) { in SplitFieldName()
155 if ((j > 0 && priFieldName[j] == '.' && priFieldName[j - 1] == '.') || in SplitFieldName()
156 (priFieldName[j] == '.' && j == priFieldName.size() - 1)) { in SplitFieldName()
221 for (size_t j = 0; j < fieldName.size(); j++) { in CheckProjection() local
[all …]
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/
Dcamera_stream_info_parse.h91 for (uint32_t j = modeStartIndex_[i]; j < modeEndIndex_[i]; j++) { in getStreamCount() local
92 if (j == modeStartIndex_[i]) { in getStreamCount()
95 if (originInfo[j] == STREAM_FINISH && originInfo[j - ONE_STEP] == ABILITY_FINISH) { in getStreamCount()
96 streamEndIndex_.push(j); in getStreamCount()
99 if ((originInfo[j] == STREAM_FINISH) && (originInfo[j - ONE_STEP] == ABILITY_FINISH) in getStreamCount()
100 && ((j + ONE_STEP) < modeEndIndex_[i])) { in getStreamCount()
101 streamStartIndex_.push(j + ONE_STEP); in getStreamCount()
113 for (uint32_t j = 0; j < modeInfo.streamTypeCount; j++) { in getStreamInfo() local
114 modeInfo.streamInfo[j].streamType = originInfo[streamStartIndex_.front()]; in getStreamInfo()
121 modeInfo.streamInfo[j].detailInfoCount++; in getStreamInfo()
[all …]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/gaussdb_rd/src/interface/src/
Dprojection_tree.cpp28 for (size_t j = 0; j < singlePath.size(); j++) { in ParseTree() local
29 if (node->sonNode[singlePath[j]] != nullptr) { in ParseTree()
30 node = node->sonNode[singlePath[j]]; in ParseTree()
31 if (j < singlePath.size() - 1 && node->isDeepest) { in ParseTree()
34 if (j == singlePath.size() - 1 && !node->isDeepest) { in ParseTree()
49 node->sonNode[singlePath[j]] = tempNode; in ParseTree()
50 node = node->sonNode[singlePath[j]]; in ParseTree()
/foundation/distributedhardware/distributed_screen/services/common/utils/include/
Ddscreen_maprelation.h49 friend void to_json(json &j, const DScreenMapRelation &dScreenMapRelation);
50 friend void from_json(const json &j, DScreenMapRelation &dScreenMapRelation);
57 void to_json(const json &j, const DScreenMapRelation &dScreenMapRelation);
58 void from_json(const json &j, DScreenMapRelation &dScreenMapRelation);
59 void to_json(json &j, const DisplayRect &rect);
60 void to_json(json &j, const ScreenRect &rect);
61 void from_json(const json &j, DisplayRect &rect);
62 void from_json(const json &j, ScreenRect &rect);
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/effect/
Dcolor_matrix.cpp72 for (int j = 0; j < MATRIX_SIZE; j = j + 5) { in SetConcat() local
74 … target[index++] = m1.array_[j + 0] * m2.array_[i + 0] + m1.array_[j + 1] * m2.array_[i + 5] + in SetConcat()
75 m1.array_[j + 2] * m2.array_[i + 10] + m1.array_[j + 3] * m2.array_[i + 15]; in SetConcat()
77 target[index++] = m1.array_[j + 0] * m2.array_[4] + m1.array_[j + 1] * m2.array_[9] + in SetConcat()
78 m1.array_[j + 2] * m2.array_[14] + m1.array_[j + 3] * m2.array_[19] + m1.array_[j + 4]; in SetConcat()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/darwin/
Drs_surface_darwin.cpp151 for (int32_t j = 0; j < width; j++) { in YInvert() local
152 tmpPixels[i * width + j] = pixels[i * width + j]; in YInvert()
158 for (int32_t j = 0; j < width; j++) { in YInvert() local
159 pixels[i * width + j] = pixels[r * width + j]; in YInvert()
165 for (int32_t j = 0; j < width; j++) { in YInvert() local
166 pixels[r * width + j] = tmpPixels[i * width + j]; in YInvert()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/windows/
Drs_surface_windows.cpp156 for (int32_t j = 0; j < width; j++) { in YInvert() local
157 tmpPixels[i * width + j] = pixels[i * width + j]; in YInvert()
163 for (int32_t j = 0; j < width; j++) { in YInvert() local
164 pixels[i * width + j] = pixels[r * width + j]; in YInvert()
170 for (int32_t j = 0; j < width; j++) { in YInvert() local
171 pixels[r * width + j] = tmpPixels[i * width + j]; in YInvert()
/foundation/ability/form_fwk/test/unittest/fms_form_db_record_test/
Dfms_form_db_record_test.cpp124 for (unsigned int j = 0; j < record.formUserUids.size(); j++) { variable
125 GTEST_LOG_(INFO) << "FmsFormDbRecordTest_006 formUserUids:" << record.formUserUids[j];
135 for (unsigned int j = 0; j < record.formUserUids.size(); j++) { variable
136 GTEST_LOG_(INFO) << "FmsFormDbRecordTest_006 formUserUids:" << record.formUserUids[j];
159 for (unsigned int j = 0; j < record.formUserUids.size(); j++) { variable
160 GTEST_LOG_(INFO) << "FmsFormDbRecordTest_007 formUserUids:" << record.formUserUids[j];
170 for (unsigned int j = 0; j < record.formUserUids.size(); j++) { variable
171 GTEST_LOG_(INFO) << "FmsFormDbRecordTest_007 formUserUids:" << record.formUserUids[j];
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/qrcode/
Dqrcode_modifier.cpp93 for (int32_t j = 0; j < width; j++) { in CreateBitMap() local
94 if (qrCode.getModule(i / blockWidth, j / blockWidth)) { in CreateBitMap()
95 data[i * width + j] = ConvertColorFromHighToLow(color); in CreateBitMap()
97 maxHeight = j > maxHeight ? j : maxHeight; in CreateBitMap()
102 for (int32_t j = 0; j <= maxHeight; j++) { in CreateBitMap() local
103 if (!qrCode.getModule(i / blockWidth, j / blockWidth)) { in CreateBitMap()
104 data[i * width + j] = ConvertColorFromHighToLow(backgroundColor); in CreateBitMap()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
Dpre_install_bundle_info.cpp86 nlohmann::json j; in ToString() local
87 j[BUNDLE_NAME] = bundleName_; in ToString()
88 j[VERSION_CODE] = versionCode_; in ToString()
89 j[BUNDLE_PATHS] = bundlePaths_; in ToString()
90 j[APP_TYPE] = appType_; in ToString()
91 j[REMOVABLE] = removable_; in ToString()
92 return j.dump(); in ToString()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_hal/common/
Dwifi_hal_common_func.c87 for (int i = 0, j = 0; i < MAC_STRING_SIZE; ++i) { in ConvertMacToArray() local
88 if (j == 0 || j == 1) { in ConvertMacToArray()
95 ++j; in ConvertMacToArray()
101 j = 0; in ConvertMacToArray()
114 for (int i = 0, j = 0; i < MAC_STRING_SIZE; ++i) { in CheckMacIsValid() local
115 if (j == 0 || j == 1) { in CheckMacIsValid()
120 ++j; in CheckMacIsValid()
125 j = 0; in CheckMacIsValid()
/foundation/communication/netstack/frameworks/js/builtin/fetch/src/
Dhttp_request_utils.cpp47 int64_t j = static_cast<int64_t>(str.size()) - 1; in Strip() local
48 while (j > 0 && str[j] == ch) { in Strip()
49 --j; in Strip()
51 if (i >= 0 && i < str.size() && j >= 0 && j < str.size() && j - i + 1 > 0) { in Strip()
52 return str.substr(i, j - i + 1); in Strip()
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/
Dnstackx_database.c77 uint32_t i, j; in DatabaseSearchRecord() local
87 for (j = 0; j < NSTACKX_USEDMAP_ROW_SIZE; j++) { in DatabaseSearchRecord()
88 if (!(db->usedMap[i] & (1U << j))) { in DatabaseSearchRecord()
91 rec = GetRecord(db, i * NSTACKX_USEDMAP_ROW_SIZE + j); in DatabaseSearchRecord()
138 uint32_t i, j; in DatabaseAllocRecordEx() local
153 for (j = 0; j < NSTACKX_USEDMAP_ROW_SIZE; j++) { in DatabaseAllocRecordEx()
154 if (db->usedMap[i] & (1U << j)) { in DatabaseAllocRecordEx()
157 rec = GetRecord(db, i * NSTACKX_USEDMAP_ROW_SIZE + j); in DatabaseAllocRecordEx()
161 db->usedMap[i] |= (1U << j); in DatabaseAllocRecordEx()
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/opentype_parser/
Dcmap_parser.cpp176 for (uint32_t j = start; j <= end; j++) { in ParseFormat4() local
177 const auto &gid = idRangeOffsets[idRangeOffset / 2 + i + j - start].Get(); in ParseFormat4()
179 ranges_.AddRange({j, j + 1, gid}); in ParseFormat4()
192 for (uint32_t j = start; j <= end; j++) { in ParseFormat4NoOffset() local
193 if ((j + static_cast<uint32_t>(delta)) & 0xffff) { in ParseFormat4NoOffset()
194 ranges_.AddRange({j, j + 1, delta}); in ParseFormat4NoOffset()
/foundation/arkui/ace_engine/frameworks/core/components_v2/pattern_lock/
Drender_pattern_lock.cpp80 for (int16_t j = 0; j < COL_COUNT && !isAdd; j++) { in HandleCellTouchDown() local
81 isAdd = AddChoosePoint(offset, i + 1, j + 1); in HandleCellTouchDown()
95 for (int16_t j = 0; j < COL_COUNT && !isAdd; j++) { in HandleCellTouchMove() local
96 isAdd = AddChoosePoint(offset, i + 1, j + 1); in HandleCellTouchMove()
273 for (int16_t j = 1; j <= COL_COUNT; j++) { in AddPassPoint() local
274 PatternLockCell passPoint = PatternLockCell(i, j); in AddPassPoint()
279 if ((j != y) && (j != lastY) && in AddPassPoint()
280 … ((double(lastX - i) / (lastY - j) == double(i - x) / (j - y)) && !CheckChoosePoint(i, j))) { in AddPassPoint()
283 if ((j == lastY) && (j == y) && !CheckChoosePoint(i, j)) { in AddPassPoint()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/
Dspunge_app.c118 FILLP_INT j; in SpungeDelEpInstFromFtSocket() local
127 for (j = i; j < FILLP_NUM_OF_EPOLL_INSTANCE_SUPPORTED; j++) { in SpungeDelEpInstFromFtSocket()
128 if (j == (FILLP_NUM_OF_EPOLL_INSTANCE_SUPPORTED - 1)) { in SpungeDelEpInstFromFtSocket()
129 sock->associatedEpollInstanceArr[j] = FILLP_INVALID_INT; in SpungeDelEpInstFromFtSocket()
132 next = j + 1; in SpungeDelEpInstFromFtSocket()
133 sock->associatedEpollInstanceArr[j] = sock->associatedEpollInstanceArr[next]; in SpungeDelEpInstFromFtSocket()
/foundation/arkui/ui_lite/frameworks/layout/
Dgrid_layout.cpp61 for (int16_t j = 0; j < cols_; j++) { in LayoutHorizontal() local
65 posX = j * layoutWidth; in LayoutHorizontal()
95 for (int16_t j = 0; j < rows_; j++) { in LayoutVertical() local
99 posY = j * layoutHeight; in LayoutVertical()

1234567891011