/system/extras/fatblock/ |
H A D | fatblock.c | 54 int result; local 57 result = fs_read(&fs, buf, offset, length); 58 if (result == SKY_IS_FALLING) { 63 return result ? -EINVAL : 0;
|
/system/core/libnetutils/ |
H A D | ifc_utils.c | 508 int result; local 536 result = ioctl(ifc_ctl_sock, action, &rt); 537 if (result < 0) { 539 result = 0; 541 result = -errno; 545 return result; 574 int result; local 577 result = ifc_up(ifname); 579 return result; 585 int result; local 605 int result, success; local 706 int result; local 745 int result; local 763 int result; local 824 int result; local [all...] |
/system/extras/ext4_utils/ |
H A D | uuid.c | 50 void generate_uuid(const char *namespace, const char *name, u8 result[16]) argument 53 struct uuid *uuid = (struct uuid *)result;
|
H A D | contents.c | 405 struct ext4_xattr_entry *result = local 408 if (result == NULL) 427 struct ext4_xattr_entry *result = local 430 if (result == NULL) 433 ext4_xattr_hash_entry(header, result); 449 int result = xattr_addto_inode(inode, name_index, name, value, value_len); local 450 if (result != 0) { 451 result = xattr_addto_block(inode, name_index, name, value, value_len); 453 return result;
|
/system/core/debuggerd/ |
H A D | crasher.c | 104 void* result = NULL; local 105 pthread_join(t, &result); 106 return (int) result;
|
/system/core/libcutils/ |
H A D | trace.c | 91 bool result = false; local 105 result = atrace_is_cmdline_match(cmdline); 116 return result;
|
/system/core/sh/ |
H A D | arith.y | 120 long result; 125 result = yyparse(); 129 return (result);
|
/system/core/toolbox/ |
H A D | kill.c | 103 int result = 0; local 139 result = err; 147 return result;
|
/system/extras/tests/bionic/libc/bionic/ |
H A D | test_mutex.c | 46 #define expect(call,result) \ 49 if (ret != (result)) { \ 51 __FILE__, __LINE__, ret, (result), #call ); \
|
/system/core/include/utils/ |
H A D | UniquePtr.h | 76 T* result = mPtr; local 78 return result; 122 T* result = mPtr; local 124 return result;
|
/system/core/libutils/ |
H A D | LinearAllocator.cpp | 203 static const char* toSize(size_t value, float& result) { argument 205 result = value; 209 result = value / 1024.0f; 212 result = value / 1048576.0f;
|
H A D | String8.cpp | 215 String8 result(formatV(fmt, args)); 218 return result; 223 String8 result; local 224 result.appendFormatV(fmt, args); 225 return result; 318 status_t result = appendFormatV(fmt, args); local 321 return result; 326 int result = NO_ERROR; local 334 result = NO_MEMORY; 337 return result; [all...] |
H A D | Threads.cpp | 156 int result = pthread_create(&thread, &attr, local 159 if (result != 0) { 162 entryFunction, result, errno, threadPriority); 203 int result; 205 result = (*(pDetails->func))(pDetails->arg); 210 return (unsigned int) result; 409 ALOG(LOG_WARN, "thread", "WARNING: bad result from unlocking mutex\n"); 418 ALOG(LOG_WARN, "thread", "WARNING: bad result from try-locking mutex\n"); 726 // already have exited with a valid mStatus result). The NO_ERROR indication 750 bool result; local [all...] |
/system/netd/ |
H A D | MDnsSdListener.cpp | 81 DNSServiceErrorType result = DNSServiceBrowse(ref, nativeFlags, interfaceInt, regType, local 83 if (result != kDNSServiceErr_NoError) { 84 ALOGE("Discover request %d got an error from DNSServiceBrowse %d", requestId, result); 172 DNSServiceErrorType result = DNSServiceRegister(ref, interfaceInt, nativeFlags, serviceName, local 175 if (result != kDNSServiceErr_NoError) { 177 result); 227 DNSServiceErrorType result = DNSServiceResolve(ref, nativeFlags, interfaceInt, serviceName, local 229 if (result != kDNSServiceErr_NoError) { 231 result); 282 DNSServiceErrorType result local 341 DNSServiceErrorType result = DNSSetHostname(ref, nativeFlags, hostname, local 513 int result = 0; local 530 int result = 0; local 659 DNSServiceRef *result = &(cur->mRef); local [all...] |
H A D | DnsProxyListener.cpp | 140 struct addrinfo* result = NULL; local 142 mark, &result); 148 struct addrinfo* ai = result; 159 ALOGW("Error writing DNS result to client"); 162 if (result) { 163 freeaddrinfo(result); 363 ALOGW("GetHostByNameHandler: Error writing DNS result to client\n"); 408 int result = inet_pton(addrFamily, addrStr, addr); local 409 if (result <= 0) { 501 ALOGW("GetHostByAddrHandler: Error writing DNS result t [all...] |
/system/core/adb/ |
H A D | transport.c | 797 atransport *result = NULL; local 819 if (result) { 823 result = NULL; 826 result = t; 830 if (result) { 834 result = NULL; 837 result = t; 839 if (result) { 843 result = NULL; 846 result [all...] |
H A D | usb_linux.c | 620 int i, result; local 635 result = ioctl(usb->desc, USBDEVFS_CONTROL, &ctrl); 636 if (result > 0) 637 languageCount = (result - 2) / 2; 651 result = ioctl(usb->desc, USBDEVFS_CONTROL, &ctrl); 652 if (result > 0) { 655 result /= 2; 656 for (i = 1; i < result; i++)
|
H A D | transport_local.c | 379 atransport* result = find_emulator_transport_by_adb_port_locked(adb_port); local 381 return result; 399 int result = get_available_local_transport_index_locked(); local 401 return result;
|
/system/core/libusbhost/ |
H A D | usbhost.c | 341 struct usb_device* result = usb_device_new(dev_name, fd); local 342 if (result) 343 result->writeable = writeable; 344 return result; 426 char* result = (char *)calloc(1, strlen(USB_FS_ID_FORMAT)); local 427 snprintf(result, strlen(USB_FS_ID_FORMAT) - 1, USB_FS_ID_FORMAT, bus, dev); 428 return result; 453 int i, result; local 460 result = usb_device_control_transfer(device, 463 if (result > [all...] |
/system/core/fastboot/ |
H A D | usb_linux.c | 113 int result; local 153 result = ioctl(fd, USBDEVFS_CONTROL, &ctrl); 154 if (result > 0) { 157 result /= 2; 158 for (i = 1; i < result; i++) 183 result = fstat(fd, &st); 184 if (!result && S_ISCHR(st.st_mode)) {
|
/system/core/run-as/ |
H A D | package.c | 68 *dst = '\0'; /* zero-terminate result */ 430 int result = -1; local 523 result = 0; 532 result = -1; 537 result = -1; 541 return result;
|
/system/core/netcfg/ |
H A D | netcfg.c | 146 int result = dump_interfaces(); local 148 return result;
|
/system/vold/ |
H A D | Process.cpp | 165 int result = 0; local 168 result = 10 * result + (*s++ - '0'); 170 return result;
|
H A D | VolumeManager.cpp | 513 int result = 0; local 515 result = Ext4::doMount(loopDevice, mountPoint, true, true, true); 517 result = Fat::doMount(loopDevice, mountPoint, true, true, true, 0, 0, 0227, false); 520 if (result) { 570 int result = 0; local 605 result = -1; 609 result |= fchown(fd, AID_SYSTEM, privateFile? gid : AID_SYSTEM); 612 result |= fchmod(fd, 0755); 614 result |= fchmod(fd, privateFile ? 0640 : 0644); 624 result | 1030 int result; local 1483 struct dirent *result; local [all...] |
/system/core/liblog/ |
H A D | logprint.c | 450 int result = 0; local 551 result = android_log_printBinaryEvent(&eventData, &eventDataLen, 553 if (result != 0) 584 return result; 587 result = 1; 649 int result; local 650 result = android_log_printBinaryEvent(&eventData, &inCount, &outBuf, 652 if (result < 0) { 655 } else if (result == 1) {
|