/system/core/liblog/ |
D | README | 11 ALOG(android_priority, tag, format, ...) 13 LOG_PRI(priority, tag, format, ...) 14 LOG_PRI_VA(priority, tag, format, args) 16 ALOGV(format, ...) 17 SLOGV(format, ...) 18 RLOGV(format, ...) 19 ALOGV_IF(cond, format, ...) 20 SLOGV_IF(cond, format, ...) 21 RLOGV_IF(cond, format, ...) 23 ALOGD(format, ...) [all …]
|
D | logprint.c | 41 AndroidLogPrintFormat format; member 151 p_ret->format = FORMAT_BRIEF; in android_log_format_new() 175 AndroidLogPrintFormat format) in android_log_setPrintFormat() argument 177 p_format->format=format; in android_log_setPrintFormat() 185 static AndroidLogPrintFormat format; in android_log_formatFromString() local 187 if (strcmp(formatString, "brief") == 0) format = FORMAT_BRIEF; in android_log_formatFromString() 188 else if (strcmp(formatString, "process") == 0) format = FORMAT_PROCESS; in android_log_formatFromString() 189 else if (strcmp(formatString, "tag") == 0) format = FORMAT_TAG; in android_log_formatFromString() 190 else if (strcmp(formatString, "thread") == 0) format = FORMAT_THREAD; in android_log_formatFromString() 191 else if (strcmp(formatString, "raw") == 0) format = FORMAT_RAW; in android_log_formatFromString() [all …]
|
D | fake_log_device.c | 279 LogFormat format; in configureInitialState() local 281 format = FORMAT_BRIEF; in configureInitialState() 284 format = FORMAT_BRIEF; in configureInitialState() 286 format = FORMAT_PROCESS; in configureInitialState() 288 format = FORMAT_PROCESS; in configureInitialState() 290 format = FORMAT_PROCESS; in configureInitialState() 292 format = FORMAT_PROCESS; in configureInitialState() 294 format = FORMAT_PROCESS; in configureInitialState() 296 format = FORMAT_PROCESS; in configureInitialState() 298 format = (LogFormat) atoi(fstr); // really?! in configureInitialState() [all …]
|
D | log_time.cpp | 30 char *log_time::strptime(const char *s, const char *format) { in strptime() argument 49 char fmt[strlen(format) + 1]; in strptime() 50 strcpy(fmt, format); in strptime()
|
/system/media/camera/docs/ |
D | metadata_helpers_test.py | 167 self.assertEquals("word.{0}".format(wbr_string), wbr("word.")) 168 self.assertEquals("word/{0}".format(wbr_string), wbr("word/")) 169 self.assertEquals("word_{0}".format(wbr_string), wbr("word_")) 171 self.assertEquals("word.{0}break".format(wbr_string), wbr("word.break")) 172 self.assertEquals("word/{0}break".format(wbr_string), wbr("word/break")) 173 self.assertEquals("word_{0}break".format(wbr_string), wbr("word_break")) 176 self.assertEquals("word_{0}break_{0}again".format(wbr_string), 178 self.assertEquals("word_{0}break_{0}again_{0}emphasis".format(wbr_string), 182 self.assertEquals("word_{0}breakIgnored".format(wbr_string), 184 self.assertEquals("wordIgnored".format(wbr_string), [all …]
|
/system/core/include/android/ |
D | log.h | 103 __attribute__ ((format(gnu_printf, 3, 4))) 105 __attribute__ ((format(printf, 3, 4))) 108 __attribute__ ((format(printf, 3, 4))) 130 __attribute__ ((format(gnu_printf, 3, 4))) 132 __attribute__ ((format(printf, 3, 4))) 135 __attribute__ ((format(printf, 3, 4)))
|
/system/media/audio_utils/ |
D | tinysndfile.c | 74 handle->info.format = SF_FORMAT_WAV; in sf_open_read() 128 unsigned format = little2u(&fmt[0]); in sf_open_read() local 130 switch (format) { in sf_open_read() 139 fprintf(stderr, "unsupported format %u\n", format); in sf_open_read() 177 handle->info.format |= SF_FORMAT_PCM_U8; in sf_open_read() 180 handle->info.format |= SF_FORMAT_PCM_16; in sf_open_read() 183 if (format == WAVE_FORMAT_IEEE_FLOAT) in sf_open_read() 184 handle->info.format |= SF_FORMAT_FLOAT; in sf_open_read() 186 handle->info.format |= SF_FORMAT_PCM_32; in sf_open_read() 244 int sub = info->format & SF_FORMAT_SUBMASK; in sf_open_write() [all …]
|
/system/core/libbacktrace/ |
D | BacktraceLog.h | 25 #define BACK_LOGW(format, ...) \ argument 26 ALOGW("%s: " format, __PRETTY_FUNCTION__, ##__VA_ARGS__)
|
/system/core/include/sysutils/ |
D | NetlinkListener.h | 37 NetlinkListener(int socket, int format); 39 NetlinkListener(int socket, int format = NETLINK_FORMAT_ASCII);
|
/system/core/run-as/ |
D | run-as.c | 96 panic(const char* format, ...) in panic() argument 101 va_start(args, format); in panic() 102 vfprintf(stderr, format, args); in panic()
|
/system/core/adf/libadf/include/adf/ |
D | adf.h | 155 __u32 format, __u32 *offset, __u32 *pitch); 164 __u32 w, __u32 h, __u32 format, int buf_fd, __u32 offset, 215 bool adf_overlay_engine_supports_format(int fd, __u32 format); 232 void adf_format_str(__u32 format, char buf[ADF_FORMAT_STR_SIZE]);
|
/system/core/libsysutils/src/ |
D | NetlinkListener.cpp | 40 NetlinkListener::NetlinkListener(int socket, int format) : in NetlinkListener() argument 41 SocketListener(socket, false), mFormat(format) { in NetlinkListener()
|
/system/netd/server/ |
D | NetlinkHandler.h | 27 NetlinkHandler(NetlinkManager *nm, int listenerSocket, int format); 36 void notify(int code, const char *format, ...);
|
D | NetlinkHandler.cpp | 37 int format) : in NetlinkHandler() argument 38 NetlinkListener(listenerSocket, format) { in NetlinkHandler() 127 void NetlinkHandler::notify(int code, const char *format, ...) { in notify() argument 130 va_start(args, format); in notify() 131 if (vasprintf(&msg, format, args) >= 0) { in notify()
|
/system/core/libutils/ |
D | Printer.cpp | 41 void Printer::printFormatLine(const char* format, ...) { in printFormatLine() argument 43 va_start(arglist, format); in printFormatLine() 48 if (vasprintf(&formattedString, format, arglist) < 0) { // returns -1 on error in printFormatLine()
|
/system/extras/tests/bionic/libc/bionic/ |
D | test_mutex.c | 35 static void panic( const char* format, ... ) in panic() argument 38 va_start(args, format); in panic() 39 vfprintf(stderr, format, args); in panic()
|
/system/core/logd/ |
D | LogWhiteBlackList.h | 47 void format(char **strp); 68 void format(char **strp);
|
/system/core/include/system/ |
D | audio.h | 735 audio_format_t format; // audio format member 754 format: AUDIO_FORMAT_DEFAULT, 769 audio_format_t format; member 778 format: AUDIO_FORMAT_DEFAULT, 784 format: AUDIO_FORMAT_DEFAULT, 924 audio_format_t format; /* format if applicable */ member 1290 static inline bool audio_is_valid_format(audio_format_t format) in audio_is_valid_format() argument 1292 switch (format & AUDIO_FORMAT_MAIN_MASK) { in audio_is_valid_format() 1294 switch (format) { in audio_is_valid_format() 1322 static inline bool audio_is_linear_pcm(audio_format_t format) in audio_is_linear_pcm() argument [all …]
|
D | window.h | 112 int format; member 732 int w, int h, int format) __deprecated; 736 int w, int h, int format) in native_window_set_buffers_geometry() argument 739 w, h, format); in native_window_set_buffers_geometry() 796 int format) in native_window_set_buffers_format() argument 798 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_FORMAT, format); in native_window_set_buffers_format()
|
/system/core/libpixelflinger/ |
D | clear.cpp | 53 const uint32_t size = c->formats[s.format].size; in memset2d() 108 if (c->state.buffers.color.format == 0) in ggl_clear() 111 if (c->state.buffers.depth.format == 0) in ggl_clear() 114 if (c->state.buffers.stencil.format == 0) in ggl_clear() 122 c->state.buffers.color.format, in ggl_clear()
|
/system/extras/tests/bionic/libc/common/ |
D | test_pthread_rwlock.c | 46 panic(const char* func, const char* format, ...) in panic() argument 50 va_start(args, format); in panic() 51 vfprintf(stderr, format, args); in panic() 60 error(int errcode, const char* func, const char* format, ...) in error() argument 64 va_start(args, format); in error() 65 vfprintf(stderr, format, args); in error()
|
/system/core/libpixelflinger/codeflinger/ |
D | texturing.cpp | 149 const int h = parts.iterated.format.c[i].h; in init_iterated_color() 150 const int l = parts.iterated.format.c[i].l; in init_iterated_color() 281 tmu.format = c->formats[tmu.format_idx]; in decodeTMUNeeds() 282 tmu.bits = tmu.format.size*8; in decodeTMUNeeds() 288 && tmu.format.size!=3; // XXX: only 8, 16 and 32 modes for now in decodeTMUNeeds() 299 if (tmu.format.c[0].h) tmu.mask |= 0x1; in decodeTMUNeeds() 300 if (tmu.format.c[1].h) tmu.mask |= 0x2; in decodeTMUNeeds() 301 if (tmu.format.c[2].h) tmu.mask |= 0x4; in decodeTMUNeeds() 302 if (tmu.format.c[3].h) tmu.mask |= 0x8; in decodeTMUNeeds() 306 if (!tmu.format.c[GGLFormat::ALPHA].h) { in decodeTMUNeeds() [all …]
|
/system/core/adf/libadfhwc/include/adfhwc/ |
D | adfhwc.h | 47 static inline uint32_t adf_fourcc_for_hal_pixel_format(int format) in adf_fourcc_for_hal_pixel_format() argument 49 switch (format) { in adf_fourcc_for_hal_pixel_format()
|
/system/core/adf/libadf/ |
D | adf.c | 404 __u32 format, __u32 *offset, __u32 *pitch) in adf_interface_simple_buffer_alloc() argument 412 data.format = format; in adf_interface_simple_buffer_alloc() 424 __u32 w, __u32 h, __u32 format, int buf_fd, __u32 offset, in adf_interface_simple_post() argument 434 data.buf.format = format; in adf_interface_simple_post() 625 bool adf_overlay_engine_supports_format(int fd, __u32 format) in adf_overlay_engine_supports_format() argument 636 if (data.supported_formats[i] == format) { in adf_overlay_engine_supports_format() 701 void adf_format_str(__u32 format, char buf[ADF_FORMAT_STR_SIZE]) in adf_format_str() argument 703 buf[0] = format & 0xFF; in adf_format_str() 704 buf[1] = (format >> 8) & 0xFF; in adf_format_str() 705 buf[2] = (format >> 16) & 0xFF; in adf_format_str() [all …]
|
/system/core/include/utils/ |
D | Printer.h | 33 virtual void printFormatLine(const char* format, ...) __attribute__((format (printf, 2, 3)));
|