Home
last modified time | relevance | path

Searched refs:buff (Results 1 – 10 of 10) sorted by relevance

/system/media/alsa_utils/
Dalsa_logging.c39 char buff[BUFF_SIZE]; in log_pcm_mask() local
40 buff[0] = '\0'; in log_pcm_mask()
43 strcat(buff, "["); in log_pcm_mask()
47 strcat(buff, (mask->bits[slot_index] & bit_mask) != 0 ? "1" : "0"); in log_pcm_mask()
51 strcat(buff, ","); in log_pcm_mask()
54 strcat(buff, "]"); in log_pcm_mask()
56 ALOGV("%s: mask:%s", mask_name, buff); in log_pcm_mask()
/system/extras/tests/iptables/qtaguid/
DsocketTag.cpp63 char *buff; in doCtrlCommand() local
70 vasprintf(&buff, fmt, argp); in doCtrlCommand()
72 res = write(ctrl, buff, strlen(buff)); in doCtrlCommand()
73 testPrintI("cmd: '%s' res=%d %d/%s", buff, res, errno, strerror(errno)); in doCtrlCommand()
75 free(buff); in doCtrlCommand()
138 char *buff; in checkTag() local
167 asprintf(&buff, match_template, full_tag | uid, uid); in checkTag()
168 testPrintI("looking for '%s'", buff); in checkTag()
169 pos = strstr(ctrl_data, buff); in checkTag()
184 free(buff); in checkTag()
/system/extras/tests/kernel.config/
Daslr_test.cpp67 char buff[MAX_ADDR_LEN]; in scrape_addr() local
88 len = read(fd[0], buff, MAX_ADDR_LEN - 1); in scrape_addr()
94 buff[len] = '\0'; in scrape_addr()
110 return std::string(buff, strlen(buff)); in scrape_addr()
/system/bt/stack/pan/
Dpan_utils.c329 char buff[200]; in pan_dump_status() local
337 sprintf (buff, "%d state %d, handle %d, src 0x%x, dst 0x%x, BD %x.%x.%x.%x.%x.%x", in pan_dump_status()
342 PAN_TRACE_DEBUG (buff); in pan_dump_status()
/system/core/adb/
Dtransport.cpp91 char buff[8]; in read_packet() local
93 snprintf(buff, sizeof buff, "fd=%d", fd); in read_packet()
94 name = buff; in read_packet()
116 char buff[8]; in write_packet() local
118 snprintf(buff, sizeof buff, "fd=%d", fd); in write_packet()
119 name = buff; in write_packet()
/system/netd/server/
DBandwidthController.cpp332 char *buff; in makeIptablesSpecialAppCmd() local
352 asprintf(&buff, "%s %s -m owner --uid-owner %d", opFlag, chain, uid); in makeIptablesSpecialAppCmd()
353 res = buff; in makeIptablesSpecialAppCmd()
354 free(buff); in makeIptablesSpecialAppCmd()
437 char *buff; in makeIptablesQuotaCmd() local
459 …asprintf(&buff, "%s bw_costly_%s -m quota2 ! --quota %" PRId64" --name %s", opFlag, costName, quot… in makeIptablesQuotaCmd()
461 res = buff; in makeIptablesQuotaCmd()
462 free(buff); in makeIptablesQuotaCmd()
/system/bt/btif/include/
Dbtif_pan_internal.h105 const char* buff, UINT16 size, BOOLEAN ext, BOOLEAN forward);
/system/bt/stack/gatt/
Dgatt_utils.c1532 UINT8 buff[60]; in gatt_add_sdp_record() local
1533 UINT8 *p = buff; in gatt_add_sdp_record()
1550 (UINT32) (p - buff), buff); in gatt_add_sdp_record()
1557 (UINT32) (p - buff), buff); in gatt_add_sdp_record()
/system/vold/
Dcryptfs.c663 static inline int unix_read(int fd, void* buff, int len) in unix_read() argument
665 return TEMP_FAILURE_RETRY(read(fd, buff, len)); in unix_read()
668 static inline int unix_write(int fd, const void* buff, int len) in unix_write() argument
670 return TEMP_FAILURE_RETRY(write(fd, buff, len)); in unix_write()
/system/bt/stack/btm/
Dbtm_inq.c2739 char buff[LEN_UUID_128 * 2 + 1]; in BTM_GetEirUuidList() local
2778 sprintf(buff + xx*2, "%02X", *(p_uuid_list + yy * LEN_UUID_128 + xx)); in BTM_GetEirUuidList()
2779 BTM_TRACE_DEBUG(" 0x%s", buff); in BTM_GetEirUuidList()