OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:UFormattable
(Results
1 - 7
of
7
) sorted by null
/external/icu/icu4c/source/i18n/unicode/
uformattable.h
9
* File
UFORMATTABLE
.H
20
* \brief C API:
UFormattable
is a thin wrapper for primitive types used for formatting and parsing.
40
* Enum designating the type of a
UFormattable
instance.
70
typedef void *
UFormattable
;
73
* Initialize a
UFormattable
, to type UNUM_LONG, value 0
78
* @return the new
UFormattable
82
U_STABLE
UFormattable
* U_EXPORT2
86
* Cleanup any additional memory allocated by this
UFormattable
.
92
ufmt_close(
UFormattable
* fmt);
100
* "Smart pointer" class, closes a
UFormattable
via ufmt_close()
[
all
...]
fmtable.h
31
#include "unicode/
uformattable
.h"
66
* <p>See
UFormattable
for a C wrapper.
604
* Convert the
UFormattable
to a Formattable. Internally, this is a reinterpret_cast.
605
* @param fmt a valid
UFormattable
606
* @return the
UFormattable
as a Formattable object pointer. This is an alias to the original
607
*
UFormattable
, and so is only valid while the original argument remains in scope.
610
static inline Formattable *fromUFormattable(
UFormattable
*fmt);
613
* Convert the const
UFormattable
to a const Formattable. Internally, this is a reinterpret_cast.
614
* @param fmt a valid
UFormattable
615
* @return the
UFormattable
as a Formattable object pointer. This is an alias to the origina
[
all
...]
unum.h
26
#include "unicode/
uformattable
.h"
627
* Format a
UFormattable
into a string.
629
* @param number the number to format, as a
UFormattable
648
const
UFormattable
*number,
797
* Parse a UChar string into a
UFormattable
.
803
* @param result the
UFormattable
to hold the result. If NULL, a new
UFormattable
will be allocated (which the caller must close with ufmt_close).
811
* @return the
UFormattable
. Will be ==result unless NULL was passed in for result, in which case it will be the newly opened
UFormattable
.
816
U_STABLE
UFormattable
* U_EXPORT
[
all
...]
/external/icu/icu4c/source/i18n/
fmtable.cpp
27
#include "unicode/
uformattable
.h"
903
/* ----
UFormattable
implementation ---- */
907
U_DRAFT
UFormattable
* U_EXPORT2
912
UFormattable
*fmt = (new Formattable())->toUFormattable();
921
ufmt_close(
UFormattable
*fmt) {
928
ufmt_getType(const
UFormattable
*fmt, UErrorCode *status) {
938
ufmt_isNumeric(const
UFormattable
*fmt) {
944
ufmt_getDate(const
UFormattable
*fmt, UErrorCode *status) {
951
ufmt_getDouble(
UFormattable
*fmt, UErrorCode *status) {
958
ufmt_getLong(
UFormattable
*fmt, UErrorCode *status)
[
all
...]
unum.cpp
822
U_INTERNAL
UFormattable
* U_EXPORT2
824
UFormattable
*result,
829
UFormattable
*newFormattable = NULL;
848
const
UFormattable
*number,
/external/icu/icu4c/source/test/cintltst/
cnumtst.c
[
all
...]
/external/icu/icu4c/source/test/intltest/
numfmtst.cpp
[
all
...]
Completed in 297 milliseconds