Searched refs:err (Results 1 - 25 of 100) sorted by relevance

1234

/system/core/adb/
H A Dget_my_path_linux.cpp28 int err = readlink(proc, exe, maxLen - 1); local
29 if(err > 0) {
30 exe[err] = '\0';
/system/core/fastboot/
H A Dutil_linux.c43 int err = readlink(proc, path, PATH_MAX - 1); local
45 if(err <= 0) {
48 path[err] = 0;
/system/core/adf/libadf/tests/
H A Dadf_test.cpp29 int err = adf_device_open(dev_id, O_RDWR, &dev); local
30 ASSERT_GE(err, 0) << "opening ADF device " << dev_id <<
31 " failed: " << strerror(-err);
33 err = adf_find_simple_post_configuration(&dev, fmt8888, n_fmt8888,
35 ASSERT_GE(err, 0) << "finding ADF configuration failed: " <<
36 strerror(-err);
57 int err = adf_get_overlay_engine_data(eng, &data); local
58 ASSERT_GE(err, 0) << "getting ADF overlay engine data failed: " <<
59 strerror(-err);
97 int err local
111 int err = adf_interface_blank(intf, mode); local
[all...]
/system/core/libsync/
H A Dsync.c41 int err; local
46 err = ioctl(fd1, SYNC_IOC_MERGE, &data);
47 if (err < 0)
48 return err;
56 int err; local
63 err = ioctl(fd, SYNC_IOC_FENCE_INFO, info);
64 if (err < 0) {
107 int err; local
112 err = ioctl(fd, SW_SYNC_IOC_CREATE_FENCE, &data);
113 if (err <
[all...]
H A Dsync_test.c39 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/libcutils/
H A Dsocket_local_server.c60 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) {
H A Dsocket_local_client.c131 int err; local
133 err = socket_make_sockaddr_un(name, namespaceId, &addr, &alen);
135 if (err < 0) {
/system/core/libsuspend/
H A Dautosuspend_earlysuspend.c50 int err = 0; local
54 err = TEMP_FAILURE_RETRY(read(fd, &buf, 1));
55 ALOGE_IF(err < 0,
58 return err < 0 ? err : 0;
63 int err = 0; local
67 err = TEMP_FAILURE_RETRY(read(fd, &buf, 1));
68 ALOGE_IF(err < 0,
71 return err < 0 ? err
[all...]
H A Dautosuspend_autosleep.c47 goto err;
54 err:
69 goto err;
76 err:
/system/core/toolbox/upstream-netbsd/bin/dd/
H A Dposition.c51 #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 Ddd.c57 #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/extras/verity/
H A DVeritySigner.java28 System.err.println("usage: VeritySigner <contentfile> <key.pk8> " +
53 System.err.println("Signature is VALID");
56 System.err.println("Signature is INVALID");
59 e.printStackTrace(System.err);
/system/extras/tests/pagingtest/
H A Dpageinout_test.c43 goto err;
58 goto err;
67 goto err;
74 goto err;
85 err:
H A Dpagingtest.c55 goto err;
60 goto err;
65 goto err;
70 goto err;
76 goto err;
83 err:
/system/core/fingerprintd/
H A DFingerprintDaemonProxy.cpp181 int err; local
183 if (0 != (err = hw_get_module(FINGERPRINT_HARDWARE_MODULE_ID, &hw_module))) {
184 ALOGE("Can't open fingerprint HW Module, error: %d", err);
201 if (0 != (err = mModule->common.methods->open(hw_module, NULL, &device))) {
202 ALOGE("Can't open fingerprint methods, error: %d", err);
212 err = mDevice->set_notify(mDevice, hal_notify_callback);
213 if (err < 0) {
214 ALOGE("Failed in call to set_notify(), err=%d", err);
233 int err; local
244 int err; local
[all...]
/system/core/adf/libadf/
H A Dadf.c90 int err; local
110 int err; local
115 err = ioctl(dev->fd, ADF_GET_DEVICE_DATA, data);
116 if (err < 0)
144 err = ioctl(dev->fd, ADF_GET_DEVICE_DATA, data);
145 if (err < 0)
166 int err; local
177 err = ioctl(dev->fd, ADF_POST_CONFIG, &data);
178 if (err < 0)
187 int err; local
349 int err; local
391 int err = ioctl(fd, ADF_BLANK, mode); local
399 int err = ioctl(fd, ADF_SET_MODE, mode); local
408 int err; local
587 int err; local
633 int err = adf_get_overlay_engine_data(fd, &data); local
655 int err = ioctl(fd, ADF_SET_EVENT, &data); local
671 int err = read(fd, &header, sizeof(header)); local
[all...]
/system/core/adf/libadfhwc/
H A Dadfhwc.cpp92 int err = adf_get_interface_data(dev->intf_fds[disp], &data); local
93 if (err < 0) {
94 ALOGE("failed to get ADF interface data: %s", strerror(err));
95 return err;
155 int err = adf_get_interface_data(dev->intf_fds[disp], &data); local
156 if (err < 0) {
157 ALOGE("failed to get ADF interface data: %s", strerror(err));
158 return err;
172 int err = adf_read_event(dev->intf_fds[disp], &event); local
173 if (err <
218 int err = poll(fds, dev->intf_fds.size(), -1); local
[all...]
/system/security/keystore/
H A Dkeystore_keymaster_enforcement.h34 int err = clock_gettime(CLOCK_MONOTONIC, &tp); variable
35 if (err || tp.tv_sec < 0)
H A DIKeystoreService.cpp356 goto err;
362 goto err;
366 err:
412 int32_t err = reply.readExceptionCode(); local
414 if (err < 0) {
415 ALOGD("getState() caught exception %d\n", err);
431 int32_t err = reply.readExceptionCode(); local
447 if (err < 0) {
448 ALOGD("get() caught exception %d\n", err);
470 int32_t err local
490 int32_t err = reply.readExceptionCode(); local
510 int32_t err = reply.readExceptionCode(); local
530 int32_t err = reply.readExceptionCode(); local
552 int32_t err = reply.readExceptionCode(); local
573 int32_t err = reply.readExceptionCode(); local
592 int32_t err = reply.readExceptionCode(); local
612 int32_t err = reply.readExceptionCode(); local
631 int32_t err = reply.readExceptionCode(); local
664 int32_t err = reply.readExceptionCode(); local
689 int32_t err = reply.readExceptionCode(); local
712 int32_t err = reply.readExceptionCode(); local
754 int32_t err = reply.readExceptionCode(); local
773 int32_t err = reply.readExceptionCode(); local
807 int32_t err = reply.readExceptionCode(); local
827 int32_t err = reply.readExceptionCode(); local
846 int32_t err = reply.readExceptionCode(); local
869 int32_t err = reply.readExceptionCode(); local
888 int32_t err = reply.readExceptionCode(); local
907 int32_t err = reply.readExceptionCode(); local
926 int32_t err = reply.readExceptionCode(); local
952 int32_t err = reply.readExceptionCode(); local
987 int32_t err = reply.readExceptionCode(); local
1017 int32_t err = reply.readExceptionCode(); local
1057 int32_t err = reply.readExceptionCode(); local
1091 int32_t err = reply.readExceptionCode(); local
1120 int32_t err = reply.readExceptionCode(); local
1152 int32_t err = reply.readExceptionCode(); local
1173 int32_t err = reply.readExceptionCode(); local
1193 int32_t err = reply.readExceptionCode(); local
1212 int32_t err = reply.readExceptionCode(); local
1232 int32_t err = reply.readExceptionCode(); local
1251 int32_t err = reply.readExceptionCode(); local
[all...]
/system/core/libpixelflinger/tests/codegen/
H A Dcodegen.cpp65 int err = assembler.scanline(needs, (context_t*)c); local
66 if (err != 0) {
67 printf("error %08x (%s)\n", err, strerror(-err));
/system/bt/gki/ulinux/
H A Dgki_ulinux.c77 int err; local
79 err = nanosleep(&delay, &delay);
80 } while (err == -1 && errno == EINTR);
/system/bt/stack/avdt/
H A Davdt_msg.c587 UINT8 err = 0; local
605 while ((p < p_end) && (err == 0))
610 err = AVDT_ERR_PAYLOAD;
629 err = AVDT_ERR_CATEGORY;
644 err = avdt_msg_ie_err[elem];
661 err = AVDT_ERR_RECOV_TYPE;
668 err = AVDT_ERR_RECOV_FMT;
701 err = AVDT_ERR_MUX_FMT;
761 } /* while ! err, !end*/
763 AVDT_TRACE_DEBUG("err
800 UINT8 err = 0; local
832 UINT8 err = 0; local
891 UINT8 err = 0; local
943 UINT8 err = 0; local
984 UINT8 err = 0; local
1022 UINT8 err = 0; local
1067 UINT8 err = avdt_msg_prs_cfg(p_msg->svccap.p_cfg, p, len, &p_msg->hdr.err_param, AVDT_SIG_GETCAP); local
1089 UINT8 err = avdt_msg_prs_cfg(p_msg->svccap.p_cfg, p, len, &p_msg->hdr.err_param, AVDT_SIG_GET_ALLCAP); local
1159 UINT8 err = 0; local
1705 UINT8 err; local
[all...]
/system/core/libmemtrack/
H A Dmemtrack.c45 int err; local
51 err = hw_get_module(MEMTRACK_HARDWARE_MODULE_ID,
53 if (err) {
55 strerror(-err));
56 return err;
/system/core/logcat/
H A Dlogcat.cpp88 int err; local
118 err = rename(file0, file1);
120 if (err < 0 && errno != ENOENT) {
148 int err; local
160 err = android_log_processBinaryLogBuffer(&buf->entry_v1, &entry,
167 err = android_log_processLogBuffer(&buf->entry_v1, &entry);
169 if (err < 0) {
466 int err; local
672 err = setLogFormat (optarg);
673 if (err <
[all...]
/system/extras/tests/memtest/
H A Dmemtest.cpp102 int err = -1; local
105 err = (*function_table[i].func)(argc-1, argv+1);
109 if (err) {
112 return err;

Completed in 406 milliseconds

1234