Home
last modified time | relevance | path

Searched refs:str_buf (Results 1 – 5 of 5) sorted by relevance

/external/bluetooth/bluedroid/btif/src/
Dbtif_gatt_test.c76 static char * format_uuid(tBT_UUID bt_uuid, char *str_buf) in format_uuid() argument
82 sprintf(str_buf, "0x%04x", bt_uuid.uu.uuid16); in format_uuid()
86 x += sprintf(&str_buf[x], "%02x%02x%02x%02x-%02x%02x-%02x%02x", in format_uuid()
91 sprintf(&str_buf[x], "%02x%02x-%02x%02x%02x%02x%02x%02x", in format_uuid()
98 sprintf(str_buf, "Unknown (len=%d)", bt_uuid.len); in format_uuid()
100 return str_buf; in format_uuid()
139 char str_buf[50]; in btif_test_discovery_result_cback() local
145 ALOGD(" Attribute type: %s", format_uuid(p_data->type, str_buf)); in btif_test_discovery_result_cback()
155 format_uuid(p_data->value.group_value.service_type, str_buf)); in btif_test_discovery_result_cback()
169 format_uuid(p_data->value.incl_service.service_type, str_buf)); in btif_test_discovery_result_cback()
[all …]
/external/icu4c/test/cintltst/
Dputiltst.c482 …uint8_t str_buf[AESTRNCPY_SIZE] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x… in Test_aestrncpy() local
486 ret = uprv_aestrncpy(str_buf, src, len); in Test_aestrncpy()
487 if(ret != str_buf) { in Test_aestrncpy()
488 …s:%d: FAIL: uprv_aestrncpy returned %p expected %p\n", __FILE__, line, (void*)ret, (void*)str_buf); in Test_aestrncpy()
490 if(!uprv_memcmp(str_buf, expect, AESTRNCPY_SIZE)) { in Test_aestrncpy()
493 log_verbose("\n%s:%d: got : %s\n", __FILE__, line, dump_binline(str_buf)); in Test_aestrncpy()
497 log_err ("\n%s:%d: got : %s\n", __FILE__, line, dump_binline(str_buf)); in Test_aestrncpy()
/external/qemu/android/camera/
Dcamera-service.c128 _append_string(char** str_buf, size_t* str_buf_size, const char* str) in _append_string() argument
130 const size_t offset = (*str_buf != NULL) ? strlen(*str_buf) : 0; in _append_string()
134 if (*str_buf == NULL) { in _append_string()
144 char* new_buf = (char*)realloc(*str_buf, required_mem); in _append_string()
150 *str_buf = new_buf; in _append_string()
153 memcpy(*str_buf + offset, str, append_bytes); in _append_string()
/external/libvpx/libvpx/build/make/
Dobj_int_extract.c155 uint8_t *str_buf = base_buf; in parse_macho() local
166 str_buf += sc.stroff; in parse_macho()
187 str_buf + nl.n_un.n_strx + 1, val); in parse_macho()
200 str_buf + nl.n_un.n_strx + 1, val); in parse_macho()
/external/bluetooth/bluedroid/stack/gatt/
Dgatt_utils.c2188 char str_buf[50]; in gatt_dbg_display_uuid() local
2193 sprintf(str_buf, "0x%04x", bt_uuid.uu.uuid16); in gatt_dbg_display_uuid()
2197 x += sprintf(&str_buf[x], "0x%02x%02x%02x%02x%02x%02x%02x%02x", in gatt_dbg_display_uuid()
2202 sprintf(&str_buf[x], "%02x%02x%02x%02x%02x%02x%02x%02x", in gatt_dbg_display_uuid()
2209 BCM_STRNCPY_S(str_buf, sizeof(str_buf), "Unknown UUID 0", 15); in gatt_dbg_display_uuid()
2211 GATT_TRACE_DEBUG1 ("UUID=[%s]", str_buf); in gatt_dbg_display_uuid()