/bionic/libc/kernel/tools/ |
D | kernel.py | 67 def __init__(self,config={}): argument 69 self.reset() 70 self.config = config 72 def reset(self,config={}): argument 73 self.files = set() # set of files being parsed for headers 74 self.headers = {} # maps headers to set of users 75 self.config = config 77 def checkInclude(self, line, from_file, kernel_root=None): argument 87 self.files.add(from_file) 98 if not header in self.headers: [all …]
|
D | cpp.py | 106 def __init__(self, tu=None, group=None, int_data=None, ptr_data=None, argument 108 clang.cindex.Token.__init__(self) 109 self._id = None 110 self._tu = tu 111 self._group = group 112 self._cursor = cursor 116 self.int_data = int_data 117 self.ptr_data = ptr_data 120 def id(self): argument 122 if self._id is None: [all …]
|
D | utils.py | 39 def __init__(self): argument 40 self.line = "" 42 def write(self,msg): argument 43 self.line += msg 46 def get(self): argument 47 return self.line 70 def __init__(self): argument 71 self.old_files = set() 72 self.new_files = set() 73 self.new_data = {} [all …]
|
/bionic/libc/tools/ |
D | genserv.py | 18 def __init__(self,name,port,proto): argument 19 self.name = name 20 self.port = port 21 self.proto = proto 22 self.aliases = [] 24 def add_alias(self,alias): argument 25 self.aliases.append(alias) 27 def __str__(self): argument 28 result = "\\%0o%s" % (len(self.name),self.name) 29 result += "\\%0o\\%0o" % (((self.port >> 8) & 255), self.port & 255) [all …]
|
D | gensyscalls.py | 404 def __init__(self): argument 405 self.syscalls = [] 406 self.lineno = 0 408 def E(self, msg): argument 409 print "%d: %s" % (self.lineno, msg) 411 def parse_line(self, line): argument 418 E = self.E 499 self.syscalls.append(t) 504 def parse_file(self, file_path): argument 508 self.lineno += 1 [all …]
|
D | genlibgcc_compat.py | 77 def process(self): argument
|
D | genversion-scripts.py | 34 def run(self): argument
|
/bionic/libc/bionic/ |
D | fork.cpp | 39 pthread_internal_t* self = __get_thread(); in fork() local 42 pid_t parent_pid = self->invalidate_cached_pid(); in fork() 45 int result = syscall(__NR_clone, FORK_FLAGS, NULL, NULL, &(self->tid), NULL); in fork() 47 int result = syscall(__NR_clone, FORK_FLAGS, NULL, NULL, NULL, &(self->tid)); in fork() 50 self->set_cached_pid(gettid()); in fork() 53 self->set_cached_pid(parent_pid); in fork()
|
D | getpid.cpp | 36 pthread_internal_t* self = __get_thread(); in getpid() local 40 if (__predict_true(self->get_cached_pid(&cached_pid))) { in getpid()
|
D | clone.cpp | 70 pthread_internal_t* self = __get_thread(); in clone() local 71 pid_t parent_pid = self->invalidate_cached_pid(); in clone() 81 self->set_cached_pid(parent_pid); in clone()
|
/bionic/tools/bionicbb/ |
D | test_tasks.py | 11 def test_accepts_googlers(self, mock_commit, *other_checks): argument 20 self.assertFalse(presubmit.should_skip_build({ 29 def test_rejects_googlish_domains(self, mock_commit, *other_checks): argument 38 self.assertTrue(presubmit.should_skip_build({ 47 def test_rejects_non_googlers(self, mock_commit, *other_checks): argument 56 self.assertTrue(presubmit.should_skip_build({ 65 def test_skips_cleanspecs(self, mock_files, *other_checks): argument 71 self.assertTrue(presubmit.should_skip_build({ 80 def test_skips_bionicbb(self, mock_files, *other_checks): argument 86 self.assertTrue(presubmit.should_skip_build({
|
D | gerrit.py | 21 def __init__(self, code, url): argument 22 self.code = code 23 self.url = url 24 super(GerritError, self).__init__('Error {}: {}'.format(code, url))
|
/bionic/libc/kernel/uapi/linux/ |
D | scif_ioctl.h | 29 struct scif_port_id self; member 86 __u64 self; member
|
/bionic/tests/ |
D | dlfcn_test.cpp | 54 void* self = dlopen(nullptr, RTLD_NOW); in TEST() local 55 ASSERT_TRUE(self != nullptr); in TEST() 58 void* sym = dlsym(self, "DlSymTestFunction"); in TEST() 67 ASSERT_EQ(0, dlclose(self)); in TEST() 722 void* self = dlopen("/does/not/exist", RTLD_NOW); in TEST() local 723 ASSERT_TRUE(self == nullptr); in TEST() 754 void* self = dlopen(nullptr, RTLD_NOW); in TEST() local 755 ASSERT_TRUE(self != nullptr); in TEST() 769 sym = dlsym(self, "ThisSymbolDoesNotExist"); in TEST() 773 ASSERT_EQ(0, dlclose(self)); in TEST() [all …]
|
/bionic/libm/ |
D | Android.bp | 267 // self recursions for lrint, lrintf, and lrintl.
|