/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | CodePointTrie.java | 310 public final boolean getRange(int start, ValueFilter filter, Range range) { in getRange() argument 311 if (start < 0 || MAX_UNICODE < start) { in getRange() 314 if (start >= highStart) { in getRange() 318 range.set(start, MAX_UNICODE, value); in getRange() 328 int c = start; in getRange() 353 if (i3Block == prevI3Block && (c - start) >= CP_PER_INDEX_2_ENTRY) { in getRange() 364 range.set(start, c - 1, value); in getRange() 392 if (block == prevBlock && (c - start) >= dataBlockLength) { in getRange() 403 range.set(start, in getRange() [all...] |
/third_party/jerryscript/jerry-core/parser/regexp/ |
H A D | re-parser.c | 38 * Get the start opcode for the current group. 80 uint32_t group_start_offset, /**< offset of group start */ in re_insert_into_group() 126 uint32_t start_offset) /**< atom start offset */ in re_insert_atom_iterator() 148 uint32_t start_offset, /**< atom start offset */ in re_insert_assertion_lookahead() 715 /* DecimalEscape, Backreferences cannot start with a zero digit. */ in re_parse_next_token() 894 lit_code_point_t start, /**< range begin */ in re_class_add_range() 899 start = ecma_regexp_canonicalize_char (start, re_ctx_p->flags & RE_FLAG_UNICODE); in re_class_add_range() 903 re_append_char (re_ctx_p, start); in re_class_add_range() 956 lit_code_point_t start in re_parse_char_class() local 893 re_class_add_range(re_compiler_ctx_t *re_ctx_p, lit_code_point_t start, lit_code_point_t end) re_class_add_range() argument [all...] |
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
H A D | ecma-builtin-string-prototype.c | 703 ecma_length_t start = 0, end = len; in ecma_builtin_string_prototype_object_slice() local 707 &start))) in ecma_builtin_string_prototype_object_slice() 727 JERRY_ASSERT (start <= len && end <= len); in ecma_builtin_string_prototype_object_slice() 730 ecma_string_t *new_str_p = ecma_string_substr (get_string_val, start, end); in ecma_builtin_string_prototype_object_slice() 942 ecma_length_t start = 0, end = len; in ecma_builtin_string_prototype_object_substring() local 953 start = (uint32_t) JERRY_MIN (JERRY_MAX (start_num, 0), len); in ecma_builtin_string_prototype_object_substring() 973 JERRY_ASSERT (start <= len && end <= len); in ecma_builtin_string_prototype_object_substring() 976 uint32_t from = start < end ? start : end; in ecma_builtin_string_prototype_object_substring() 979 uint32_t to = start > en in ecma_builtin_string_prototype_object_substring() 1245 ecma_builtin_string_prototype_object_substr(ecma_string_t *this_string_p, ecma_value_t start, ecma_value_t length) ecma_builtin_string_prototype_object_substr() argument [all...] |
/third_party/mesa3d/src/intel/tools/ |
H A D | aub_write.c | 237 int start, int end, int level) in populate_ppgtt_table() 244 " PPGTT (0x%016" PRIx64 "), lvl %d, start: %x, end: %x\n", in populate_ppgtt_table() 245 table->phys_addr, level, start, end); in populate_ppgtt_table() 248 for (int i = start; i <= end; i++) { in populate_ppgtt_table() 290 aub_map_ppgtt(struct aub_file *aub, uint64_t start, uint64_t size) in aub_map_ppgtt() argument 292 uint64_t l4_start = start & 0xff8000000000; in aub_map_ppgtt() 293 uint64_t l4_end = ((start + size - 1) | 0x007fffffffff) & 0xffffffffffff; in aub_map_ppgtt() 307 start, size); in aub_map_ppgtt() 313 uint64_t l3_start = max(l4, start & 0xffffc0000000); in aub_map_ppgtt() 315 ((start in aub_map_ppgtt() 236 populate_ppgtt_table(struct aub_file *aub, struct aub_ppgtt_table *table, int start, int end, int level) populate_ppgtt_table() argument [all...] |
/third_party/libwebsockets/lib/roles/cgi/ |
H A D | cgi-server.c | 44 char *start = out, *end = out + outlen; in urlencode() local 71 return lws_ptr_diff(out, start); in urlencode() 151 /* if it's not already running, start the cleanup timer */ in lws_cgi() 465 unsigned char buf[LWS_PRE + 4096], *start = &buf[LWS_PRE], *p = start, in lws_cgi_write_split_stdout_headers() local 498 n = lws_write(wsi, start, lws_ptr_diff_size_t(p, start), in lws_cgi_write_split_stdout_headers() 831 n = (int)read(n, start, sizeof(buf) - LWS_PRE); in lws_cgi_write_split_stdout_headers() 844 memmove(start + m, start, (unsigne in lws_cgi_write_split_stdout_headers() [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/ |
H A D | ViewableTaggedData.java | 154 void tagRange(String string, int start, int length, int depth) { in tagRange() argument 159 Range range = new Range(string, start, length, depth); in tagRange() 190 int base; // offset from absolute data start 582 private void rangeTransition(Range range, boolean start) { in rangeTransition() argument 584 rangeDepth = start ? range.depth : -1; in rangeTransition() 591 private final int start; field in ViewableTaggedData.Range 595 private Range(String name, int start, int length, int depth) { in Range() argument 597 this.start = start; in Range() 602 private int start() { in start() method in ViewableTaggedData.Range [all...] |
/third_party/skia/third_party/externals/icu/source/tools/gencnval/ |
H A D | gencnval.c | 350 /* Read non-empty lines that don't start with a space character. */ in parseFile() 365 fprintf(stderr, "%s:%d: error: cannot start an alias with a space\n", path, lineNum-1); in parseFile() 369 fprintf(stderr, "%s:%d: error: alias needs to start with a converter name\n", path, lineNum); in parseFile() 379 fprintf(stderr, "%s:%d: error: alias table needs to start a list of standard tags\n", path, lineNum); in parseFile() 423 uint16_t pos=0, start, limit, length, cnv; in parseLine() local 439 start=pos; in parseLine() 446 length=(uint16_t)(limit-start); in parseLine() 447 converter=allocString(&stringBlock, line+start, length); in parseLine() 453 pos = start; in parseLine() 469 start in parseLine() [all...] |
/third_party/skia/tests/ |
H A D | GeometryTest.cpp | 199 SkVector start = SkEvalQuadTangentAt(&pts[index * 3], 0); in test_quad_tangents() local 202 REPORTER_ASSERT(reporter, start.fX && start.fY); in test_quad_tangents() 205 REPORTER_ASSERT(reporter, SkScalarNearlyZero(start.cross(mid))); in test_quad_tangents() 219 SkVector start = conic.evalTangentAt(0); in test_conic_tangents() local 222 REPORTER_ASSERT(reporter, start.fX && start.fY); in test_conic_tangents() 225 REPORTER_ASSERT(reporter, SkScalarNearlyZero(start.cross(mid))); in test_conic_tangents() 275 SkVector start, mid, end; in test_cubic_tangents() local 276 SkEvalCubicAt(&pts[index * 4], 0, nullptr, &start, nullpt in test_cubic_tangents() [all...] |
/third_party/skia/third_party/externals/brotli/research/ |
H A D | durchschlag.cc | 25 TextIdx start; member 59 result += r.end - r.start; in calculateDictionarySize() 70 output.insert(output.end(), &data[r.start], &data[r.end]); in createDictionary() 227 static void addRange(std::vector<Range>* ranges, TextIdx start, TextIdx end) { in addRange() argument 229 if (end < it->start) { in addRange() 230 ranges->insert(it, {start, end}); in addRange() 233 if (it->end < start) { in addRange() 238 start = std::min(start, it->start); in addRange() 308 TextIdx start = item.offset; durchschlag_prepare() local [all...] |
/third_party/optimized-routines/math/test/ |
H A D | ulp.c | 105 uint64_t start; member 161 uint64_t r = g->start + g->off; in next1() 172 uint64_t r = g->start + randn (g->len); in next2() 486 printf ("%s in [%a;%a]", f->name, asfloat (gen->start), in printgen_f1() 487 asfloat (gen->start + gen->len)); in printgen_f1() 492 printf ("%s in [%a;%a] x [%a;%a]", f->name, asfloat (gen->start), in printgen_f2() 493 asfloat (gen->start + gen->len), asfloat (gen->start2), in printgen_f2() 499 printf ("%s in [%a;%a]", f->name, asdouble (gen->start), in printgen_d1() 500 asdouble (gen->start + gen->len)); in printgen_d1() 505 printf ("%s in [%a;%a] x [%a;%a]", f->name, asdouble (gen->start), in printgen_d2() [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-iter.hh | 620 hb_range_iter_t (T start, T end_, S step) : v (start), end_ (end_for (start, end_, step)), step (step) {} in hb_range_iter_t() 638 static inline T end_for (T start, T end_, S step) in end_for() 642 auto res = (end_ - start) % step; in end_for() 661 operator () (T start, T end, S step = 1u) const in operator ()() 662 { return hb_range_iter_t<T, S> (start, end, step); } in operator ()() 670 hb_iota_iter_t (T start, S step) : v (start), step (step) {} in hb_iota_iter_t() 704 operator () (T start [all...] |
/third_party/elfutils/libcpu/ |
H A D | bpf_disasm.c | 99 const uint8_t *start = *startp; in bpf_disasm() local 103 while (start + sizeof(struct bpf_insn) <= end) in bpf_disasm() 109 memcpy(&i, start, sizeof(struct bpf_insn)); in bpf_disasm() 113 start += sizeof(struct bpf_insn); in bpf_disasm() 125 if (start + sizeof(struct bpf_insn) > end) in bpf_disasm() 127 start -= sizeof(struct bpf_insn); in bpf_disasm() 128 *startp = start; in bpf_disasm() 131 memcpy(&i2, start, sizeof(struct bpf_insn)); in bpf_disasm() 134 start += sizeof(struct bpf_insn); in bpf_disasm() 496 *startp = start; in bpf_disasm() [all...] |
/third_party/NuttX/drivers/video/ |
H A D | fb.c | 206 size_t start; in fb_read() local 217 /* Get the start and size of the transfer */ in fb_read() 219 start = filep->f_pos; in fb_read() 220 if (start >= fb->fblen) in fb_read() 225 end = start + len; in fb_read() 231 size = end - start; in fb_read() 252 size_t start; in fb_write() local 264 /* Get the start and size of the transfer */ in fb_write() 266 start = filep->f_pos; in fb_write() 267 if (start > in fb_write() [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | usprep.cpp | 445 int32_t start = (pos < U_PARSE_CONTEXT_LEN)? 0 : (pos - (U_PARSE_CONTEXT_LEN-1)); in uprv_syntaxError() local 448 u_memcpy(parseError->preContext,rules+start,limit-start); in uprv_syntaxError() 450 parseError->preContext[limit-start] = 0; in uprv_syntaxError() 453 start = pos; in uprv_syntaxError() 454 limit = start + (U_PARSE_CONTEXT_LEN-1); in uprv_syntaxError() 458 if (start < rulesLen) { in uprv_syntaxError() 459 u_memcpy(parseError->postContext,rules+start,limit-start); in uprv_syntaxError() 462 parseError->postContext[limit-start] in uprv_syntaxError() [all...] |
H A D | utrie2.cpp | 114 const uint8_t *start, const uint8_t *src) { in utrie2_internalU8PrevIndex() 117 if((src-start)<=7) { in utrie2_internalU8PrevIndex() 118 i=length=(int32_t)(src-start); in utrie2_internalU8PrevIndex() 121 start=src-7; in utrie2_internalU8PrevIndex() 123 c=utf8_prevCharSafeBody(start, 0, &i, c, -1); in utrie2_internalU8PrevIndex() 433 * Currently requires start<limit and both start and limit must be multiples 444 UChar32 start, UChar32 limit, in enumEitherTrie() 486 prev=start; in enumEitherTrie() 490 for(c=start; in enumEitherTrie() 113 utrie2_internalU8PrevIndex(const UTrie2 *trie, UChar32 c, const uint8_t *start, const uint8_t *src) utrie2_internalU8PrevIndex() argument 443 enumEitherTrie(const UTrie2 *trie, UChar32 start, UChar32 limit, UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, const void *context) enumEitherTrie() argument [all...] |
/third_party/node/src/ |
H A D | node_blob.cc | 143 size_t start = args[0].As<Uint32>()->Value(); in ToSlice() local 145 BaseObjectPtr<Blob> slice = blob->Slice(env, start, end); in ToSlice() 175 BaseObjectPtr<Blob> Blob::Slice(Environment* env, size_t start, size_t end) { in Slice() argument 176 CHECK_LE(start, length()); in Slice() 178 CHECK_LE(start, end); in Slice() 181 size_t total = end - start; in Slice() 187 if (start + entry.offset > entry.store->ByteLength()) { in Slice() 188 start -= entry.length; in Slice() 192 size_t offset = entry.offset + start; in Slice() 197 start in Slice() [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | usprep.cpp | 445 int32_t start = (pos < U_PARSE_CONTEXT_LEN)? 0 : (pos - (U_PARSE_CONTEXT_LEN-1)); in uprv_syntaxError() local 448 u_memcpy(parseError->preContext,rules+start,limit-start); in uprv_syntaxError() 450 parseError->preContext[limit-start] = 0; in uprv_syntaxError() 453 start = pos; in uprv_syntaxError() 454 limit = start + (U_PARSE_CONTEXT_LEN-1); in uprv_syntaxError() 458 if (start < rulesLen) { in uprv_syntaxError() 459 u_memcpy(parseError->postContext,rules+start,limit-start); in uprv_syntaxError() 462 parseError->postContext[limit-start] in uprv_syntaxError() [all...] |
H A D | utrie2.cpp | 114 const uint8_t *start, const uint8_t *src) { in utrie2_internalU8PrevIndex() 117 if((src-start)<=7) { in utrie2_internalU8PrevIndex() 118 i=length=(int32_t)(src-start); in utrie2_internalU8PrevIndex() 121 start=src-7; in utrie2_internalU8PrevIndex() 123 c=utf8_prevCharSafeBody(start, 0, &i, c, -1); in utrie2_internalU8PrevIndex() 433 * Currently requires start<limit and both start and limit must be multiples 444 UChar32 start, UChar32 limit, in enumEitherTrie() 486 prev=start; in enumEitherTrie() 490 for(c=start; in enumEitherTrie() 113 utrie2_internalU8PrevIndex(const UTrie2 *trie, UChar32 c, const uint8_t *start, const uint8_t *src) utrie2_internalU8PrevIndex() argument 443 enumEitherTrie(const UTrie2 *trie, UChar32 start, UChar32 limit, UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, const void *context) enumEitherTrie() argument [all...] |
/third_party/ltp/testcases/kernel/mem/lib/ |
H A D | mem.c | 219 tst_res(TINFO, "start normal OOM testing."); in testoom() 222 tst_res(TINFO, "start OOM testing for mlocked pages."); in testoom() 233 tst_res(TINFO, "start OOM testing for KSM pages."); in testoom() 306 int start, int end, int start2, int end2) in verify() 311 s = SAFE_MALLOC((end - start) * (end2 - start2)); in verify() 314 memset(s, value, (end - start) * (end2 - start2)); in verify() 315 if (memcmp(memory[start], s, (end - start) * (end2 - start2)) in verify() 317 for (j = start; j < end; j++) in verify() 690 unsigned long start, en in range_is_mapped() local 305 verify(char **memory, char value, int proc, int start, int end, int start2, int end2) verify() argument [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | js-relative-time-format.cc | 402 int32_t start, int32_t limit) { in AddLiteral() 405 isolate, substring, Intl::ToString(isolate, string, start, limit), in AddLiteral() 445 int32_t start = cfpos.getStart(); in FormatToJSArray() local 449 groups.push_back(std::pair<int32_t, int32_t>(start, limit)); in FormatToJSArray() 452 if (start > previous_end) { in FormatToJSArray() 454 AddLiteral(isolate, array, string, index++, previous_end, start); in FormatToJSArray() 459 if (start_limit.first > start) { in FormatToJSArray() 462 NumberFormatSpan(field, start, start_limit.first), unit, in FormatToJSArray() 471 start = start_limit.second; in FormatToJSArray() 477 NumberFormatSpan(field, start, limi in FormatToJSArray() 400 AddLiteral(Isolate* isolate, Handle<JSArray> array, const icu::UnicodeString& string, int32_t index, int32_t start, int32_t limit) AddLiteral() argument [all...] |
/third_party/skia/src/core/ |
H A D | SkScan_AntiPath.cpp | 232 int start = x; 235 SkASSERT(start >= 0 && stop > start); 237 int fb = start & MASK; 239 int n = (stop >> SHIFT) - (start >> SHIFT) - 1; 562 int start = x; 565 SkASSERT(start >= 0 && stop > start); 566 int fb = start & MASK; 568 int n = (stop >> SHIFT) - (start >> SHIF [all...] |
/third_party/skia/src/ports/ |
H A D | SkFontMgr_config_parser.cpp | 39 /** Called at the start tag. 44 void (*start)(FamilyData* data, const char* tag, const char** attributes); member 122 const char* start = str; // start is inclusive in trim_string() local 123 const char* end = start + s->size(); // end is exclusive in trim_string() 124 while (is_whitespace(*start)) { ++start; } in trim_string() 125 if (start != end) { in trim_string() 132 size_t len = end - start; in trim_string() 133 memmove(str, start, le in trim_string() [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | usprep.cpp | 445 int32_t start = (pos < U_PARSE_CONTEXT_LEN)? 0 : (pos - (U_PARSE_CONTEXT_LEN-1)); in uprv_syntaxError() local 448 u_memcpy(parseError->preContext,rules+start,limit-start); in uprv_syntaxError() 450 parseError->preContext[limit-start] = 0; in uprv_syntaxError() 453 start = pos; in uprv_syntaxError() 454 limit = start + (U_PARSE_CONTEXT_LEN-1); in uprv_syntaxError() 458 if (start < rulesLen) { in uprv_syntaxError() 459 u_memcpy(parseError->postContext,rules+start,limit-start); in uprv_syntaxError() 462 parseError->postContext[limit-start] in uprv_syntaxError() [all...] |
H A D | utrie2.cpp | 114 const uint8_t *start, const uint8_t *src) { in utrie2_internalU8PrevIndex() 117 if((src-start)<=7) { in utrie2_internalU8PrevIndex() 118 i=length=(int32_t)(src-start); in utrie2_internalU8PrevIndex() 121 start=src-7; in utrie2_internalU8PrevIndex() 123 c=utf8_prevCharSafeBody(start, 0, &i, c, -1); in utrie2_internalU8PrevIndex() 433 * Currently requires start<limit and both start and limit must be multiples 444 UChar32 start, UChar32 limit, in enumEitherTrie() 486 prev=start; in enumEitherTrie() 490 for(c=start; in enumEitherTrie() 113 utrie2_internalU8PrevIndex(const UTrie2 *trie, UChar32 c, const uint8_t *start, const uint8_t *src) utrie2_internalU8PrevIndex() argument 443 enumEitherTrie(const UTrie2 *trie, UChar32 start, UChar32 limit, UTrie2EnumValue *enumValue, UTrie2EnumRange *enumRange, const void *context) enumEitherTrie() argument [all...] |
/third_party/rust/crates/regex/regex-syntax/src/ast/ |
H A D | mod.rs | 80 /// range where the start is greater than the end. 147 /// range is invalid if the start is greater than the end. 244 the start must be <= the end" in fmt() 291 the start must be <= the end" in fmt() 324 /// The start byte offset. 325 pub start: Position, 332 write!(f, "Span({:?}, {:?})", self.start, self.end) in fmt() 338 (&self.start, &self.end).cmp(&(&other.start, &other.end)) in fmt() 387 pub fn new(start [all...] |