Searched refs:format (Results 1 - 25 of 61) sorted by relevance

123

/system/core/libnl_2/
H A Ddbg.c4 void libnl_printf(int level, char *format, ...) argument
9 va_start(ap, format);
10 __android_log_vprint(level, "libnl_2", format, ap);
/system/vold/
H A DExt4.h26 static int format(const char *fsPath, const char *mountpoint);
H A DFat.h29 static int format(const char *fsPath, unsigned int numSectors, bool wipe);
/system/core/include/sysutils/
H A DNetlinkListener.h37 NetlinkListener(int socket, int format);
39 NetlinkListener(int socket, int format = NETLINK_FORMAT_ASCII);
H A DNetlinkEvent.h43 bool decode(char *buffer, int size, int format = NetlinkListener::NETLINK_FORMAT_ASCII);
/system/core/include/android/
H A Dlog.h101 __attribute__ ((format(printf, 3, 4)))
120 __attribute__ ((format(printf, 3, 4)))
/system/core/libsysutils/src/
H A DNetlinkListener.cpp40 NetlinkListener::NetlinkListener(int socket, int format) : argument
41 SocketListener(socket, false), mFormat(format) {
/system/core/libpixelflinger/
H A Dformat.cpp1 /* libs/pixelflinger/format.cpp
19 #include <pixelflinger/format.h>
H A Dbuffer.h34 uint32_t ggl_pack_color(context_t* c, int32_t format,
H A Dclear.cpp53 const uint32_t size = c->formats[s.format].size;
108 if (c->state.buffers.color.format == 0)
111 if (c->state.buffers.depth.format == 0)
114 if (c->state.buffers.stencil.format == 0)
122 c->state.buffers.color.format,
/system/media/audio_utils/
H A Dtinysndfile.c74 handle->info.format = SF_FORMAT_WAV;
128 unsigned format = little2u(&fmt[0]); local
130 switch (format) {
139 fprintf(stderr, "unsupported format %u\n", format);
177 handle->info.format |= SF_FORMAT_PCM_U8;
180 handle->info.format |= SF_FORMAT_PCM_16;
183 if (format == WAVE_FORMAT_IEEE_FLOAT)
184 handle->info.format |= SF_FORMAT_FLOAT;
186 handle->info.format |
357 unsigned format = handle->info.format & SF_FORMAT_SUBMASK; local
[all...]
/system/core/libutils/
H A DPrinter.cpp45 void Printer::printFormatLine(const char* format, ...) { argument
47 va_start(arglist, format);
52 if (vasprintf(&formattedString, format, arglist) < 0) { // returns -1 on error
53 ALOGE("%s: Failed to format string", __FUNCTION__);
/system/core/run-as/
H A Drun-as.c96 panic(const char* format, ...) argument
101 va_start(args, format);
102 vfprintf(stderr, format, args);
/system/core/include/cutils/
H A Dklog.h28 __attribute__ ((format(printf, 2, 3)));
/system/netd/
H A DNetlinkHandler.h27 NetlinkHandler(NetlinkManager *nm, int listenerSocket, int format);
H A DNetlinkManager.h60 int format);
/system/core/include/utils/
H A DPrinter.h31 // Print a new line specified by the format string. \n is appended automatically.
33 virtual void printFormatLine(const char* format, ...) __attribute__((format (printf, 2, 3)));
/system/core/include/system/
H A Daudio.h108 /* MP3 sub format field definition : can use 11 LSBs in the same way as MP3
115 /* AMR NB/WB sub format field definition: specify frame block interleaving,
122 /* AAC sub format field definition: specify profile or bitrate for recording... */
127 /* VORBIS sub format field definition: specify quality for recording... */
132 /* Audio format consists in a main format field (upper 8 bits) and a sub format
135 * The main format indicates the main codec type. The sub format field
136 * indicates options and parameters for each format
420 audio_format_t format; // audio format member in struct:__anon88
560 audio_is_valid_format(audio_format_t format) argument
581 audio_is_linear_pcm(audio_format_t format) argument
586 audio_bytes_per_sample(audio_format_t format) argument
[all...]
H A Dwindow.h106 int format; member in struct:ANativeWindowBuffer
685 * native_window_set_buffers_geometry(..., int w, int h, int format)
686 * All buffers dequeued after this call will have the dimensions and format
695 int w, int h, int format)
698 w, h, format);
748 * native_window_set_buffers_format(..., int format)
749 * All buffers dequeued after this call will have the format specified.
751 * If the specified format is 0, the default buffer format will be used.
755 int format)
693 native_window_set_buffers_geometry( struct ANativeWindow* window, int w, int h, int format) argument
753 native_window_set_buffers_format( struct ANativeWindow* window, int format) argument
[all...]
/system/extras/tests/bionic/libc/bionic/
H A Dtest_mutex.c35 static void panic( const char* format, ... ) argument
38 va_start(args, format);
39 vfprintf(stderr, format, args);
/system/core/liblog/
H A Dlogprint.c41 AndroidLogPrintFormat format; member in struct:AndroidLogFormat_t
176 p_ret->format = FORMAT_BRIEF;
200 AndroidLogPrintFormat format)
202 p_format->format=format;
210 static AndroidLogPrintFormat format; local
212 if (strcmp(formatString, "brief") == 0) format = FORMAT_BRIEF;
213 else if (strcmp(formatString, "process") == 0) format = FORMAT_PROCESS;
214 else if (strcmp(formatString, "tag") == 0) format = FORMAT_TAG;
215 else if (strcmp(formatString, "thread") == 0) format
199 android_log_setPrintFormat(AndroidLogFormat *p_format, AndroidLogPrintFormat format) argument
[all...]
H A Dfake_log_device.c74 /* output format */
273 LogFormat format; local
275 format = FORMAT_BRIEF;
278 format = FORMAT_BRIEF;
280 format = FORMAT_PROCESS;
282 format = FORMAT_PROCESS;
284 format = FORMAT_PROCESS;
286 format = FORMAT_PROCESS;
288 format = FORMAT_PROCESS;
290 format
[all...]
/system/core/debuggerd/
H A Dutility.h36 __attribute__ ((format(printf, 3, 4)));
/system/media/audio_utils/include/audio_utils/
H A Dsndfile.h38 int format; member in struct:__anon317
/system/extras/tests/bionic/libc/common/
H A Dtest_pthread_rwlock.c46 panic(const char* func, const char* format, ...) argument
50 va_start(args, format);
51 vfprintf(stderr, format, args);
60 error(int errcode, const char* func, const char* format, ...) argument
64 va_start(args, format);
65 vfprintf(stderr, format, args);

Completed in 429 milliseconds

123