| /third_party/ulib/backtrace/ |
| A D | fileline.c | 61 if (!state->threaded) in fileline_initialize() 72 if (!state->threaded) in fileline_initialize() 73 fileline_fn = state->fileline_fn; in fileline_initialize() 91 filename = state->filename; in fileline_initialize() 124 if (state->filename != NULL) in fileline_initialize() 143 if (!state->threaded) in fileline_initialize() 144 state->fileline_initialization_failed = 1; in fileline_initialize() 150 if (!state->threaded) in fileline_initialize() 151 state->fileline_fn = fileline_fn; in fileline_initialize() 180 return state->fileline_fn (state, pc, callback, error_callback, data); in backtrace_pcinfo() [all …]
|
| A D | state.c | 51 struct backtrace_state *state; in backtrace_create_state() local 65 state = ((struct backtrace_state *) in backtrace_create_state() 67 if (state == NULL) in backtrace_create_state() 69 *state = init_state; in backtrace_create_state() 71 return state; in backtrace_create_state() 81 if (state == NULL) in backtrace_destroy_state() 90 backtrace_free(&final_state, state, sizeof *state, error_callback, data); in backtrace_destroy_state() 98 state->so_iterator = func; in backtrace_set_so_iterator() 99 state->iter_state = iter_state; in backtrace_set_so_iterator() 105 state->base_address = base; in backtrace_set_base_address() [all …]
|
| A D | mmap.c | 78 p->next = state->freelist; in backtrace_free_locked() 80 state->freelist = p; in backtrace_free_locked() 88 backtrace_alloc (struct backtrace_state *state, in backtrace_alloc() argument 106 if (!state->threaded) in backtrace_alloc() 126 backtrace_free_locked (state, (char *) p + size, in backtrace_alloc() 135 if (state->threaded) in backtrace_alloc() 136 __sync_lock_release (&state->lock_alloc); in backtrace_alloc() 200 if (!state->threaded) in backtrace_free() 207 backtrace_free_locked (state, addr, size); in backtrace_free() 209 if (state->threaded) in backtrace_free() [all …]
|
| A D | elf.c | 445 if (!state->threaded) in elf_add_syminfo_data() 492 if (!state->threaded) in elf_syminfo() 884 struct backtrace_state *state; member 987 state->target_state = in backtrace_initialize() 991 memset (state->target_state, 0, sizeof (*state->target_state)); in backtrace_initialize() 994 state->base_address, state->base_address_set, in backtrace_initialize() 1000 pd.state = state; in backtrace_initialize() 1013 if (!state->threaded) in backtrace_initialize() 1018 state->syminfo_fn = elf_nosyms; in backtrace_initialize() 1029 if (!state->threaded) in backtrace_initialize() [all …]
|
| A D | pecoff.c | 342 coff_initialize_syminfo (struct backtrace_state *state, in coff_initialize_syminfo() argument 474 coff_add_syminfo_data (struct backtrace_state *state, in coff_add_syminfo_data() argument 477 if (!state->threaded) in coff_add_syminfo_data() 544 if (!state->threaded) in coff_syminfo() 802 coff_add_syminfo_data (state, sdata); in coff_add() 907 if (!state->threaded) in backtrace_initialize() 910 state->syminfo_fn = coff_syminfo; in backtrace_initialize() 911 else if (state->syminfo_fn == NULL) in backtrace_initialize() 912 state->syminfo_fn = coff_nosyms; in backtrace_initialize() 922 if (!state->threaded) in backtrace_initialize() [all …]
|
| A D | print.c | 46 struct backtrace_state *state; member 73 if (pdata->state->filename != NULL) in error_callback() 74 fprintf (stderr, "%s: ", pdata->state->filename); in error_callback() 84 backtrace_print (struct backtrace_state *state, int skip, FILE *f) in backtrace_print() argument 88 data.state = state; in backtrace_print() 90 backtrace_full (state, skip + 1, print_callback, error_callback, in backtrace_print()
|
| A D | internal.h | 114 typedef int (*fileline) (struct backtrace_state *state, uintptr_t pc, 121 typedef void (*syminfo) (struct backtrace_state *state, uintptr_t pc, 196 extern int backtrace_get_view (struct backtrace_state *state, int descriptor, 202 extern void backtrace_release_view (struct backtrace_state *state, 222 extern void *backtrace_alloc (struct backtrace_state *state, size_t size, 229 extern void backtrace_free (struct backtrace_state *state, void *mem, 262 extern void* backtrace_vector_finish (struct backtrace_state *state, 270 extern int backtrace_vector_release (struct backtrace_state *state, 285 extern int backtrace_initialize (struct backtrace_state *state, 294 extern void backtrace_destroy_target (struct backtrace_state *state, [all …]
|
| A D | backtrace.c | 50 struct backtrace_state *state; member 91 bdata->ret = backtrace_pcinfo (bdata->state, pc, bdata->callback, in unwind() 102 backtrace_full (struct backtrace_state *state, int skip, in backtrace_full() argument 110 bdata.state = state; in backtrace_full() 118 p = backtrace_alloc (state, 4096, NULL, NULL); in backtrace_full() 123 backtrace_free (state, p, 4096, NULL, NULL); in backtrace_full()
|
| A D | alloc.c | 51 backtrace_alloc (struct backtrace_state *state ATTRIBUTE_UNUSED, in backtrace_alloc() 69 backtrace_free (struct backtrace_state *state ATTRIBUTE_UNUSED, in backtrace_free() 80 backtrace_vector_grow (struct backtrace_state *state ATTRIBUTE_UNUSED, in backtrace_vector_grow() 121 backtrace_vector_finish (struct backtrace_state *state, in backtrace_vector_finish() argument 131 if (!backtrace_vector_release (state, vec, error_callback, data)) in backtrace_vector_finish() 143 backtrace_vector_release (struct backtrace_state *state ATTRIBUTE_UNUSED, in backtrace_vector_release()
|
| A D | dwarf.c | 732 backtrace_free (state, abbrevs->abbrevs, in free_abbrevs() 1157 backtrace_alloc (state, in read_abbrevs() 1661 backtrace_free (state, hdr->filenames, in free_line_header() 1722 backtrace_alloc (state, in read_line_header() 1757 backtrace_alloc (state, in read_line_header() 2780 if (state->threaded) in dwarf_lookup_pc() 2792 if (state->threaded) in dwarf_lookup_pc() 2814 if (state->threaded) in dwarf_lookup_pc() 2832 if (!state->threaded) in dwarf_lookup_pc() 2957 if (!state->threaded) in dwarf_fileline() [all …]
|
| A D | read.c | 48 backtrace_get_view (struct backtrace_state *state, int descriptor, in backtrace_get_view() argument 61 view->base = backtrace_alloc (state, size, error_callback, data); in backtrace_get_view() 88 backtrace_release_view (struct backtrace_state *state, in backtrace_release_view() argument 93 backtrace_free (state, view->base, view->len, error_callback, data); in backtrace_release_view()
|
| A D | simple.c | 47 struct backtrace_state *state; member 94 backtrace_simple (struct backtrace_state *state, int skip, in backtrace_simple() argument 101 bdata.state = state; in backtrace_simple()
|
| A D | unknown.c | 43 unknown_fileline (struct backtrace_state *state ATTRIBUTE_UNUSED, in unknown_fileline() 56 backtrace_initialize (struct backtrace_state *state ATTRIBUTE_UNUSED, in backtrace_initialize() 61 state->fileline_data = NULL; in backtrace_initialize()
|
| /third_party/ulib/jemalloc/include/jemalloc/internal/ |
| A D | prng_inlines.h | 5 uint32_t prng_state_next_u32(uint32_t state); 6 uint64_t prng_state_next_u64(uint64_t state); 7 size_t prng_state_next_zu(size_t state); 21 prng_state_next_u32(uint32_t state) in prng_state_next_u32() argument 27 prng_state_next_u64(uint64_t state) in prng_state_next_u64() argument 33 prng_state_next_zu(size_t state) in prng_state_next_zu() argument 56 state0 = atomic_read_u32(state); in prng_lg_range_u32() 61 *state = state1; in prng_lg_range_u32() 78 *state = state1; in prng_lg_range_u64() 96 state0 = atomic_read_zu(state); in prng_lg_range_zu() [all …]
|
| A D | tsd_inlines.h | 36 if (unlikely(tsd->state != tsd_state_nominal)) { in tsd_fetch_impl() 37 if (tsd->state == tsd_state_uninitialized) { in tsd_fetch_impl() 38 tsd->state = tsd_state_nominal; in tsd_fetch_impl() 41 } else if (tsd->state == tsd_state_purgatory) { in tsd_fetch_impl() 42 tsd->state = tsd_state_reincarnated; in tsd_fetch_impl() 45 assert(tsd->state == tsd_state_reincarnated); in tsd_fetch_impl() 66 return (tsd->state == tsd_state_nominal); in tsd_nominal() 85 assert(tsd->state == tsd_state_nominal); \
|
| /third_party/ulib/uboringssl/crypto/err/ |
| A D | err.c | 227 if (state == NULL || state->bottom == state->top) { in get_error_values() 341 state->top = state->bottom = 0; in ERR_clear_error() 623 if (state == NULL || state->top == state->bottom) { in err_set_error_data() 628 error = &state->errors[state->top]; in err_set_error_data() 652 if (state->top == state->bottom) { in ERR_put_error() 656 error = &state->errors[state->top]; in ERR_put_error() 743 if (state == NULL || state->bottom == state->top) { in ERR_set_mark() 746 state->errors[state->top].mark = 1; in ERR_set_mark() 757 while (state->bottom != state->top) { in ERR_pop_to_mark() 804 if (state == NULL || state->top == state->bottom) { in ERR_save_state() [all …]
|
| /third_party/ulib/lz4/ |
| A D | xxhash.c | 589 XXH_memcpy((BYTE*)(state->mem32) + state->memsize, input, 16-state->memsize); in XXH32_update_endian() 593 state->v1 = XXH_rotl32(state->v1, 13); in XXH32_update_endian() 597 state->v2 = XXH_rotl32(state->v2, 13); in XXH32_update_endian() 601 state->v3 = XXH_rotl32(state->v3, 13); in XXH32_update_endian() 605 state->v4 = XXH_rotl32(state->v4, 13); in XXH32_update_endian() 678 …h32 = XXH_rotl32(state->v1, 1) + XXH_rotl32(state->v2, 7) + XXH_rotl32(state->v3, 12) + XXH_rotl32… in XXH32_digest_endian() 743 XXH_memcpy(((BYTE*)state->mem64) + state->memsize, input, 32-state->memsize); in XXH64_update_endian() 747 state->v1 = XXH_rotl64(state->v1, 31); in XXH64_update_endian() 751 state->v2 = XXH_rotl64(state->v2, 31); in XXH64_update_endian() 755 state->v3 = XXH_rotl64(state->v3, 31); in XXH64_update_endian() [all …]
|
| /third_party/ulib/jemalloc/test/unit/ |
| A D | stats_print.c | 137 } state = STATE_START; in parser_tokenize() local 146 switch (state) { in parser_tokenize() 155 state = STATE_EOI; in parser_tokenize() 158 state = STATE_N; in parser_tokenize() 161 state = STATE_F; in parser_tokenize() 164 state = STATE_T; in parser_tokenize() 213 state = STATE_NU; in parser_tokenize() 225 state = STATE_NUL; in parser_tokenize() 267 state = STATE_FA; in parser_tokenize() 279 state = STATE_FAL; in parser_tokenize() [all …]
|
| /third_party/ulib/backtrace/include/backtrace/ |
| A D | backtrace.h | 86 extern void backtrace_destroy_state (struct backtrace_state *state, 107 extern void backtrace_set_so_iterator (struct backtrace_state *state, 114 extern void backtrace_set_base_address (struct backtrace_state *state, 140 extern int backtrace_full (struct backtrace_state *state, int skip, 159 extern int backtrace_simple (struct backtrace_state *state, int skip, 169 extern void backtrace_print (struct backtrace_state *state, int skip, FILE *); 180 extern int backtrace_pcinfo (struct backtrace_state *state, uintptr_t pc, 206 extern int backtrace_syminfo (struct backtrace_state *state, uintptr_t addr,
|
| /third_party/ulib/musl/pthread/ |
| A D | pthread_attr_setdetachstate.c | 3 int pthread_attr_setdetachstate(pthread_attr_t* a, int state) { in pthread_attr_setdetachstate() argument 4 if (state != PTHREAD_CREATE_DETACHED && in pthread_attr_setdetachstate() 5 state != PTHREAD_CREATE_JOINABLE) in pthread_attr_setdetachstate() 7 a->_a_detach = state; in pthread_attr_setdetachstate()
|
| /third_party/ulib/cryptolib/ |
| A D | cryptolib.c | 152 A = ctx->state[0]; in _SHA256_transform() 153 B = ctx->state[1]; in _SHA256_transform() 154 C = ctx->state[2]; in _SHA256_transform() 155 D = ctx->state[3]; in _SHA256_transform() 156 E = ctx->state[4]; in _SHA256_transform() 157 F = ctx->state[5]; in _SHA256_transform() 158 G = ctx->state[6]; in _SHA256_transform() 159 H = ctx->state[7]; in _SHA256_transform() 258 A = ctx->state[0]; in _SHA1_transform() 259 B = ctx->state[1]; in _SHA1_transform() [all …]
|
| /third_party/ulib/musl/third_party/tre/ |
| A D | regexec.c | 246 reach_next_i->state = trans_i->state; in tre_tnfa_run_parallel() 305 reach_next_i->state = reach_i->state; in tre_tnfa_run_parallel() 325 for (trans_i = reach_i->state; trans_i->state; trans_i++) { in tre_tnfa_run_parallel() 347 reach_next_i->state = trans_i->state; in tre_tnfa_run_parallel() 502 state = stack->item.state; \ 602 state = NULL; in tre_tnfa_run_backtrack() 618 if (state == NULL) { in tre_tnfa_run_backtrack() 620 state = trans_i->state; in tre_tnfa_run_backtrack() 639 if (state == NULL) in tre_tnfa_run_backtrack() 664 trans_i = state; in tre_tnfa_run_backtrack() [all …]
|
| /third_party/ulib/uboringssl/crypto/fipsmodule/sha/ |
| A D | sha256.c | 235 a = state[0]; in sha256_block_data_order() 236 b = state[1]; in sha256_block_data_order() 237 c = state[2]; in sha256_block_data_order() 238 d = state[3]; in sha256_block_data_order() 239 e = state[4]; in sha256_block_data_order() 240 f = state[5]; in sha256_block_data_order() 241 g = state[6]; in sha256_block_data_order() 242 h = state[7]; in sha256_block_data_order() 306 state[0] += a; in sha256_block_data_order() 307 state[1] += b; in sha256_block_data_order() [all …]
|
| /third_party/ulib/lz4/include/lz4/ |
| A D | lz4hc.h | 71 int LZ4_compress_HC_extStateHC(void* state, const char* src, char* dst, int srcSize, int maxDstSize… 170 int LZ4_compressHC_withStateHC (void* state, const char* source, char* dest, int inpu… 171 int LZ4_compressHC_limitedOutput_withStateHC (void* state, const char* source, char* dest, int inpu… 172 int LZ4_compressHC2_withStateHC (void* state, const char* source, char* dest, int inpu… 173 int LZ4_compressHC2_limitedOutput_withStateHC(void* state, const char* source, char* dest, int inpu… 184 LZ4_DEPRECATED("use LZ4_resetStreamHC() instead") int LZ4_resetStreamStateHC(void* state, char* …
|
| /third_party/uapp/dash/src/ |
| A D | tab.c | 77 static void complete_at_dir(DIR* dir, completion_state_t* state, in complete_at_dir() argument 79 ZX_DEBUG_ASSERT(strchr(state->file_prefix, '/') == NULL); in complete_at_dir() 80 size_t file_prefix_len = strlen(state->file_prefix); in complete_at_dir() 84 if (strncmp(state->file_prefix, de->d_name, file_prefix_len)) { in complete_at_dir() 95 strncpy(completion, state->line_prefix, sizeof(completion)); in complete_at_dir() 98 strncat(completion, state->line_separator, remaining); in complete_at_dir()
|