/system/core/toolbox/ |
H A D | swapoff.c | 7 int err = 0; local 14 err = swapoff(argv[1]); 15 if (err) { 19 return err;
|
H A D | mkswap.c | 26 int err = 0; local 40 err = errno; 42 return err; 51 err = -ENOSPC; 52 goto err; 55 err = errno; 57 goto err; 66 err = errno; 68 goto err; 73 err [all...] |
H A D | swapon.c | 22 int err = 0; local 60 err = swapon(argv[argc - 1], flags); 61 if (err) { 65 return err;
|
/system/core/adb/ |
H A D | get_my_path_freebsd.c | 32 int err = readlink(proc, exe, maxLen - 1); local 34 exe[err > 0 ? err : 0] = '\0';
|
H A D | get_my_path_linux.c | 26 int err = readlink(proc, exe, maxLen - 1); local 27 if(err > 0) { 28 exe[err] = '\0';
|
/system/core/fastboot/ |
H A D | util_linux.c | 43 int err = readlink(proc, path, PATH_MAX - 1); local 45 if(err <= 0) { 48 path[err] = 0;
|
/system/core/libsync/ |
H A D | sync.c | 40 int err; local 45 err = ioctl(fd1, SYNC_IOC_MERGE, &data); 46 if (err < 0) 47 return err; 55 int err; local 62 err = ioctl(fd, SYNC_IOC_FENCE_INFO, info); 63 if (err < 0) { 106 int err; local 111 err = ioctl(fd, SW_SYNC_IOC_CREATE_FENCE, &data); 112 if (err < [all...] |
H A D | sync_test.c | 39 int err; local 43 err = sync_wait(sync_data->fd[i], 10000); 46 if (err < 0) { 123 int err; local 126 err = sw_sync_timeline_inc(sync_timeline_fd, 1); 127 if (err < 0) {
|
/system/core/libsuspend/ |
H A D | autosuspend_earlysuspend.c | 50 int err = 0; local 55 err = read(fd, &buf, 1); 56 } while (err < 0 && errno == EINTR); 57 ALOGE_IF(err < 0, 60 return err < 0 ? err : 0; 65 int err = 0; local 70 err = read(fd, &buf, 1); 71 } while (err < 0 && errno == EINTR); 72 ALOGE_IF(err < [all...] |
H A D | autosuspend_autosleep.c | 47 goto err; 54 err: 69 goto err; 76 err:
|
/system/core/libcutils/ |
H A 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/toolbox/upstream-netbsd/bin/dd/ |
H A D | position.c | 51 #include <err.h> 75 err(EXIT_FAILURE, "%s", in.name); 122 err(EXIT_FAILURE, "%s", in.name); 142 err(EXIT_FAILURE, "%s", out.name); 153 err(EXIT_FAILURE, "%s", out.name); 164 err(EXIT_FAILURE, "%s", out.name); 175 err(EXIT_FAILURE, "%s", out.name); 181 err(EXIT_FAILURE, "%s", out.name);
|
H A D | dd.c | 57 #include <err.h> 129 err(1, "prog init"); 165 err(EXIT_FAILURE, "%s", in.name); 200 err(EXIT_FAILURE, "%s", out.name); 219 err(EXIT_FAILURE, NULL); 226 err(EXIT_FAILURE, NULL); 290 err(EXIT_FAILURE, "%s", io->name); 324 err(EXIT_FAILURE, "dupfd IO"); 370 err(EXIT_FAILURE, "%s", in.name); 473 err(EXIT_FAILUR [all...] |
/system/core/libpixelflinger/tests/codegen/ |
H A D | codegen.cpp | 63 int err = assembler.scanline(needs, (context_t*)c); local 64 if (err != 0) { 65 printf("error %08x (%s)\n", err, strerror(-err));
|
/system/security/keystore/ |
H A D | IKeystoreService.cpp | 65 int32_t err = reply.readExceptionCode(); local 67 if (err < 0) { 68 ALOGD("test() caught exception %d\n", err); 84 int32_t err = reply.readExceptionCode(); local 100 if (err < 0) { 101 ALOGD("get() caught exception %d\n", err); 123 int32_t err = reply.readExceptionCode(); local 125 if (err < 0) { 126 ALOGD("import() caught exception %d\n", err); 143 int32_t err local 163 int32_t err = reply.readExceptionCode(); local 183 int32_t err = reply.readExceptionCode(); local 205 int32_t err = reply.readExceptionCode(); local 224 int32_t err = reply.readExceptionCode(); local 242 int32_t err = reply.readExceptionCode(); local 261 int32_t err = reply.readExceptionCode(); local 279 int32_t err = reply.readExceptionCode(); local 311 int32_t err = reply.readExceptionCode(); local 336 int32_t err = reply.readExceptionCode(); local 359 int32_t err = reply.readExceptionCode(); local 401 int32_t err = reply.readExceptionCode(); local 420 int32_t err = reply.readExceptionCode(); local 454 int32_t err = reply.readExceptionCode(); local 474 int32_t err = reply.readExceptionCode(); local 494 int32_t err = reply.readExceptionCode(); local 513 int32_t err = reply.readExceptionCode(); local 536 int32_t err = reply.readExceptionCode(); local 555 int32_t err = reply.readExceptionCode(); local 574 int32_t err = reply.readExceptionCode(); local 592 int32_t err = reply.readExceptionCode(); local 613 int32_t err = reply.readExceptionCode(); local 633 int32_t err = reply.readExceptionCode(); local [all...] |
/system/core/adf/libadf/ |
H A D | adf.c | 88 int err; local 108 int err; local 113 err = ioctl(dev->fd, ADF_GET_DEVICE_DATA, data); 114 if (err < 0) 142 err = ioctl(dev->fd, ADF_GET_DEVICE_DATA, data); 143 if (err < 0) 164 int err; local 175 err = ioctl(dev->fd, ADF_POST_CONFIG, &data); 176 if (err < 0) 185 int err; local 347 int err; local 389 int err = ioctl(fd, ADF_BLANK, mode); local 397 int err = ioctl(fd, ADF_SET_MODE, mode); local 406 int err; local 585 int err; local 631 int err = adf_get_overlay_engine_data(fd, &data); local 653 int err = ioctl(fd, ADF_SET_EVENT, &data); local 669 int err = read(fd, &header, sizeof(header)); local [all...] |
/system/core/adf/libadfhwc/ |
H A D | adfhwc.cpp | 91 int err = adf_get_interface_data(dev->intf_fds[disp], &data); local 92 if (err < 0) { 93 ALOGE("failed to get ADF interface data: %s", strerror(err)); 94 return err; 154 int err = adf_get_interface_data(dev->intf_fds[disp], &data); local 155 if (err < 0) { 156 ALOGE("failed to get ADF interface data: %s", strerror(err)); 157 return err; 171 int err = adf_read_event(dev->intf_fds[disp], &event); local 172 if (err < 217 int err = poll(fds, dev->intf_fds.size(), -1); local [all...] |
/system/core/fastbootd/ |
H A D | secure.c | 116 unsigned long err = ERR_peek_last_error(); local 117 D(ERR, "Unable to parse input file: %s", ERR_lib_error_string(err)); 152 unsigned long err = ERR_peek_last_error(); local 153 D(ERR, "Verification failed with reason: %s, %s", ERR_lib_error_string(err), ERR_error_string(err, buf));
|
H A D | usb_linux_client.c | 169 goto err; 175 goto err; 181 goto err; 187 goto err; 193 goto err; 198 err: 248 int err; local 252 err = ioctl(usb_transport->bulk_in, FUNCTIONFS_CLEAR_HALT); 253 if (err < 0) 256 err [all...] |
/system/core/toolbox/upstream-netbsd/bin/rm/ |
H A D | rm.c | 50 #include <err.h> 189 err(1, "fts_open failed"); 278 err(1, "fts_read"); 410 goto err; 418 goto err; 421 goto err; 427 goto err; 439 goto err; \ 451 goto err; \ 463 goto err; \ [all...] |
/system/core/libzipfile/ |
H A D | zipfile.c | 12 int err; local 20 err = read_central_dir(file); 21 if (err != 0) goto fail; 82 int err = 0; local 107 err = -1; 111 return err;
|
H A D | test_zipfile.c | 17 int err;
local 79 err = decompress_zipentry(entry, scratch, size);
80 if (err != 0) {
|
H A D | centraldir.c | 152 int err;
local 188 err = read_central_dir_values(file, eocd, (buf+bufsize)-eocd);
189 if (err != 0) {
207 err = read_central_directory_entry(file, entry, &p, &len);
208 if (err != 0) {
|
/system/core/libmemtrack/ |
H A D | memtrack.c | 41 int err; local 47 err = hw_get_module(MEMTRACK_HARDWARE_MODULE_ID, 49 if (err) { 51 strerror(-err)); 52 return err;
|
/system/core/toolbox/upstream-netbsd/sbin/chown/ |
H A D | chown.c | 51 #include <err.h> 183 err(EXIT_FAILURE, "Cannot stat `%s'", reference); 190 err(EXIT_FAILURE, "fts_open"); 244 err(EXIT_FAILURE, "fts_read"); 286 err(EXIT_FAILURE, "%s", name);
|