HomeSort by relevance Sort by last modified time
    Searched refs:format (Results 426 - 450 of 4595) sorted by null

<<11121314151617181920>>

  /hardware/libhardware_legacy/audio/
AudioDumpInterface.cpp 60 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status)
68 outFinal = mFinalInterface->openOutputStream(devices, format, channels, sampleRate, status);
70 lFormat = outFinal->format();
74 if (format != 0) {
75 if (*format != 0) {
76 lFormat = *format;
78 *format = lFormat;
126 AudioStreamIn* AudioDumpInterface::openInputStream(uint32_t devices, int *format, uint32_t *channels,
134 inFinal = mFinalInterface->openInputStream(devices, format, channels, sampleRate, status, acoustics);
136 lFormat = inFinal->format();
329 int AudioStreamOutDump::format() const function in class:android::AudioStreamOutDump
533 int AudioStreamInDump::format() const function in class:android::AudioStreamInDump
    [all...]
  /external/guava/guava/src/com/google/common/base/
Preconditions.java 45 * String#format(String, Object[])} specifiers.
116 format(errorMessageTemplate, errorMessageArgs)); method
173 format(errorMessageTemplate, errorMessageArgs)); method
232 format(errorMessageTemplate, errorMessageArgs)); method
308 return format("%s (%s) must not be negative", desc, index);
312 return format("%s (%s) must be less than size (%s)", desc, index, size);
358 return format("%s (%s) must not be negative", desc, index);
362 return format("%s (%s) must not be greater than size (%s)",
396 return format("end index (%s) must not be less than start index (%s)",
412 @VisibleForTesting static String format(String template method in class:Preconditions
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/audio/esd/
SDL_esdaudio.c 64 static int (*SDL_NAME(esd_play_stream))( esd_format_t format, int rate,
274 esd_format_t format; local
276 /* Convert audio spec to the ESD audio format */
277 format = (ESD_STREAM | ESD_PLAY);
278 switch ( spec->format & 0xFF ) {
280 format |= ESD_BITS8;
283 format |= ESD_BITS16;
286 SDL_SetError("Unsupported ESD audio format");
290 format |= ESD_MONO;
292 format |= ESD_STEREO
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
OldSimpleDateFormatTest.java 33 SimpleDateFormat format = null; field in class:OldSimpleDateFormatTest
39 format = new SimpleDateFormat("", Locale.ENGLISH);
45 format = null;
55 format.applyPattern(pattern);
56 format.format(cal.getTime(), buffer, position);
59 System.out.println("Wrong format: \"" + pattern
79 format.setTimeZone(SimpleTimeZone.getTimeZone(timeZoneId));
80 format.applyPattern("z, zzzz");
82 format.format(date))
218 SimpleDateFormat format = (SimpleDateFormat) DateFormat.getInstance(); local
    [all...]
  /external/guava/guava-tests/test/com/google/common/base/
PreconditionsTest.java 73 Preconditions.checkArgument(false, FORMAT, 5);
120 Preconditions.checkState(false, FORMAT, 5);
164 Preconditions.checkNotNull(null, FORMAT, 5);
325 assertEquals("%s", Preconditions.format("%s"));
326 assertEquals("5", Preconditions.format("%s", 5));
327 assertEquals("foo [5]", Preconditions.format("foo", 5));
328 assertEquals("foo [5, 6, 7]", Preconditions.format("foo", 5, 6, 7));
329 assertEquals("%s 1 2", Preconditions.format("%s %s %s", "%s", 1, 2));
330 assertEquals(" [5, 6]", Preconditions.format("", 5, 6));
331 assertEquals("123", Preconditions.format("%s%s%s", 1, 2, 3))
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/texture/
FrameBuffer.java 37 import com.jme3.texture.Image.Format;
68 * {@link Format#RGBA8}, allowing rendering the color content of the scene.
69 * The depth attachment point requires a depth image format.
92 Image.Format format; field in class:FrameBuffer.RenderBuffer
97 * @return The image format of the render buffer.
99 public Format getFormat() {
100 return format;
149 return "TextureTarget[format=" + format + "]"
    [all...]
  /external/kernel-headers/original/linux/
kernel.h 98 __attribute__ ((NORET_AND format (printf, 1, 2)));
111 __attribute__ ((format (printf, 2, 3)));
113 __attribute__ ((format (printf, 2, 0)));
115 __attribute__ ((format (printf, 3, 4)));
117 __attribute__ ((format (printf, 3, 0)));
119 __attribute__ ((format (printf, 3, 4)));
121 __attribute__ ((format (printf, 3, 0)));
123 __attribute__ ((format (printf, 2, 3)));
126 __attribute__ ((format (scanf, 2, 3)));
128 __attribute__ ((format (scanf, 2, 0)))
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/picogui/
SDL_pgvideo.c 40 static SDL_Rect **PG_ListModes(_THIS, SDL_PixelFormat *format, Uint32 flags);
186 SDL_Rect **PG_ListModes(_THIS, SDL_PixelFormat *format, Uint32 flags)
203 /* Allocate the new pixel format for the screen */
205 SDL_SetError("Couldn't allocate new pixel format for requested mode");
243 /* Set up pixel format */
244 current->format->BitsPerPixel = this->hidden->shm.bpp;
245 current->format->BytesPerPixel = this->hidden->shm.bpp >> 3;
247 current->format->BytesPerPixel++;
248 current->format->palette = NULL;
249 current->format->Rmask = this->hidden->shm.red_mask
    [all...]
  /external/bison/lib/
stdio.in.h 65 The __-protected variants of the attributes 'format' and 'printf' are
77 indicates to GCC that the function takes a format string and arguments,
78 where the format string directives are the ones standardized by ISO C99
89 except that it indicates to GCC that the supported format string directives
96 indicates to GCC that the function takes a format string and arguments,
97 where the format string directives are the ones standardized by ISO C99
108 except that it indicates to GCC that the supported format string directives
138 _GL_FUNCDECL_RPL (dprintf, int, (int fd, const char *format, ...)
141 _GL_CXXALIAS_RPL (dprintf, int, (int fd, const char *format, ...));
144 _GL_FUNCDECL_SYS (dprintf, int, (int fd, const char *format, ...
    [all...]
  /external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
SimpleFormatterTest.java 50 sf.format(null);
54 sf.format(new LogRecord(Level.SEVERE, null));
64 String str = sf.format(lr);
71 str = sf.format(lr);
77 String str = sf.format(lr);
96 str = sf.format(lr);
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/check/
Assert.java 115 * the format of error message to produce if the check fails, as expected by
116 * {@link String#format(String, Object...)}. For example
123 fail("null argument expected: " + String.format(errorFormat, args)); //$NON-NLS-1$
129 * the format of error message suitable for {@link MessageFormat}.
131 * the format of error message to produce if the check fails, as expected by
137 String message = "null argument expected: " + MessageFormat.format(errorFormat, args); //$NON-NLS-1$
182 * the format of error message to produce if the check fails, as expected by
183 * {@link String#format(String, Object...)}. For example
190 fail("null argument: " + String.format(errorFormat, args)); //$NON-NLS-1$
196 * the format of error message suitable for {@link MessageFormat}
    [all...]
  /external/smali/
README.md 3 smali/baksmali is an assembler/disassembler for the dex format used by dalvik, Android's Java VM implementation. The syntax is loosely based on Jasmin's/dedexer's syntax, and supports the full functionality of the dex format (annotations, debug info, line info, etc.)
17 - [Official dex format reference](http://s.android.com/tech/dalvik/dex-format.html
  /external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
utilities.cpp 182 GLsizei ComputePitch(GLsizei width, GLenum format, GLenum type, GLint alignment)
186 GLsizei rawPitch = ComputePixelSize(format, type) * width;
190 GLsizei ComputeCompressedPitch(GLsizei width, GLenum format)
192 switch (format)
206 GLsizei ComputeCompressedSize(GLsizei width, GLsizei height, GLenum format)
208 switch (format)
220 bool IsCompressed(GLenum format)
222 if(format == GL_COMPRESSED_RGB_S3TC_DXT1_EXT ||
223 format == GL_COMPRESSED_RGBA_S3TC_DXT1_EXT)
234 int ComputePixelSize(GLenum format, GLenum type
    [all...]
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
CropFilter.java 33 import android.filterfw.format.ImageFormat;
34 import android.filterfw.format.ObjectFormat;
93 protected void createProgram(FilterContext context, FrameFormat format) {
95 if (mLastFormat != null && mLastFormat.getTarget() == format.getTarget()) return;
96 mLastFormat = format;
98 switch (format.getTarget()) {
123 // Create output format
  /libcore/benchmarks/src/benchmarks/regression/
RealToStringBenchmark.java 97 String.format("%f", SMALL);
103 String.format("%f", MEDIUM);
109 String.format("%f", LARGE);
115 String.format("%.2f", SMALL);
121 String.format("%.2f", MEDIUM);
127 String.format("%.2f", LARGE);
  /ndk/sources/cxx-stl/llvm-libc++/test/re/re.results/re.results.form/
form2.pass.cpp 16 // format(OutputIter out, const basic_string<char_type, ST, SA>& fmt,
38 char* r = m.format(output_iterator<char*>(out), fmt).base();
49 char* r = m.format(output_iterator<char*>(out),
61 char* r = m.format(output_iterator<char*>(out),
74 wchar_t* r = m.format(output_iterator<wchar_t*>(out), fmt).base();
85 wchar_t* r = m.format(output_iterator<wchar_t*>(out),
97 wchar_t* r = m.format(output_iterator<wchar_t*>(out),
form3.pass.cpp 16 // format(const basic_string<char_type, ST, SA>& fmt,
36 nstr out = m.format(fmt);
45 nstr out = m.format(fmt, std::regex_constants::format_sed);
54 nstr out = m.format(fmt, std::regex_constants::format_sed);
64 wstr out = m.format(fmt);
73 wstr out = m.format(fmt, std::regex_constants::format_sed);
82 wstr out = m.format(fmt, std::regex_constants::format_sed);
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/
PhoneNumberTestService.java 95 PhoneNumberFormat format) {
103 formatted = util.format(pn, format);
105 truncated = util.format(pn, format);
109 Log.i(TAG, " PhoneNumberUtil.format(parse(" + number + ", " + country + "), " + format
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/
cursslk.h 51 Justification format; // The Justification member in class:Soft_Label_Key_Set::Soft_Label_Key
54 Soft_Label_Key() : label(NULL), format(Left), num(-1) {
67 format = just;
86 format(rhs.format),
104 static Label_Layout NCURSES_IMPEXP format; // Layout of the Key Sets member in class:Soft_Label_Key_Set
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/
cursslk.h 51 Justification format; // The Justification member in class:Soft_Label_Key_Set::Soft_Label_Key
54 Soft_Label_Key() : label(NULL), format(Left), num(-1) {
67 format = just;
86 format(rhs.format),
104 static Label_Layout NCURSES_IMPEXP format; // Layout of the Key Sets member in class:Soft_Label_Key_Set
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/
cursslk.h 51 Justification format; // The Justification member in class:Soft_Label_Key_Set::Soft_Label_Key
54 Soft_Label_Key() : label(NULL), format(Left), num(-1) {
67 format = just;
86 format(rhs.format),
104 static Label_Layout NCURSES_IMPEXP format; // Layout of the Key Sets member in class:Soft_Label_Key_Set
  /external/qemu/distrib/sdl-1.2.15/src/video/
SDL_surface.c 95 depth = screen->format->BitsPerPixel;
96 Rmask = screen->format->Rmask;
97 Gmask = screen->format->Gmask;
98 Bmask = screen->format->Bmask;
99 Amask = screen->format->Amask;
102 surface->format = SDL_AllocFormat(depth, Rmask, Gmask, Bmask, Amask);
103 if ( surface->format == NULL ) {
190 (key == surface->format->colorkey) ) {
205 surface->format->colorkey = key;
219 surface->format->colorkey = 0
    [all...]
  /bionic/libc/kernel/common/linux/
device.h 209 #define dev_printk(level, dev, format, arg...) printk(level "%s %s: " format , dev_driver_string(dev) , (dev)->bus_id , ## arg)
211 #define dev_dbg(dev, format, arg...) dev_printk(KERN_DEBUG , dev , format , ## arg)
214 #define dev_dbg(dev, format, arg...) do { (void)(dev); } while (0)
216 #define dev_err(dev, format, arg...) dev_printk(KERN_ERR , dev , format , ## arg)
217 #define dev_info(dev, format, arg...) dev_printk(KERN_INFO , dev , format , ## arg)
219 #define dev_warn(dev, format, arg...) dev_printk(KERN_WARNING , dev , format , ## arg
    [all...]
  /dalvik/tools/dexdeps/src/com/android/dexdeps/
Output.java 33 private static void generateHeader0(String fileName, String format) {
34 if (format.equals("brief")) {
38 } else if (format.equals("xml")) {
46 throw new RuntimeException("unknown output format");
50 public static void generateFirstHeader(String fileName, String format) {
51 generateHeader0(fileName, format);
54 public static void generateHeader(String fileName, String format) {
56 generateHeader0(fileName, format);
59 public static void generateFooter(String format) {
60 if (format.equals("brief"))
    [all...]
  /development/ndk/platforms/android-3/include/linux/
device.h 207 #define dev_printk(level, dev, format, arg...) printk(level "%s %s: " format , dev_driver_string(dev) , (dev)->bus_id , ## arg)
210 #define dev_dbg(dev, format, arg...) dev_printk(KERN_DEBUG , dev , format , ## arg)
212 #define dev_dbg(dev, format, arg...) do { (void)(dev); } while (0)
215 #define dev_err(dev, format, arg...) dev_printk(KERN_ERR , dev , format , ## arg)
216 #define dev_info(dev, format, arg...) dev_printk(KERN_INFO , dev , format , ## arg)
217 #define dev_warn(dev, format, arg...) dev_printk(KERN_WARNING , dev , format , ## arg
    [all...]

Completed in 1936 milliseconds

<<11121314151617181920>>