Go to the source code of this file.
|
char * | gpr_dump (const char *buf, size_t len, gpr_uint32 flags) |
|
char * | gpr_dump_slice (gpr_slice slice, gpr_uint32 flags) |
|
int | gpr_parse_bytes_to_uint32 (const char *data, size_t length, gpr_uint32 *result) |
|
int | gpr_ltoa (long value, char *output) |
|
void | gpr_reverse_bytes (char *str, int len) |
|
char * | gpr_strjoin (const char **strs, size_t nstrs, size_t *total_length) |
|
char * | gpr_strjoin_sep (const char **strs, size_t nstrs, const char *sep, size_t *total_length) |
|
void | gpr_slice_split (gpr_slice str, const char *sep, gpr_slice_buffer *dst) |
| Split str by the separator sep. More...
|
|
void | gpr_strvec_init (gpr_strvec *strs) |
|
void | gpr_strvec_destroy (gpr_strvec *strs) |
|
void | gpr_strvec_add (gpr_strvec *strs, char *add) |
|
char * | gpr_strvec_flatten (gpr_strvec *strs, size_t *total_length) |
|
#define GPR_DUMP_ASCII 0x00000002 |
#define GPR_DUMP_HEX 0x00000001 |
#define GPR_LTOA_MIN_BUFSIZE (3 * sizeof(long)) |
char* gpr_dump |
( |
const char * |
buf, |
|
|
size_t |
len, |
|
|
gpr_uint32 |
flags |
|
) |
| |
int gpr_ltoa |
( |
long |
value, |
|
|
char * |
output |
|
) |
| |
int gpr_parse_bytes_to_uint32 |
( |
const char * |
data, |
|
|
size_t |
length, |
|
|
gpr_uint32 * |
result |
|
) |
| |
void gpr_reverse_bytes |
( |
char * |
str, |
|
|
int |
len |
|
) |
| |
Split str by the separator sep.
Results are stored in dst, which should be a properly initialized instance.
char* gpr_strjoin |
( |
const char ** |
strs, |
|
|
size_t |
nstrs, |
|
|
size_t * |
total_length |
|
) |
| |
char* gpr_strjoin_sep |
( |
const char ** |
strs, |
|
|
size_t |
nstrs, |
|
|
const char * |
sep, |
|
|
size_t * |
total_length |
|
) |
| |
void gpr_strvec_add |
( |
gpr_strvec * |
strs, |
|
|
char * |
add |
|
) |
| |
char* gpr_strvec_flatten |
( |
gpr_strvec * |
strs, |
|
|
size_t * |
total_length |
|
) |
| |