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

1234567

/system/core/libbacktrace/
H A DBacktraceLog.h25 #define BACK_LOGW(format, ...) \
26 ALOGW("%s: " format, __PRETTY_FUNCTION__, ##__VA_ARGS__)
28 #define BACK_LOGE(format, ...) \
29 ALOGE("%s: " format, __PRETTY_FUNCTION__, ##__VA_ARGS__)
H A DBacktraceAsyncSafeLog.h25 #define BACK_ASYNC_SAFE_LOGW(format, ...) \
26 async_safe_format_log(ANDROID_LOG_WARN, "libbacktrace", "%s: " format, __PRETTY_FUNCTION__, \
29 #define BACK_ASYNC_SAFE_LOGE(format, ...) \
30 async_safe_format_log(ANDROID_LOG_ERROR, "libbacktrace", "%s: " format, __PRETTY_FUNCTION__, \
35 #define BACK_ASYNC_SAFE_LOGW(format, ...)
37 #define BACK_ASYNC_SAFE_LOGE(format, ...)
/system/chre/host/common/include/chre_host/
H A Dlog.h33 * @param format printf-style format string
35 #define CHRE_LOG(level, format, ...) \
37 ALOG(level, LOG_TAG, format, ##__VA_ARGS__); \
38 printf("%s:%d : " format "\n", __func__, __LINE__, ##__VA_ARGS__); \
41 #define LOGE(format, ...) CHRE_LOG(LOG_ERROR, format, ##__VA_ARGS__)
42 #define LOGW(format, ...) CHRE_LOG(LOG_WARN, format, ##__VA_ARGS__)
43 #define LOGI(format,
[all...]
/system/chre/platform/include/chre/platform/
H A Dlog.h26 * LOGE(format, ...)
27 * LOGW(format, ...)
28 * LOGI(format, ...)
29 * LOGD(format, ...)
31 * Where "format" is a printf-style format string, and E, W, I, D correspond to
69 #define LOGE(format, ...) chreLogNull(format, ##__VA_ARGS__)
74 #define LOGW(format, ...) chreLogNull(format, ##__VA_ARGS_
[all...]
/system/libvintf/
H A DMatrixHal.cpp23 if (format != other.format)
H A DXmlFile.cpp24 optional() == other.optional() && format() == other.format() &&
H A DManifestHal.cpp35 if (format != other.format)
/system/media/camera/docs/
H A Dmetadata_helpers_test.py167 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_strin
[all...]
/system/media/audio_utils/include/audio_utils/
H A Dpower.h33 * \param format one of AUDIO_FORMAT_PCM_8_BIT, AUDIO_FORMAT_PCM_16_BIT,
45 float audio_utils_compute_power_mono(const void *buffer, audio_format_t format, size_t samples);
51 * \param format one of AUDIO_FORMAT_PCM_8_BIT, AUDIO_FORMAT_PCM_16_BIT,
63 float audio_utils_compute_energy_mono(const void *buffer, audio_format_t format, size_t samples);
66 * \brief Returns true if the format is supported for compute_energy_for_mono()
68 * \param format format under consideration.
71 bool audio_utils_is_compute_power_format_supported(audio_format_t format);
H A DSimpleLog.h61 * \param format the format string, similar to printf().
66 [[gnu::format(printf, 2 /* string-index */, 3 /* first-to-check */)]]
67 void log(const char *format, ...) argument
70 va_start(args, format);
72 logv(-1 /* nowNs */, format, args);
82 * \param format the format string, similar to printf().
87 [[gnu::format(printf, 3 /* string-index */, 4 /* first-to-check */)]]
88 void log(int64_t nowNs, const char *format, argument
105 logv(int64_t nowNs, const char *format, va_list args) argument
[all...]
H A Dmono_blend.h33 * \param format one of AUDIO_FORMAT_PCM_16_BIT or AUDIO_FORMAT_PCM_FLOAT
43 void mono_blend(void *buf, audio_format_t format, size_t channelCount, size_t frames,
/system/core/libunwindstack/include/unwindstack/
H A DLog.h25 void log(uint8_t indent, const char* format, ...);
/system/core/libunwindstack/
H A DLog.cpp39 void log(uint8_t indent, const char* format, ...) { argument
42 real_format = android::base::StringPrintf("%*s%s", 2 * indent, " ", format);
44 real_format = format;
47 va_start(args, format);
/system/core/include/sysutils/
H A DNetlinkListener.h38 NetlinkListener(int socket, int format);
40 NetlinkListener(int socket, int format = NETLINK_FORMAT_ASCII);
/system/core/libsysutils/include/sysutils/
H A DNetlinkListener.h38 NetlinkListener(int socket, int format);
40 NetlinkListener(int socket, int format = NETLINK_FORMAT_ASCII);
/system/core/base/
H A Dstringprintf.cpp26 void StringAppendV(std::string* dst, const char* format, va_list ap) { argument
35 int result = vsnprintf(space, sizeof(space), format, backup_ap);
58 result = vsnprintf(buf, length, format, backup_ap);
77 void StringAppendF(std::string* dst, const char* format, ...) { argument
79 va_start(ap, format);
80 StringAppendV(dst, format, ap);
/system/tools/aidl/
H A Dcode_writer.cpp37 bool Write(const char* format, ...) override {
39 va_start(ap, format);
40 android::base::StringAppendV(output_, format, ap);
62 bool Write(const char* format, ...) override {
65 va_start(ap, format);
66 success = vfprintf(output_, format, ap) >= 0;
/system/extras/libfec/
H A Dfec_private.h147 #define __log(func, type, format, args...) \
148 fprintf(stderr, "fec: <%d> " type ": %s: " format "\n", \
153 #define __log(func, type, format, args...) \
154 KLOG_##func("fec", "<%d> " type ": %s: " format "\n", \
159 #define debug(format, args...)
161 #define debug(format, args...) __log(DEBUG, "debug", format, ##args)
164 #define warn(format, args...) __log(WARNING, "warning", format, ##args)
165 #define error(format, arg
[all...]
/system/bt/embdrv/sbc/decoder/include/
H A Doi_utils.h199 * @param format The format string
202 void OI_Printf(const OI_CHAR* format, ...);
207 * @param format Same as for OI_Printf.
211 void OI_VPrintf(const OI_CHAR* format, va_list argp);
214 * Writes a formatted string to a buffer. This function supports the same format
221 * @param format The format string
225 int32_t OI_SNPrintf(OI_CHAR* buffer, uint16_t bufLen, const OI_CHAR* format,
235 * @param format Th
[all...]
/system/media/alsa_utils/
H A Dalsa_device_proxy.c57 if (config->format != PCM_FORMAT_INVALID && profile_is_format_valid(profile, config->format)) {
58 proxy->alsa_config.format = config->format;
60 proxy->alsa_config.format = profile->default_config.format;
61 ALOGW("Invalid format %d - using default %d.",
62 config->format, profile->default_config.format);
63 // Indicate override when default format wa
[all...]
/system/media/audio_utils/
H A Dtinysndfile.c79 handle->info.format = SF_FORMAT_WAV;
152 unsigned format = little2u(&fmt[0]); local
154 switch (format) {
164 fprintf(stderr, "unsupported format %u\n", format);
214 handle->info.format |= SF_FORMAT_PCM_U8;
217 handle->info.format |= SF_FORMAT_PCM_16;
220 handle->info.format |= SF_FORMAT_PCM_24;
223 if (format == WAVE_FORMAT_IEEE_FLOAT)
224 handle->info.format |
432 unsigned format = handle->info.format & SF_FORMAT_SUBMASK; local
481 unsigned format = handle->info.format & SF_FORMAT_SUBMASK; local
531 unsigned format = handle->info.format & SF_FORMAT_SUBMASK; local
[all...]
/system/core/libsysutils/src/
H A DNetlinkListener.cpp42 NetlinkListener::NetlinkListener(int socket, int format) : argument
43 SocketListener(socket, false), mFormat(format) {
/system/netd/server/
H A DNetlinkHandler.h31 NetlinkHandler(NetlinkManager *nm, int listenerSocket, int format);
40 void notify(int code, const char *format, ...);
/system/core/include/log/
H A Devent_tag_map.h57 * Look up a format by index. Returns the format string & string length,
67 const char* format, int prio);
/system/core/liblog/include/log/
H A Devent_tag_map.h57 * Look up a format by index. Returns the format string & string length,
67 const char* format, int prio);

Completed in 432 milliseconds

1234567