Home
last modified time | relevance | path

Searched refs:to_number (Results 1 – 8 of 8) sorted by relevance

/third_party/boost/libs/log/src/setup/
Dparser_utils.cpp179 *it++ = char_type((to_number(c1) << 4) | to_number(c2)); in translate_escape_sequences()
352 *it++ = char_type((to_number(c1) << 4) | to_number(c2)); in translate_escape_sequences()
367 (to_number(c1) << 12) | in translate_escape_sequences()
368 (to_number(c2) << 8) | in translate_escape_sequences()
369 (to_number(c3) << 4) | in translate_escape_sequences()
370 to_number(c4)); in translate_escape_sequences()
387 (to_number(c1) << 28) | in translate_escape_sequences()
388 (to_number(c2) << 24) | in translate_escape_sequences()
389 (to_number(c3) << 20) | in translate_escape_sequences()
390 (to_number(c4) << 16) | in translate_escape_sequences()
[all …]
Dparser_utils.hpp149 static int to_number(char_type c) in to_number() function
285 static int to_number(char_type c) in to_number() function
/third_party/jerryscript/jerry-ext/arg/
Darg-transform-functions.c80 jerry_value_t to_number = jerry_value_to_number (js_arg); in jerryx_arg_transform_number_common() local
82 if (jerry_value_is_error (to_number)) in jerryx_arg_transform_number_common()
84 jerry_release_value (to_number); in jerryx_arg_transform_number_common()
90 *number_p = jerry_get_number_value (to_number); in jerryx_arg_transform_number_common()
91 jerry_release_value (to_number); in jerryx_arg_transform_number_common()
/third_party/mindspore/tests/ut/python/dataset/
Dtest_eager_text.py32 to_number = T.ToNumber(mstype.int32)
33 txt = to_number(txt)
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-conversion.c879 ecma_value_t to_number = ecma_get_number (value, number_p); in ecma_op_to_integer() local
882 if (ECMA_IS_VALUE_ERROR (to_number)) in ecma_op_to_integer()
884 return to_number; in ecma_op_to_integer()
959 ecma_value_t to_number = ecma_get_number (value, &num); in ecma_op_to_length() local
962 if (ECMA_IS_VALUE_ERROR (to_number)) in ecma_op_to_length()
964 return to_number; in ecma_op_to_length()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/text/kernels/ir/
Dbindings.cc205 auto to_number = std::make_shared<text::ToNumberOperation>(data_type); in __anon5546ea161e02() local
206 THROW_IF_ERROR(to_number->ValidateParams()); in __anon5546ea161e02()
207 return to_number; in __anon5546ea161e02()
/third_party/jerryscript/tests/unit-ext/
Dtest-ext-arg.c185 jerry_value_t to_number = jerry_value_to_number (js_arg); in my_custom_transform() local
187 if (jerry_value_is_error (to_number)) in my_custom_transform()
189 jerry_release_value (to_number); in my_custom_transform()
196 int get_num = (int) jerry_get_number_value (to_number); in my_custom_transform()
/third_party/mindspore/tests/ut/cpp/dataset/
Dc_api_text_test.cc1544 …std::shared_ptr<TensorTransform> to_number = std::make_shared<text::ToNumber>(mindspore::DataType:… in TEST_F() local
1545 EXPECT_NE(to_number, nullptr); in TEST_F()
1548 ds = ds->Map({to_number}, {"text"}); in TEST_F()
1599 …std::shared_ptr<TensorTransform> to_number = std::make_shared<text::ToNumber>(mindspore::DataType:… in TEST_F() local
1600 EXPECT_NE(to_number, nullptr); in TEST_F()
1603 ds = ds->Map({to_number}, {"text"}); in TEST_F()
1654 …std::shared_ptr<TensorTransform> to_number = std::make_shared<text::ToNumber>(mindspore::DataType:… in TEST_F() local
1655 EXPECT_NE(to_number, nullptr); in TEST_F()
1658 ds = ds->Map({to_number}, {"text"}); in TEST_F()
1704 …std::shared_ptr<TensorTransform> to_number = std::make_shared<text::ToNumber>(mindspore::DataType:… in TEST_F() local
[all …]