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
7
* File
UFORMATTABLE
.H
18
* \brief C API:
UFormattable
is a thin wrapper for primitive types used for formatting and parsing.
38
* Enum designating the type of a
UFormattable
instance.
62
typedef void *
UFormattable
;
65
* Initialize a
UFormattable
, to type UNUM_LONG, value 0
70
* @return the new
UFormattable
74
U_STABLE
UFormattable
* U_EXPORT2
78
* Cleanup any additional memory allocated by this
UFormattable
.
84
ufmt_close(
UFormattable
* fmt);
92
* "Smart pointer" class, closes a
UFormattable
via ufmt_close()
[
all
...]
fmtable.h
29
#include "unicode/
uformattable
.h"
64
* <p>See
UFormattable
for a C wrapper.
602
* Convert the
UFormattable
to a Formattable. Internally, this is a reinterpret_cast.
603
* @param fmt a valid
UFormattable
604
* @return the
UFormattable
as a Formattable object pointer. This is an alias to the original
605
*
UFormattable
, and so is only valid while the original argument remains in scope.
608
static inline Formattable *fromUFormattable(
UFormattable
*fmt);
611
* Convert the const
UFormattable
to a const Formattable. Internally, this is a reinterpret_cast.
612
* @param fmt a valid
UFormattable
613
* @return the
UFormattable
as a Formattable object pointer. This is an alias to the origina
[
all
...]
unum.h
24
#include "unicode/
uformattable
.h"
614
* Format a
UFormattable
into a string.
616
* @param number the number to format, as a
UFormattable
635
const
UFormattable
*number,
784
* Parse a UChar string into a
UFormattable
.
790
* @param result the
UFormattable
to hold the result. If NULL, a new
UFormattable
will be allocated (which the caller must close with ufmt_close).
798
* @return the
UFormattable
. Will be ==result unless NULL was passed in for result, in which case it will be the newly opened
UFormattable
.
803
U_STABLE
UFormattable
* U_EXPORT
[
all
...]
/external/icu/icu4c/source/i18n/
fmtable.cpp
25
#include "unicode/
uformattable
.h"
898
/* ----
UFormattable
implementation ---- */
902
U_DRAFT
UFormattable
* U_EXPORT2
907
UFormattable
*fmt = (new Formattable())->toUFormattable();
916
ufmt_close(
UFormattable
*fmt) {
923
ufmt_getType(const
UFormattable
*fmt, UErrorCode *status) {
933
ufmt_isNumeric(const
UFormattable
*fmt) {
939
ufmt_getDate(const
UFormattable
*fmt, UErrorCode *status) {
946
ufmt_getDouble(
UFormattable
*fmt, UErrorCode *status) {
953
ufmt_getLong(
UFormattable
*fmt, UErrorCode *status)
[
all
...]
unum.cpp
820
U_INTERNAL
UFormattable
* U_EXPORT2
822
UFormattable
*result,
827
UFormattable
*newFormattable = NULL;
846
const
UFormattable
*number,
/external/icu/icu4c/source/test/cintltst/
cnumtst.c
[
all
...]
/external/icu/icu4c/source/test/intltest/
numfmtst.cpp
[
all
...]
Completed in 1431 milliseconds