/system/core/toolbox/ |
D | mkswap.c | 26 int err = 0; in mkswap_main() local 40 err = errno; in mkswap_main() 42 return err; in mkswap_main() 51 err = -ENOSPC; in mkswap_main() 52 goto err; in mkswap_main() 55 err = errno; in mkswap_main() 57 goto err; in mkswap_main() 66 err = errno; in mkswap_main() 68 goto err; in mkswap_main() 73 err = errno; in mkswap_main() [all …]
|
D | swapoff.c | 7 int err = 0; in swapoff_main() local 14 err = swapoff(argv[1]); in swapoff_main() 15 if (err) { in swapoff_main() 19 return err; in swapoff_main()
|
D | swapon.c | 22 int err = 0; in swapon_main() local 60 err = swapon(argv[argc - 1], flags); in swapon_main() 61 if (err) { in swapon_main() 65 return err; in swapon_main()
|
D | ls.c | 371 int err; in listdir() local 388 err = stat(tmp, &s); in listdir() 390 err = lstat(tmp, &s); in listdir() 392 if (err < 0) { in listdir() 417 int err; in listpath() local 424 err = stat(name, &s); in listpath() 426 err = lstat(name, &s); in listpath() 428 if (err < 0) { in listpath() 449 int err = 0; in ls_main() local 482 err = EXIT_FAILURE; in ls_main() [all …]
|
/system/core/libsuspend/ |
D | autosuspend_earlysuspend.c | 50 int err = 0; in wait_for_fb_wake() local 55 err = read(fd, &buf, 1); in wait_for_fb_wake() 56 } while (err < 0 && errno == EINTR); in wait_for_fb_wake() 57 ALOGE_IF(err < 0, in wait_for_fb_wake() 60 return err < 0 ? err : 0; in wait_for_fb_wake() 65 int err = 0; in wait_for_fb_sleep() local 70 err = read(fd, &buf, 1); in wait_for_fb_sleep() 71 } while (err < 0 && errno == EINTR); in wait_for_fb_sleep() 72 ALOGE_IF(err < 0, in wait_for_fb_sleep() 75 return err < 0 ? err : 0; in wait_for_fb_sleep() [all …]
|
D | autosuspend_autosleep.c | 47 goto err; in autosuspend_autosleep_enable() 54 err: in autosuspend_autosleep_enable() 69 goto err; in autosuspend_autosleep_disable() 76 err: in autosuspend_autosleep_disable()
|
/system/core/libsync/ |
D | sync.c | 40 int err; in sync_merge() local 45 err = ioctl(fd1, SYNC_IOC_MERGE, &data); in sync_merge() 46 if (err < 0) in sync_merge() 47 return err; in sync_merge() 55 int err; in sync_fence_info() local 62 err = ioctl(fd, SYNC_IOC_FENCE_INFO, info); in sync_fence_info() 63 if (err < 0) { in sync_fence_info() 106 int err; in sw_sync_fence_create() local 111 err = ioctl(fd, SW_SYNC_IOC_CREATE_FENCE, &data); in sw_sync_fence_create() 112 if (err < 0) in sw_sync_fence_create() [all …]
|
D | sync_test.c | 39 int err; in sync_thread() local 43 err = sync_wait(sync_data->fd[i], 10000); in sync_thread() 46 if (err < 0) { in sync_thread() 123 int err; in main() local 126 err = sw_sync_timeline_inc(sync_timeline_fd, 1); in main() 127 if (err < 0) { in main()
|
/system/security/keystore/ |
D | IKeystoreService.cpp | 65 int32_t err = reply.readExceptionCode(); in test() local 67 if (err < 0) { in test() 68 ALOGD("test() caught exception %d\n", err); in test() 84 int32_t err = reply.readExceptionCode(); in get() local 100 if (err < 0) { in get() 101 ALOGD("get() caught exception %d\n", err); in get() 123 int32_t err = reply.readExceptionCode(); in insert() local 125 if (err < 0) { in insert() 126 ALOGD("import() caught exception %d\n", err); in insert() 143 int32_t err = reply.readExceptionCode(); in del() local [all …]
|
/system/core/libcutils/ |
D | socket_local_server.c | 60 int err; local 62 err = socket_make_sockaddr_un(name, namespaceId, &addr, &alen); 64 if (err < 0) { 99 int err; local 105 err = socket_local_server_bind(s, name, namespace); 107 if (err < 0) {
|
/system/core/adf/libadfhwc/ |
D | adfhwc.cpp | 91 int err = adf_get_interface_data(dev->intf_fds[disp], &data); in adf_getDisplayConfigs() local 92 if (err < 0) { in adf_getDisplayConfigs() 93 ALOGE("failed to get ADF interface data: %s", strerror(err)); in adf_getDisplayConfigs() 94 return err; in adf_getDisplayConfigs() 154 int err = adf_get_interface_data(dev->intf_fds[disp], &data); in adf_getDisplayAttributes() local 155 if (err < 0) { in adf_getDisplayAttributes() 156 ALOGE("failed to get ADF interface data: %s", strerror(err)); in adf_getDisplayAttributes() 157 return err; in adf_getDisplayAttributes() 171 int err = adf_read_event(dev->intf_fds[disp], &event); in handle_adf_event() local 172 if (err < 0) { in handle_adf_event() [all …]
|
/system/core/adf/libadf/ |
D | adf.c | 88 int err; in adf_device_open() local 108 int err; in adf_get_device_data() local 113 err = ioctl(dev->fd, ADF_GET_DEVICE_DATA, data); in adf_get_device_data() 114 if (err < 0) in adf_get_device_data() 142 err = ioctl(dev->fd, ADF_GET_DEVICE_DATA, data); in adf_get_device_data() 143 if (err < 0) in adf_get_device_data() 164 int err; in adf_device_post() local 175 err = ioctl(dev->fd, ADF_POST_CONFIG, &data); in adf_device_post() 176 if (err < 0) in adf_device_post() 185 int err; in adf_device_attachment() local [all …]
|
/system/core/toolbox/upstream-netbsd/bin/dd/ |
D | position.c | 75 err(EXIT_FAILURE, "%s", in.name); in pos_in() 122 err(EXIT_FAILURE, "%s", in.name); in pos_in() 142 err(EXIT_FAILURE, "%s", out.name); in pos_out() 153 err(EXIT_FAILURE, "%s", out.name); in pos_out() 164 err(EXIT_FAILURE, "%s", out.name); in pos_out() 175 err(EXIT_FAILURE, "%s", out.name); in pos_out() 181 err(EXIT_FAILURE, "%s", out.name); in pos_out()
|
D | dd.c | 129 err(1, "prog init"); in main() 165 err(EXIT_FAILURE, "%s", in.name); in setup() 200 err(EXIT_FAILURE, "%s", out.name); in setup() 219 err(EXIT_FAILURE, NULL); in setup() 226 err(EXIT_FAILURE, NULL); in setup() 290 err(EXIT_FAILURE, "%s", io->name); in getfdtype() 324 err(EXIT_FAILURE, "dupfd IO"); in redup_clean_fd() 370 err(EXIT_FAILURE, "%s", in.name); in dd_in() 473 err(EXIT_FAILURE, "fsync stdout"); in dd_close() 477 err(EXIT_FAILURE, "close"); in dd_close() [all …]
|
/system/core/adb/ |
D | get_my_path_freebsd.c | 32 int err = readlink(proc, exe, maxLen - 1); in get_my_path() local 34 exe[err > 0 ? err : 0] = '\0'; in get_my_path()
|
D | get_my_path_linux.c | 26 int err = readlink(proc, exe, maxLen - 1); in get_my_path() local 27 if(err > 0) { in get_my_path() 28 exe[err] = '\0'; in get_my_path()
|
D | usb_linux_client.c | 272 goto err; in init_functionfs() 278 goto err; in init_functionfs() 284 goto err; in init_functionfs() 291 goto err; in init_functionfs() 297 goto err; in init_functionfs() 302 err: in init_functionfs() 418 int err; in usb_ffs_kick() local 420 err = ioctl(h->bulk_in, FUNCTIONFS_CLEAR_HALT); in usb_ffs_kick() 421 if (err < 0) in usb_ffs_kick() 424 err = ioctl(h->bulk_out, FUNCTIONFS_CLEAR_HALT); in usb_ffs_kick() [all …]
|
/system/core/fastboot/ |
D | util_linux.c | 43 int err = readlink(proc, path, PATH_MAX - 1); in get_my_path() local 45 if(err <= 0) { in get_my_path() 48 path[err] = 0; in get_my_path()
|
/system/core/toolbox/upstream-netbsd/bin/rm/ |
D | rm.c | 189 err(1, "fts_open failed"); in rm_tree() 278 err(1, "fts_read"); in rm_tree() 410 goto err; in rm_overwrite() 418 goto err; in rm_overwrite() 421 goto err; in rm_overwrite() 427 goto err; in rm_overwrite() 439 goto err; \ in rm_overwrite() 451 goto err; \ in rm_overwrite() 463 goto err; \ in rm_overwrite() 469 goto err; \ in rm_overwrite() [all …]
|
/system/extras/verity/ |
D | VeritySigner.java | 28 System.err.println("usage: VeritySigner <contentfile> <key.pk8> " + in usage() 53 System.err.println("Signature is VALID"); in main() 56 System.err.println("Signature is INVALID"); in main() 59 e.printStackTrace(System.err); in main()
|
/system/core/fastbootd/ |
D | secure.c | 116 unsigned long err = ERR_peek_last_error(); in cert_read() local 117 D(ERR, "Unable to parse input file: %s", ERR_lib_error_string(err)); in cert_read() 152 unsigned long err = ERR_peek_last_error(); in cert_verify() local 153 …"Verification failed with reason: %s, %s", ERR_lib_error_string(err), ERR_error_string(err, buf)); in cert_verify()
|
D | usb_linux_client.c | 169 goto err; in init_functionfs() 175 goto err; in init_functionfs() 181 goto err; in init_functionfs() 187 goto err; in init_functionfs() 193 goto err; in init_functionfs() 198 err: in init_functionfs() 248 int err; in usb_close() local 252 err = ioctl(usb_transport->bulk_in, FUNCTIONFS_CLEAR_HALT); in usb_close() 253 if (err < 0) in usb_close() 256 err = ioctl(usb_transport->bulk_out, FUNCTIONFS_CLEAR_HALT); in usb_close() [all …]
|
/system/core/libpixelflinger/tests/codegen/ |
D | codegen.cpp | 63 int err = assembler.scanline(needs, (context_t*)c); in ggl_test_codegen() local 64 if (err != 0) { in ggl_test_codegen() 65 printf("error %08x (%s)\n", err, strerror(-err)); in ggl_test_codegen()
|
/system/core/logcat/ |
D | logcat.cpp | 74 int err; in rotateLogs() local 94 err = rename (file0, file1); in rotateLogs() 96 if (err < 0 && errno != ENOENT) { in rotateLogs() 125 int err; in processBuffer() local 130 err = android_log_processBinaryLogBuffer(&buf->entry_v1, &entry, in processBuffer() 137 err = android_log_processLogBuffer(&buf->entry_v1, &entry); in processBuffer() 139 if (err < 0) { in processBuffer() 313 int err; in main() local 539 err = setLogFormat (optarg); in main() 540 if (err < 0) { in main() [all …]
|
/system/core/libzipfile/ |
D | zipfile.c | 12 int err; in init_zipfile() local 20 err = read_central_dir(file); in init_zipfile() 21 if (err != 0) goto fail; in init_zipfile() 82 int err = 0; in uninflate() local 107 err = -1; in uninflate() 111 return err; in uninflate()
|