Searched refs:GPRAPI (Results 1 – 11 of 11) sorted by relevance
/external/grpc-grpc/include/grpc/ |
D | slice.h | 33 GPRAPI grpc_slice grpc_slice_ref(grpc_slice s); 41 GPRAPI void grpc_slice_unref(grpc_slice s); 44 GPRAPI grpc_slice grpc_slice_copy(grpc_slice s); 49 GPRAPI grpc_slice grpc_slice_new(void* p, size_t len, void (*destroy)(void*)); 55 GPRAPI grpc_slice grpc_slice_new_with_user_data(void* p, size_t len, 61 GPRAPI grpc_slice grpc_slice_new_with_len(void* p, size_t len, 67 GPRAPI grpc_slice grpc_slice_malloc(size_t length); 68 GPRAPI grpc_slice grpc_slice_malloc_large(size_t length); 76 GPRAPI grpc_slice grpc_slice_intern(grpc_slice slice); 84 GPRAPI grpc_slice grpc_slice_from_copied_string(const char* source); [all …]
|
D | slice_buffer.h | 31 GPRAPI void grpc_slice_buffer_init(grpc_slice_buffer* sb); 33 GPRAPI void grpc_slice_buffer_destroy(grpc_slice_buffer* sb); 37 GPRAPI void grpc_slice_buffer_add(grpc_slice_buffer* sb, grpc_slice slice); 45 GPRAPI size_t grpc_slice_buffer_add_indexed(grpc_slice_buffer* sb, 47 GPRAPI void grpc_slice_buffer_addn(grpc_slice_buffer* sb, grpc_slice* slices, 51 GPRAPI uint8_t* grpc_slice_buffer_tiny_add(grpc_slice_buffer* sb, size_t len); 53 GPRAPI void grpc_slice_buffer_pop(grpc_slice_buffer* sb); 55 GPRAPI void grpc_slice_buffer_reset_and_unref(grpc_slice_buffer* sb); 57 GPRAPI void grpc_slice_buffer_swap(grpc_slice_buffer* a, grpc_slice_buffer* b); 59 GPRAPI void grpc_slice_buffer_move_into(grpc_slice_buffer* src, [all …]
|
/external/grpc-grpc/include/grpc/support/ |
D | time.h | 34 GPRAPI gpr_timespec 36 GPRAPI gpr_timespec gpr_inf_future(gpr_clock_type type); /** The far future */ 37 GPRAPI gpr_timespec gpr_inf_past(gpr_clock_type type); /** The far past. */ 47 GPRAPI void gpr_time_init(void); 50 GPRAPI gpr_timespec gpr_now(gpr_clock_type clock); 53 GPRAPI gpr_timespec gpr_convert_clock_type(gpr_timespec t, 58 GPRAPI int gpr_time_cmp(gpr_timespec a, gpr_timespec b); 60 GPRAPI gpr_timespec gpr_time_max(gpr_timespec a, gpr_timespec b); 61 GPRAPI gpr_timespec gpr_time_min(gpr_timespec a, gpr_timespec b); 64 GPRAPI gpr_timespec gpr_time_add(gpr_timespec a, gpr_timespec b); [all …]
|
D | sync.h | 39 GPRAPI void gpr_mu_init(gpr_mu* mu); 43 GPRAPI void gpr_mu_destroy(gpr_mu* mu); 48 GPRAPI void gpr_mu_lock(gpr_mu* mu); 52 GPRAPI void gpr_mu_unlock(gpr_mu* mu); 58 GPRAPI int gpr_mu_trylock(gpr_mu* mu); 67 GPRAPI void gpr_cv_init(gpr_cv* cv); 71 GPRAPI void gpr_cv_destroy(gpr_cv* cv); 80 GPRAPI int gpr_cv_wait(gpr_cv* cv, gpr_mu* mu, gpr_timespec abs_deadline); 86 GPRAPI void gpr_cv_signal(gpr_cv* cv); 89 GPRAPI void gpr_cv_broadcast(gpr_cv* cv); [all …]
|
D | alloc.h | 42 GPRAPI void* gpr_malloc(size_t size); 44 GPRAPI void* gpr_zalloc(size_t size); 46 GPRAPI void gpr_free(void* ptr); 48 GPRAPI void* gpr_realloc(void* p, size_t size); 51 GPRAPI void* gpr_malloc_aligned(size_t size, size_t alignment); 53 GPRAPI void gpr_free_aligned(void* ptr); 59 GPRAPI void gpr_set_allocation_functions(gpr_allocation_functions functions); 62 GPRAPI gpr_allocation_functions gpr_get_allocation_functions(void);
|
D | cpu.h | 32 GPRAPI unsigned gpr_cpu_num_cores(void); 38 GPRAPI unsigned gpr_cpu_current_cpu(void);
|
D | string_util.h | 34 GPRAPI char* gpr_strdup(const char* src); 44 GPRAPI int gpr_asprintf(char** strp, const char* format, ...)
|
D | log_windows.h | 32 GPRAPI char* gpr_format_message(int messageid);
|
D | thd_id.h | 38 GPRAPI gpr_thd_id gpr_thd_currentid(void);
|
/external/grpc-grpc/include/grpc/impl/codegen/ |
D | log.h | 52 GPRAPI const char* gpr_log_severity_string(gpr_log_severity severity); 61 GPRAPI void gpr_log(const char* file, int line, gpr_log_severity severity, 64 GPRAPI int gpr_should_log(gpr_log_severity severity); 66 GPRAPI void gpr_log_message(const char* file, int line, 70 GPRAPI void gpr_set_log_verbosity(gpr_log_severity min_severity_to_print); 72 GPRAPI void gpr_log_verbosity_init(void); 87 GPRAPI void gpr_set_log_function(gpr_log_func func);
|
D | port_platform.h | 506 #ifndef GPRAPI 507 #define GPRAPI macro 511 #define GRPCAPI GPRAPI
|