GRPC Core
0.10.0.0
|
#include "src/core/support/string.h"
#include <ctype.h>
#include <stddef.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/port_platform.h>
#include <grpc/support/useful.h>
Data Structures | |
struct | dump_out |
Functions | |
char * | gpr_strdup (const char *src) |
char * | gpr_dump (const char *buf, size_t len, gpr_uint32 flags) |
char * | gpr_dump_slice (gpr_slice s, gpr_uint32 flags) |
int | gpr_parse_bytes_to_uint32 (const char *buf, size_t len, gpr_uint32 *result) |
void | gpr_reverse_bytes (char *str, int len) |
int | gpr_ltoa (long value, char *string) |
char * | gpr_strjoin (const char **strs, size_t nstrs, size_t *final_length) |
char * | gpr_strjoin_sep (const char **strs, size_t nstrs, const char *sep, size_t *final_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 *sv) |
void | gpr_strvec_destroy (gpr_strvec *sv) |
void | gpr_strvec_add (gpr_strvec *sv, char *str) |
char * | gpr_strvec_flatten (gpr_strvec *sv, size_t *final_length) |
char* gpr_dump | ( | const char * | buf, |
size_t | len, | ||
gpr_uint32 | flags | ||
) |
char* gpr_dump_slice | ( | gpr_slice | s, |
gpr_uint32 | flags | ||
) |
int gpr_ltoa | ( | long | value, |
char * | string | ||
) |
int gpr_parse_bytes_to_uint32 | ( | const char * | buf, |
size_t | len, | ||
gpr_uint32 * | result | ||
) |
void gpr_reverse_bytes | ( | char * | str, |
int | len | ||
) |
void gpr_slice_split | ( | gpr_slice | str, |
const char * | sep, | ||
gpr_slice_buffer * | dst | ||
) |
Split str by the separator sep.
Results are stored in dst, which should be a properly initialized instance.
char* gpr_strdup | ( | const char * | src | ) |
char* gpr_strjoin | ( | const char ** | strs, |
size_t | nstrs, | ||
size_t * | final_length | ||
) |
char* gpr_strjoin_sep | ( | const char ** | strs, |
size_t | nstrs, | ||
const char * | sep, | ||
size_t * | final_length | ||
) |
void gpr_strvec_add | ( | gpr_strvec * | sv, |
char * | str | ||
) |
void gpr_strvec_destroy | ( | gpr_strvec * | sv | ) |
char* gpr_strvec_flatten | ( | gpr_strvec * | sv, |
size_t * | final_length | ||
) |
void gpr_strvec_init | ( | gpr_strvec * | sv | ) |