Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
third_party
dart-lang
sdk
runtime
vm
double_conversion.h
Go to the documentation of this file.
1
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2
// for details. All rights reserved. Use of this source code is governed by a
3
// BSD-style license that can be found in the LICENSE file.
4
5
#ifndef RUNTIME_VM_DOUBLE_CONVERSION_H_
6
#define RUNTIME_VM_DOUBLE_CONVERSION_H_
7
8
#include "
vm/allocation.h
"
9
#include "
vm/globals.h
"
10
#include "
vm/object.h
"
11
12
namespace
dart
{
13
14
void
DoubleToCString
(
double
d
,
char
*
buffer
,
int
buffer_size
);
15
StringPtr
DoubleToStringAsFixed
(
double
d
,
int
fraction_digits);
16
StringPtr
DoubleToStringAsExponential
(
double
d
,
int
fraction_digits);
17
StringPtr
DoubleToStringAsPrecision
(
double
d
,
int
precision);
18
19
bool
CStringToDouble
(
const
char
* str, intptr_t
length
,
double
*
result
);
20
21
IntegerPtr
DoubleToInteger
(Zone* zone,
double
val);
22
23
}
// namespace dart
24
25
#endif
// RUNTIME_VM_DOUBLE_CONVERSION_H_
buffer_size
static uint32_t buffer_size(uint32_t offset, uint32_t maxAlignment)
Definition
GrMtlPipelineStateBuilder.mm:382
d
VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE auto & d
Definition
main.cc:19
buffer
static const uint8_t buffer[]
Definition
fl_pixel_buffer_texture_test.cc:44
result
GAsyncResult * result
Definition
fl_text_input_plugin.cc:106
length
size_t length
Definition
key_event_handler.cc:41
dart
Definition
dart_vm.cc:33
dart::DoubleToStringAsPrecision
StringPtr DoubleToStringAsPrecision(double d, int precision)
Definition
double_conversion.cc:120
dart::DoubleToCString
void DoubleToCString(double d, char *buffer, int buffer_size)
Definition
double_conversion.cc:19
dart::CStringToDouble
bool CStringToDouble(const char *str, intptr_t length, double *result)
Definition
double_conversion.cc:155
dart::DoubleToInteger
IntegerPtr DoubleToInteger(Zone *zone, double val)
Definition
double_conversion.cc:170
dart::DoubleToStringAsFixed
StringPtr DoubleToStringAsFixed(double d, int fraction_digits)
Definition
double_conversion.cc:52
dart::DoubleToStringAsExponential
StringPtr DoubleToStringAsExponential(double d, int fraction_digits)
Definition
double_conversion.cc:91
object.h
allocation.h
globals.h
Generated on Fri Apr 26 2024 06:15:06 for Flutter Engine by
1.9.8