Searched defs:err (Results 26 - 43 of 43) sorted by relevance

12

/system/core/sh/
H A Dexec.c954 int err = 0; local
982 err = 1;
1029 err = 126;
1058 err = 127;
1062 return err;
H A Djobs.c151 int err; local
165 if ((err = fcntl(ttyfd, F_DUPFD, (1 << i) - 1)) != -1)
168 if (err != -1) {
170 ttyfd = err;
173 err = ioctl(ttyfd, FIOCLEX, 0);
175 err = fcntl(ttyfd, F_SETFD,
178 if (err == -1) {
H A Dvar.c199 int err = 0; local
201 (void) &err;
205 err = 1;
211 return err;
H A Dparser.c617 void fixredir(union node *n, const char *text, int err) argument
619 TRACE(("Fix redir %s %d\n", text, err));
620 if (!err)
629 if (err)
/system/extras/tests/fstest/
H A Dperm_checker.c366 int err; local
369 err = lstat(name, &s);
370 if (err < 0) {
/system/extras/tests/memtest/
H A Dmemtest.cpp111 int err = -1; local
112 if (!strcmp(argv[1], "cpufreq")) err = cpufreq_test(argc-1, argv+1);
113 else if (!strcmp(argv[1], "memcpy")) err = memcpy_test(argc-1, argv+1);
114 else if (!strcmp(argv[1], "memset")) err = memset_test(argc-1, argv+1);
115 else if (!strcmp(argv[1], "memcmp")) err = memcmp_test(argc-1, argv+1);
116 else if (!strcmp(argv[1], "strlen")) err = strlen_test(argc-1, argv+1);
117 else if (!strcmp(argv[1], "malloc")) err = malloc_test(argc-1, argv+1);
118 else if (!strcmp(argv[1], "madvise")) err = madvise_test(argc-1, argv+1);
119 else if (!strcmp(argv[1], "crash")) err = crash_test(argc-1, argv+1);
120 else if (!strcmp(argv[1], "stack")) err
[all...]
/system/core/adb/
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 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;
/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/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 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/logcat/
H A Dlogcat.cpp109 int err; local
129 err = rename (file0, file1);
131 if (err < 0 && errno != ENOENT) {
163 int err; local
168 err = android_log_processBinaryLogBuffer(buf, &entry, g_eventTagMap,
173 err = android_log_processLogBuffer(buf, &entry);
175 if (err < 0) {
459 int err; local
576 err = setLogFormat (optarg);
577 if (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/sdcard/
H A Dsdcard.c437 static void fuse_status(struct fuse *fuse, __u64 unique, int err) argument
441 hdr.error = err;
/system/core/libcutils/
H A Dtztime.c314 int i, err; local
340 err = tzload_uncached(name, &(g_cacheStates[i]), 1);
341 if (err == 0) {
347 return err;
/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)) {

Completed in 173 milliseconds

12