Home
last modified time | relevance | path

Searched refs:length_value (Results 1 – 11 of 11) sorted by relevance

/third_party/rust/crates/nom/doc/archive/
Dupgrading_to_nom_2.md107 ## `length_value!`, `length_bytes!` refactoring
109 …from the input, and convert that to a value of the type we need. The `length_value!` macro was usi…
111 - the `length_value!` macro was replaced by `length_count!`
112 - the new `length_value!` macros takes a slice of the size obtained by the first child parser, then…
129 - cert_types: length_value!(be_u8,be_u8) ~
/third_party/jerryscript/jerry-core/ecma/builtin-objects/typedarray/
Decma-builtin-typedarray-prototype.c1098 ecma_value_t length_value = ecma_op_object_get_by_magic_id (obj_p, LIT_MAGIC_STRING_LENGTH); in ecma_builtin_typedarray_prototype_join() local
1100 if (ECMA_IS_VALUE_ERROR (length_value)) in ecma_builtin_typedarray_prototype_join()
1103 return length_value; in ecma_builtin_typedarray_prototype_join()
1108 if (ECMA_IS_VALUE_ERROR (ecma_get_number (length_value, &length_number))) in ecma_builtin_typedarray_prototype_join()
1110 ecma_free_value (length_value); in ecma_builtin_typedarray_prototype_join()
1123 ecma_free_value (length_value); in ecma_builtin_typedarray_prototype_join()
1175 ecma_free_value (length_value); in ecma_builtin_typedarray_prototype_join()
/third_party/rust/crates/nom/src/multi/
Dtests.rs1 use super::{length_data, length_value, many0_count, many1_count};
372 length_value(be_u8, be_u16)(i) in length_value_test()
375 length_value(be_u8, tuple((be_u8, be_u8)))(i) in length_value_test()
Dmod.rs966 pub fn length_value<I, O, N, E, F, G>(mut f: F, mut g: G) -> impl FnMut(I) -> IResult<I, O, E> in length_value() function
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-array-prototype.c105 ecma_value_t length_value = ecma_make_number_value (length); in ecma_builtin_array_prototype_helper_set_length() local
108 length_value, in ecma_builtin_array_prototype_helper_set_length()
111 ecma_free_value (length_value); in ecma_builtin_array_prototype_helper_set_length()
1974 ecma_value_t length_value = ecma_make_number_value (len); in ecma_builtin_array_prototype_object_map() local
1975 ecma_value_t new_array = ecma_op_create_array_object (&length_value, 1, true); in ecma_builtin_array_prototype_object_map()
1976 ecma_free_value (length_value); in ecma_builtin_array_prototype_object_map()
Decma-builtin-json.c1035 ecma_value_t length_value = ecma_op_object_get_length (obj_p, &array_length); in ecma_builtin_json_serialize_array() local
1037 if (ECMA_IS_VALUE_ERROR (length_value)) in ecma_builtin_json_serialize_array()
1039 return length_value; in ecma_builtin_json_serialize_array()
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-array-object.c1115 ecma_value_t length_value = ecma_make_uint32_value (ext_object_p->u.array.length); in ecma_op_array_object_define_own_property() local
1117 ecma_value_t result = ecma_op_array_object_set_length (object_p, length_value, flags); in ecma_op_array_object_define_own_property()
1119 ecma_fast_free_value (length_value); in ecma_op_array_object_define_own_property()
Decma-regexp-object.c2208 const ecma_value_t length_value = ecma_op_to_length (result, &end_index); in ecma_regexp_split_helper() local
2211 if (ECMA_IS_VALUE_ERROR (length_value)) in ecma_regexp_split_helper()
3341 ecma_value_t length_value = ecma_op_to_length (this_index, &index); in ecma_regexp_match_helper() local
3345 if (ECMA_IS_VALUE_ERROR (length_value)) in ecma_regexp_match_helper()
/third_party/rust/crates/nom/doc/
Dchoosing_a_combinator.md104length_value`](https://docs.rs/nom/latest/nom/multi/fn.length_value.html): Gets a number from the …
Dmaking_a_new_parser_from_scratch.md55 pub fn length_value(input: &[u8]) -> IResult<&[u8],&[u8]> {
/third_party/rust/crates/nom/
DCHANGELOG.md929 - @vickenty for documentation fixes and his refactoring of `length_value!` and `length_bytes!`
962 - `length_value!` has been renamed to `length_count!`. The new `length_value!` selects a slice and …
1433 - `length_value!` macro: the first argument is a parser returning a `n` that can cast to usize, the…