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

12

/system/core/adf/libadfhwc/include/adfhwc/
H A Dadfhwc.h45 * Converts HAL pixel formats to equivalent ADF/DRM format FourCCs.
47 static inline uint32_t adf_fourcc_for_hal_pixel_format(int format) argument
49 switch (format) {
/system/core/libsysutils/src/
H A DNetlinkListener.cpp40 NetlinkListener::NetlinkListener(int socket, int format) : argument
41 SocketListener(socket, false), mFormat(format) {
H A DNetlinkEvent.cpp630 bool NetlinkEvent::decode(char *buffer, int size, int format) { argument
631 if (format == NetlinkListener::NETLINK_FORMAT_BINARY
632 || format == NetlinkListener::NETLINK_FORMAT_BINARY_UNICAST) {
/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/media/audio_utils/
H A Dconversion.cpp26 void mono_blend(void *buf, audio_format_t format, size_t channelCount, size_t frames, bool limit) { argument
30 switch (format) {
65 ALOGE("mono_blend: invalid format %d", format);
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/liblog/
H A Dlog_time.cpp31 LIBLOG_ABI_PRIVATE char *log_time::strptime(const char *s, const char *format) { argument
50 char fmt[strlen(format) + 1];
51 strcpy(fmt, format);
H A Dfake_log_device.c76 /* output format */
280 LogFormat format; local
282 format = FORMAT_BRIEF;
285 format = FORMAT_BRIEF;
287 format = FORMAT_PROCESS;
289 format = FORMAT_PROCESS;
291 format = FORMAT_PROCESS;
293 format = FORMAT_PROCESS;
295 format = FORMAT_PROCESS;
297 format
[all...]
/system/media/audio_utils/include/audio_utils/
H A Dsndfile.h40 int format; member in struct:__anon1854
/system/core/libutils/
H A DPrinter.cpp41 void Printer::printFormatLine(const char* format, ...) { argument
43 va_start(arglist, format);
48 if (vasprintf(&formattedString, format, arglist) < 0) { // returns -1 on error
49 ALOGE("%s: Failed to format string", __FUNCTION__);
H A DString8.cpp223 String8 String8::format(const char* fmt, ...) function in class:android::String8
/system/core/logd/
H A DLogWhiteBlackList.cpp39 std::string Prune::format() { function in class:Prune
106 // See README.property for description of filter format
218 std::string PruneList::format() { function in class:PruneList
235 string += android::base::StringPrintf(fmt, (*it).format().c_str());
242 string += android::base::StringPrintf(fmt, (*it).format().c_str());
H A DLogStatistics.cpp216 std::string UidEntry::format(const LogStatistics &stat, log_id_t id) const { function in class:UidEntry
312 byPid += entry->format(stat, id);
333 std::string PidEntry::format(const LogStatistics &stat, log_id_t /* id */) const { function in class:PidEntry
370 std::string TidEntry::format(const LogStatistics &stat, log_id_t /* id */) const { function in class:TidEntry
411 std::string TagEntry::format(const LogStatistics & /* stat */, log_id_t /* id */) const { function in class:TagEntry
436 std::string LogStatistics::format(uid_t uid, pid_t pid, function in class:LogStatistics
510 output += uidTable[id].format(*this, uid, pid, name, id);
517 output += pidTable.format(*this, uid, pid, name);
523 output += tidTable.format(*this, uid, pid, name);
532 output += tagTable.format(*thi
[all...]
/system/core/run-as/
H A Drun-as.c92 panic(const char* format, ...) argument
98 va_start(args, format);
99 vfprintf(stderr, format, args);
/system/netd/server/
H A DNetlinkManager.cpp68 int groups, int format, bool configNflog) {
117 NetlinkHandler *handler = new NetlinkHandler(this, *sock, format);
67 setupSocket(int *sock, int netlinkFamily, int groups, int format, bool configNflog) argument
H A Dndc.c92 const char *format = needs_quoting ? "%s\"%s\"%s" : "%s%s%s"; local
95 if (asprintf(&tmp_final_cmd, format, final_cmd, argv[i],
H A DNetlinkHandler.cpp38 int format) :
39 NetlinkListener(listenerSocket, format) {
146 void NetlinkHandler::notify(int code, const char *format, ...) { argument
149 va_start(args, format);
150 if (vasprintf(&msg, format, args) >= 0) {
37 NetlinkHandler(NetlinkManager *nm, int listenerSocket, int format) argument
/system/keymaster/
H A Dasymmetric_key.cpp114 keymaster_error_t AsymmetricKey::formatted_key_material(keymaster_key_format_t format, argument
117 if (format != KM_KEY_FORMAT_X509)
/system/media/audio_utils/spdif/
H A DSPDIFEncoder.cpp36 SPDIFEncoder::SPDIFEncoder(audio_format_t format) argument
48 switch(format) {
63 "SPDIFEncoder: invalid audio format = 0x%08X", format);
86 bool SPDIFEncoder::isFormatSupported(audio_format_t format) argument
88 switch(format) {
/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
334 f_ptr = i_ptr->format;
/system/vold/
H A DVolumeBase.cpp235 status_t VolumeBase::format(const std::string& fsType) { function in class:android::vold::VolumeBase
241 LOG(WARNING) << getId() << " format requires state unmounted or unmountable";
/system/media/alsa_utils/
H A Dalsa_device_profile.c167 * TODO this won't be right in general. we should store a preferred format as we are scanning.
255 enum pcm_format format = pcm_format_value_map[table_index]; local
257 if (format != PCM_FORMAT_INVALID && format != PCM_FORMAT_S8) {
258 profile->formats[num_written++] = format;
354 config->format = get_pcm_format_for_mask(pcm_params_get_mask(alsa_hw_params, PCM_PARAM_FORMAT));
358 if (config->format == PCM_FORMAT_INVALID) {
375 ALOGV("default_config chans:%d rate:%d format:%d count:%d size:%d",
377 profile->default_config.format, profile->default_config.period_count,
441 /* if we assume that format string
[all...]
/system/core/adf/libadf/
H A Dadf.c405 __u32 format, __u32 *offset, __u32 *pitch)
413 data.format = format;
425 __u32 w, __u32 h, __u32 format, int buf_fd, __u32 offset,
435 data.buf.format = format;
626 bool adf_overlay_engine_supports_format(int fd, __u32 format) argument
637 if (data.supported_formats[i] == format) {
702 void adf_format_str(__u32 format, char buf[ADF_FORMAT_STR_SIZE]) argument
704 buf[0] = format
404 adf_interface_simple_buffer_alloc(int fd, __u32 w, __u32 h, __u32 format, __u32 *offset, __u32 *pitch) argument
424 adf_interface_simple_post(int fd, __u32 overlay_engine, __u32 w, __u32 h, __u32 format, int buf_fd, __u32 offset, __u32 pitch, int acquire_fence) argument
[all...]
/system/core/fs_mgr/
H A Dfs_mgr_verity.cpp300 const struct verity_table_params *params, format_verity_table_func format)
321 if (!format(verity_params, bufsize, params)) {
322 ERROR("Failed to format verity parameters\n");
973 // try the legacy format for backwards compatibility
299 load_verity_table(struct dm_ioctl *io, char *name, uint64_t device_size, int fd, const struct verity_table_params *params, format_verity_table_func format) argument

Completed in 515 milliseconds

12