HomeSort by relevance Sort by last modified time
    Searched refs:format (Results 351 - 375 of 15567) sorted by null

<<11121314151617181920>>

  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
NumberFormatRegistrationTest.java 7 package com.ibm.icu.dev.test.format;
94 logln("f0 swap int: " + f0.format(n));
95 logln("f1 src int: " + f1.format(n));
96 logln("f2 src cur: " + f2.format(n));
97 logln("f3 reg cur: " + f3.format(n));
98 logln("f4 reg int: " + f4.format(n));
99 logln("f5 unreg cur: " + f5.format(n));
101 if (!f3.format(n).equals(f0.format(n))) {
104 if (!f4.format(n).equals(f1.format(n)))
    [all...]
  /frameworks/av/include/media/nbaio/
NBAIO.h 38 NEGOTIATE = 0x80000010, // Must (re-)negotiate format. For negotiate() only, the offeree
47 // Negotiation of format is based on the data provider and data sink, or the data consumer and
51 // attributes, rather than a struct with separate fields for format, sample rate, channel count,
68 size_t Format_frameSize(const NBAIO_Format& format);
72 NBAIO_Format Format_from_SR_C(unsigned sampleRate, unsigned channelCount, audio_format_t format);
75 unsigned Format_sampleRate(const NBAIO_Format& format);
78 unsigned Format_channelCount(const NBAIO_Format& format);
85 bool Format_isValid(const NBAIO_Format& format);
123 // Return the current negotiated format, or Format_Invalid if negotiation has not been done,
125 virtual NBAIO_Format format() const { return mNegotiated ? mFormat : Format_Invalid; function in class:android::NBAIO_Port
    [all...]
  /hardware/qcom/display/msm8994/libgralloc/
gr.h 51 unsigned int getBufferSizeAndDimensions(int width, int height, int format,
53 unsigned int getBufferSizeAndDimensions(int width, int height, int format,
58 void getBufferAttributes(int width, int height, int format, int usage,
63 bool isMacroTileEnabled(int format, int usage);
65 int decideBufferHandlingMechanism(int format, const char *compositionUsed,
69 // Allocate buffer from width, height, format into a private_handle_t
71 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage);
75 // To query if UBWC is enabled, based on format and usage flags
76 bool isUBwcEnabled(int format, int usage);
78 // Function to check if the format is an uncompressed RGB forma
    [all...]
  /hardware/qcom/display/msm8996/libgralloc/
gr.h 51 unsigned int getBufferSizeAndDimensions(int width, int height, int format,
53 unsigned int getBufferSizeAndDimensions(int width, int height, int format,
58 void getBufferAttributes(int width, int height, int format, int usage,
63 bool isMacroTileEnabled(int format, int usage);
65 int decideBufferHandlingMechanism(int format, const char *compositionUsed,
69 // Allocate buffer from width, height, format into a private_handle_t
71 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage);
76 // To query if UBWC is enabled, based on format and usage flags
77 bool isUBwcEnabled(int format, int usage);
79 // Function to check if the format is an RGB forma
    [all...]
  /hardware/ti/omap3/dspbridge/inc/
gt.h 193 GT_0trace(struct GT_Mask mask, SmBits class, String format)
199 GT_1trace(struct GT_Mask mask, SmBits class, String format, ...)
205 GT_2trace(struct GT_Mask mask, SmBits class, String format, ...)
211 GT_3trace(struct GT_Mask mask, SmBits class, String format, ...)
217 GT_4trace(struct GT_Mask mask, SmBits class, String format, ...)
223 GT_5trace(struct GT_Mask mask, SmBits class, String format, ...)
229 GT_6trace(struct GT_Mask mask, SmBits class, String format, ...)
243 extern Int _GT_trace(struct GT_Mask * mask, String format, ...);
278 #define GT_0trace( mask, class, format )
279 #define GT_1trace( mask, class, format, arg1
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
SimpleDateFormatTest.java 53 assertTrue("Doesn't work", f2.format(new Date()).getClass() == String.class);
63 assertTrue("Doesn't work", f2.format(new Date()).getClass() == String.class);
67 new SimpleDateFormat("this is an invalid simple date format");
91 assertTrue("Doesn't work", f2.format(new Date()).getClass() == String.class);
114 assertTrue("Doesn't work", f2.format(new Date()).getClass() == String.class);
194 assertTrue("Format modified", !f2.equals(clone));
206 SimpleDateFormat format = (SimpleDateFormat) DateFormat.getInstance(); local
207 SimpleDateFormat clone = (SimpleDateFormat) format.clone();
208 assertTrue("clone not equal", format.equals(clone));
209 format.format(new Date())
221 SimpleDateFormat format = (SimpleDateFormat) DateFormat.getInstance(); local
256 SimpleDateFormat format = new SimpleDateFormat("", Locale.ENGLISH); local
412 SimpleDateFormat format = new SimpleDateFormat("", Locale.ENGLISH); local
495 SimpleDateFormat format = new SimpleDateFormat("", Locale.ENGLISH); local
799 SimpleDateFormat format = new SimpleDateFormat("", Locale.ENGLISH); local
808 SimpleDateFormat format = new SimpleDateFormat("", Locale.ENGLISH); local
    [all...]
  /external/skia/src/utils/
SkTextureCompressor.cpp 37 void GetBlockDimensions(Format format, int* dimX, int* dimY, bool matchSpec) {
42 if (!matchSpec && SkOpts::fill_block_dimensions(format, dimX, dimY)) {
70 *dimX = kFormatDimensions[format].fBlockSizeX;
71 *dimY = kFormatDimensions[format].fBlockSizeY;
74 int GetCompressedDataSize(Format fmt, int width, int height) {
88 // This format is 128 bits.
107 SkFAIL("Unknown compressed format!");
122 int width, int height, size_t rowBytes, Format format) {
    [all...]
SkTextureCompressor.h 20 enum Format {
53 // desired compression format. If the width and height are not an appropriate
55 int GetCompressedDataSize(Format fmt, int width, int height);
59 // associated format, then we return nullptr. The caller is responsible for
61 SkData* CompressBitmapToFormat(const SkPixmap&, Format format);
65 // be large enough to hold the compressed data according to the format.
67 int width, int height, size_t rowBytes, Format format);
69 // Decompresses the given src data from the format specified into th
    [all...]
  /frameworks/av/media/libnbaio/
NBAIO.cpp 25 size_t Format_frameSize(const NBAIO_Format& format)
27 return format.mFrameSize;
32 unsigned Format_sampleRate(const NBAIO_Format& format)
34 if (!Format_isValid(format)) {
37 return format.mSampleRate;
40 unsigned Format_channelCount(const NBAIO_Format& format)
42 if (!Format_isValid(format)) {
45 return format.mChannelCount;
49 audio_format_t format)
51 if (sampleRate == 0 || channelCount == 0 || !audio_is_valid_format(format)) {
    [all...]
  /device/google/contexthub/util/nanotool/
log.h 45 virtual void Output(const char *format, va_list arg_list) = 0;
64 static void Error(const char *format, ...);
67 static void Warn(const char *format, ...);
70 static void Info(const char *format, ...);
73 static void Debug(const char *format, ...);
83 static void LogEx(LogLevel level, const char *format, va_list arg_list);
93 void Output(const char *format, va_list arg_list);
  /external/boringssl/src/crypto/bio/
printf.c 70 int BIO_printf(BIO *bio, const char *format, ...) {
75 va_start(args, format);
76 out_len = vsnprintf(buf, sizeof(buf), format, args);
83 va_start(args, format);
84 out_len = _vscprintf(format, args);
105 va_start(args, format);
106 out_len = vsnprintf(out, requested_len + 1, format, args);
  /external/libcxxabi/src/
abort_message.cpp 35 void abort_message(const char* format, ...)
42 va_start(list, format);
43 vfprintf(stderr, format, list);
51 va_start(list2, format);
52 vasprintf(&buffer, format, list2);
58 va_start(list2, format);
59 vasprintf(&buffer, format, list2);
  /external/sfntly/cpp/src/sfntly/table/bitmap/
bitmap_glyph.h 36 // format 1
39 // format 2
42 // format 3
44 // format 4
46 // format 5
49 // format 6
52 // format 7
55 // format 8
60 // format 9
85 int32_t format() { return format_; function in class:sfntly::BitmapGlyph::Builder
102 int32_t format() { return format_; } function in class:sfntly::BitmapGlyph
    [all...]
  /frameworks/base/graphics/java/android/graphics/
PixelFormat.java 35 /** System chooses a format that supports translucency (many alpha bits) */
39 * System chooses a format that supports transparency
44 /** System chooses an opaque format (no alpha bits required) */
94 public static void getPixelFormatInfo(int format, PixelFormat info) {
95 switch (format) {
128 throw new IllegalArgumentException("unknown pixel format " + format);
132 public static boolean formatHasAlpha(int format) {
133 switch (format) {
150 * Determine whether or not this is a public-visible and non-deprecated {@code format}
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/
abort_message.cpp 35 void abort_message(const char* format, ...)
42 va_start(list, format);
43 vfprintf(stderr, format, list);
51 va_start(list2, format);
52 vasprintf(&buffer, format, list2);
58 va_start(list2, format);
59 vasprintf(&buffer, format, list2);
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/
fsusequery.py 65 self.log.info("Generating results from {0.policy}".format(self))
66 self.log.debug("Ruletypes: {0.ruletype}".format(self))
67 self.log.debug("FS: {0.fs!r}, regex: {0.fs_regex}".format(self))
68 self.log.debug("User: {0.user!r}, regex: {0.user_regex}".format(self))
69 self.log.debug("Role: {0.role!r}, regex: {0.role_regex}".format(self))
70 self.log.debug("Type: {0.type_!r}, regex: {0.type_regex}".format(self))
72 "superset: {0.range_superset}, proper: {0.range_proper}".format(self))
  /frameworks/av/media/libstagefright/omx/
SoftVideoEncoderOMXComponent.cpp 71 mFramerate(30 << 16), // Q16 format
99 def.format.video.pNativeRender = NULL;
100 def.format.video.nFrameWidth = mWidth;
101 def.format.video.nFrameHeight = mHeight;
102 def.format.video.nStride = def.format.video.nFrameWidth;
103 def.format.video.nSliceHeight = def.format.video.nFrameHeight;
104 def.format.video.nBitrate = 0;
105 // frameRate is in Q16 format
250 const OMX_VIDEO_PARAM_PORTFORMATTYPE* format = local
527 int format; local
    [all...]
  /external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/
DeltaDescriptor.java 23 * Describes all of the information needed to apply a single delta operation - the format of the
29 * The format of the delta.
31 private final PatchConstants.DeltaFormat format; field in class:DeltaDescriptor
50 * @param format the format of the delta
56 DeltaFormat format,
60 this.format = format;
67 * Returns the format of the delta.
71 return format;
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
AlgorithmParametersSpi.java 17 protected boolean isASN1FormatString(String format)
19 return format == null || format.equals("ASN.1");
58 String format)
60 if (isASN1FormatString(format))
114 String format)
117 if (isASN1FormatString(format) || format.equalsIgnoreCase("X.509"))
123 throw new IOException("Unknown parameter format " + format);
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nouveau_surface.c 36 unsigned flags, unsigned format,
40 int ret, cpp = _mesa_get_format_bytes(format);
46 .format = format,
50 .pitch = _mesa_format_row_stride(format, width),
62 if (_mesa_get_format_bits(format, GL_DEPTH_BITS))
70 get_format_blocksy(format, height) * s->pitch,
82 dst->format = src->format;
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
AudioTrackDecoder.java 45 public AudioTrackDecoder(int trackIndex, MediaFormat format, Listener listener) {
46 super(trackIndex, format, listener);
48 if (!DecoderUtil.isAudioFormat(format)) {
56 mAudioSampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE);
57 mAudioChannelCount = format.getInteger(MediaFormat.KEY_CHANNEL_COUNT);
61 protected MediaCodec initMediaCodec(MediaFormat format) {
65 format.getString(MediaFormat.KEY_MIME));
69 + format.getString(MediaFormat.KEY_MIME), e);
71 mediaCodec.configure(format, null, null, 0);
  /toolchain/binutils/binutils-2.25/libiberty/
vasprintf.c 48 const char *@var{format}, va_list @var{args})
65 int_vasprintf (char **result, const char *format, va_list args)
67 const char *p = format;
70 int total_width = strlen (format) + 1;
105 /* Should be big enough for any format specifier except %s and floats. */
147 return vsprintf (*result, format, args);
153 vasprintf (char **result, const char *format,
160 return int_vasprintf (result, format, args);
165 checkit (const char *format, ...)
169 va_start (args, format);
    [all...]
  /external/slf4j/slf4j-ext/src/main/java/org/slf4j/ext/
LoggerWrapper.java 96 public void trace(String format, Object arg) {
101 String formattedMessage = MessageFormatter.format(format, arg).getMessage();
104 logger.trace(format, arg);
111 public void trace(String format, Object arg1, Object arg2) {
116 String formattedMessage = MessageFormatter.format(format, arg1, arg2).getMessage();
119 logger.trace(format, arg1, arg2);
126 public void trace(String format, Object... args) {
131 String formattedMessage = MessageFormatter.arrayFormat(format, args).getMessage()
    [all...]
  /build/kati/
stringprintf.cc 22 string StringPrintf(const char* format, ...) {
27 va_start(args, format);
28 int ret = vsnprintf(&str[0], str.size(), format, args);
  /development/tools/mkstubs/src/com/android/mkstubs/sourcer/
Output.java 46 * @param format The format string.
47 * @param args The arguments for the format string.
49 * @see String#format(String, Object...)
51 public void write(String format, Object... args) {
53 mWriter.write(String.format(format, args));

Completed in 1445 milliseconds

<<11121314151617181920>>