/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_base_testone_ng.cpp | 122 option.end = 15; in HWTEST_F() 127 option.end = 2; in HWTEST_F() 237 TestParagraphRect paragraphRect = { .start = 0, .end = 6, .rects = { { 0.0, 0.0, 200.0, 200.0 } } }; in HWTEST_F() 238 TestParagraphItem paragraphItem = { .start = 0, .end = 6, .testParagraphRects = { paragraphRect } }; in HWTEST_F() 263 TestParagraphRect paragraphRect = { .start = 0, .end = 6, .rects = { { -400.0, -400.0, 200.0, 200.0 } } }; in HWTEST_F() 264 TestParagraphItem paragraphItem = { .start = 0, .end = 6, .testParagraphRects = { paragraphRect } }; in HWTEST_F() 346 * @tc.cases: case. call UpdateSpanStyle(), cover branch end < 0 in HWTEST_F() 355 * @tc.cases: case. call UpdateSpanStyle(), update FontSize to FONT_SIZE_VALUE_2, cover branch end > length in HWTEST_F() 362 * @tc.cases: case. call UpdateSpanStyle(), update FontSize to FONT_SIZE_VALUE, cover branch start > end in HWTEST_F() 369 * @tc.cases: case. call UpdateSpanStyle(), update FontSize to FONT_SIZE_VALUE_2, cover branch start == end in HWTEST_F() 835 int32_t end = 0; HWTEST_F() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonCommonGEP.cpp | 66 } // end namespace llvm 88 assert(F1 != Map.end() && F2 != Map.end()); in operator ()() 162 } // end anonymous namespace 275 for (const_iterator I = S.begin(), E = S.end(); I != E; ++I) in dump_node_container() 291 for (const_iterator I = M.begin(), E = M.end(); I != E; ++I) { in operator <<() 294 for (UseSet::const_iterator J = Us.begin(), F = Us.end(); J != F; ++J) { in operator <<() 310 return NS.find(N) != NS.end(); in operator ()() 317 } // end anonymous namespace 351 if (F == NM.end()) { in processGepInst() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | wpa_cli.c | 1044 char cmd[256], *pos, *end; in wpa_cli_cmd_identity() local 1053 end = cmd + sizeof(cmd); in wpa_cli_cmd_identity() 1055 ret = os_snprintf(pos, end - pos, WPA_CTRL_RSP "IDENTITY-%s:%s", in wpa_cli_cmd_identity() 1057 if (os_snprintf_error(end - pos, ret)) { in wpa_cli_cmd_identity() 1063 ret = os_snprintf(pos, end - pos, " %s", argv[i]); in wpa_cli_cmd_identity() 1064 if (os_snprintf_error(end - pos, ret)) { in wpa_cli_cmd_identity() 1077 char cmd[256], *pos, *end; in wpa_cli_cmd_sim_kc() local 1086 end = cmd + sizeof(cmd); in wpa_cli_cmd_sim_kc() 1088 ret = os_snprintf(pos, end - pos, WPA_CTRL_RSP "SIM_KC-%s:%s", in wpa_cli_cmd_sim_kc() 1090 if (os_snprintf_error(end in wpa_cli_cmd_sim_kc() 1109 char cmd[256], *pos, *end; wpa_cli_cmd_sim_sres() local 1141 char cmd[256], *pos, *end; wpa_cli_cmd_param_ki() local 1173 char cmd[256], *pos, *end; wpa_cli_cmd_param_opc() local 1205 char cmd[256], *pos, *end; wpa_cli_cmd_param_amf() local 1237 char cmd[256], *pos, *end; wpa_cli_cmd_param_sqn() local 1270 char cmd[256], *pos, *end; wpa_cli_cmd_password() local 1304 char cmd[256], *pos, *end; wpa_cli_cmd_new_password() local 1337 char cmd[256], *pos, *end; wpa_cli_cmd_pin() local 1369 char cmd[256], *pos, *end; wpa_cli_cmd_otp() local 1402 char cmd[256], *pos, *end; wpa_cli_cmd_sim() local 1435 char cmd[256], *pos, *end; wpa_cli_cmd_psk_passphrase() local 1468 char cmd[256], *pos, *end; wpa_cli_cmd_passphrase() local 4368 const char *end; wpa_cli_edit_completion_cb() local 4484 const char *end; wpa_cli_action_process() local 4901 char *pos, *end; update_bssid_list() local 4932 char *pos, *end; update_ifnames() local 4964 char *pos, *end; update_creds() local 4996 char *pos, *end; update_networks() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_estdif.c | 67 int end, int x, int k, int depth); 75 int end, int x, int k, int depth); 156 int end, int x, int k) \ 158 return (prev[av_clip(x + k, 0, end)] + \ 159 next[av_clip(x - k, 0, end)] + 1) >> 1; \ 172 int end, int x, int k, int depth) \ 174 return (prev[av_clip(x + k, 0, end)] + \ 175 next[av_clip(x - k, 0, end)] + 1) >> 1; \ 188 int end, int x, int k, int depth) \ 191 9 * (prev[av_clip(x + k, 0, end)] 362 const int end = (height * (jobnr+1)) / nb_jobs; deinterlace_slice() local [all...] |
/third_party/mesa3d/src/panfrost/lib/genxml/ |
H A D | gen_pack.py | 56 __gen_uint(uint64_t v, uint32_t start, uint32_t end) 59 const int width = end - start + 1; 70 __gen_sint(int32_t v, uint32_t start, uint32_t end) 73 const int width = end - start + 1; 81 return (((uint32_t) v) << start) & ((2ll << end) - 1); 85 __gen_padded(uint32_t v, uint32_t start, uint32_t end) 94 assert((end - start + 1) == 8); 97 return __gen_uint(shift | (odd << 5), start, end); 102 __gen_unpack_uint(const uint8_t *restrict cl, uint32_t start, uint32_t end) 105 const int width = end [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
H A D | eap_fast_pac.c | 182 const char *end; member 199 if (rc->pos >= rc->end) in eap_fast_read_line() 202 while (l_end < rc->end && *l_end != '\n') in eap_fast_read_line() 274 rc->end = (char *) blob->data + blob->len; in eap_fast_init_pac_data() 317 struct eap_fast_pac *end = *pac_root; in eap_fast_parse_end() local 318 while (end->next) in eap_fast_parse_end() 319 end = end->next; in eap_fast_parse_end() 320 end->next = *pac; in eap_fast_parse_end() 483 char *end; in eap_fast_write() local 706 u8 *pos, *end; eap_fast_pac_get_a_id() local 752 u8 *buf, *end, *pos; eap_fast_load_pac_bin() local [all...] |
H A D | eap_teap_pac.c | 182 const char *end; member 200 if (rc->pos >= rc->end) in eap_teap_read_line() 203 while (l_end < rc->end && *l_end != '\n') in eap_teap_read_line() 276 rc->end = (char *) blob->data + blob->len; in eap_teap_init_pac_data() 319 struct eap_teap_pac *end = *pac_root; in eap_teap_parse_end() local 321 while (end->next) in eap_teap_parse_end() 322 end = end->next; in eap_teap_parse_end() 323 end->next = *pac; in eap_teap_parse_end() 484 char *end; in eap_teap_write() local 710 u8 *pos, *end; eap_teap_pac_get_a_id() local 756 u8 *buf, *end, *pos; eap_teap_load_pac_bin() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
H A D | eap_fast_pac.c | 182 const char *end; member 199 if (rc->pos >= rc->end) in eap_fast_read_line() 202 while (l_end < rc->end && *l_end != '\n') in eap_fast_read_line() 274 rc->end = (char *) blob->data + blob->len; in eap_fast_init_pac_data() 317 struct eap_fast_pac *end = *pac_root; in eap_fast_parse_end() local 318 while (end->next) in eap_fast_parse_end() 319 end = end->next; in eap_fast_parse_end() 320 end->next = *pac; in eap_fast_parse_end() 483 char *end; in eap_fast_write() local 706 u8 *pos, *end; eap_fast_pac_get_a_id() local 752 u8 *buf, *end, *pos; eap_fast_load_pac_bin() local [all...] |
H A D | eap_teap_pac.c | 182 const char *end; member 200 if (rc->pos >= rc->end) in eap_teap_read_line() 203 while (l_end < rc->end && *l_end != '\n') in eap_teap_read_line() 276 rc->end = (char *) blob->data + blob->len; in eap_teap_init_pac_data() 319 struct eap_teap_pac *end = *pac_root; in eap_teap_parse_end() local 321 while (end->next) in eap_teap_parse_end() 322 end = end->next; in eap_teap_parse_end() 323 end->next = *pac; in eap_teap_parse_end() 484 char *end; in eap_teap_write() local 710 u8 *pos, *end; eap_teap_pac_get_a_id() local 756 u8 *buf, *end, *pos; eap_teap_load_pac_bin() local [all...] |
/third_party/node/tools/inspector_protocol/encoding/ |
H A D | encoding.cc | 36 return ToASCIIString("JSON: unexpected array end"); in ToASCIIString() 38 return ToASCIIString("JSON: comma or array end expected"); in ToASCIIString() 44 return ToASCIIString("JSON: unexpected map end"); in ToASCIIString() 46 return ToASCIIString("JSON: comma or map end expected"); in ToASCIIString() 362 out->insert(out->end(), in.begin(), in.end()); in EncodeString8Tmpl() 411 out->insert(out->end(), utf16.begin(), utf16.end()); in EncodeFromUTF16Tmpl() 425 out->insert(out->end(), in.begin(), in.end()); in EncodeBinaryTmpl() 1543 const Char* end = start + length; Parse() local 1571 ParseConstToken(const Char* start, const Char* end, const Char** token_end, const char* token) ParseConstToken() argument 1584 ReadInt(const Char* start, const Char* end, const Char** token_end, bool allow_leading_zeros) ReadInt() argument 1604 ParseNumberToken(const Char* start, const Char* end, const Char** token_end) ParseNumberToken() argument 1654 ReadHexDigits(const Char* start, const Char* end, const Char** token_end, int digits) ReadHexDigits() argument 1670 ParseStringToken(const Char* start, const Char* end, const Char** token_end) ParseStringToken() argument 1710 SkipComment(const Char* start, const Char* end, const Char** comment_end) SkipComment() argument 1755 SkipWhitespaceAndComments(const Char* start, const Char* end, const Char** whitespace_end) SkipWhitespaceAndComments() argument 1773 ParseToken(const Char* start, const Char* end, const Char** tokenStart, const Char** token_end) ParseToken() argument 1847 DecodeString(const Char* start, const Char* end, std::vector<uint16_t>* output) DecodeString() argument 1966 ParseValue(const Char* start, const Char* end, const Char** value_token_end, int depth) ParseValue() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | config.c | 204 char *end; in wpa_config_parse_int() local 207 val = strtol(value, &end, 0); in wpa_config_parse_int() 208 if (*end) { in wpa_config_parse_int() 324 char *value, *end, *pos; in wpa_config_write_addr_list() local 335 end = value + 2 * 20 * num; in wpa_config_write_addr_list() 343 res = hwaddr_mask_txt(pos, end - pos, a, m); in wpa_config_write_addr_list() 605 char *start, *end, *buf; in wpa_config_parse_proto() local 617 end = start; in wpa_config_parse_proto() 618 while (*end != ' ' && *end ! in wpa_config_parse_proto() 660 char *buf, *pos, *end; wpa_config_write_proto() local 706 char *start, *end, *buf; wpa_config_parse_key_mgmt() local 821 char *buf, *pos, *end; wpa_config_write_key_mgmt() local 1230 char *start, *end, *buf; wpa_config_parse_auth_alg() local 1283 char *buf, *pos, *end; wpa_config_write_auth_alg() local 1416 char *buf, *pos, *end; wpa_config_write_freqs() local 1467 char *start, *end, *buf; wpa_config_parse_eap() local 1566 char *buf, *pos, *end; wpa_config_write_eap() local 2084 char *end; wpa_config_parse_ocv() local 3228 const char *pos, *end; wpa_config_set_cred_roaming_consortiums() local 3681 char *buf, *end, *pos; wpa_config_get_cred_no_key() local 3764 char *buf, *end, *pos; wpa_config_get_cred_no_key() local 3850 char *buf, *end, *pos; wpa_config_get_cred_no_key() local 3879 char *buf, *end, *pos; wpa_config_get_cred_no_key() local 4176 char *end; wpa_global_config_parse_int() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/ |
H A D | utils.h | 28 Range() : start(), end() {} in Range() 29 Range(T s, T e) : start(s), end(e) {} in Range() 33 return start == other.start && end == other.end; in operator ==() 37 T end; member
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | range.h | 8 u64 end; member 13 return range->end - range->start + 1; in range_len() 17 u64 start, u64 end); 21 u64 start, u64 end); 23 void subtract_range(struct range *range, int az, u64 start, u64 end);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/include/ |
H A D | malidp_utils.h | 26 /* the restriction of range is [start, end] */ 29 u32 end; member 32 static inline void set_range(struct malidp_range *rg, u32 start, u32 end) in set_range() argument 35 rg->end = end; in set_range() 40 return (v >= rg->start) && (v <= rg->end); in in_range()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/arm/display/include/ |
H A D | malidp_utils.h | 26 /* the restriction of range is [start, end] */ 29 u32 end; member 32 static inline void set_range(struct malidp_range *rg, u32 start, u32 end) in set_range() argument 35 rg->end = end; in set_range() 40 return (v >= rg->start) && (v <= rg->end); in malidp_in_range()
|
/third_party/mbedtls/programs/util/ |
H A D | strerror.c | 46 char *end = argv[1]; in main() local 53 val = strtol(argv[1], &end, 10); in main() 54 if (*end != '\0') { in main() 55 val = strtol(argv[1], &end, 16); in main() 56 if (*end != '\0') { in main()
|
/third_party/skia/src/utils/ |
H A D | SkOSPath.cpp | 36 const char* end = strrchr(fullPath, SEPARATOR); in Dirname() local 37 if (nullptr == end) { in Dirname() 40 if (end == fullPath) { in Dirname() 42 ++end; in Dirname() 44 return SkString(fullPath, end - fullPath); in Dirname()
|
/third_party/python/Objects/stringlib/ |
H A D | replace.h | 8 STRINGLIB(replace_1char_inplace)(STRINGLIB_CHAR* s, STRINGLIB_CHAR* end, in replace_1char_inplace() argument 12 while (--maxcount && ++s != end) { in replace_1char_inplace() 25 if (++s == end) in replace_1char_inplace() 34 s = memchr(s, u1, end - s); in replace_1char_inplace() 41 i = FASTSEARCH(s, end - s, &ch1, 1, 0, FAST_SEARCH); in replace_1char_inplace()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/ |
H A D | upg_check_boot_bin.c | 201 goto end; in upg_boot_decrypt() 208 goto end; in upg_boot_decrypt() 217 goto end; in upg_boot_decrypt() 220 goto end; in upg_boot_decrypt() 228 goto end; in upg_boot_decrypt() 232 end: in upg_boot_decrypt() 296 goto end; in upg_check_encrpt_boot_code() 302 goto end; in upg_check_encrpt_boot_code() 306 end: in upg_check_encrpt_boot_code() 332 goto end; in upg_check_unencrpt_boot_code() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
H A D | eap_server_gpsk.c | 243 const u8 *pos, *end; in eap_gpsk_process_gpsk_2() local 255 end = payload + payloadlen; in eap_gpsk_process_gpsk_2() 257 if (end - pos < 2) { in eap_gpsk_process_gpsk_2() 265 if (end - pos < alen) { in eap_gpsk_process_gpsk_2() 283 if (end - pos < 2) { in eap_gpsk_process_gpsk_2() 291 if (end - pos < alen) { in eap_gpsk_process_gpsk_2() 306 if (end - pos < EAP_GPSK_RAND_LEN) { in eap_gpsk_process_gpsk_2() 317 if (end - pos < EAP_GPSK_RAND_LEN) { in eap_gpsk_process_gpsk_2() 335 if (end - pos < 2) { in eap_gpsk_process_gpsk_2() 343 if (end in eap_gpsk_process_gpsk_2() 475 const u8 *pos, *end; eap_gpsk_process_gpsk_4() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
H A D | eap_server_gpsk.c | 243 const u8 *pos, *end; in eap_gpsk_process_gpsk_2() local 255 end = payload + payloadlen; in eap_gpsk_process_gpsk_2() 257 if (end - pos < 2) { in eap_gpsk_process_gpsk_2() 265 if (end - pos < alen) { in eap_gpsk_process_gpsk_2() 283 if (end - pos < 2) { in eap_gpsk_process_gpsk_2() 291 if (end - pos < alen) { in eap_gpsk_process_gpsk_2() 306 if (end - pos < EAP_GPSK_RAND_LEN) { in eap_gpsk_process_gpsk_2() 317 if (end - pos < EAP_GPSK_RAND_LEN) { in eap_gpsk_process_gpsk_2() 335 if (end - pos < 2) { in eap_gpsk_process_gpsk_2() 343 if (end in eap_gpsk_process_gpsk_2() 476 const u8 *pos, *end; eap_gpsk_process_gpsk_4() local [all...] |
/base/powermgr/thermal_manager/utils/native/src/ |
H A D | string_operation.cpp | 88 char* end = nullptr; in StrToUint() local 91 auto result = strtoul(addr, &end, 10); // 10 means decimal in StrToUint() 92 if ((end == addr) || (end[0] != '\0') || (errno == ERANGE) || (result >= ULONG_MAX)) { in StrToUint() 105 char* end = nullptr; in StrToDouble() local 108 auto result = strtod(addr, &end); in StrToDouble() 109 if ((end == addr) || (end[0] != '\0') || (errno == ERANGE) || (result == HUGE_VAL)) { in StrToDouble()
|
/base/telephony/sms_mms/frameworks/native/mms/src/ |
H A D | mms_content_param.cpp | 33 for (auto it = textMap_.begin(); it != textMap_.end(); it++) {
in DumpContentParam() 72 if (textMap_.find(fieldCode) != textMap_.end()) {
in GetFileName() 77 if (textMap_.find(fieldCode) != textMap_.end()) {
in GetFileName() 82 if (textMap_.find(fieldCode) != textMap_.end()) {
in GetFileName() 87 if (textMap_.find(fieldCode) != textMap_.end()) {
in GetFileName() 105 if (textMap_.find(fieldCode) != textMap_.end()) {
in GetStart() 121 if (textMap_.find(field) != textMap_.end()) {
in AddNormalField() 132 if (textMap_.find(field) != textMap_.end()) {
in GetNormalField()
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_label.h | 71 * If this text is too long, ellipsis will be used at the end. 430 void SetBackgroundColorSpan(ColorType backgroundColor, int16_t start, int16_t end) in SetBackgroundColorSpan() argument 432 labelText_->SetBackgroundColorSpan(backgroundColor, start, end); in SetBackgroundColorSpan() 435 void SetForegroundColorSpan(ColorType fontColor, int16_t start, int16_t end) in SetForegroundColorSpan() argument 437 labelText_->SetForegroundColorSpan(fontColor, start, end); in SetForegroundColorSpan() 449 void SetLineBackgroundSpan(ColorType lineBackgroundColor, int16_t start, int16_t end) in SetLineBackgroundSpan() argument 451 labelText_->SetLineBackgroundSpan(lineBackgroundColor, start, end); in SetLineBackgroundSpan() 454 void SetAbsoluteSizeSpan(uint16_t start, uint16_t end, uint8_t size); 455 void SetRelativeSizeSpan(uint16_t start, uint16_t end, float size);
|
/foundation/multimodalinput/input/service/monitor/src/ |
H A D | gesture_monitor_handler.cpp | 94 if (iter == touchGestureInfo_.end()) { in IsMatchGesture() 96 if (iter == touchGestureInfo_.end()) { in IsMatchGesture() 102 (info.find(count) != info.end() || info.find(ALL_FINGER_COUNT) != info.end()); in IsMatchGesture() 113 if (iter == touchGestureInfo_.end()) { in AddGestureMonitor() 123 if (iter == touchGestureInfo_.end()) { in RemoveGestureMonitor() 128 if (it == info.end()) { in RemoveGestureMonitor() 133 if (touchGestureInfo_.find(TOUCH_GESTURE_TYPE_ALL) == touchGestureInfo_.end()) { in RemoveGestureMonitor()
|