Home
last modified time | relevance | path

Searched refs:NumberToString (Results 1 – 25 of 41) sorted by relevance

12

/external/libchrome/base/strings/
Dstring_number_conversions.h44 BASE_EXPORT std::string NumberToString(int value);
46 BASE_EXPORT std::string NumberToString(unsigned int value);
48 BASE_EXPORT std::string NumberToString(long value);
50 BASE_EXPORT std::string NumberToString(unsigned long value);
52 BASE_EXPORT std::string NumberToString(long long value);
54 BASE_EXPORT std::string NumberToString(unsigned long long value);
56 BASE_EXPORT std::string NumberToString(double value);
64 return NumberToString(value); in IntToString()
70 return NumberToString(value); in UintToString()
76 return NumberToString(value); in Int64ToString()
Dstring_number_conversions_fuzzer.cc55 base::NumberToString(out_int); in LLVMFuzzerTestOneInput()
57 base::NumberToString(out_uint); in LLVMFuzzerTestOneInput()
59 base::NumberToString(out_int64); in LLVMFuzzerTestOneInput()
61 base::NumberToString(out_uint64); in LLVMFuzzerTestOneInput()
63 base::NumberToString(out_double); in LLVMFuzzerTestOneInput()
Dstring_number_conversions_unittest.cc36 TEST(StringNumberConversionsTest, NumberToString) { in TEST() argument
56 EXPECT_EQ(NumberToString(test.num), test.sexpected); in TEST()
58 EXPECT_EQ(NumberToString(static_cast<unsigned>(test.num)), test.uexpected); in TEST()
64 EXPECT_EQ(NumberToString(test.num), test.sexpected); in TEST()
66 EXPECT_EQ(NumberToString(static_cast<uint64_t>(test.num)), test.uexpected); in TEST()
84 EXPECT_EQ(cases[i].output, NumberToString(cases[i].input)); in TEST()
107 EXPECT_EQ(cases[i].output, NumberToString(cases[i].input)); in TEST()
820 EXPECT_EQ(cases[i].expected, NumberToString(cases[i].input)); in TEST()
828 EXPECT_EQ("1335179083776.0", NumberToString(input)); in TEST()
833 EXPECT_EQ("1334890332160.0", NumberToString(input)); in TEST()
Dstring_number_conversions.cc314 std::string NumberToString(int value) { in NumberToString() function
322 std::string NumberToString(unsigned value) { in NumberToString() function
330 std::string NumberToString(long value) { in NumberToString() function
338 std::string NumberToString(unsigned long value) { in NumberToString() function
346 std::string NumberToString(long long value) { in NumberToString() function
354 std::string NumberToString(unsigned long long value) { in NumberToString() function
362 std::string NumberToString(double value) { in NumberToString() function
/external/libchrome/libchrome_tools/patch/
Ddmg_fp.patch17 std::string NumberToString(double value) {
150 - EXPECT_EQ("1335179083776", NumberToString(input));
151 + EXPECT_EQ("1335179083776.0", NumberToString(input));
156 - EXPECT_EQ("1334890332160", NumberToString(input));
157 + EXPECT_EQ("1334890332160.0", NumberToString(input));
Dmojom_disable_trace_and_mem_dump.patch158 - .AppendASCII(base::NumberToString(identifier));
167 - base::NumberToString(num++) + "." + entry.method_name + ".mojomsg";
185 +// .AppendASCII(base::NumberToString(identifier));
194 +// base::NumberToString(num++) + "." + entry.method_name + ".mojomsg";
/external/v8/src/builtins/
Dbuiltins-number.cc136 return *isolate->factory()->NumberToString(value); in BUILTIN()
161 return *isolate->factory()->NumberToString(value); in BUILTIN()
206 return *isolate->factory()->NumberToString(value); in BUILTIN()
215 if (radix_number == 10.0) return *isolate->factory()->NumberToString(value); in BUILTIN()
Dbuiltins-conversion-gen.cc154 TF_BUILTIN(NumberToString, CodeStubAssembler) { in TF_BUILTIN() argument
157 Return(NumberToString(input)); in TF_BUILTIN()
Dbuiltins-array.cc199 Handle<String> index = isolate->factory()->NumberToString( in GenericArrayFill()
432 Handle<String> index = isolate->factory()->NumberToString(new_length); in GenericArrayPop()
/external/libchrome/mojo/public/cpp/platform/
Dplatform_channel.cc174 *value = base::NumberToString( in PrepareToPassRemoteEndpoint()
179 *value = base::NumberToString(id); in PrepareToPassRemoteEndpoint()
184 *value = base::NumberToString(mapped_fd); in PrepareToPassRemoteEndpoint()
198 *value = base::NumberToString(target_fd); in PrepareToPassRemoteEndpoint()
Dnamed_platform_channel_posix.cc26 .AppendASCII(base::NumberToString(base::RandUint64())) in GenerateRandomServerName()
/external/lzma/CPP/7zip/UI/FileManager/
DFormatUtils.h9 UString NumberToString(UInt64 number);
DFormatUtils.cpp11 UString NumberToString(UInt64 number) in NumberToString() function
DOverwriteDialog.cpp56 sizeString = MyFormatNew(IDS_FILE_SIZE, NumberToString(fileInfo.Size)); in SetFileInfoControl()
/external/v8/src/heap/
Dfactory-inl.h171 result = NumberToString(Smi::FromInt(int32v), check_cache); in Uint32ToString()
173 result = NumberToString(NewNumberFromUint(value), check_cache); in Uint32ToString()
Dfactory.h828 Handle<String> NumberToString(Handle<Object> number, bool check_cache = true);
829 Handle<String> NumberToString(Smi* number, bool check_cache = true);
/external/libchrome/ipc/
Dipc_message_utils.cc340 l->append(base::NumberToString(p)); in Log()
344 l->append(base::NumberToString(p)); in Log()
348 l->append(base::NumberToString(p)); in Log()
354 l->append(base::NumberToString(p)); in Log()
358 l->append(base::NumberToString(p)); in Log()
363 l->append(base::NumberToString(p)); in Log()
367 l->append(base::NumberToString(p)); in Log()
/external/v8/src/runtime/
Druntime-numbers.cc77 return *isolate->factory()->NumberToString(number); in RUNTIME_FUNCTION()
/external/libchrome/base/
Dsys_info_chromeos.cc214 env->SetVar(kLsbReleaseTimeKey, NumberToString(lsb_release_time.ToDoubleT())); in SetChromeOSVersionInfoForTest()
/external/libchrome/base/json/
Djson_writer.cc92 std::string real = NumberToString(value); in BuildJSONString()
/external/libchrome/base/test/
Dscoped_feature_list.cc219 "scoped_feature_list_trial_name" + base::NumberToString(num_calls); in InitAndEnableFeatureWithParameters()
/external/v8/src/
Dmessages.cc261 Handle<String> str = isolate->factory()->NumberToString( in FormatEvalOrigin()
267 str = isolate->factory()->NumberToString( in FormatEvalOrigin()
503 Handle<String> line_string = isolate->factory()->NumberToString( in AppendFileLocation()
510 Handle<String> column_string = isolate->factory()->NumberToString( in AppendFileLocation()
Djson-stringifier.cc324 if (key->IsSmi()) key = factory()->NumberToString(key); in ApplyToJsonFunction()
335 if (key->IsSmi()) key = factory()->NumberToString(key); in ApplyReplacerFunction()
/external/libchrome/mojo/core/test/
Dmultiprocess_test_helper.cc123 temp_dir.AppendASCII(base::NumberToString(base::RandUint64())).value(); in StartChildWithExtraSwitch()
/external/libchrome/dbus/
Dmessage.cc146 output += (indent + "uint64_t " + base::NumberToString(value) + "\n"); in ToStringInternal()
153 output += indent + "double " + base::NumberToString(value) + "\n"; in ToStringInternal()

12