Home
last modified time | relevance | path

Searched refs:converted (Results 1 – 25 of 919) sorted by relevance

12345678910>>...37

/external/webrtc/webrtc/base/
Dmacconversion.cc47 bool converted = false; in p_convertCFNumberToInt() local
58 converted = CFNumberGetValue(cfn, ntype, static_cast<void*>(&sint8)); in p_convertCFNumberToInt()
59 if (converted) *i = static_cast<int>(sint8); in p_convertCFNumberToInt()
63 converted = CFNumberGetValue(cfn, ntype, static_cast<void*>(&sint16)); in p_convertCFNumberToInt()
64 if (converted) *i = static_cast<int>(sint16); in p_convertCFNumberToInt()
68 converted = CFNumberGetValue(cfn, ntype, static_cast<void*>(&sint32)); in p_convertCFNumberToInt()
69 if (converted) *i = static_cast<int>(sint32); in p_convertCFNumberToInt()
73 converted = CFNumberGetValue(cfn, ntype, static_cast<void*>(&sint64)); in p_convertCFNumberToInt()
74 if (converted) *i = static_cast<int>(sint64); in p_convertCFNumberToInt()
78 converted = CFNumberGetValue(cfn, ntype, in p_convertCFNumberToInt()
[all …]
/external/libchrome/base/strings/
Dutf_string_conversions_unittest.cc101 std::wstring converted; in TEST() local
105 &converted)); in TEST()
107 EXPECT_EQ(expected, converted); in TEST()
111 std::wstring converted; in TEST() local
112 EXPECT_TRUE(UTF8ToWide("\00Z\t", 3, &converted)); in TEST()
113 ASSERT_EQ(3U, converted.length()); in TEST()
114 EXPECT_EQ(static_cast<wchar_t>(0), converted[0]); in TEST()
115 EXPECT_EQ('Z', converted[1]); in TEST()
116 EXPECT_EQ('\t', converted[2]); in TEST()
119 EXPECT_TRUE(UTF8ToWide("B", 1, &converted)); in TEST()
[all …]
/external/icu/icu4c/source/io/
Dsscanf.cpp41 int32_t converted; in u_sscanf() local
44 converted = u_vsscanf(buffer, patternSpecification, ap); in u_sscanf()
47 return converted; in u_sscanf()
56 int32_t converted; in u_sscanf_u() local
59 converted = u_vsscanf_u(buffer, patternSpecification, ap); in u_sscanf_u()
62 return converted; in u_sscanf_u()
70 int32_t converted; in u_vsscanf() local
88 converted = u_vsscanf_u(buffer, pattern, ap); in u_vsscanf()
95 return converted; in u_vsscanf()
103 int32_t converted; in u_vsscanf_u() local
[all …]
Duscanf.cpp42 int32_t converted; in u_fscanf() local
45 converted = u_vfscanf(f, patternSpecification, ap); in u_fscanf()
48 return converted; in u_fscanf()
57 int32_t converted; in u_fscanf_u() local
60 converted = u_vfscanf_u(f, patternSpecification, ap); in u_fscanf_u()
63 return converted; in u_fscanf_u()
71 int32_t converted; in u_vfscanf() local
89 converted = u_vfscanf_u(f, pattern, ap); in u_vfscanf()
96 return converted; in u_vfscanf()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_element_type_converter_test.cc44 TF_ASSERT_OK_AND_ASSIGN(bool converted, type_converter.Run(module.get())); in TEST_F()
45 EXPECT_FALSE(converted); in TEST_F()
60 TF_ASSERT_OK_AND_ASSIGN(bool converted, type_converter.Run(module.get())); in TEST_F()
61 EXPECT_FALSE(converted); in TEST_F()
79 TF_ASSERT_OK_AND_ASSIGN(bool converted, type_converter.Run(module.get())); in TEST_F()
80 EXPECT_TRUE(converted); in TEST_F()
107 TF_ASSERT_OK_AND_ASSIGN(bool converted, type_converter.Run(module.get())); in TEST_F()
108 EXPECT_TRUE(converted); in TEST_F()
131 TF_ASSERT_OK_AND_ASSIGN(bool converted, type_converter.Run(module.get())); in TEST_F()
132 EXPECT_TRUE(converted); in TEST_F()
[all …]
/external/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/
Dconverted.pass.cpp38 assert(myconv.converted() == 0); in test()
40 assert(myconv.converted() == 1); in test()
42 assert(myconv.converted() == 2); in test()
44 assert(myconv.converted() == 3); in test()
55 assert(myconv.converted() == 0); in test()
57 assert(myconv.converted() == 1); in test()
59 assert(myconv.converted() == 2); in test()
61 assert(myconv.converted() == 4); in test()
/external/tensorflow/tensorflow/python/ops/ragged/
Dconvert_to_tensor_or_ragged_tensor_op_test.py47 converted = ragged_tensor.convert_to_tensor_or_ragged_tensor(
49 self.assertIs(converted, rt)
109 converted = ragged_tensor.convert_to_tensor_or_ragged_tensor(
111 self.assertEqual(value.ragged_rank, converted.ragged_rank)
112 self.assertEqual(dtypes.as_dtype(expected_dtype), converted.dtype)
113 self.assertEqual(value.to_list(), self.eval_to_list(converted))
141 converted = ragged_tensor.convert_to_tensor_or_ragged_tensor(
143 self.assertIs(tensor, converted)
197 converted = ragged_tensor.convert_to_tensor_or_ragged_tensor(
199 self.assertEqual(dtypes.as_dtype(expected_dtype), converted.dtype)
[all …]
/external/tensorflow/tensorflow/python/autograph/converters/
Dcall_trees_test.py33 with self.converted(test_fn, call_trees, {}) as result:
44 with self.converted(test_fn, call_trees, {}) as result:
55 with self.converted(test_fn, call_trees, {}) as result:
70 with self.converted(test_fn, call_trees, {'f': f}) as result:
81 with self.converted(test_fn, call_trees, {}) as result:
95 with self.converted(TestClass.test_method, call_trees, {}) as result:
108 with self.converted(tc.test_method, call_trees, {}) as result:
Dlogical_expressions_test.py36 with self.converted(test_fn, logical_expressions, {}) as result:
47 with self.converted(test_fn, logical_expressions, {}) as result:
60 with self.converted(test_fn, logical_expressions, {}) as result:
77 with self.converted(test_fn, logical_expressions, {}) as result:
84 with self.converted(test_fn, logical_expressions, {}) as result:
Dbuiltin_functions_test.py40 with self.converted(test_fn, builtin_functions, {'len': len}) as result:
55 with self.converted(test_fn, builtin_functions, {'print': print}) as result:
71 with self.converted(test_fn, builtin_functions, {'print': print}) as result:
83 with self.converted(test_fn, builtin_functions, {'foo': {
/external/cldr/tools/java/org/unicode/cldr/util/data/
DtestLdml2Icu.txt4 # - unconverted: May be converted in future, so exclude for now. If the excluded
5 # xpath is eventually converted, a warning (logln) will be shown.
6 # - ignore: We don't care if the xpath is converted or not, so if the excluded
7 # xpath is converted no errors or warnings will be generated.
25 # Not yet converted to ICU
34 # These are not converted because they are defective; no numeric code
50 # Old items that are now converted
/external/curl/src/
Dtool_filetime.c47 curl_off_t converted = (curl_off_t)ft.dwLowDateTime in getfiletime() local
50 if(converted < CURL_OFF_T_C(116444736000000000)) { in getfiletime()
55 result = (converted - CURL_OFF_T_C(116444736000000000)) / 10000000; in getfiletime()
111 curl_off_t converted = ((curl_off_t)filetime * 10000000) + in setfiletime() local
114 ft.dwLowDateTime = (DWORD)(converted & 0xFFFFFFFF); in setfiletime()
115 ft.dwHighDateTime = (DWORD)(converted >> 32); in setfiletime()
/external/clang/test/SemaObjCXX/
Dobjcbridge-related-attribute.mm17 …; // expected-error {{'CGColorRef' (aka 'CGColor *') must be explicitly converted to 'NSColor *'; …
18 …; // expected-error {{'CGColorRef' (aka 'CGColor *') must be explicitly converted to 'NSColor *'; …
19 …return newColor; // expected-error {{'CGColorRef' (aka 'CGColor *') must be explicitly converted t…
23 …cgColor = newColor; // expected-error {{'NSColor *' must be explicitly converted to 'CGColorRef' (…
24 …CGColorRef cg = newColor; // expected-error {{'NSColor *' must be explicitly converted to 'CGColor…
25 …return newColor; // expected-error {{'NSColor *' must be explicitly converted to 'CGColorRef' (aka…
/external/tensorflow/tensorflow/python/lib/core/
Dstrings.i90 std::vector<tensorflow::Safe_PyObjectPtr> converted; variable
91 converted.reserve(size);
99 converted.emplace_back(tensorflow::make_safe(py_str));
101 for (int i = 0; i < converted.size(); ++i) {
102 PyList_SET_ITEM(temp_string_list.get(), i, converted[i].release());
/external/google-breakpad/src/testing/gtest/test/
Dgtest-port_test.cc95 explicit Castable(bool* converted) : converted_(converted) {} in Castable() argument
106 bool converted = false; in TEST() local
107 Castable castable(&converted); in TEST()
109 EXPECT_TRUE(converted); in TEST()
114 explicit ConstCastable(bool* converted) : converted_(converted) {} in ConstCastable() argument
125 bool converted = false; in TEST() local
126 const ConstCastable const_castable(&converted); in TEST()
128 EXPECT_TRUE(converted); in TEST()
133 ConstAndNonConstCastable(bool* converted, bool* const_converted) in ConstAndNonConstCastable() argument
134 : converted_(converted), const_converted_(const_converted) {} in ConstAndNonConstCastable()
[all …]
/external/desugar/java/com/google/devtools/common/options/testing/
DConverterTester.java125 Object converted; in testItems() local
129 converted = converter.convert(input); in testItems()
141 .isEqualTo(converted); in testItems()
148 .isEqualTo(converted.hashCode()); in testItems()
154 .isEqualTo(converted); in testItems()
161 .isEqualTo(converted.hashCode()); in testItems()
/external/googletest/googletest/test/
Dgoogletest-port-test.cc122 explicit Castable(bool* converted) : converted_(converted) {} in Castable() argument
133 bool converted = false; in TEST() local
134 Castable castable(&converted); in TEST()
136 EXPECT_TRUE(converted); in TEST()
141 explicit ConstCastable(bool* converted) : converted_(converted) {} in ConstCastable() argument
152 bool converted = false; in TEST() local
153 const ConstCastable const_castable(&converted); in TEST()
155 EXPECT_TRUE(converted); in TEST()
160 ConstAndNonConstCastable(bool* converted, bool* const_converted) in ConstAndNonConstCastable() argument
161 : converted_(converted), const_converted_(const_converted) {} in ConstAndNonConstCastable()
[all …]
/external/clang/test/SemaObjC/
Dobjcbridge-related-attribute.m22 …pected-error {{'CGColorRef' (aka 'struct CGColor *') must be explicitly converted to 'NSColor *'; …
23 …pected-error {{'CGColorRef' (aka 'struct CGColor *') must be explicitly converted to 'NSColor *'; …
24 …pected-error {{'CGColorRef' (aka 'struct CGColor *') must be explicitly converted to 'NSColor *'; …
34 …eld.backgroundColor; // expected-error {{'NSColor *' must be explicitly converted to 'CGColorRef' …
35 …return textField.backgroundColor; // expected-error {{'NSColor *' must be explicitly converted to …
Darc-objcbridge-related-attribute.m22 …pected-error {{'CGColorRef' (aka 'struct CGColor *') must be explicitly converted to 'NSColor *'; …
23 …pected-error {{'CGColorRef' (aka 'struct CGColor *') must be explicitly converted to 'NSColor *__s…
24 …pected-error {{'CGColorRef' (aka 'struct CGColor *') must be explicitly converted to 'NSColor *'; …
34 …eld.backgroundColor; // expected-error {{'NSColor *' must be explicitly converted to 'CGColorRef' …
35 …return textField.backgroundColor; // expected-error {{'NSColor *' must be explicitly converted to …
/external/libcxx/test/libcxx/localization/locales/locale.convenience/conversions/conversions.string/
Dctor_move.pass.cpp33 const auto old_converted = myconv.converted(); in main()
34 assert(myconv.converted() == 4); in main()
37 assert(myconv2.converted() == old_converted); in main()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dlrn_ops.cc52 auto converted = XlaHelpers::ConvertElementType(input, accumulation_type); in Compile() local
53 auto squared = xla::Mul(converted, converted); in Compile()
138 auto converted = in Compile() local
140 auto squared = xla::Mul(converted, converted); in Compile()
/external/pdfium/testing/resources/javascript/
Dutil_printd_expected.txt31 Alert: mm/dd/yyyy: Caught error: util.printd: The second parameter can't be converted to a Date.
32 Alert: undefined: Caught error: util.printd: The second parameter can't be converted to a Date.
33 Alert: mm/dd/yyyy: Caught error: util.printd: The second parameter can't be converted to a Date.
34 Alert: mm/dd/yyyy: Caught error: util.printd: The second parameter can't be converted to a Date.
35 Alert: mm/dd/yyyy: Caught error: util.printd: The second parameter can't be converted to a Date.
36 Alert: mm/dd/yyyy: Caught error: util.printd: The second parameter can't be converted to a Date.
/external/python/cpython3/Modules/_sqlite/
Dcursor.c232 PyObject* converted; in _pysqlite_fetch_one_row() local
269 converted = Py_None; in _pysqlite_fetch_one_row()
274 converted = PyObject_CallFunction(converter, "O", item); in _pysqlite_fetch_one_row()
276 if (!converted) in _pysqlite_fetch_one_row()
285 converted = Py_None; in _pysqlite_fetch_one_row()
287 converted = _pysqlite_long_from_int64(sqlite3_column_int64(self->statement->st, i)); in _pysqlite_fetch_one_row()
289 converted = PyFloat_FromDouble(sqlite3_column_double(self->statement->st, i)); in _pysqlite_fetch_one_row()
294 converted = PyUnicode_FromStringAndSize(val_str, nbytes); in _pysqlite_fetch_one_row()
295 if (!converted) { in _pysqlite_fetch_one_row()
318 converted = PyBytes_FromStringAndSize(val_str, nbytes); in _pysqlite_fetch_one_row()
[all …]
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/reader/
DStreamReader.java184 int converted = this.stream.read(data); in update() local
185 if (converted > 0) { in update()
192 checkPrintable(data, 0, converted); in update()
193 this.buffer = new StringBuilder(buffer.length() + converted).append(buffer) in update()
194 .append(data, 0, converted).toString(); in update()
/external/python/setuptools/docs/
Dpython3.txt31 will be converted with 2to3, and the tests will then be run from the build
36 will not automatically be converted. By adding them to the
68 Note that a file will only be copied and converted during the build process
70 that should be converted, it will not be converted the next time you run
77 In general, if code doesn't seem to be converted, deleting the build directory
88 already converted code, and hence no 2to3 conversion is needed during install.

12345678910>>...37