Home
last modified time | relevance | path

Searched refs:str_ref (Results 1 – 25 of 34) sorted by relevance

12

/third_party/harfbuzz/src/
Dhb-cff-interp-common.hh501 void push_longint_from_substr (byte_str_ref_t& str_ref) in push_longint_from_substr()
503 push_int ((str_ref[0] << 24) | (str_ref[1] << 16) | (str_ref[2] << 8) | (str_ref[3])); in push_longint_from_substr()
504 str_ref.inc (4); in push_longint_from_substr()
507 bool push_fixed_from_substr (byte_str_ref_t& str_ref) in push_fixed_from_substr()
509 if (unlikely (!str_ref.avail (4))) in push_fixed_from_substr()
511 push_fixed ((int32_t)*(const HBUINT32*)&str_ref[0]); in push_fixed_from_substr()
512 str_ref.inc (4); in push_fixed_from_substr()
558 void add_op (op_code_t op, const byte_str_ref_t& str_ref = byte_str_ref_t ()) in add_op()
562 val->str = str_ref.str.sub_str (opStart, str_ref.offset - opStart); in add_op()
563 opStart = str_ref.offset; in add_op()
[all …]
Dhb-cff-interp-dict-common.hh69 env.argStack.push_longint_from_substr (env.str_ref); in process_op()
73 env.argStack.push_real (parse_bcd (env.str_ref)); in process_op()
83 static double parse_bcd (byte_str_ref_t& str_ref) in parse_bcd()
85 if (unlikely (str_ref.in_error ())) return .0; in parse_bcd()
96 if (unlikely (!str_ref.avail ())) break; in parse_bcd()
98 byte = str_ref[0]; in parse_bcd()
99 str_ref.inc (); in parse_bcd()
126 str_ref.set_error (); in parse_bcd()
185 while (SUPER::env.str_ref.avail ()) in interpret()
Dhb-cff-interp-cs-common.hh46 str_ref = substr_; in init()
53 byte_str_ref_t str_ref; member
172 context.str_ref = SUPER::str_ref; in call_subr()
176 SUPER::str_ref = context.str_ref; in call_subr()
181 if (unlikely (SUPER::str_ref.in_error ())) in return_from_subr()
184 SUPER::str_ref = context.str_ref; in return_from_subr()
267 env.argStack.push_fixed_from_substr (env.str_ref); in process_op()
390 if (likely (env.str_ref.avail (env.hintmask_size))) in process_hintmask()
393 env.str_ref.inc (env.hintmask_size); in process_hintmask()
Dhb-ot-cff2-table.hh162 dictval.add_op (op, env.str_ref); in process_op()
184 dictval.add_op (op, env.str_ref); in process_op()
221 dictval.add_op (op, env.str_ref); in process_op()
320 dictval.add_op (op, env.str_ref, val); in process_op()
362 dictval.add_op (op, env.str_ref); in process_op()
Dhb-subset-cff1.cc260 encoder.encode_byte (env.str_ref[i]); in flush_hintmask()
294 param.current_parsed_str->add_op (op, env.str_ref); in process_op()
301 param.current_parsed_str->add_op (op, env.str_ref); in process_op()
316 param.current_parsed_str->add_op (op, env.str_ref); in process_op()
326 byte_str_ref_t str_ref = env.str_ref; in process_call_subr() local
328 param.current_parsed_str->add_call_op (op, str_ref, env.context.subr_num); in process_call_subr()
Dhb-subset-cff2.cc197 param.current_parsed_str->add_op (op, env.str_ref); in process_op()
207 byte_str_ref_t str_ref = env.str_ref; in process_call_subr() local
209 param.current_parsed_str->add_call_op (op, str_ref, env.context.subr_num); in process_call_subr()
Dhb-subset-cff-common.hh356 void add_op (op_code_t op, const byte_str_ref_t& str_ref) in add_op()
359 SUPER::add_op (op, str_ref); in add_op()
362 void add_call_op (op_code_t op, const byte_str_ref_t& str_ref, unsigned int subr_num) in add_call_op()
372 SUPER::add_op (op, str_ref, val); in add_call_op()
Dhb-ot-cff1-table.hh778 env.last_offset = env.str_ref.offset; in process_op()
787 dictval.add_op (op, env.str_ref, val); in process_op()
832 dictval.add_op (op, env.str_ref); in process_op()
897 dictval.add_op (op, env.str_ref, val); in process_op()
939 dictval.add_op (op, env.str_ref); in process_op()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-cff-interp-common.hh525 void push_longint_from_substr (byte_str_ref_t& str_ref) in push_longint_from_substr()
527 push_int ((str_ref[0] << 24) | (str_ref[1] << 16) | (str_ref[2] << 8) | (str_ref[3])); in push_longint_from_substr()
528 str_ref.inc (4); in push_longint_from_substr()
531 bool push_fixed_from_substr (byte_str_ref_t& str_ref) in push_fixed_from_substr()
533 if (unlikely (!str_ref.avail (4))) in push_fixed_from_substr()
535 push_fixed ((int32_t)*(const HBUINT32*)&str_ref[0]); in push_fixed_from_substr()
536 str_ref.inc (4); in push_fixed_from_substr()
584 void add_op (op_code_t op, const byte_str_ref_t& str_ref = byte_str_ref_t ()) in add_op()
588 val->str = str_ref.str.sub_str (opStart, str_ref.offset - opStart); in add_op()
589 opStart = str_ref.offset; in add_op()
[all …]
Dhb-cff-interp-dict-common.hh84 env.argStack.push_longint_from_substr (env.str_ref); in process_op()
88 env.argStack.push_real (parse_bcd (env.str_ref)); in process_op()
97 static double parse_bcd (byte_str_ref_t& str_ref) in parse_bcd()
118 if (!str_ref.avail ()) in parse_bcd()
120 str_ref.set_error (); in parse_bcd()
123 byte = str_ref[0]; in parse_bcd()
124 str_ref.inc (); in parse_bcd()
133 str_ref.set_error (); in parse_bcd()
165 str_ref.set_error (); in parse_bcd()
174 str_ref.set_error (); in parse_bcd()
[all …]
Dhb-cff-interp-cs-common.hh46 str_ref = substr_; in init()
53 byte_str_ref_t str_ref; member
172 context.str_ref = SUPER::str_ref; in call_subr()
176 SUPER::str_ref = context.str_ref; in call_subr()
181 if (unlikely (SUPER::str_ref.in_error ())) in return_from_subr()
184 SUPER::str_ref = context.str_ref; in return_from_subr()
267 env.argStack.push_fixed_from_substr (env.str_ref); in process_op()
390 if (likely (env.str_ref.avail (env.hintmask_size))) in process_hintmask()
393 env.str_ref.inc (env.hintmask_size); in process_hintmask()
Dhb-ot-cff2-table.hh182 dictval.add_op (op, env.str_ref); in process_op()
204 dictval.add_op (op, env.str_ref); in process_op()
241 dictval.add_op (op, env.str_ref); in process_op()
351 dictval.add_op (op, env.str_ref, val); in process_op()
393 dictval.add_op (op, env.str_ref); in process_op()
Dhb-subset-cff1.cc320 encoder.encode_byte (env.str_ref[i]); in flush_hintmask()
354 param.current_parsed_str->add_op (op, env.str_ref); in process_op()
361 param.current_parsed_str->add_op (op, env.str_ref); in process_op()
376 param.current_parsed_str->add_op (op, env.str_ref); in process_op()
386 byte_str_ref_t str_ref = env.str_ref; in process_call_subr() local
388 param.current_parsed_str->add_call_op (op, str_ref, env.context.subr_num); in process_call_subr()
Dhb-subset-cff2.cc207 param.current_parsed_str->add_op (op, env.str_ref); in process_op()
217 byte_str_ref_t str_ref = env.str_ref; in process_call_subr() local
219 param.current_parsed_str->add_call_op (op, str_ref, env.context.subr_num); in process_call_subr()
Dhb-subset-cff-common.hh407 void add_op (op_code_t op, const byte_str_ref_t& str_ref) in add_op()
410 SUPER::add_op (op, str_ref); in add_op()
413 void add_call_op (op_code_t op, const byte_str_ref_t& str_ref, unsigned int subr_num) in add_call_op()
423 SUPER::add_op (op, str_ref, val); in add_call_op()
Dhb-ot-cff1-table.hh795 env.last_offset = env.str_ref.offset; in process_op()
804 dictval.add_op (op, env.str_ref, val); in process_op()
849 dictval.add_op (op, env.str_ref); in process_op()
925 dictval.add_op (op, env.str_ref, val); in process_op()
967 dictval.add_op (op, env.str_ref); in process_op()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-cff-interp-common.hh501 void push_longint_from_substr (byte_str_ref_t& str_ref) in push_longint_from_substr()
503 push_int ((str_ref[0] << 24) | (str_ref[1] << 16) | (str_ref[2] << 8) | (str_ref[3])); in push_longint_from_substr()
504 str_ref.inc (4); in push_longint_from_substr()
507 bool push_fixed_from_substr (byte_str_ref_t& str_ref) in push_fixed_from_substr()
509 if (unlikely (!str_ref.avail (4))) in push_fixed_from_substr()
511 push_fixed ((int32_t)*(const HBUINT32*)&str_ref[0]); in push_fixed_from_substr()
512 str_ref.inc (4); in push_fixed_from_substr()
558 void add_op (op_code_t op, const byte_str_ref_t& str_ref = byte_str_ref_t ()) in add_op()
562 val->str = str_ref.str.sub_str (opStart, str_ref.offset - opStart); in add_op()
563 opStart = str_ref.offset; in add_op()
[all …]
Dhb-cff-interp-dict-common.hh69 env.argStack.push_longint_from_substr (env.str_ref); in process_op()
73 env.argStack.push_real (parse_bcd (env.str_ref)); in process_op()
83 static double parse_bcd (byte_str_ref_t& str_ref) in parse_bcd()
85 if (unlikely (str_ref.in_error ())) return .0; in parse_bcd()
96 if (unlikely (!str_ref.avail ())) break; in parse_bcd()
98 byte = str_ref[0]; in parse_bcd()
99 str_ref.inc (); in parse_bcd()
126 str_ref.set_error (); in parse_bcd()
185 while (SUPER::env.str_ref.avail ()) in interpret()
Dhb-cff-interp-cs-common.hh46 str_ref = substr_; in init()
53 byte_str_ref_t str_ref; member
172 context.str_ref = SUPER::str_ref; in call_subr()
176 SUPER::str_ref = context.str_ref; in call_subr()
181 if (unlikely (SUPER::str_ref.in_error ())) in return_from_subr()
184 SUPER::str_ref = context.str_ref; in return_from_subr()
267 env.argStack.push_fixed_from_substr (env.str_ref); in process_op()
390 if (likely (env.str_ref.avail (env.hintmask_size))) in process_hintmask()
393 env.str_ref.inc (env.hintmask_size); in process_hintmask()
Dhb-ot-cff2-table.hh162 dictval.add_op (op, env.str_ref); in process_op()
184 dictval.add_op (op, env.str_ref); in process_op()
221 dictval.add_op (op, env.str_ref); in process_op()
320 dictval.add_op (op, env.str_ref, val); in process_op()
362 dictval.add_op (op, env.str_ref); in process_op()
Dhb-subset-cff1.cc260 encoder.encode_byte (env.str_ref[i]); in flush_hintmask()
294 param.current_parsed_str->add_op (op, env.str_ref); in process_op()
301 param.current_parsed_str->add_op (op, env.str_ref); in process_op()
316 param.current_parsed_str->add_op (op, env.str_ref); in process_op()
326 byte_str_ref_t str_ref = env.str_ref; in process_call_subr() local
328 param.current_parsed_str->add_call_op (op, str_ref, env.context.subr_num); in process_call_subr()
Dhb-subset-cff2.cc197 param.current_parsed_str->add_op (op, env.str_ref); in process_op()
207 byte_str_ref_t str_ref = env.str_ref; in process_call_subr() local
209 param.current_parsed_str->add_call_op (op, str_ref, env.context.subr_num); in process_call_subr()
Dhb-subset-cff-common.hh359 void add_op (op_code_t op, const byte_str_ref_t& str_ref) in add_op()
362 SUPER::add_op (op, str_ref); in add_op()
365 void add_call_op (op_code_t op, const byte_str_ref_t& str_ref, unsigned int subr_num) in add_call_op()
375 SUPER::add_op (op, str_ref, val); in add_call_op()
/third_party/jerryscript/tools/
Dgen-magic-strings.py62 defs = [(str_ref, json.loads(str_value) if str_value != '' else '')
63 for str_ref, str_value in ini_parser.items('LIT_MAGIC_STRINGS')]
82 for str_ref in re.findall('LIT_MAGIC_STRING_[a-zA-Z0-9_]+', line):
83 if str_ref in ['LIT_MAGIC_STRING_DEF',
94 if str_ref not in results:
95 results[str_ref] = {}
96 str_guards = results[str_ref]
163 for str_ref, str_value in defs:
164 if str_ref not in uses:
166 .format(str_ref=str_ref))
[all …]
/third_party/rust/crates/cxx/src/symbols/
Drust_str.rs16 unsafe extern "C" fn str_ref<'a>(this: &mut MaybeUninit<&'a str>, string: &'a String) { in str_ref() function

12