/third_party/skia/tests/ |
H A D | RecordPatternTest.cpp | 109 int start, begin, end; in DEF_TEST() local 116 end = start; in DEF_TEST() 117 REPORTER_ASSERT(r, pattern.search(&record, &begin, &end)); in DEF_TEST() 119 REPORTER_ASSERT(r, end == record.count()); in DEF_TEST() 127 end = start; in DEF_TEST() 128 REPORTER_ASSERT(r, !pattern.search(&record, &begin, &end)); in DEF_TEST() 136 end = start; in DEF_TEST() 137 REPORTER_ASSERT(r, pattern.search(&record, &begin, &end)); in DEF_TEST() 139 REPORTER_ASSERT(r, end == record.count()); in DEF_TEST() 141 REPORTER_ASSERT(r, !pattern.search(&record, &begin, &end)); in DEF_TEST() [all...] |
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/ |
H A D | ebdt_table.cc | 77 builder_end = glyph_builders_.end(); in SubDataSizeToSerialize() 81 glyph_entry_end = builder_map->end(); in SubDataSizeToSerialize() 103 builder_end = glyph_builders_.end(); in SubSerialize() 107 glyph_entry_end = builder_map->end(); in SubSerialize() 122 std::copy(loca_list->begin(), loca_list->end(), glyph_loca_.begin()); in SetLoca() 137 builder_end = glyph_builders_.end(); in GenerateLocaList() 143 glyph_end = builder_map->end(); in GenerateLocaList() 165 std::copy(glyph_builders->begin(), glyph_builders->end(), in SetGlyphBuilders() 216 loca_end = loca_list->end(); in Initialize() 220 entry_end = loca_map->end(); in Initialize() [all...] |
/third_party/skia/third_party/externals/tint/src/diagnostic/ |
H A D | formatter.cc | 198 (line_num <= rng.end.line) && in format() 216 // start and end use 1-based indexing . in format() 217 auto num_glyphs = [&](size_t start, size_t end) { in format() 220 end = (end > 0) ? (end - 1) : 0; in format() 221 for (size_t i = start; (i < end) && (i < line_len); i++) { in format() 227 if (line_num == rng.begin.line && line_num == rng.end.line) { in format() 231 num_glyphs(rng.begin.column, rng.end.column), 1)); in format() 236 } else if (line_num == rng.end in format() [all...] |
/third_party/rust/crates/rustix/src/backend/linux_raw/arch/outline/ |
H A D | mips.s | 7 # outline.rs takes care of reordering the nr argument to the end for us, 34 .end rustix_syscall0_nr_last 56 .end rustix_syscall1_nr_last 76 .end rustix_syscall1_noreturn_nr_last 98 .end rustix_syscall2_nr_last 120 .end rustix_syscall3_nr_last 142 .end rustix_syscall4_nr_last 164 .end rustix_syscall5_nr_last 186 .end rustix_syscall6_nr_last 210 .end rustix_syscall7_nr_las [all...] |
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluContextInfo.cpp | 163 size_t end = string::npos; in split() local 165 while ((end = src.find(' ', start)) != string::npos) in split() 167 dst.push_back(src.substr(start, end-start)); in split() 168 start = end+1; in split() 171 if (start < end) in split() 172 dst.push_back(src.substr(start, end-start)); in split() 189 std::copy(formats.begin(), formats.end(), std::inserter(formatSet, formatSet.begin())); in operator ()() 252 return formats.find(format) != formats.end(); in isCompressedTextureFormatSupported() 258 return std::find(extensions.begin(), extensions.end(), name) != extensions.end(); in isExtensionSupported() [all...] |
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkResourceInterface.cpp | 125 // At the end of the day we only need to export objects used in pipelines. in removeRedundantObjects() 136 for (auto it = begin(m_pipelineInput.pipelines); it != end(m_pipelineInput.pipelines); ++it) in removeRedundantObjects() 161 for (auto it = begin(m_pipelineInput.shaderModules); it != end(m_pipelineInput.shaderModules); ) in removeRedundantObjects() 163 if (shadersInPipeline.find(it->first) == end(shadersInPipeline)) in removeRedundantObjects() 168 for (auto it = begin(m_pipelineInput.renderPasses); it != end(m_pipelineInput.renderPasses); ) in removeRedundantObjects() 170 if (renderPassesInPipeline.find(it->first) == end(renderPassesInPipeline)) in removeRedundantObjects() 175 for (auto it = begin(m_pipelineInput.pipelineLayouts); it != end(m_pipelineInput.pipelineLayouts); ) in removeRedundantObjects() 177 if (pipelineLayoutsInPipeline.find(it->first) == end(pipelineLayoutsInPipeline)) in removeRedundantObjects() 191 for (auto it = begin(m_pipelineInput.descriptorSetLayouts); it != end(m_pipelineInput.descriptorSetLayouts); ) in removeRedundantObjects() 193 if (descriptorSetLayoutsInPipeline.find(it->first) == end(descriptorSetLayoutsInPipelin in removeRedundantObjects() [all...] |
/third_party/mbedtls/library/ |
H A D | ssl_tls13_server.c | 110 const unsigned char *end) in ssl_tls13_parse_key_exchange_modes_ext() 117 MBEDTLS_SSL_CHK_BUF_READ_PTR(p, end, 1); in ssl_tls13_parse_key_exchange_modes_ext() 127 MBEDTLS_SSL_CHK_BUF_READ_PTR(p, end, ke_modes_len); in ssl_tls13_parse_key_exchange_modes_ext() 736 unsigned char *end, in ssl_tls13_write_server_pre_shared_key_ext() 756 MBEDTLS_SSL_CHK_BUF_PTR(p, end, 6); in ssl_tls13_write_server_pre_shared_key_ext() 783 const unsigned char *end) in ssl_tls13_parse_supported_versions_ext() 791 MBEDTLS_SSL_CHK_BUF_READ_PTR(p, end, 1); in ssl_tls13_parse_supported_versions_ext() 795 MBEDTLS_SSL_CHK_BUF_READ_PTR(p, end, versions_len); in ssl_tls13_parse_supported_versions_ext() 842 const unsigned char *end) in ssl_tls13_parse_supported_groups_ext() 848 MBEDTLS_SSL_DEBUG_BUF(3, "supported_groups extension", p, end in ssl_tls13_parse_supported_groups_ext() 108 ssl_tls13_parse_key_exchange_modes_ext(mbedtls_ssl_context *ssl, const unsigned char *buf, const unsigned char *end) ssl_tls13_parse_key_exchange_modes_ext() argument 734 ssl_tls13_write_server_pre_shared_key_ext(mbedtls_ssl_context *ssl, unsigned char *buf, unsigned char *end, size_t *olen) ssl_tls13_write_server_pre_shared_key_ext() argument 781 ssl_tls13_parse_supported_versions_ext(mbedtls_ssl_context *ssl, const unsigned char *buf, const unsigned char *end) ssl_tls13_parse_supported_versions_ext() argument 840 ssl_tls13_parse_supported_groups_ext(mbedtls_ssl_context *ssl, const unsigned char *buf, const unsigned char *end) ssl_tls13_parse_supported_groups_ext() argument 902 ssl_tls13_parse_key_shares_ext(mbedtls_ssl_context *ssl, const unsigned char *buf, const unsigned char *end) ssl_tls13_parse_key_shares_ext() argument 1250 ssl_tls13_parse_client_hello(mbedtls_ssl_context *ssl, const unsigned char *buf, const unsigned char *end) ssl_tls13_parse_client_hello() argument 2032 ssl_tls13_write_server_hello_supported_versions_ext( mbedtls_ssl_context *ssl, unsigned char *buf, unsigned char *end, size_t *out_len) ssl_tls13_write_server_hello_supported_versions_ext() argument 2073 ssl_tls13_generate_and_write_key_share(mbedtls_ssl_context *ssl, uint16_t named_group, unsigned char *buf, unsigned char *end, size_t *out_len) ssl_tls13_generate_and_write_key_share() argument 2122 ssl_tls13_write_key_share_ext(mbedtls_ssl_context *ssl, unsigned char *buf, unsigned char *end, size_t *out_len) ssl_tls13_write_key_share_ext() argument 2173 ssl_tls13_write_hrr_key_share_ext(mbedtls_ssl_context *ssl, unsigned char *buf, unsigned char *end, size_t *out_len) ssl_tls13_write_hrr_key_share_ext() argument 2250 ssl_tls13_write_server_hello_body(mbedtls_ssl_context *ssl, unsigned char *buf, unsigned char *end, size_t *out_len, int is_hrr) ssl_tls13_write_server_hello_body() argument 2533 ssl_tls13_write_encrypted_extensions_body(mbedtls_ssl_context *ssl, unsigned char *buf, unsigned char *end, size_t *out_len) ssl_tls13_write_encrypted_extensions_body() argument 2682 ssl_tls13_write_certificate_request_body(mbedtls_ssl_context *ssl, unsigned char *buf, const unsigned char *end, size_t *out_len) ssl_tls13_write_certificate_request_body() argument 2961 ssl_tls13_parse_end_of_early_data(mbedtls_ssl_context *ssl, const unsigned char *buf, const unsigned char *end) ssl_tls13_parse_end_of_early_data() argument 3273 ssl_tls13_write_new_session_ticket_body(mbedtls_ssl_context *ssl, unsigned char *buf, unsigned char *end, size_t *out_len, unsigned char *ticket_nonce, size_t ticket_nonce_size) ssl_tls13_write_new_session_ticket_body() argument [all...] |
/third_party/json/docs/examples/ |
H A D | erase__IteratorType_IteratorType.cpp | 17 j_boolean.erase(j_boolean.begin(), j_boolean.end()); in main() 18 j_number_integer.erase(j_number_integer.begin(), j_number_integer.end()); in main() 19 j_number_float.erase(j_number_float.begin(), j_number_float.end()); in main() 20 j_object.erase(j_object.find("two"), j_object.end()); in main() 22 j_string.erase(j_string.begin(), j_string.end()); in main()
|
/third_party/node/test/internet/ |
H A D | test-tls-add-ca-cert.js | 31 tls.connect(opts, common.mustCall(end)); 45 tls.connect(opts, common.mustCall(end)); 50 tls.connect(opts, common.mustCall(end)); 52 function end() { class 53 this.end();
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | char.c | 9 static const char *parse_escape(const char *p, unsigned *val, const char *end, int bits, struct position pos) in parse_escape() argument 30 for (c = 0; p < end; c = (c << 4) + d) { in parse_escape() 44 if (p + 2 < end) in parse_escape() 45 end = p + 2; in parse_escape() 47 while (p < end && (d = *p - '0') < 8) { in parse_escape() 71 const char *p = token->embedded, *end; in get_char_constant() local 78 end = p + token->string->length - 1; in get_char_constant() 79 if (end == p) { in get_char_constant() 86 end = p + type - TOKEN_CHAR; in get_char_constant() 89 end in get_char_constant() 125 const char *end = p + token->string->length - 1; get_string_constant() local [all...] |
/drivers/peripheral/clearplay/hdi_service/src/ |
H A D | media_key_system_service.cpp | 40 HDF_LOGI("%{public}s: end", __func__); in ~MediaKeySystemService() 46 if (configurationString_.find(name) == configurationString_.end()) { in GetConfigurationString() 51 HDF_LOGI("%{public}s: end", __func__); in GetConfigurationString() 59 HDF_LOGI("%{public}s: end", __func__); in SetConfigurationString() 66 if (configuration_.find(name) == configuration_.end()) { in GetConfigurationByteArray() 71 HDF_LOGI("%{public}s: end", __func__); in GetConfigurationByteArray() 79 HDF_LOGI("%{public}s: end", __func__); in SetConfigurationByteArray() 90 for (auto it = time.begin(); it != time.end(); ++it) { in GetDecryptTimeAsString() 123 HDF_LOGI("%{public}s: end", __func__); in GetStatistics() 132 HDF_LOGI("%{public}s: end", __func_ in GetMaxContentProtectionLevel() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | f_sendcmd.c | 49 "TE", /* interval end time in seconds */ 95 int64_t end_ts; ///< end timestamp expressed as microseconds units 133 /* skip comment until the end of line */ in skip_comments() 186 "Missing flag terminator or extraneous data found at the end of flags " in parse_command() 260 "Missing separator or extraneous data found at the end of " in parse_commands() 298 char *start, *end; in parse_interval() local 300 start = av_strtok(intervalstr, "-", &end); in parse_interval() 306 goto end; in parse_interval() 312 goto end; in parse_interval() 315 if (end) { in parse_interval() 530 double end = TS2T(interval->end_ts, AV_TIME_BASE_Q); filter_frame() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | tls_securetransport.c | 84 goto end; in import_pem() 90 goto end; in import_pem() 93 goto end; in import_pem() 97 goto end; in import_pem() 102 goto end; in import_pem() 106 goto end; in import_pem() 113 goto end; in import_pem() 118 goto end; in import_pem() 121 end: in import_pem() 140 goto end; in load_ca() [all...] |
/third_party/backends/backend/genesys/ |
H A D | register.h | 94 std::sort(registers_.begin(), registers_.end()); in init_reg() 146 iterator end() { return registers_.end(); } in end() function in genesys::RegisterContainer 147 const_iterator end() const { return registers_.end(); } in end() function in genesys::RegisterContainer 163 auto it = std::lower_bound(registers_.begin(), registers_.end(), search); in find_reg_index() 164 if (it == registers_.end()) in find_reg_index() 305 iterator end() { return registers_.end(); } in end() function in genesys::Genesys_Register_Set 306 const_iterator end() cons in end() function in genesys::Genesys_Register_Set 376 iterator end() { return registers_.end(); } end() function in genesys::RegisterSettingSet 377 const_iterator end() const { return registers_.end(); } end() function in genesys::RegisterSettingSet [all...] |
/third_party/json/tests/src/ |
H A D | unit-ordered_map.cpp | 22 ordered_map<std::string, std::string> om(m.begin(), m.end()); 29 ordered_map<std::string, std::string> om(m.begin(), m.end()); 39 ordered_map<std::string, std::string> om(m.begin(), m.end()); 72 ordered_map<std::string, std::string> om(m.begin(), m.end()); 121 CHECK(it == om.end()); 137 CHECK(it == om.end()); 155 CHECK(it == om.end()); 171 CHECK(it == om.end()); 190 CHECK(it2 == om.end()); 219 SECTION("range at the end") [all...] |
/third_party/node/test/parallel/ |
H A D | test-stream-finished.js | 39 ws.end(); 52 tr.on('end', () => { 65 tr.end(); 85 rs.on('end', () => { 246 ws.end(); 299 w.end('asd'); 380 w.end('asd'); 405 r.on('end', common.mustCall(() => { 414 rs.on('end', common.mustCall(() => { 448 d.on('end', commo [all...] |
H A D | test-http-content-length.js | 32 res.end('world'); 34 case 'end-with-data': 36 res.end('hello world'); 40 res.end(); 60 req.end('world'); 68 path: '/end-with-data' 72 req.end('hello world'); 84 req.end();
|
/third_party/node/deps/openssl/openssl/apps/lib/ |
H A D | http_server.c | 292 char *meth, *url, *end; in http_server_get_asn1_req() local 334 if ((end = strchr(reqbuf, '\r')) != NULL in http_server_get_asn1_req() 335 || (end = strchr(reqbuf, '\n')) != NULL) in http_server_get_asn1_req() 336 *end = '\0'; in http_server_get_asn1_req() 360 for (end = url; *end != '\0'; end++) in http_server_get_asn1_req() 361 if (*end == ' ') in http_server_get_asn1_req() 363 if (strncmp(end, http_version_str, http_version_str_len) != 0) { in http_server_get_asn1_req() 366 meth, end in http_server_get_asn1_req() [all...] |
/third_party/openssl/apps/lib/ |
H A D | http_server.c | 292 char *meth, *url, *end; in http_server_get_asn1_req() local 334 if ((end = strchr(reqbuf, '\r')) != NULL in http_server_get_asn1_req() 335 || (end = strchr(reqbuf, '\n')) != NULL) in http_server_get_asn1_req() 336 *end = '\0'; in http_server_get_asn1_req() 360 for (end = url; *end != '\0'; end++) in http_server_get_asn1_req() 361 if (*end == ' ') in http_server_get_asn1_req() 363 if (strncmp(end, http_version_str, http_version_str_len) != 0) { in http_server_get_asn1_req() 366 meth, end in http_server_get_asn1_req() [all...] |
/third_party/skia/src/pathops/ |
H A D | SkOpSpan.h | 60 const SkOpPtT* debugEnder(const SkOpPtT* end) const; 162 const SkOpPtT* starter(const SkOpPtT* end) const { in starter() 163 return fT < end->fT ? this : end; in starter() 347 const SkOpSpan* starter(const SkOpSpanBase* end) const { in starter() 348 const SkOpSpanBase* result = t() < end->t() ? this : end; in starter() 352 SkOpSpan* starter(SkOpSpanBase* end) { in starter() argument 353 SkASSERT(this->segment() == end->segment()); in starter() 354 SkOpSpanBase* result = t() < end in starter() 359 SkOpSpanBase* end = *endPtr; starter() local [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-shape-complex-use.cc | 223 foreach_syllable (buffer, start, end) in setup_rphf_mask() 225 unsigned int limit = info[start].use_category() == USE(R) ? 1 : hb_min (3u, end - start); in setup_rphf_mask() 255 foreach_syllable (buffer, start, end) in setup_topographical_masks() 286 for (unsigned int i = start; i < end; i++) in setup_topographical_masks() 302 foreach_syllable (buffer, start, end) in setup_syllables_use() 303 buffer->unsafe_to_break (start, end); in setup_syllables_use() 319 foreach_syllable (buffer, start, end) in record_rphf_use() 322 for (unsigned int i = start; i < end && (info[i].mask & mask); i++) in record_rphf_use() 338 foreach_syllable (buffer, start, end) in record_pref_use() 341 for (unsigned int i = start; i < end; in record_pref_use() 358 reorder_syllable_use(hb_buffer_t *buffer, unsigned int start, unsigned int end) reorder_syllable_use() argument [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
H A D | fixed_array.h | 124 : FixedArray(other.begin(), other.end(), a) {} in NoexceptCopyable() 130 std::make_move_iterator(other.end()), a) {} in NoexceptMovable() 138 storage_.end()); in FixedArray() 147 storage_.end(), val); in FixedArray() 153 : FixedArray(init_list.begin(), init_list.end(), a) {} in FixedArray() 166 for (auto* cur = storage_.begin(); cur != storage_.end(); ++cur) { 183 // Returns the largest possible value of `std::distance(begin(), end())` for a 292 // FixedArray::end() 294 // Returns an iterator to the end of the fixed array. 295 iterator end() { retur function in absl::FixedArray 299 const_iterator end() const { return data() + size(); } end() function in absl::FixedArray 466 StorageElement* end() const { return begin() + size(); } end() function in absl::FixedArray::Storage [all...] |
/drivers/hdf_core/adapter/khdf/linux/osal/src/ |
H A D | osal_time.c | 52 int32_t OsalDiffTime(const OsalTimespec *start, const OsalTimespec *end, OsalTimespec *diff) in OsalDiffTime() argument 56 if (start == NULL || end == NULL || diff == NULL) { in OsalDiffTime() 61 if (start->sec > end->sec) { in OsalDiffTime() 62 HDF_LOGE("%s start time later then end time", __func__); in OsalDiffTime() 66 if (end->usec < start->usec) { in OsalDiffTime() 70 diff->usec = usec + end->usec - start->usec; in OsalDiffTime() 71 diff->sec = end->sec - start->sec - sec; in OsalDiffTime()
|
/third_party/libunwind/libunwind/src/ptrace/ |
H A D | _UPT_access_mem.c | 35 int i, end; in _UPT_access_mem() local 48 end = 2; in _UPT_access_mem() 50 end = 1; in _UPT_access_mem() 52 for (i = 0; i < end; i++) in _UPT_access_mem() 62 tmp_val = i == 0 && end == 2 ? *val >> 32 : *val; in _UPT_access_mem() 87 *val |= i == 0 && end == 2 ? tmp_val << 32 : tmp_val; in _UPT_access_mem()
|
/third_party/mesa3d/src/gallium/auxiliary/cso_cache/ |
H A D | cso_hash.h | 68 struct cso_node *end; member 129 return !iter.node || iter.node == iter.hash->end; in cso_hash_iter_is_null() 135 if (!iter.node || iter.hash->end == iter.node) in cso_hash_iter_data() 147 assert(*node == hash->end || (*node)->next); in cso_hash_find_node() 148 while (*node != hash->end && (*node)->key != akey) in cso_hash_find_node() 151 node = &hash->end; in cso_hash_find_node()
|