/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
CtsApiCoverage.java | 59 System.out.println(" -f [txt|xml|html] format of output"); 69 int format = FORMAT_TXT; local 80 format = FORMAT_XML; 82 format = FORMAT_TXT; 84 format = FORMAT_HTML; 116 outputCoverageReport(apiCoverage, testApks, outputFile, format); 170 Process process = new ProcessBuilder(dexdeps, "--format=xml", testApk.getPath()).start(); 175 File outputFile, int format) throws IOException, TransformerException, 183 switch (format) {
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
Support_Format.java | 22 import java.text.Format; 36 protected void t_FormatWithField(int count, Format format, Object object, 37 String text, Format.Field field, int begin, int end) { 40 format.format(object, buffer, pos); 59 protected void t_Format(int count, Object object, Format format, 61 // System.out.println(format.format(object)) [all...] |
SimpleDateFormatTest.java | 35 static SimpleDateFormat format = new SimpleDateFormat("", Locale.ENGLISH); field in class:SimpleDateFormatTest 50 format.applyPattern(pattern); 51 format.format(cal.getTime(), buffer, position); 55 assertTrue("Wrong format: \"" + pattern + "\" expected: " 69 .println("Wrong format: \"" + pattern 95 format.setTimeZone(SimpleTimeZone.getTimeZone(timeZoneId)); 96 format.applyPattern("z, zzzz"); 98 format.format(date)) 292 SimpleDateFormat format = (SimpleDateFormat) DateFormat.getInstance(); local [all...] |
/external/apache-http/src/org/apache/http/impl/cookie/ |
DateUtils.java | 55 * Date format pattern used to parse HTTP date headers in RFC 1123 format. 60 * Date format pattern used to parse HTTP date headers in RFC 1036 format. 65 * Date format pattern used to parse HTTP date headers in ANSI C 66 * <code>asctime()</code> format. 163 // ignore this exception, we will try the next format 174 * @param date The date to format. 186 * format} class. 188 * @param date The date to format 249 SimpleDateFormat format = formats.get(pattern); local [all...] |
/external/chromium/third_party/libevent/ |
evutil.c | 224 evutil_snprintf(char *buf, size_t buflen, const char *format, ...) 228 va_start(ap, format); 229 r = evutil_vsnprintf(buf, buflen, format, ap); 235 evutil_vsnprintf(char *buf, size_t buflen, const char *format, va_list ap) 238 int r = _vsnprintf(buf, buflen, format, ap); 243 return _vscprintf(format, ap); 245 int r = vsnprintf(buf, buflen, format, ap);
|
/external/opencv/otherlibs/highgui/ |
grfmt_base.cpp | 141 bool GrFmtFilterFactory::CheckExtension( const char* format ) 146 if( !format || !m_description ) 149 // find the right-most extension of the passed format string 152 const char* ext = strchr( format + 1, '.' ); 154 format = ext; 157 len = GetExtensionLength( format ); 159 if( format[0] != '.' || len == 0 ) 176 int c1 = tolower(format[i+1]);
|
/external/qemu/audio/ |
winaudio.c | 74 case WAVERR_BADFORMAT: reason="unsupported waveform-audio format"; break;
163 WAVEFORMATEX format;
local 173 /* compute desired wave output format */
174 format.wFormatTag = WAVE_FORMAT_PCM;
175 format.nChannels = as->nchannels;
176 format.nSamplesPerSec = as->freq;
177 format.nAvgBytesPerSec = as->freq*as->nchannels;
187 fprintf(stderr, "qemu: winaudio: Bad output audio format: %d\n",
192 format.nAvgBytesPerSec = (format.nSamplesPerSec & format.nChannels) << shift; 409 WAVEFORMATEX format; local [all...] |
/external/v8/src/ |
string-stream.h | 129 void Add(Vector<const char> format, Vector<FmtElm> elms); 130 void Add(const char* format); 131 void Add(Vector<const char> format); 132 void Add(const char* format, FmtElm arg0); 133 void Add(const char* format, FmtElm arg0, FmtElm arg1); 134 void Add(const char* format, FmtElm arg0, FmtElm arg1, FmtElm arg2); 135 void Add(const char* format,
|
/external/webkit/Source/gyp/ |
configure | 68 format = format_for_port(port) 72 }[format] 82 def _extra_args_for_format(self, format): 83 if format == "xcode": 93 format = format_for_port(port) 94 args.append('--format=%s' % format) 95 args += self._extra_args_for_format(format)
|
/frameworks/av/media/libstagefright/ |
MediaMuxer.cpp | 38 MediaMuxer::MediaMuxer(const char *path, OutputFormat format) 40 if (format == OUTPUT_FORMAT_MPEG_4) { 48 MediaMuxer::MediaMuxer(int fd, OutputFormat format) 50 if (format == OUTPUT_FORMAT_MPEG_4) { 66 ssize_t MediaMuxer::addTrack(const sp<AMessage> &format) { 69 if (format.get() == NULL) { 70 ALOGE("addTrack() get a null format"); 80 convertMessageToMetaData(format, trackMeta);
|
/frameworks/av/services/camera/libcameraservice/camera3/ |
Camera3InputStream.cpp | 30 uint32_t width, uint32_t height, int format) : 32 /*maxSize*/0, format) { 34 if (format == HAL_PIXEL_FORMAT_BLOB) { 35 ALOGE("%s: Bad format, BLOB not supported", __FUNCTION__); 206 assert(camera3_stream::format != HAL_PIXEL_FORMAT_BLOB); 217 mConsumer->setName(String8::format("Camera3-InputStream-%d", mId)); 227 res = mConsumer->setDefaultBufferFormat(camera3_stream::format); 229 ALOGE("%s: Stream %d: Could not set buffer format %d", 230 __FUNCTION__, mId, camera3_stream::format);
|
/frameworks/av/tools/resampler_tools/ |
fir.cpp | 69 " -f output format, can be fixed-point or floating-point (fixed)\n" 89 int format = 0; local 176 if (!strcmp(optarg,"fixed")) format = 0; 177 else if (!strcmp(optarg,"float")) format = 1; 216 if (!format) { 220 printf("static %s resampleFIR[] = {", !format ? "int32_t" : "float"); 236 if (!format) { 256 if (!format) {
|
/frameworks/base/media/java/android/media/ |
MediaMuxer.java | 75 * Defines the output format. These constants are used with constructor. 82 /** MPEG4 media file format*/ 87 private static native int nativeSetup(FileDescriptor fd, int format); 116 * @param format The format of the output media file. 120 public MediaMuxer(String path, int format) throws IOException { 124 if (format != OutputFormat.MUXER_OUTPUT_MPEG_4) { 125 throw new IllegalArgumentException("format is invalid"); 132 mNativeObject = nativeSetup(fd, format); 147 * video if the output format i [all...] |
/frameworks/native/services/surfaceflinger/ |
Client.cpp | 110 uint32_t w, uint32_t h, PixelFormat format, uint32_t flags, 127 PixelFormat format; member in class:android::MessageCreateLayer 132 uint32_t w, uint32_t h, PixelFormat format, uint32_t flags, 137 name(name), w(w), h(h), format(format), flags(flags) { 141 result = flinger->createLayer(name, client, w, h, format, flags, 148 name, this, w, h, format, flags, handle, gbp);
|
/hardware/libhardware/tests/camera2/ |
CameraStreamFixture.h | 36 // Format specifier for picking the best format for CPU reading the given device 61 *os << "Format: 0x" << std::hex << p.mFormat << ", "; 62 *os << "Format name: " << fmt << ", "; 168 int format = MapAutoFormat(p.mFormat); local 172 mWidth, mHeight, format, /*size (for jpegs)*/0, 186 int MapAutoFormat(int format) { 187 if (format == CAMERA_STREAM_AUTO_CPU_FORMAT) { 189 format = HAL_PIXEL_FORMAT_YCbCr_420_888; 191 format = HAL_PIXEL_FORMAT_YCrCb_420_SP [all...] |
/hardware/libhardware_legacy/audio/ |
AudioDumpInterface.h | 40 int format, 49 virtual int format() const; 82 int format, 90 virtual int format() const; 123 int *format=0, 149 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount); 151 virtual AudioStreamIn* openInputStream(uint32_t devices, int *format, uint32_t *channels,
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
AudioHardwareInterface.h | 64 * return audio format in 8bit or 16bit PCM format - 67 virtual int format() const = 0; 72 uint32_t frameSize() const { return popcount(channels())*((format()==AUDIO_FORMAT_PCM_16_BIT)?sizeof(int16_t):sizeof(int8_t)); } 140 * return audio format in 8bit or 16bit PCM format - 143 virtual int format() const = 0; 148 uint32_t frameSize() const { return AudioSystem::popCount(channels())*((format()==AudioSystem::PCM_16_BIT)?sizeof(int16_t):sizeof(int8_t)); } 244 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount) = 0; 249 int *format=0 [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_Format.java | 22 import java.text.Format; 36 protected void t_FormatWithField(int count, Format format, Object object, 37 String text, Format.Field field, int begin, int end) { 40 format.format(object, buffer, pos); 59 protected void t_Format(int count, Object object, Format format, 61 // System.out.println(format.format(object)) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/format/ |
GLMessageFormatter.java | 17 package com.android.ide.eclipse.gltrace.format; 28 * GLMessageFormatter is used to format and create a string representation for a {@link GLMessage}. 56 return String.format(" = (%s) %s", returnSpec.getCType(), //$NON-NLS-1$ 63 return String.format("%s(%s)", apiSpec.getFunction(), //$NON-NLS-1$ 103 return String.format("%f", var.getFloatValue(0)); //$NON-NLS-1$ 122 return String.format("0x%x", var.getIntValue(0)); //$NON-NLS-1$ 149 return String.format("[ %d bytes ]", var.getRawBytesList().get(0).size()); //$NON-NLS-1$ 155 // Just format and return the pointer (points to device memory) 159 return String.format("0x%x", var.getIntValue(0)); //$NON-NLS-1$
|
/external/chromium/chrome/browser/resources/ |
keyboard_overlay_data.js | 16 "format": "smaller", 105 "format": "right", 112 "format": "left", 201 "format": "right", 208 "format": "left", 298 "format": "left", 378 "format": "right", 388 "format": "left", 448 "format": "smaller", 452 "format": "smaller" [all...] |
/frameworks/native/opengl/tests/hwc/ |
hwcColorEquiv.cpp | 28 * -r fmt - reference graphic format 51 * RGBA8888 graphic format. The -r option can be used to specify a 52 * non-default reference frame graphic format. The graphic format of 54 * parameter. Intentionally there is no default for the graphic format 238 case 'r': // Reference graphic format 242 "format of: %s", optarg); 261 // equivalence graphic format. 270 "format of: %s", argv[optind]); 275 testPrintI("refFormat: %u %s", refFormat->format, refFormat->desc) [all...] |
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
QueryController.java | 121 * format: [container_selector, PATTERN=[INSTANCE=x, PATTERN=[the_pattern]] 243 Log.i(LOG_TAG, String.format( 268 Log.i(LOG_TAG, String.format("Matched selector: %s <<==>> [%s]", selector, fromNode)); 274 * to translate the regular_selector portion. It has the following format: 296 Log.d(LOG_TAG, formatLog(String.format("%s", 329 Log.w(LOG_TAG, String.format( 332 Log.w(LOG_TAG, String.format("parent = %s", fromNode.toString())); 340 String.format("Skipping invisible child: %s", childNode.toString())); 353 * to translate the pattern_selector portion. It has the following format: 411 String.format("%s", subSelector.dumpToString(false)))) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/analyzer/ |
MeteringTest.java | 94 Log.v(TAG, String.format("Maximum number if metering area is %d", mMaxNumMeteringArea)); 191 mDebugText += String.format( 195 mDebugText += String.format( 202 mDebugText += String.format( 206 mDebugText += String.format( 218 Log.v(TAG, String.format("%s", mDebugText)); 254 Log.v(TAG, String.format("Running test for %d square with weights %d, %d", 256 mReferenceLogs.add(String.format( 274 mReferenceLogs.add(String.format( 293 mReferenceLogs.add(String.format( [all...] |
/ndk/sources/host-tools/sed-4.2.1/lib/ |
stdio.in.h | 57 /* The __-protected variants of `format' and `printf' attributes 60 # define __format__ format 77 extern int fprintf (FILE *fp, const char *format, ...) 82 extern int fprintf (FILE *fp, const char *format, ...) 96 extern int vfprintf (FILE *fp, const char *format, va_list args) 101 extern int vfprintf (FILE *fp, const char *format, va_list args) 114 /* Don't break __attribute__((format(printf,M,N))). */ 116 extern int printf (const char *format, ...) 120 /* Don't break __attribute__((format(printf,M,N))). */ 122 extern int printf (const char *format, ... [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
CountingTimerView.java | 280 final String allDigits = String.format("%010d", 123456789); 306 String format = null; local 347 format = showNeg ? NEG_TWO_DIGITS : TWO_DIGITS; 348 mHours = String.format(format, hours); 350 format = showNeg ? NEG_ONE_DIGIT : ONE_DIGIT; 351 mHours = String.format(format, hours); 357 format = (showNeg && hours == 0) ? NEG_TWO_DIGITS : TWO_DIGITS; 358 mMinutes = String.format(format, minutes) [all...] |