Searched defs:format (Results 1 - 25 of 27) sorted by relevance

12

/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/core/libsysutils/src/
H A DNetlinkListener.cpp40 NetlinkListener::NetlinkListener(int socket, int format) : argument
41 SocketListener(socket, false), mFormat(format) {
H A DNetlinkEvent.cpp210 bool NetlinkEvent::decode(char *buffer, int size, int format) { argument
211 if (format == NetlinkListener::NETLINK_FORMAT_BINARY) {
/system/core/adb/
H A Dutils.c72 buff_add (char* buff, char* buffEnd, const char* format, ... ) argument
82 va_start(args, format);
83 nn = vsnprintf( buff, avail, format, args);
88 * but they will also do that if the format spec is
H A Dadb_auth_host.c62 /* Convert OpenSSL RSA private key to android pre-computed RSAPublicKey format */
262 const char *format, *home; local
272 format = "%s\\%s";
277 format = "%s/%s";
282 if (snprintf(android_dir, sizeof(android_dir), format, home,
293 return snprintf(filename, len, format, android_dir, ADB_KEY_FILE);
H A Dusb_vendors.c245 int build_path(char* buff, size_t len, const char* format, const char* home) argument
247 if (snprintf(buff, len, format, home, ANDROID_PATH, ANDROID_ADB_INI) >= (signed)len) {
/system/core/run-as/
H A Drun-as.c90 panic(const char* format, ...) argument
95 va_start(args, format);
96 vfprintf(stderr, format, args);
/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/vold/
H A DExt4.cpp70 int Ext4::format(const char *fsPath) { function in class:Ext4
H A DFat.cpp154 int Fat::format(const char *fsPath, unsigned int numSectors) { function in class:Fat
/system/netd/
H A DNetlinkManager.cpp54 int groups, int format) {
88 NetlinkHandler *handler = new NetlinkHandler(this, *sock, format);
53 setupSocket(int *sock, int netlinkFamily, int groups, int format) argument
H A DNetlinkHandler.cpp32 int format) :
33 NetlinkListener(listenerSocket, format) {
31 NetlinkHandler(NetlinkManager *nm, int listenerSocket, int format) argument
H A Dndc.c83 const char *format = needs_quoting ? "%s\"%s\"%s" : "%s%s%s"; local
86 if (asprintf(&cmp, format, final_cmd, argv[i],
/system/core/libpixelflinger/
H A Dbuffer.cpp64 dst->format = src->format;
67 const GGLFormat& pixelFormat(c->formats[dst->format]);
76 switch (s->format) {
116 const GGLFormat* f = &(c->formats[s->format]);
173 const GGLFormat* f = &(c->formats[s->format]);
257 uint32_t ggl_pack_color(context_t* c, int32_t format, argument
260 const GGLFormat* f = &(c->formats[format]);
/system/core/libpixelflinger/codeflinger/
H A Ddisassem.c60 * General instruction format
64 * Those fields with an uppercase format code indicate that the field
112 char* format; member in struct:arm32_insn
339 f_ptr = i_ptr->format;
H A DARMAssembler.cpp184 const char * const format = "generated %s (%d ins) at [%p:%p] in %lld ns\n"; local
185 ALOGI(format, name, int(pc()-base()), base(), pc(), duration);
197 printf(format, name, int(pc()-base()), base(), pc(), duration);
H A DGGLAssembler.h228 memset(&format, 0, sizeof(GGLFormat));
231 : reg_t(r, f), format(*fmt) {
234 reg_t::setTo(r, f); format = *fmt;
236 GGLFormat format; member in struct:android::GGLAssembler::pixel_t
237 inline int hi(int c) const { return format.c[c].h; }
238 inline int low(int c) const { return format.c[c].l; }
240 inline int size() const { return format.size*8; }
259 rhs.format.c[component].l,
260 rhs.format.c[component].h,
309 GGLFormat format; member in struct:android::GGLAssembler::texture_unit_t
[all...]
/system/extras/tests/bionic/libc/common/
H A Dtest_pthread_mutex.c47 panic(const char* func, const char* format, ...) argument
51 va_start(args, format);
52 vfprintf(stderr, format, args);
61 error(int errcode, const char* func, const char* format, ...) argument
65 va_start(args, format);
66 vfprintf(stderr, format, args);
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);
/system/core/liblog/
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...]
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...]
/system/core/logcat/
H A Dlogcat.cpp404 " -v <format> Sets the log print format, where <format> is one of:\n\n"
429 "\nIf not specified with -v, format is set from ANDROID_PRINTF_LOG\n"
441 static AndroidLogPrintFormat format; local
443 format = android_log_formatFromString(formatString);
445 if (format == FORMAT_OFF) {
450 android_log_setPrintFormat(g_logformat, format);
691 fprintf(stderr, "invalid format in ANDROID_PRINTF_LOG '%s'\n",
/system/core/include/system/
H A Dwindow.h106 int format; member in struct:ANativeWindowBuffer
677 * native_window_set_buffers_geometry(..., int w, int h, int format)
678 * All buffers dequeued after this call will have the dimensions and format
687 int w, int h, int format)
690 w, h, format);
740 * native_window_set_buffers_format(..., int format)
741 * All buffers dequeued after this call will have the format specified.
743 * If the specified format is 0, the default buffer format will be used.
747 int format)
685 native_window_set_buffers_geometry( struct ANativeWindow* window, int w, int h, int format) argument
745 native_window_set_buffers_format( struct ANativeWindow* window, int format) argument
[all...]
/system/core/include/pixelflinger/
H A Dpixelflinger.h23 #include <pixelflinger/format.h>
193 GGLubyte format; // pixel format member in struct:__anon318
195 // these values are dependent on the used format
/system/core/include/private/pixelflinger/
H A Dggl_context.h350 uint8_t format; member in struct:android::surface_t::__anon322::__anon323

Completed in 286 milliseconds

12