/bionic/linker/ |
linker_format.c | 76 out_vformat(Out *o, const char *format, va_list args); 136 vformat_buffer(char *buff, size_t buffsize, const char *format, va_list args) 145 out_vformat(out, format, args); 151 format_buffer(char *buff, size_t buffsize, const char *format, ...) 156 va_start(args, format); 157 ret = vformat_buffer(buff, buffsize, format, args); 170 vsnprintf(char *buff, size_t bufsize, const char *format, va_list args) 172 return format_buffer(buff, bufsize, format, args); 228 format_fd(int fd, const char *format, ...) 238 va_start(args, format); [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
utilities.h | 30 int ComputePixelSize(GLenum format, GLenum type); 31 GLsizei ComputePitch(GLsizei width, GLenum format, GLenum type, GLint alignment); 32 GLsizei ComputeCompressedPitch(GLsizei width, GLenum format); 33 GLsizei ComputeCompressedSize(GLsizei width, GLsizei height, GLenum format); 34 bool IsCompressed(GLenum format); 37 bool CheckTextureFormatType(GLenum format, GLenum type); 66 D3DFORMAT ConvertRenderbufferFormat(GLenum format); 75 GLenum ConvertBackBufferFormat(D3DFORMAT format); 76 GLenum ConvertDepthStencilFormat(D3DFORMAT format);
|
/frameworks/base/graphics/java/android/graphics/ |
YuvImage.java | 39 * The YUV format as defined in {@link ImageFormat}. 70 * @param format The YUV data format as defined in {@link ImageFormat}. 75 * padding and derives the row bytes by format and width itself. 76 * @throws IllegalArgumentException if format is not support; width or height <= 0; or yuv is 79 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) { 80 if (format != ImageFormat.NV21 && 81 format != ImageFormat.YUY2) { 97 mStrides = calculateStrides(width, format); 103 mFormat = format; [all...] |
/packages/apps/Mms/src/com/android/mms/ |
LogTag.java | 60 private static String logFormat(String format, Object... args) { 66 String s = String.format(format, args); 71 public static void debug(String format, Object... args) { 72 Log.d(TAG, logFormat(format, args)); 75 public static void warn(String format, Object... args) { 76 Log.w(TAG, logFormat(format, args)); 79 public static void error(String format, Object... args) { 80 Log.e(TAG, logFormat(format, args));
|
/system/media/mca/filterpacks/imageproc/java/ |
ImageStitcher.java | 29 import android.filterfw.format.ImageFormat; 75 private FrameFormat calcOutputFormatForInput(FrameFormat format) { 76 MutableFrameFormat outputFormat = format.mutableCopy(); 78 mInputWidth = format.getWidth(); 79 mInputHeight = format.getHeight(); 95 FrameFormat format = input.getFormat(); local 99 mOutputFrame = context.getFrameManager().newFrame(calcOutputFormatForInput(format)); 101 if ((format.getWidth() != mInputWidth) || 102 (format.getHeight() != mInputHeight)) { 103 // CHECK input format her [all...] |
/cts/tests/tests/jni/libjnitest/ |
helper.c | 27 char *failure(const char *format, ...) { 31 va_start(args, format); 32 LOG_PRI_VA(ANDROID_LOG_ERROR, LOG_TAG, format, args); 35 va_start(args, format); 36 int count = vasprintf(&result, format, args);
|
/external/icu4c/i18n/ |
winnmfmt.h | 19 #include "unicode/format.h" 29 * \brief C++ API: Format numbers using Windows API. 45 virtual Format *clone(void) const; 50 * Format a double number. Concrete subclasses must implement 61 virtual UnicodeString& format(double number, 65 * Format a long number. Concrete subclasses must implement 76 virtual UnicodeString& format(int32_t number, 81 * Format an int64 number. 91 virtual UnicodeString& format(int64_t number, 96 // virtual UnicodeString &format(double number, UnicodeString &appendTo) const [all...] |
/external/qemu/android/utils/ |
debug.h | 77 extern void dprint( const char* format, ... ); 78 extern void dprintn( const char* format, ... ); 79 extern void dprintnv( const char* format, va_list args ); 80 extern void dwarning( const char* format, ... ); 81 extern void derror( const char* format, ... );
|
/frameworks/base/include/ui/ |
PixelFormat.h | 32 #include <pixelflinger/format.h> 40 // in graphics/PixelFormat.java & pixelflinger/format.h 47 // Custom pixel-format described by a PixelFormatInfo structure 50 // System chooses a format that supports translucency (many alpha bits) 53 // System chooses a format that supports transparency 57 // System chooses an opaque format (no alpha bits required) 74 // pixelflinger/format.h 108 PixelFormat format; member in struct:android::PixelFormatInfo 131 ssize_t bytesPerPixel(PixelFormat format); 132 ssize_t bitsPerPixel(PixelFormat format); [all...] |
/frameworks/base/native/graphics/jni/ |
bitmap.cpp | 39 info->format = ANDROID_BITMAP_FORMAT_RGBA_8888; 42 info->format = ANDROID_BITMAP_FORMAT_RGB_565; 45 info->format = ANDROID_BITMAP_FORMAT_RGBA_4444; 48 info->format = ANDROID_BITMAP_FORMAT_A_8; 51 info->format = ANDROID_BITMAP_FORMAT_NONE;
|
/libcore/luni/src/test/java/libcore/javax/security/auth/x500/ |
X500PrincipalTest.java | 54 * Confirm DRLCertFactory uses a non-hex format for T61String encoding: http://b/2102191 78 for (String format : formats) { 79 assertEquals(certBC.getSubjectX500Principal().getName(format), 80 certDRL.getSubjectX500Principal().getName(format)); 81 assertEquals(certBC.getIssuerX500Principal().getName(format), 82 certDRL.getIssuerX500Principal().getName(format));
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/tasks/ |
TaskMonitorImpl.java | 65 public void setDescription(String format, Object... args) {
66 final String text = String.format(format, args);
74 public void log(String format, Object... args) {
75 String text = String.format(format, args);
83 public void logError(String format, Object... args) {
84 String text = String.format(format, args);
93 public void logVerbose(String format, Object... args) { [all...] |
/system/media/wilhelm/tests/sandbox/ |
configbq.c | 95 PCM *format; local 98 for (format = formats; format->numChannels; ++format) { 100 printf("Channels: %d, sample rate: %u, bits: %u\n", format->numChannels, 101 format->milliHz / 1000, format->bitsPerSample); 109 format_pcm.numChannels = format->numChannels; 110 format_pcm.samplesPerSec = format->milliHz; 111 format_pcm.bitsPerSample = format->bitsPerSample [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
JDKAlgorithmParameters.java | 55 protected boolean isASN1FormatString(String format) 57 return format == null || format.equals("ASN.1"); 87 String format) 90 if (isASN1FormatString(format)) 95 if (format.equals("RAW")) 147 String format) 150 if (isASN1FormatString(format)) 166 if (format.equals("RAW")) 172 throw new IOException("Unknown parameters format in IV parameters object") [all...] |
/cts/tools/dasm/src/dasm/ |
DopInfo.java | 124 InsnFormat format = dop.getFormat(); local 126 if (format instanceof Form10x) return ""; 127 if (format instanceof Form12x) return ARG_REG_REG; 128 if (format instanceof Form11n) return ARG_REG_LITERAL; 129 if (format instanceof Form11x) return ARG_REGISTER; 130 if (format instanceof Form10t || format instanceof Form20t) 132 if (format instanceof Form22x) return ARG_REG_REG; 133 if (format instanceof Form21t) return ARG_REG_ADDRESS; 134 if (format instanceof Form21s) return ARG_REG_LITERAL [all...] |
/external/icu4c/test/intltest/ |
dtfmapts.cpp | 156 // ======= Test various format() methods 159 logln("Testing various format() methods"); 168 res1 = fr->format(d, res1, pos1, status); 170 errln("ERROR: format() failed (French)"); 174 res2 = it->format(d, res2, pos2); 177 res3 = de->format(d, res3); 273 * Test hiding of parse() and format() APIs in the Format hierarchy. 291 // DateFormat calling Format API 296 dateFmt->format(dateObj, str, status) [all...] |
/external/valgrind/main/coregrind/ |
m_libcprint.c | 107 const HChar *format, va_list vargs ) 112 ( add_to__printf_buf, b, format, vargs ); 118 const HChar *format, va_list vargs ) 123 = vprintf_to_buf(&myprintf_buf, format, vargs); 133 UInt VG_(vprintf) ( const HChar *format, va_list vargs ) 135 return vprintf_WRK( &VG_(log_output_sink), format, vargs ); 138 UInt VG_(printf) ( const HChar *format, ... ) 142 va_start(vargs, format); 143 ret = VG_(vprintf)(format, vargs); 148 UInt VG_(vprintf_xml) ( const HChar *format, va_list vargs [all...] |
/external/quake/quake/src/QW/client/ |
snd_win.c | 187 WAVEFORMATEX format, pformat;
local 199 memset (&format, 0, sizeof(format));
200 format.wFormatTag = WAVE_FORMAT_PCM;
201 format.nChannels = shm->channels;
202 format.wBitsPerSample = shm->samplebits;
203 format.nSamplesPerSec = shm->speed;
204 format.nBlockAlign = format.nChannels
205 *format.wBitsPerSample / 8; 422 WAVEFORMATEX format; local [all...] |
/external/quake/quake/src/WinQuake/ |
snd_win.cpp | 189 WAVEFORMATEX format, pformat;
local 201 memset (&format, 0, sizeof(format));
202 format.wFormatTag = WAVE_FORMAT_PCM;
203 format.nChannels = shm->channels;
204 format.wBitsPerSample = shm->samplebits;
205 format.nSamplesPerSec = shm->speed;
206 format.nBlockAlign = format.nChannels
207 *format.wBitsPerSample / 8; 424 WAVEFORMATEX format; local [all...] |
/external/bluetooth/bluez/lib/ |
bluetooth.c | 131 int baprintf(const char *format, ...) 136 va_start(ap, format); 137 len = vprintf(format, ap); 143 int bafprintf(FILE *stream, const char *format, ...) 148 va_start(ap, format); 149 len = vfprintf(stream, format, ap); 155 int basprintf(char *str, const char *format, ...) 160 va_start(ap, format); 161 len = vsnprintf(str, (~0U) >> 1, format, ap); 167 int basnprintf(char *str, size_t size, const char *format, ... [all...] |
/external/clang/utils/CIndex/ |
completion_logger_server.py | 21 print "Listing on {0}:{1} and logging to '{2}'".format(host, port, sys.argv[3]) 33 f.write("\"time\": \"{0}\"".format(datetime.datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S'))) 34 f.write(", \"sender\": \"{0}\" ".format(addr[0]))
|
/external/icu4c/test/iotest/ |
iotest.cpp | 206 UChar format[512]; local 241 tempStr=testCase->getString("format", errorCode); 242 tempStr.extract(format, sizeof(format)/sizeof(format[0]), errorCode); 247 u_austrncpy(cBuffer, format, sizeof(cBuffer)); 254 log_verbose("Test %d: format=\"%s\"\n", i, cBuffer); 258 uBufferLenReturned = u_sprintf_u(uBuffer, format, dbl); 259 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, dbl); 263 uBufferLenReturned = u_sprintf_u(uBuffer, format, i8) 371 UChar format[512]; local 574 UChar format[512]; local [all...] |
/external/skia/gpu/src/ |
GrAtlas.cpp | 54 GrAtlas::GrAtlas(GrAtlasMgr* mgr, int plotX, int plotY, GrMaskFormat format) { 57 fTexture = mgr->getTexture(format); // we're not an owner, just a pointer 63 fMaskFormat = format; 145 static GrPixelConfig maskformat2pixelconfig(GrMaskFormat format) { 146 switch (format) { 159 GrMaskFormat format, 161 GrAssert(NULL == atlas || atlas->getMaskFormat() == format); 177 if (NULL == fTexture[format]) { 183 maskformat2pixelconfig(format) 185 fTexture[format] = fGpu->createTexture(desc, NULL, 0) [all...] |
/external/valgrind/main/include/ |
pub_tool_libcassert.h | 42 #define tl_assert2(expr, format, args...) \ 47 format, ##args), \ 60 const HChar* format, ... );
|
/external/webkit/Source/WebCore/css/ |
CSSFontFaceSrcValue.h | 53 const String& format() const { return m_format; } function in class:WebCore::CSSFontFaceSrcValue 56 void setFormat(const String& format) { m_format = format; }
|