/third_party/libphonenumber/cpp/src/phonenumbers/utf/ |
H A D | unilib.cc | 51 const char* end = begin + byte_length; in SpanInterchangeValid() local 52 while (p < end) { in SpanInterchangeValid() 53 int bytes_consumed = charntorune(&rune, p, static_cast<int>(end - p)); in SpanInterchangeValid()
|
/third_party/ltp/tools/sparse/sparse-src/validation/ |
H A D | check_byte_count-ice.c | 15 check_byte_count-ice.c:20:0: error: Expected } at end of function 16 check_byte_count-ice.c:20:0: error: got end-of-input 18 * check-error-end
|
/third_party/node/deps/v8/src/heap/cppgc/ |
H A D | caged-heap-local-data.cc | 33 std::fill(table_.begin(), table_.end(), Age::kOld); in Reset() 36 const uintptr_t end = in Reset() local 40 allocator->DiscardSystemPages(reinterpret_cast<void*>(begin), end - begin); in Reset()
|
/third_party/node/deps/v8/src/parsing/ |
H A D | preparser-logger.h | 19 void LogFunction(int end, int num_parameters, int function_length, in LogFunction() argument 21 end_ = end; in LogFunction() 27 int end() const { return end_; } in end() function in v8::internal::final
|
/third_party/node/deps/openssl/openssl/crypto/sm2/ |
H A D | sm2_key.c | 40 goto end; in ossl_sm2_key_private_check() 44 goto end; in ossl_sm2_key_private_check() 48 end: in ossl_sm2_key_private_check()
|
/third_party/protobuf/examples/ |
H A D | list_people.py | 20 print(" Mobile phone #:", end=" ") 22 print(" Home phone #:", end=" ") 24 print(" Work phone #:", end=" ")
|
/third_party/openssl/crypto/sm2/ |
H A D | sm2_key.c | 40 goto end; in ossl_sm2_key_private_check() 44 goto end; in ossl_sm2_key_private_check() 48 end: in ossl_sm2_key_private_check()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/subtly/ |
H A D | character_predicate.cc | 24 AcceptRange::AcceptRange(int32_t start, int32_t end) in AcceptRange() argument 26 end_(end) { in AcceptRange() 45 return characters_->find(character) != characters_->end(); in operator ()()
|
/third_party/skia/third_party/externals/tint/tools/src/substr/ |
H A D | substr.go | 36 start, end := 0, len(body) 44 // Trim edits that remove text from body end 46 end -= len(back().Text) 51 return body[start:end]
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | db_common.cpp | 91 dst.assign(src.begin(), src.end()); in StringToVector() 97 dst.assign(src.begin(), src.end()); in VectorToString() 122 char *buff = new (std::nothrow) char[dataLength * byteHexNum + 1]; // dual and add one for the end; in PrintHexVector() 148 std::vector<uint8_t> devVect(devName.begin(), devName.end()); in TransferHashString() 155 return std::string(hashVect.begin(), hashVect.end()); in TransferHashString() 243 // not end and have error. in CopyFile() 431 return std::any_of(pattern.begin(), pattern.end(), [c] (char p) { in CharIn() 468 std::transform(str.begin(), str.end(), res.begin(), ::tolower); in ToLowerCase() 475 std::transform(str.begin(), str.end(), res.begin(), ::toupper); in ToUpperCase() 486 auto iter = std::find_if_not(text.begin(), text.end(), [](cha in CheckIsAlnumOrUnderscore() [all...] |
/third_party/mesa3d/src/intel/common/ |
H A D | intel_decoder.c | 242 get_start_end_pos(int *start, int *end) in get_start_end_pos() argument 245 * start position in the first DWord. For the end position, add in get_start_end_pos() 249 if (*end - *start > 32) { in get_start_end_pos() 250 int len = *end - *start; in get_start_end_pos() 252 *end = *start + len; in get_start_end_pos() 255 *end = *end % 32; in get_start_end_pos() 262 mask(int start, int end) in mask() argument 266 v = ~0ULL >> (63 - end + start); in mask() 272 field_value(uint64_t value, int start, int end) in field_value() argument [all...] |
/third_party/libwebsockets/plugins/acme-client/ |
H A D | protocol_lws_acme_client.c | 139 *end = &buf[sizeof(buf) - 1]; in callback_chall_http01() local 147 if (lws_add_http_header_status(wsi, HTTP_STATUS_OK, &p, end)) { in callback_chall_http01() 155 &p, end)) { in callback_chall_http01() 161 if (lws_add_http_header_content_length(wsi, (lws_filepos_t)n, &p, end)) { in callback_chall_http01() 169 &p, end)) { in callback_chall_http01() 174 if (lws_finalize_write_http_header(wsi, start, &p, end)) { in callback_chall_http01() 183 p += lws_snprintf((char *)p, lws_ptr_diff_size_t(end, p), "%s", ac->key_auth); in callback_chall_http01() 213 char *buf, *start, *p, *end, *p1, *end1; in jws_create_packet() local 233 end = buf + n - LWS_PRE - 1; in jws_create_packet() 241 p += lws_snprintf(p, lws_ptr_diff_size_t(end, in jws_create_packet() 772 *end = buf + sizeof(buf) - 1, digest[32], *failreason = NULL; callback_acme_client() local [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/sb/ |
H A D | sb_bc_parser.cpp | 298 for (node_iterator I = g->begin(), E = g->end(); I != E; ++I) { in decode_alu_group() 334 for (node_iterator I = cf->begin(), E = cf->end(); I != E; ++I) { in prepare_alu_clause() 373 for (node_iterator I = g->begin(), E = g->end(); in prepare_alu_group() 587 for (node_iterator N, I = g->begin(), E = g->end(); I != E; I = N) { in prepare_alu_group() 653 for (node_iterator I = cf->begin(), E = cf->end(); I != E; ++I) { in prepare_fetch_clause() 710 std::copy(grad_v.begin(), grad_v.end(), n->src.begin() + 4); in prepare_fetch_clause() 711 std::copy(grad_h.begin(), grad_h.end(), n->src.begin() + 8); in prepare_fetch_clause() 714 std::copy(texture_offsets.begin(), texture_offsets.end(), n->src.begin() + 4); in prepare_fetch_clause() 752 for(id_cf_map::iterator I = cf_map.begin(), E = cf_map.end(); I != E; ++I) { in prepare_ir() 937 cf_node *end in prepare_loop() local 956 cf_node *c_else = NULL, *end = cf_map[c->bc.addr]; prepare_if() local [all...] |
H A D | sb_ir.cpp | 58 dst.insert(dst.end(), p->dst.begin(), p->dst.end()); in init_args() 59 src.insert(src.end(), p->src.begin(), p->src.end()); in init_args() 65 for (vvec::iterator I = dst.begin(), E = dst.end(); I != E; ++I) { in init_args() 312 for (node_iterator I = begin(), E = end(); I != E; ++I) in get_slot_mask() 335 for (vvec::iterator I2 = dst.begin(), E2 = dst.end(); in update_packed_items() 346 for (vvec::iterator I2 = dst.begin(), E2 = dst.end(); in update_packed_items() 352 for (node_iterator I = begin(), E = end(); I != E; ++I) { in update_packed_items() 356 for (vvec::iterator I2 = n->src.begin(), E2 = n->src.end(); in update_packed_items() [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | descriptor_database.cc | 87 output->insert(output->end(), set.begin(), set.end()); in ForAllFileProtos() 180 auto iter = std::upper_bound(container->begin(), container->end(), key, cmp); in FindLastLessOrEqual() 213 if (iter == by_symbol_.end()) { in AddSymbol() 235 if (iter != by_symbol_.end() && IsSubSymbol(name, iter->first)) { in AddSymbol() 303 return (iter != by_symbol_.end() && IsSubSymbol(iter->first, name)) in FindSymbol() 322 for (; it != by_extension_.end() && it->first.first == containing_type; in FindAllExtensionNumbers() 642 std::binary_search(by_name_flat_.begin(), by_name_flat_.end(), in AddFile() 668 Iter2 end, const Index& index) { in CheckForMutualSubsymbols() 669 if (*iter != end) { in CheckForMutualSubsymbols() 667 CheckForMutualSubsymbols(StringPiece symbol_name, Iter* iter, Iter2 end, const Index& index) CheckForMutualSubsymbols() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | sae.c | 861 static int sae_is_password_id_elem(const u8 *pos, const u8 *end) in sae_is_password_id_elem() argument 863 return end - pos >= 3 && in sae_is_password_id_elem() 866 end - pos - 2 >= pos[1] && in sae_is_password_id_elem() 872 const u8 *end, const u8 **token, in sae_parse_commit_token() 884 if (scalar_elem_len >= (size_t) (end - *pos)) in sae_parse_commit_token() 895 tlen = end - (*pos + scalar_elem_len); in sae_parse_commit_token() 905 if (sae_is_password_id_elem(elem, end)) { in sae_parse_commit_token() 913 if (sae_is_password_id_elem(elem, end)) { in sae_parse_commit_token() 914 /* Password Identifier element is included in the end, so in sae_parse_commit_token() 929 const u8 *end) in sae_parse_commit_scalar() 871 sae_parse_commit_token(struct sae_data *sae, const u8 **pos, const u8 *end, const u8 **token, size_t *token_len) sae_parse_commit_token() argument 928 sae_parse_commit_scalar(struct sae_data *sae, const u8 **pos, const u8 *end) sae_parse_commit_scalar() argument 976 sae_parse_commit_element_ecc(struct sae_data *sae, const u8 **pos, const u8 *end) sae_parse_commit_element_ecc() argument 1023 sae_parse_commit_element_ffc(struct sae_data *sae, const u8 **pos, const u8 *end) sae_parse_commit_element_ffc() argument 1073 sae_parse_commit_element(struct sae_data *sae, const u8 **pos, const u8 *end) sae_parse_commit_element() argument 1082 sae_parse_password_identifier(struct sae_data *sae, const u8 *pos, const u8 *end) sae_parse_password_identifier() argument 1123 const u8 *pos = data, *end = data + len; sae_parse_commit() local [all...] |
/foundation/multimedia/av_session/services/session/server/ |
H A D | avsession_item.cpp | 98 if (iter != sessionTypeMap_.end()) { in GetSessionType() 140 for (auto it = controllers_.begin(); it != controllers_.end();) { in DestroyTask() 540 if (iter != controllers_.end()) { in GetControllerInner() 699 SLOGI("set audio scene for voip end"); in Deactivate() 727 auto iter = std::find(supportedCmd_.begin(), supportedCmd_.end(), cmd); in AddSupportCommand() 728 CHECK_AND_RETURN_RET_LOG(iter == supportedCmd_.end(), AVSESSION_SUCCESS, "cmd already been added"); in AddSupportCommand() 771 auto iter = std::remove(supportedCmd_.begin(), supportedCmd_.end(), cmd); 774 supportedCmd_.erase(iter, supportedCmd_.end()); 875 auto iter = std::find(supportedCastCmds_.begin(), supportedCastCmds_.end(), 877 if (iter == supportedCastCmds_.end()) { [all...] |
/foundation/multimedia/av_codec/test/unittest/demuxer_test/ |
H A D | demuxer_unit_test.cpp | 146 for (auto iter = countFlag.begin(); iter != countFlag.end(); ++iter) { in isEOS() 942 for (auto toPts = toPtsList.begin(); toPts != toPtsList.end(); toPts++) { in HWTEST_F() 943 for (auto mode = seekModes.begin(); mode != seekModes.end(); mode++) { in HWTEST_F() 975 for (auto toPts = toPtsList.begin(); toPts != toPtsList.end(); toPts++) { in HWTEST_F() 1025 for (auto toPts = toPtsList.begin(); toPts != toPtsList.end(); toPts++) { in HWTEST_F() 1026 for (auto mode = seekModes.begin(); mode != seekModes.end(); mode++) { in HWTEST_F() 1062 for (auto toPts = toPtsList.begin(); toPts != toPtsList.end(); toPts++) { in HWTEST_F() 1063 for (auto mode = seekModes.begin(); mode != seekModes.end(); mode++) { in HWTEST_F() 1096 for (auto toPts = toPtsList.begin(); toPts != toPtsList.end(); toPts++) { in HWTEST_F() 1097 for (auto mode = seekModes.begin(); mode != seekModes.end(); mod in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_scroll/ |
H A D | grid_scroll_layout_algorithm.cpp | 222 const int32_t end = gridLayoutInfo_.endMainLineIndex_ + cacheCount; in Layout() local 224 for (auto i = start; i <= end; ++i) { in Layout() 227 if (line == gridLayoutInfo_.gridMatrix_.end()) { in Layout() 242 for (auto iter = line->second.begin(); iter != line->second.end(); ++iter) { in Layout() 249 if (crossIter == itemsCrossPosition_.end()) { in Layout() 269 if (frSize == itemsCrossSize_.end()) { in Layout() 389 // Step2: When done measure items in record, request new items to fill blank at end in FillGridViewportAndMeasureChildren() 391 if (gridLayoutInfo_.reachEnd_) { // If it reaches end when [FillBlankAtEnd], modify [currentOffset_] in FillGridViewportAndMeasureChildren() 456 gridLayoutInfo_.gridMatrix_.find(gridLayoutInfo_.startMainLineIndex_) != gridLayoutInfo_.gridMatrix_.end()) { in ReloadToStartIndex() 460 TAG_LOGI(AceLogTag::ACE_GRID, "data reload end, startIndex in ReloadToStartIndex() [all...] |
/third_party/python/Lib/test/ |
H A D | test__xxsubinterpreters.py | 151 class ChannelAction(namedtuple('ChannelAction', 'action end interp')): 153 def __new__(cls, action, end=None, interp=None): 154 if not end: 155 end = 'both' 158 self = super().__new__(cls, action, end, interp) 163 if self.end not in ('same', 'opposite', 'send', 'recv'): 164 raise ValueError(self.end) 166 if self.end not in ('both', 'same', 'opposite', 'send', 'recv'): 167 raise ValueError(self.end) 173 def resolve_end(self, end) [all...] |
/foundation/multimedia/audio_framework/frameworks/js/napi/audiomanager/callback/ |
H A D | napi_audio_spatialization_manager_callback.cpp | 53 it != spatializationEnabledChangeCbList_.end(); ++it) { in SaveSpatializationEnabledChangeCallbackReference() 67 it != spatializationEnabledChangeCbForAnyDeviceList_.end(); ++it) { in SaveSpatializationEnabledChangeCallbackReference() 88 it != spatializationEnabledChangeCbList_.end(); ++it) { in RemoveSpatializationEnabledChangeCallbackReference() 98 it != spatializationEnabledChangeCbForAnyDeviceList_.end(); ++it) { in RemoveSpatializationEnabledChangeCallbackReference() 135 for (auto it = spatializationEnabledChangeCbList_.begin(); it != spatializationEnabledChangeCbList_.end(); it++) { in OnSpatializationEnabledChange() 153 for (auto it = spatializationEnabledChangeCbList_.begin(); it != spatializationEnabledChangeCbList_.end(); it++) { in OnSpatializationEnabledChangeForAnyDevice() 163 it != spatializationEnabledChangeCbForAnyDeviceList_.end(); it++) { in OnSpatializationEnabledChangeForAnyDevice() 267 for (auto it = headTrackingEnabledChangeCbList_.begin(); it != headTrackingEnabledChangeCbList_.end(); ++it) { in SaveHeadTrackingEnabledChangeCallbackReference() 282 it != headTrackingEnabledChangeCbForAnyDeviceList_.end(); ++it) { in SaveHeadTrackingEnabledChangeCallbackReference() 303 for (auto it = headTrackingEnabledChangeCbList_.begin(); it != headTrackingEnabledChangeCbList_.end(); in RemoveHeadTrackingEnabledChangeCallbackReference() [all...] |
/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/innerkits/ressched_client/src/ |
H A D | res_sched_client.cpp | 62 for (auto it = mapPayload.begin(); it != mapPayload.end(); ++it) {
in ReportData() 110 for (auto it = mapPayload.begin(); it != mapPayload.end(); ++it) {
in KillProcess() 160 if ((item == registeredInnerEvents.end() || item->second.count(listenerGroup) == 0) &&
in RegisterEventListener() 163 if (item == registeredInnerEvents.end()) {
in RegisterEventListener() 328 if (registeredInnerEvents.find(type) == registeredInnerEvents.end()) {
in RecoverEventListener() 368 if (item != registeredInnerEvents.end()) {
in UnRegisterEventListenerLocked() 462 if (item == eventListeners_.end()) {
in RegisterEventListener() 468 if (listenerItem == item->second.end()) {
in RegisterEventListener() 488 if (item == eventListeners_.end()) {
in UnRegisterEventListener() 493 if (listenerItem == item->second.end()) {
in UnRegisterEventListener() [all...] |
/foundation/communication/netmanager_base/test/netstatsmanager/unittest/net_stats_manager_test/ |
H A D | net_stats_service_test.cpp | 378 uint64_t end = 0; in HWTEST_F() local 380 int32_t ret = netStatsService->GetIfaceStatsDetail(iface, start, end, statsInfo); in HWTEST_F() 383 end = 2; // end 2 in HWTEST_F() 385 ret = netStatsService->GetIfaceStatsDetail(iface, start, end, statsInfo); in HWTEST_F() 389 ret = netStatsService->GetIfaceStatsDetail(iface, start, end, statsInfo); in HWTEST_F() 399 uint64_t end = 0; in HWTEST_F() local 401 int32_t ret = netStatsService->GetUidStatsDetail(iface, uid, start, end, statsInfo); in HWTEST_F() 404 end = 2; // end in HWTEST_F() 419 uint64_t end = 0; HWTEST_F() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | movtextdec.c | 63 uint16_t end; member 293 style->end = bytestream_get_be16(&tsmb); in decode_styl() 294 if (style->end < style->start || in decode_styl() 295 (i && style->start < m->s[i - 1].end)) { in decode_styl() 299 if (style->start == style->end) { in decode_styl() 313 } else if (i && style->start == style[-1].end && in decode_styl() 316 style[-1].end = style->end; in decode_styl() 371 if (text_pos == style->end) { in text_to_ass() 481 const char *ptr = avpkt->data, *end; in mov_text_decode_frame() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vaf_spectrumsynth.c | 65 int start, end; member 284 int end = h * (s->channels - ch - 1); in read_fft_data() local 292 for (y = start, f = 0; y >= end; y--, f++) { in read_fft_data() 299 for (y = start, f = 0; y >= end; y--, f++) { in read_fft_data() 309 for (y = end, f = 0; y <= start; y++, f++) { in read_fft_data() 316 for (y = end, f = 0; y <= start; y++, f++) { in read_fft_data() 355 int start, end; in try_push_frame() local 365 end = s->end; in try_push_frame() 366 k = end; in try_push_frame() [all...] |