/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/irregular/ |
H A D | grid_layout_range_solver.cpp | 82 Result GridLayoutRangeSolver::SolveForward(float mainGap, float targetLen, const int32_t idx) in SolveForward() argument 87 if (GreatNotEqual(len + it->second + mainGap, targetLen)) { in SolveForward() 100 return { startRow, startIdx, len - targetLen + mainGap }; in SolveForward() 103 …int32_t> GridLayoutRangeSolver::SolveForwardForEndIdx(float mainGap, float targetLen, int32_t line) in SolveForwardForEndIdx() argument 105 if (Negative(targetLen)) { in SolveForwardForEndIdx() 114 for (; LessNotEqual(len, targetLen) && it != info_->lineHeightMap_.end(); ++it) { in SolveForwardForEndIdx() 121 Result GridLayoutRangeSolver::SolveBackward(float mainGap, float targetLen, int32_t idx) in SolveBackward() argument 124 while (idx > 0 && LessNotEqual(len, targetLen)) { in SolveBackward() 133 float newOffset = targetLen - len + mainGap; in SolveBackward()
|
H A D | grid_layout_range_solver.h | 75 std::pair<int32_t, int32_t> SolveForwardForEndIdx(float mainGap, float targetLen, int32_t line); 85 StartingRowInfo SolveForward(float mainGap, float targetLen, int32_t idx); 94 StartingRowInfo SolveBackward(float mainGap, float targetLen, int32_t idx);
|
H A D | grid_irregular_filler.h | 61 FillResult Fill(const FillParameters& params, float targetLen, int32_t startingLine); 103 float MeasureBackward(const FillParameters& params, float targetLen, int32_t startingLine); 156 …bool UpdateLength(float& len, float targetLen, int32_t& row, int32_t rowBound, float mainGap) cons…
|
H A D | grid_irregular_filler.cpp | 37 Result GridIrregularFiller::Fill(const FillParameters& params, float targetLen, int32_t startingLin… in Fill() argument 51 if (UpdateLength(len, targetLen, row, posY_, params.mainGap)) { in Fill() 63 if (UpdateLength(len, targetLen, posY_, lastRow + 1, params.mainGap)) { in Fill() 185 bool GridIrregularFiller::UpdateLength(float& len, float targetLen, int32_t& row, int32_t rowBound,… in UpdateLength() argument 194 if (GreatOrEqual(len, targetLen)) { in UpdateLength() 269 float GridIrregularFiller::MeasureBackward(const FillParameters& params, float targetLen, int32_t s… in MeasureBackward() argument 275 for (; posY_ >= 0 && LessNotEqual(len, targetLen); --posY_) { in MeasureBackward()
|
H A D | grid_irregular_layout_algorithm.cpp | 517 const float targetLen = mainSize / 2.0f; in PrepareLineHeight() local 525 if (LessNotEqual(backwardLen, targetLen)) { in PrepareLineHeight() 533 if (LessNotEqual(forwardLen, targetLen)) { in PrepareLineHeight()
|
/ohos5.0/foundation/communication/dsoftbus/core/common/json_utils/ |
H A D | softbus_json_utils.c | 25 uint32_t targetLen) in GetStringItemByJsonObject() argument 37 if (length >= targetLen) { in GetStringItemByJsonObject() 41 int32_t ret = strcpy_s(target, targetLen, item->valuestring); in GetStringItemByJsonObject() 50 uint32_t targetLen) in GetJsonObjectStringItem() argument 62 if (length >= targetLen) { in GetJsonObjectStringItem() 66 int32_t ret = strcpy_s(target, targetLen, item->valuestring); in GetJsonObjectStringItem()
|
/ohos5.0/foundation/communication/dsoftbus/core/common/include/ |
H A D | softbus_json_utils.h | 30 …ngItemByJsonObject(const cJSON *json, const char * const string, char *target, uint32_t targetLen); 32 …onObjectStringItem(const cJSON *json, const char * const string, char *target, uint32_t targetLen);
|
/ohos5.0/foundation/distributedhardware/distributed_input/common/include/ |
H A D | white_list_util.cpp | 248 int32_t targetLen, std::unordered_set<std::string> &hashSets) in GetAllComb() argument 257 GetAllComb(leftVecs, newHash, targetLen, hashSets); in GetAllComb() 261 if (hash.len == targetLen) { in GetAllComb()
|
H A D | white_list_util.h | 71 int32_t targetLen, std::unordered_set<std::string> &hashSets);
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/ |
H A D | auth_net_ledger_mock.h | 64 uint32_t targetLen) = 0; 100 uint32_t targetLen), (override));
|
H A D | auth_net_ledger_mock.cpp | 174 uint32_t targetLen) in GetJsonObjectStringItem() argument 176 return GetNetLedgerInterface()->GetJsonObjectStringItem(json, string, target, targetLen); in GetJsonObjectStringItem()
|
/ohos5.0/base/global/i18n_lite/frameworks/i18n/src/ |
H A D | number_format_impl.cpp | 289 …int targetLen = len[0]; // use array to store target length and source length, first is target len… in AddGroup() local 295 for (int i = 0; (i < intLen) && (addIndex < targetLen); i++, addIndex++) { in AddGroup() 321 for (int j = 1; (j < decLen) && (addIndex < targetLen); j++) { in AddGroup()
|
/ohos5.0/foundation/communication/dsoftbus/core/common/security/permission/common/ |
H A D | permission_entry.c | 146 size_t targetLen = strlen(target); in StrStartWith() local 147 if (stringLen == 0 || targetLen == 0 || stringLen < targetLen) { in StrStartWith() 151 for (size_t index = 0; index < targetLen; index++) { in StrStartWith()
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_session_json.c | 193 char *target, uint32_t targetLen, const char *defaultValue) in OptString() argument 195 if (JSON_GetStringFromOject(json, key, target, targetLen)) { in OptString() 198 if (strcpy_s(target, targetLen, defaultValue) != EOK) { in OptString()
|