Searched defs:err (Results 1 - 25 of 43) sorted by path

12

/system/core/adb/
H A Dadb.c1478 char *local, *remote, *err; local
1497 transport = acquire_one_transport(CS_ANY, ttype, serial, &err);
1499 sendfailmsg(reply_fd, err);
H A Dcommandline.c573 int err;
593 err = execvp("pppd", (char * const *)ppp_args);
595 if (err < 0) {
1547 int err; local
1600 err = do_sync_push(apk_file, apk_dest, verify_apk);
1601 if (err) {
1608 err = do_sync_push(verification_file, verification_dest, 0 /* no verify APK */);
1609 if (err) {
1625 return err;
H A Dfile_sync_client.c212 int lfd, err = 0; local
237 err = -1;
244 return err;
249 int err = 0; local
262 err = -1;
269 return err;
H A Dget_my_path_freebsd.c32 int err = readlink(proc, exe, maxLen - 1); local
34 exe[err > 0 ? err : 0] = '\0';
H A Dget_my_path_linux.c26 int err = readlink(proc, exe, maxLen - 1); local
27 if(err > 0) {
28 exe[err] = '\0';
H A Dservices.c363 D("shell exited fd=%d of pid=%d err=%d\n", fd, pid, errno);
505 char* err = "unknown error"; local
509 atransport *t = acquire_one_transport(sinfo->state, sinfo->transport, sinfo->serial, &err);
513 sendfailmsg(fd, err);
H A Dusb_linux_client.c271 goto err;
277 goto err;
283 goto err;
289 goto err;
295 goto err;
300 err:
416 int err; local
418 err = ioctl(h->bulk_in, FUNCTIONFS_CLEAR_HALT);
419 if (err < 0)
422 err
[all...]
/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/libcutils/
H A Dsocket_local_client.c130 int err; local
132 err = socket_make_sockaddr_un(name, namespaceId, &addr, &alen);
134 if (err < 0) {
H A Dsocket_local_server.c58 int err; local
60 err = socket_make_sockaddr_un(name, namespaceId, &addr, &alen);
62 if (err < 0) {
97 int err; local
103 err = socket_local_server_bind(s, name, namespace);
105 if (err < 0) {
H A Dtztime.c314 int i, err; local
340 err = tzload_uncached(name, &(g_cacheStates[i]), 1);
341 if (err == 0) {
347 return err;
H A Dzygote.c166 int err; local
190 err = read(fd, &dummy, sizeof(dummy));
191 } while ((err < 0 && errno == EINTR) || err != 0);
194 err = close(fd);
195 } while (err < 0 && errno == EINTR);
219 int err; local
234 err = nanosleep (&ts, &ts);
235 } while (err < 0 && errno == EINTR);
248 err
[all...]
/system/core/liblog/
H A Dlogprint.c313 int err; local
319 err = android_log_addFilterRule(p_format, p_ret);
321 if (err < 0) {
943 int err; local
985 err = android_log_addFilterRule(p_format, "random:z");
986 assert (err < 0);
991 err = android_log_addFilterString(p_format, " ");
992 assert(err == 0);
996 err = android_log_addFilterString(p_format, "*:s random:d ");
997 assert(err
[all...]
/system/core/libnetutils/
H A Difc_utils.c263 struct nlmsgerr *err; local
331 err = NLMSG_DATA(nh);
334 return err->error;
/system/core/libpixelflinger/codeflinger/
H A DARMAssembler.cpp189 int err = qemu_add_mapping(int(base()), name); local
190 mQemuTracing = (err >= 0);
497 int err = buildImmediate(immediate, rot, imm); local
499 LOG_ALWAYS_FATAL_IF(err==-EINVAL,
503 LOG_ALWAYS_FATAL_IF(err,
H A DCodeCache.cpp199 ssize_t err = mCacheData.add(key_t(keyBase), cache_entry_t(assembly, mWhen)); local
200 if (err >= 0) {
207 err = cacheflush(base, curr, 0);
208 ALOGE_IF(err, "cacheflush error %s\n",
214 return err;
H A DGGLAssembler.cpp64 int err = 0; local
68 err = scanline_core(needs, c);
69 if (err == 0)
85 if (err) {
1163 // in that case, it does not matter. No reason to FATAL err.
1174 // in that case, it does not matter. No reason to FATAL err.
H A DMIPSAssembler.cpp1410 int err = qemu_add_mapping(int(base()), name); local
1411 mQemuTracing = (err >= 0);
/system/core/libpixelflinger/
H A Dscanline.cpp399 int err = assembler.scanline(c->state.needs, c); local
400 if (ggl_likely(!err)) {
402 err = gCodeCache.cache(a->key(), a);
404 if (ggl_unlikely(err)) {
/system/core/libpixelflinger/tests/codegen/
H A Dcodegen.cpp56 int err = assembler.scanline(needs, (context_t*)c); local
57 if (err != 0) {
58 printf("error %08x (%s)\n", err, strerror(-err));
/system/core/libsparse/
H A Dsparse_read.c51 static void verbose_error(bool verbose, int err, const char *fmt, ...) argument
80 if (err == -EOVERFLOW) {
84 if (err == -EINVAL) {
86 } else if (err == -ENOMEM) {
90 sparse_print_verbose("Unknown error %d%s%s\n", err, s, at);
/system/core/libsuspend/
H A Dautosuspend_earlysuspend.c50 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...]
/system/core/libsync/
H A Dsync.c40 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 Dsync_test.c38 int err; local
42 err = sync_wait(sync_data->fd[i], 10000);
45 if (err < 0) {
122 int err; local
125 err = sw_sync_timeline_inc(sync_timeline_fd, 1);
126 if (err < 0) {
/system/core/libsysutils/src/
H A DSocketClient.cpp38 int err = getsockopt(socket, SOL_SOCKET, SO_PEERCRED, &creds, &szCreds); local
39 if (err == 0) {

Completed in 243 milliseconds

12