Home
last modified time | relevance | path

Searched refs:self (Results 1 – 19 of 19) sorted by relevance

/third_party/tools/android/avb/
A Davbtool1051 self.data = data[self.SIZE:self.SIZE + num_bytes_following]
1137 self.key = data[self.SIZE:(self.SIZE + key_size)]
1243 self.tree_offset, self.tree_size, self.data_block_size,
1244 self.hash_block_size, self.fec_num_roots, self.fec_offset, self.fec_size,
1261 self.salt = data[(self.SIZE + o):(self.SIZE + o + salt_len)]
1439 self.salt = data[(self.SIZE + o):(self.SIZE + o + salt_len)]
1564 self.kernel_cmdline = str(data[self.SIZE:(self.SIZE +
1813 (self.magic, self.version_major, self.version_minor,
1816 if self.magic != self.MAGIC:
1819 self.magic = self.MAGIC
[all …]
/third_party/ulib/musl/pthread/
A Dpthread_create.c19 pthread_t self = arg; in prestart() local
20 zxr_tp_set(zxr_thread_get_handle(&self->zxr_thread), pthread_to_tp(self)); in prestart()
21 __sanitizer_thread_start_hook(self->sanitizer_hook, (thrd_t)self); in prestart()
22 return self; in prestart()
26 pthread_t self = prestart(arg); in start_pthread() local
27 __pthread_exit(self->start(self->start_arg)); in start_pthread()
125 __sanitizer_thread_exit_hook(self->sanitizer_hook, (thrd_t)self); in finish_exit()
150 [self]"D"(self)); in finish_exit()
159 [self]"r"(self)); in finish_exit()
169 self->result = result; in __pthread_exit()
[all …]
A Dpthread_setspecific.c4 struct pthread* self = __pthread_self(); in pthread_setspecific() local
6 if (self->tsd[k] != x) { in pthread_setspecific()
7 self->tsd[k] = (void*)x; in pthread_setspecific()
8 self->tsd_used = 1; in pthread_setspecific()
A Dpthread_getspecific.c5 struct pthread* self = __pthread_self(); in __pthread_getspecific() local
6 return self->tsd[k]; in __pthread_getspecific()
/third_party/ulib/musl/src/ldso/
A Ddlerror.c8 thrd_t self = __thrd_current(); in dlerror() local
9 if (!self->dlerror_flag) in dlerror()
11 self->dlerror_flag = 0; in dlerror()
12 char* s = self->dlerror_buf; in dlerror()
20 thrd_t self = __thrd_current(); in __dl_thread_cleanup() local
21 if (self->dlerror_buf != (void*)-1) in __dl_thread_cleanup()
22 free(self->dlerror_buf); in __dl_thread_cleanup()
28 thrd_t self = __thrd_current(); in __dl_vseterr() local
30 free(self->dlerror_buf); in __dl_vseterr()
39 self->dlerror_buf = buf; in __dl_vseterr()
[all …]
/third_party/ulib/musl/src/exit/
A D__cxa_thread_atexit.c19 thrd_t self = __thrd_current(); in __tls_run_dtors() local
20 while (self->tls_dtors) { in __tls_run_dtors()
21 cur = self->tls_dtors; in __tls_run_dtors()
22 self->tls_dtors = self->tls_dtors->next; in __tls_run_dtors()
39 thrd_t self = __thrd_current(); in __cxa_thread_atexit_impl() local
40 new_td->next = self->tls_dtors; in __cxa_thread_atexit_impl()
41 self->tls_dtors = new_td; in __cxa_thread_atexit_impl()
/third_party/ulib/musl/src/thread/
A Dtss_set.c5 thrd_t self = __thrd_current(); in tss_set() local
7 if (self->tsd[k] != x) { in tss_set()
8 self->tsd[k] = x; in tss_set()
9 self->tsd_used = 1; in tss_set()
A Dtss.c36 thrd_t self = __thrd_current(); in __thread_tsd_run_dtors() local
37 int i, j, not_finished = self->tsd_used; in __thread_tsd_run_dtors()
41 if (self->tsd[i] && atomic_load(&keys[i])) { in __thread_tsd_run_dtors()
42 void* tmp = self->tsd[i]; in __thread_tsd_run_dtors()
43 self->tsd[i] = 0; in __thread_tsd_run_dtors()
A D__tls_get_addr.c6 thrd_t self = __thrd_current(); in __tls_get_addr() local
7 if (v[0] <= (size_t)self->head.dtv[0]) in __tls_get_addr()
8 return (char*)self->head.dtv[v[0]] + v[1] + DTP_OFFSET; in __tls_get_addr()
/third_party/ulib/musl/src/locale/
A Duselocale.c6 thrd_t self = __thrd_current(); in __uselocale() local
7 locale_t old = self->locale; in __uselocale()
11 self->locale = new == LC_GLOBAL_LOCALE ? global : new; in __uselocale()
/third_party/tools/android/
A Dmkbootimg78 def __init__(self, option_strings, dest, nargs=None, **kwargs):
81 self.maxlen = int(kwargs['maxlen'])
83 super(ValidateStrLenAction, self).__init__(option_strings, dest, **kwargs)
85 def __call__(self, parser, namespace, values, option_string=None):
86 if len(values) > self.maxlen:
88 format(self.maxlen, len(values)))
89 setattr(namespace, self.dest, values)
/third_party/ulib/musl/sanitizers/
A Dhooks.c27 __WEAK void __sanitizer_thread_start_hook(void* hook, thrd_t self) { in __sanitizer_thread_start_hook() argument
31 __WEAK void __sanitizer_thread_exit_hook(void* hook, thrd_t self) { in __sanitizer_thread_exit_hook() argument
/third_party/ulib/musl/include/zircon/
A Dsanitizer.h137 __EXPORT void __sanitizer_thread_start_hook(void* hook, thrd_t self);
142 __EXPORT void __sanitizer_thread_exit_hook(void* hook, thrd_t self);
/third_party/ulib/jemalloc/src/
A Dtsd.c169 pthread_t self = pthread_self(); in tsd_init_check_recursion() local
175 if (iter->thread == self) { in tsd_init_check_recursion()
182 block->thread = self; in tsd_init_check_recursion()
/third_party/ulib/jemalloc/bin/
A Djeprof.in3644 bless $self, $class;
3650 my $slots = $self->{slots};
3652 read($self->{file}, $str, 8);
3689 return $self;
3694 my ($self) = @_;
3695 my $slots = $self->{slots};
3698 read($self->{file}, $str, $self->{stride});
3728 my ($self, $idx) = @_;
3729 my $slots = $self->{slots};
3731 if ($idx < $self->{base}) {
[all …]
/third_party/lib/jitterentropy/
A DCHANGES.md7 * Add FIPS 140-2 continuous self test code
/third_party/lib/acpica/generate/unix/
A DMakefile.config192 -Winit-self\
/third_party/ulib/musl/ldso/
A Ddynlink.c1610 pthread_t self = __pthread_self(); in __tls_get_new() local
1612 if (v[0] <= (size_t)self->head.dtv[0]) { in __tls_get_new()
1613 return (char*)self->head.dtv[v[0]] + v[1] + DTP_OFFSET; in __tls_get_new()
1625 if (v[0] > (size_t)self->head.dtv[0]) { in __tls_get_new()
1627 memcpy(newdtv, self->head.dtv, ((size_t)self->head.dtv[0] + 1) * sizeof(void*)); in __tls_get_new()
1629 self->head.dtv = newdtv; in __tls_get_new()
1635 if (!p->tls_id || self->head.dtv[p->tls_id]) in __tls_get_new()
1639 self->head.dtv[p->tls_id] = mem; in __tls_get_new()
/third_party/ulib/musl/
A DWHATSNEW679 - make musl-gcc wrapper support -lgcc (mainly for self-hosting)
1027 - gcc 4.8.x generating self-referential (infinite recursion) memcpy/memset

Completed in 37 milliseconds