/external/icu4c/i18n/unicode/ |
dtitvfmt.h | 19 * \brief C++ API: Format and parse date interval in a language-independent manner. 49 * For example, the date interval format from "Jan 11, 2008" to "Jan 18,. 2008" 108 * supported. And the interval format will be fall back to fall-back 171 * formatting: time zone, calendar type, pattern, date format symbols, 180 * the format style. 187 * Locale provides the timezone, calendar, and format symbols information. 196 * DateTime format. 212 * dtIntervalFmt->format(dtInterval, dateIntervalUnicodeString, pos, status); 218 class U_I18N_API DateIntervalFormat : public Format { 229 * @param skeleton the skeleton on which interval format based [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
PFMLoader.java | 39 import com.jme3.texture.Image.Format; 77 Format format = null; local 81 format = Format.RGB32F; 83 format = Format.Luminance32F; 85 throw new IOException("File is not PFM format"); 108 int bytesPerPixel = format.getBitsPerPixel() / 8; 133 return new Image(format, width, height, imageData) [all...] |
/external/libselinux/src/ |
avc_internal.h | 84 #define avc_log(type, format...) \ 86 avc_func_log(format); \ 88 selinux_log(type, format); 152 #define log_append(buf,format...) \ 153 snprintf(buf+strlen(buf), AVC_AUDIT_BUFSIZE-strlen(buf), format)
|
/external/openssh/openbsd-compat/ |
bsd-snprintf.c | 25 * from the normal C string format, at least as far as I can tell from 139 /* format read states */ 149 /* format flags - Bits */ 180 static int dopr(char *buffer, size_t maxlen, const char *format, 190 dopr(char *buffer, size_t maxlen, const char *format, va_list args_in) 209 ch = *format++; 221 ch = *format++; 227 ch = *format++; 231 ch = *format++; 235 ch = *format++ [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_yuv.c | 32 SDL_Overlay *SDL_CreateYUVOverlay(int w, int h, Uint32 format, 48 ((SDL_VideoSurface->format->BytesPerPixel == 2) || 49 (SDL_VideoSurface->format->BytesPerPixel == 4)) ) { 57 overlay = video->CreateYUVOverlay(this, w, h, format, display); 61 overlay = SDL_CreateYUV_SW(this, w, h, format, display);
|
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/ |
SDL_macgl.c | 35 AGLPixelFormat format; local 106 format = aglChoosePixelFormat(NULL, 0, attributes); 107 if ( format == NULL ) { 108 SDL_SetError("Couldn't match OpenGL desired format"); 112 glContext = aglCreateContext(format, NULL); 117 aglDestroyPixelFormat(format);
|
/external/skia/legacy/src/animator/ |
SkDrawBitmap.cpp | 49 SK_MEMBER(format, BitmapFormat), 59 SkDrawBitmap::SkDrawBitmap() : format((SkBitmap::Config) -1), height(-1), 76 switch (format) { 84 SkDebugf("format=\"%s\" />\n", formatName); 89 SkASSERT(format != (SkBitmap::Config) -1); 93 fBitmap.setConfig((SkBitmap::Config) format, width, height, rowBytes);
|
/external/skia/src/animator/ |
SkDrawBitmap.cpp | 49 SK_MEMBER(format, BitmapFormat), 59 SkDrawBitmap::SkDrawBitmap() : format((SkBitmap::Config) -1), height(-1), 76 switch (format) { 84 SkDebugf("format=\"%s\" />\n", formatName); 89 SkASSERT(format != (SkBitmap::Config) -1); 93 fBitmap.setConfig((SkBitmap::Config) format, width, height, rowBytes);
|
/external/smali/smali/src/test/java/ |
LexerTest.java | 129 String smaliFile = String.format("LexerTest%s%s.smali", File.separatorChar, test); 130 String tokensFile = String.format("LexerTest%s%s.tokens", File.separatorChar, test); 188 Assert.fail(String.format("Invalid token at index %d. Expecting %s, got %s(%s)", 195 String.format("Invalid token text at index %d. Expecting text \"%s\", got \"%s\"", 202 Assert.fail(String.format("Not enough tokens. Expecting %d tokens, but got %d", expectedTokens.size(),
|
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
Texture.h | 111 GLenum format; member in struct:gl::Texture::Image 118 static D3DFORMAT selectFormat(GLenum format, GLenum type); 120 void setImage(GLsizei width, GLsizei height, GLenum format, GLenum type, GLint unpackAlignment, const void *pixels, Image *img); 121 bool subImage(GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint unpackAlignment, const void *pixels, Image *img); 122 void setCompressedImage(GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pixels, Image *img); 123 bool subImageCompressed(GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pixels, Image *img); 141 void createSurface(GLsizei width, GLsizei height, GLenum format, GLenum type, Image *img); 162 void loadImageData(GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, 220 void setImage(GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint unpackAlignment, const void *pixels); 222 void subImage(GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLint unpackAlignment, const void *pixels) [all...] |
/external/webkit/Source/WebKit/android/plugins/ |
ANPSurfaceInterface.cpp | 81 static inline ANPBitmapFormat convertPixelFormat(PixelFormat format) { 82 switch (format) { 129 ssize_t bpr = outBuffer.stride * bytesPerPixel(outBuffer.format); 131 bitmap->format = convertPixelFormat(outBuffer.format);
|
/frameworks/av/include/media/ |
AudioRecord.h | 101 audio_format_t format, 118 * format: Audio format (e.g AUDIO_FORMAT_PCM_16_BIT for signed 136 audio_format_t format = AUDIO_FORMAT_DEFAULT, 155 * - BAD_VALUE: invalid parameter (channels, format, sampleRate...) 161 audio_format_t format = AUDIO_FORMAT_DEFAULT, 186 audio_format_t format() const; 354 audio_format_t format,
|
/frameworks/av/media/libmedia/ |
AudioRecord.cpp | 41 audio_format_t format, 50 status_t status = AudioSystem::getInputBufferSize(sampleRate, format, channelMask, &size); 57 ALOGE("Unsupported configuration: sampleRate %u, format %d, channelMask %#x", 58 sampleRate, format, channelMask); 65 if (audio_is_linear_pcm(format)) { 67 size /= channelCount * audio_bytes_per_sample(format); 86 audio_format_t format, 98 mStatus = set(inputSource, sampleRate, format, channelMask, 124 audio_format_t format, 159 if (format == AUDIO_FORMAT_DEFAULT) 263 audio_format_t AudioRecord::format() const function in class:android::AudioRecord [all...] |
/frameworks/av/services/camera/libcameraservice/camera3/ |
Camera3IOStreamBase.cpp | 33 uint32_t width, uint32_t height, size_t maxSize, int format) : 35 width, height, maxSize, format), 43 if (maxSize > 0 && format != HAL_PIXEL_FORMAT_BLOB) { 44 ALOGE("%s: Bad format for size-only stream: %d", __FUNCTION__, 45 format); 116 lines.appendFormat(" Dims: %d x %d, format 0x%x\n", 118 camera3_stream::format);
|
/frameworks/base/core/java/android/speech/srec/ |
WaveHeader.java | 24 * This class represents the header of a WAVE format audio file, which usually 27 * <li> format - usually PCM, ALAW or ULAW. 39 // follows WAVE format in http://ccrma.stanford.edu/courses/422/projects/WaveFormat 45 /** Indicates PCM format. */ 47 /** Indicates ALAW format. */ 49 /** Indicates ULAW format. */ 66 * @param format format of audio data, 73 public WaveHeader(short format, short numChannels, int sampleRate, short bitsPerSample, int numBytes) { 74 mFormat = format; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
Clock.java | 30 import android.text.format.DateFormat; 149 String format = is24 ? d.timeFormat24 : d.timeFormat12; local 150 if (!format.equals(mClockFormatString)) { 152 * Search for an unquoted "a" in the format string, so we can 159 for (int i = 0; i < format.length(); i++) { 160 char c = format.charAt(i); 174 while (a > 0 && Character.isWhitespace(format.charAt(a-1))) { 177 format = format.substring(0, a) + MAGIC1 + format.substring(a, b [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
WifiP2pDnsSdServiceInfo.java | 86 * @param txtMap TXT record with key/value pair in a map confirming to format defined at 129 sb.append(String.format("%02x", data.length)); 179 * The request format is as follows. 189 sb.append(String.format("%04x", dnsType)); 190 sb.append(String.format("%02x", version)); 217 sb.append(String.format("%02x", dnsName.length())); 227 sb.append(String.format("%02x", name.length()));
|
/hardware/qcom/audio/hal/ |
audio_hw.h | 134 * so if format = 16-bit PCM and channels = Stereo, frame size = 2 ch * 2 = 4 bytes 294 .format = PCM_FORMAT_S16_LE, 305 .format = PCM_FORMAT_S16_LE, 316 .format = PCM_FORMAT_S16_LE, 326 .format = PCM_FORMAT_S16_LE, 334 .format = PCM_FORMAT_S16_LE,
|
/libcore/benchmarks/src/benchmarks/regression/ |
ExpensiveObjectsBenchmark.java | 33 df.format(System.currentTimeMillis()); 40 ((DateFormat) df.clone()).format(System.currentTimeMillis()); 48 df.format(System.currentTimeMillis()); 108 nf.format(1024L); 121 nf.format(1024.0);
|
/ndk/sources/cxx-stl/llvm-libc++/src/support/win32/ |
locale_win32.cpp | 82 int asprintf_l( char **ret, locale_t loc, const char *format, ... ) 85 va_start( ap, format ); 86 int result = vasprintf_l( ret, loc, format, ap ); 90 int vasprintf_l( char **ret, locale_t loc, const char *format, va_list ap ) 93 return vasprintf( ret, format, ap );
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppTransferAdapter.java | 42 import android.text.format.DateUtils; 43 import android.text.format.DateFormat; 44 import android.text.format.Formatter; 123 CharSequence str = DateUtils.isToday(time) ? DateFormat.getTimeFormat(mContext).format( 124 d) : DateFormat.getDateFormat(mContext).format(d);
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerView.java | 93 mHoursTens.setText(String.format("%d",hoursTensDigit)); 107 mHoursOnes.setText(String.format("%d",hoursOnesDigit)); 119 mMinutesTens.setText(String.format("%d",minutesTensDigit)); 127 mMinutesOnes.setText(String.format("%d",minutesOnesDigit)); 133 mSeconds.setText(String.format("%02d",seconds));
|
/frameworks/av/media/mtp/ |
MtpServer.cpp | 275 uint64_t size, MtpObjectFormat format, int fd) { 276 ObjectEdit* edit = new ObjectEdit(handle, path, size, format, fd); 537 MtpObjectFormat format = mRequest.getParameter(1); 538 MtpObjectPropertyList* properties = mDatabase->getSupportedObjectProperties(format); 548 MtpObjectFormat format = mRequest.getParameter(2); // 0 for all formats local 555 MtpObjectHandleList* handles = mDatabase->getObjectList(storageID, format, parent); 565 MtpObjectFormat format = mRequest.getParameter(2); // 0 for all formats local 571 int count = mDatabase->getNumObjects(storageID, format, parent); 664 uint32_t format = mRequest.getParameter(2); local 668 ALOGV("GetObjectPropList %d format: %s property: %s group: %d depth: %d\n" 722 MtpObjectFormat format; local 785 MtpObjectFormat format; local 831 MtpObjectFormat format; local 841 MtpObjectFormat format = mData.getUInt16(); local 1048 MtpObjectFormat format = mRequest.getParameter(2); local 1069 MtpObjectFormat format = mRequest.getParameter(2); local 1183 MtpObjectFormat format; local [all...] |
/dalvik/opcode-gen/ |
opcode-gen.awk | 101 constName[i], constName[i], family[i], nextOp, format[i], 118 constName[i], constName[i], name[i], toupper(format[i]), itype); 270 } else if (cmd == "format") { 296 format[idx] = parts[3]; 312 split(format[idx], parts, ""); # Width is the first format char. 316 familyFormat[family[idx],format[idx]] = idx; 320 if (nextFormat[format[idx]] == "") { 321 printf("unknown format: %s\n", format[idx]) >"/dev/stderr" [all...] |
/external/grub/docs/ |
kernel.c.texi | 48 void printf (const char *format, ...); 238 /* @r{Format a string and print it on the screen, just like the libc 241 printf (const char *format, ...) 243 char **arg = (char **) &format; 249 while ((c = *format++) != 0) 257 c = *format++;
|