/system/wlan/ti/wilink_6_1/platforms/hw/host_platform_zoom2/linux/ |
D | host_platform.c | 103 int err; in hPlatform_hardResetTnetw() local 106 if ((err = OMAP3430_TNETW_Power(0)) == 0) in hPlatform_hardResetTnetw() 110 err = OMAP3430_TNETW_Power(1); in hPlatform_hardResetTnetw() 113 return err; in hPlatform_hardResetTnetw() 120 int err; in hPlatform_DevicePowerOff() local 122 err = OMAP3430_TNETW_Power(0); in hPlatform_DevicePowerOff() 126 return err; in hPlatform_DevicePowerOff() 133 int err; in hPlatform_DevicePowerOffSetLongerDelay() local 135 err = OMAP3430_TNETW_Power(0); in hPlatform_DevicePowerOffSetLongerDelay() 139 return err; in hPlatform_DevicePowerOffSetLongerDelay() [all …]
|
/system/core/libcutils/ |
D | adb_networking.c | 48 int err; in adb_networking_connect_fd() local 63 err = connect(fd, (struct sockaddr *) &local_addr, sizeof(local_addr)); in adb_networking_connect_fd() 64 } while (err < 0 && errno == EINTR); in adb_networking_connect_fd() 66 if (err < 0) { in adb_networking_connect_fd() 82 err = write(fd, buf, 4); in adb_networking_connect_fd() 83 } while (err < 0 && errno == EINTR); in adb_networking_connect_fd() 87 err = write(fd, cmd, strlen(cmd)); in adb_networking_connect_fd() 88 } while (err < 0 && errno == EINTR); in adb_networking_connect_fd() 119 int err; in adb_networking_gethostbyname() local 136 err = write(fd, buf, 4); in adb_networking_gethostbyname() [all …]
|
D | socket_local_server.c | 58 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) {
|
D | zygote.c | 166 int err; in zygote_run_wait() local 190 err = read(fd, &dummy, sizeof(dummy)); in zygote_run_wait() 191 } while ((err < 0 && errno == EINTR) || err != 0); in zygote_run_wait() 194 err = close(fd); in zygote_run_wait() 195 } while (err < 0 && errno == EINTR); in zygote_run_wait() 219 int err; in zygote_run_oneshot() local 234 err = nanosleep (&ts, &ts); in zygote_run_oneshot() 235 } while (err < 0 && errno == EINTR); in zygote_run_oneshot() 248 err = close(fd); in zygote_run_oneshot() 249 } while (err < 0 && errno == EINTR); in zygote_run_oneshot()
|
D | socket_local_client.c | 130 int err; in socket_local_client_connect() local 132 err = socket_make_sockaddr_un(name, namespaceId, &addr, &alen); in socket_local_client_connect() 134 if (err < 0) { in socket_local_client_connect()
|
/system/wlan/ti/wilink_6_1/platforms/hw/linux/ |
D | host_platform.c | 160 int err; in hPlatform_hardResetTnetw() local 163 if ((err = wifi_set_power(0, 15)) == 0) { in hPlatform_hardResetTnetw() 165 err = wifi_set_power(1, 70); in hPlatform_hardResetTnetw() 167 return err; in hPlatform_hardResetTnetw() 173 int err; in hPlatform_DevicePowerOff() local 175 err = wifi_set_power(0, 15); in hPlatform_DevicePowerOff() 176 return err; in hPlatform_DevicePowerOff() 183 int err; in hPlatform_DevicePowerOffSetLongerDelay() local 185 err = wifi_set_power(0, SDIO_ATTEMPT_LONGER_DELAY_LINUX); in hPlatform_DevicePowerOffSetLongerDelay() 187 return err; in hPlatform_DevicePowerOffSetLongerDelay() [all …]
|
/system/core/logcat/ |
D | logcat.cpp | 55 int err; in rotateLogs() local 75 err = rename (file0, file1); in rotateLogs() 77 if (err < 0 && errno != ENOENT) { in rotateLogs() 109 int err; in processBuffer() local 114 err = android_log_processBinaryLogBuffer(buf, &entry, g_eventTagMap, in processBuffer() 119 err = android_log_processLogBuffer(buf, &entry); in processBuffer() 121 if (err < 0) in processBuffer() 281 int err; in main() local 378 err = setLogFormat (optarg); in main() 379 if (err < 0) { in main() [all …]
|
/system/wlan/ti/sta_dk_4_0_4_32/pform/linux/src/ |
D | ioctl_utils.c | 104 int print_err_desc(int err) in print_err_desc() argument 109 if(configMgr_error_desc[i].err_code == err ) in print_err_desc() 111 print_err("---err(%d) configMgr() = %s\n", err, configMgr_error_desc[i].desc ); in print_err_desc() 112 return -err; in print_err_desc() 115 print_err("---err(%d) configMgr failed\n", err); in print_err_desc() 116 return -err; in print_err_desc()
|
/system/core/toolbox/ |
D | ls.c | 220 int err; in listdir() local 237 err = stat(tmp, &s); in listdir() 239 err = lstat(tmp, &s); in listdir() 241 if (err < 0) { in listdir() 261 int err; in listpath() local 268 err = stat(name, &s); in listpath() 270 err = lstat(name, &s); in listpath() 272 if (err < 0) { in listpath() 294 int err = 0; in ls_main() local 310 err = EXIT_FAILURE; in ls_main() [all …]
|
D | kill.c | 24 int err = kill(pid, sig); in kill_main() local 25 if (err < 0) { in kill_main() 26 result = err; in kill_main()
|
/system/core/adb/ |
D | get_my_path_linux.c | 26 int err = readlink(proc, exe, PATH_MAX - 1); in get_my_path() local 27 if(err > 0) { in get_my_path() 28 exe[err] = 0; in get_my_path()
|
/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/libpixelflinger/codeflinger/ |
D | CodeCache.cpp | 131 ssize_t err = mCacheData.add(key_t(keyBase), cache_entry_t(assembly, mWhen)); in cache() local 132 if (err >= 0) { in cache() 139 err = cacheflush(base, curr, 0); in cache() 140 LOGE_IF(err, "__ARM_NR_cacheflush error %s\n", in cache() 146 return err; in cache()
|
D | ARMAssemblerInterface.cpp | 75 int err = buildImmediate(immediate, rot, imm); in imm() local 77 LOG_ALWAYS_FATAL_IF(err==-EINVAL, in imm() 81 LOG_ALWAYS_FATAL_IF(err, in imm()
|
/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() 83 int err = 0; in uninflate() local 108 err = -1; in uninflate() 112 return err; in uninflate()
|
D | test_zipfile.c | 17 int err; in main() local 77 err = decompress_zipentry(entry, scratch, size); in main() 78 if (err != 0) { in main()
|
D | centraldir.c | 183 int err; in read_central_dir() local 219 err = read_central_dir_values(file, eocd, (buf+bufsize)-eocd); in read_central_dir() 220 if (err != 0) { in read_central_dir() 238 err = read_central_directory_entry(file, entry, &p, &len); in read_central_dir() 239 if (err != 0) { in read_central_dir()
|
/system/core/sh/ |
D | options.c | 406 int err = 0; in getopts() local 433 err |= setvarsafe("OPTARG", s, 0); in getopts() 450 err |= setvarsafe("OPTARG", s, 0); in getopts() 462 err |= setvarsafe("OPTARG", p, 0); in getopts() 465 err |= setvarsafe("OPTARG", "", 0); in getopts() 476 err |= setvarsafe("OPTIND", s, VNOFUNC); in getopts() 479 err |= setvarsafe(optvar, s, 0); in getopts() 480 if (err) { in getopts()
|
/system/core/libpixelflinger/tinyutils/ |
D | VectorImpl.cpp | 460 ssize_t err = NAME_NOT_FOUND; in _indexOrderOf() local 471 err = l = mid; in _indexOrderOf() 480 return err; in _indexOrderOf() 503 ssize_t err = add( reinterpret_cast<const char*>(buffer) + i*is ); in merge() local 504 if (err<0) { in merge() 505 return err; in merge() 515 ssize_t err = NO_ERROR; in merge() local 519 err = VectorImpl::insertVectorAt(static_cast<const VectorImpl&>(vector), 0); in merge() 521 err = VectorImpl::appendVector(static_cast<const VectorImpl&>(vector)); in merge() 524 err = merge(static_cast<const VectorImpl&>(vector)); in merge() [all …]
|
/system/core/liblog/ |
D | logprint.c | 313 int err; in android_log_addFilterString() local 319 err = android_log_addFilterRule(p_format, p_ret); in android_log_addFilterString() 321 if (err < 0) { in android_log_addFilterString() 898 int err; in logprint_run_tests() local 940 err = android_log_addFilterRule(p_format, "random:z"); in logprint_run_tests() 941 assert (err < 0); in logprint_run_tests() 946 err = android_log_addFilterString(p_format, " "); in logprint_run_tests() 947 assert(err == 0); in logprint_run_tests() 951 err = android_log_addFilterString(p_format, "*:s random:d "); in logprint_run_tests() 952 assert(err == 0); in logprint_run_tests() [all …]
|
/system/extras/tests/memtest/ |
D | memtest.cpp | 110 int err = -1; in main() local 111 if (!strcmp(argv[1], "cpufreq")) err = cpufreq_test(argc-1, argv+1); in main() 112 else if (!strcmp(argv[1], "memcpy")) err = memcpy_test(argc-1, argv+1); in main() 113 else if (!strcmp(argv[1], "memset")) err = memset_test(argc-1, argv+1); in main() 114 else if (!strcmp(argv[1], "memcmp")) err = memcmp_test(argc-1, argv+1); in main() 115 else if (!strcmp(argv[1], "strlen")) err = strlen_test(argc-1, argv+1); in main() 116 else if (!strcmp(argv[1], "malloc")) err = malloc_test(argc-1, argv+1); in main() 117 else if (!strcmp(argv[1], "madvise")) err = madvise_test(argc-1, argv+1); in main() 118 else if (!strcmp(argv[1], "crash")) err = crash_test(argc-1, argv+1); in main() 119 else if (!strcmp(argv[1], "stack")) err = stack_smasher_test(argc-1, argv+1); in main() [all …]
|
/system/wlan/ti/wilink_6_1/external_drivers/zoom2/Linux/sdio/ |
D | SdioDrv.c | 785 goto err; in sdioDrv_ReadAsync() 793 goto err; in sdioDrv_ReadAsync() 816 err: in sdioDrv_ReadAsync() 886 goto err; in sdioDrv_WriteAsync() 894 goto err; in sdioDrv_WriteAsync() 917 err: in sdioDrv_WriteAsync() 1027 goto err; in sdioDrv_probe() 1035 goto err; in sdioDrv_probe() 1042 goto err; in sdioDrv_probe() 1048 goto err; in sdioDrv_probe() [all …]
|
/system/extras/tests/bionic/libc/other/ |
D | test_jpeg.c | 70 cinfo->err->error_exit((j_common_ptr)cinfo); in _source_fill_input_buffer() 80 cinfo->err->error_exit((j_common_ptr)cinfo); in _source_skip_input_data() 127 ErrorMgr error = (ErrorMgr) cinfo->err; in _error_exit() 153 cinfo.err = jpeg_std_error(&errmgr.jpeg_mgr); in decompress()
|
/system/core/libacc/tests/ |
D | test.py | 158 def checkResult(self, out, err, stdErrResult, stdOutResult=""): argument 160 a2 = err.splitlines() 171 out, err = compile(args) 172 self.checkResult(out, err, stdErrResult, stdOutResult)
|
/system/wlan/ti/wilink_6_1/external_drivers/sdio/linux/ |
D | SdioDrv.c | 828 goto err; in sdioDrv_ReadAsync() 836 goto err; in sdioDrv_ReadAsync() 862 err: in sdioDrv_ReadAsync() 945 goto err; in sdioDrv_WriteAsync() 953 goto err; in sdioDrv_WriteAsync() 976 err: in sdioDrv_WriteAsync() 1083 goto err; in sdioDrv_probe() 1091 goto err; in sdioDrv_probe() 1098 goto err; in sdioDrv_probe() 1137 goto err; in sdioDrv_probe() [all …]
|