/system/vold/ |
H A D | CommandListener.cpp | 298 struct dirent *result; local 300 while (!readdir_r(d, dent, &result) && result != NULL) {
|
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/media/camera/tests/ |
H A D | camera_metadata_tests.cpp | 195 int result; local 202 result = add_camera_metadata_entry(m, 205 EXPECT_EQ(OK, result); 215 result = add_camera_metadata_entry(m, 218 EXPECT_EQ(OK, result); 228 result = add_camera_metadata_entry(m, 231 EXPECT_EQ(OK, result); 245 result = add_camera_metadata_entry(m, 248 EXPECT_EQ(OK, result); 258 result 313 int result; local 337 int result; local 384 int result; local 406 int result; local 432 int result; local 461 int result; local 491 int result; local 519 int result; local 546 int result; local 570 int result; local 601 int result; local 629 int result; local 656 int result; local 681 int result; local 710 int result; local 736 int result; local 842 int result; local 911 int result; local 1025 int result; local [all...] |
/system/netd/ |
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...] |
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...] |
/system/security/keystore/ |
H A D | keystore.cpp | 964 bool result = true; local 981 result = false; 986 return result;
|
/system/security/softkeymaster/ |
H A D | keymaster_openssl.cpp | 86 * without triggering a warning by not using the result of release(). 700 int result = 0; local 702 result |= tmp[i] ^ signedData[i]; 705 return result == 0 ? 0 : -1;
|
/system/core/adb/ |
H A D | adb.c | 770 int result = 0; local 777 result += len; 785 return result; 1149 int result = execl(path, "adb", "-P", str_port, "fork-server", "server", NULL); 1151 fprintf(stderr, "OOPS! execl returned %d, errno: %d\n", result, errno);
|
H A D | sockets.c | 65 asocket *result = NULL; local 70 result = s; 76 return result;
|
H A D | sysdeps_win32.c | 261 DWORD result; local 273 result = SetFilePointer( f->fh_handle, pos, NULL, method ); 274 if (result == INVALID_SET_FILE_POINTER) { 280 return (int)result; 516 int result = recv( f->fh_socket, buf, len, 0 ); local 517 if (result == SOCKET_ERROR) { 519 result = -1; 521 return result; 527 int result = send( f->fh_socket, buf, len, 0 ); local 528 if (result 2039 int result = 0; local [all...] |
H A D | test_track_devices.c | 19 int result = 0; local 27 result += len2; 31 return result; 37 int result = 0; local 45 result += len2; 49 return result;
|
H A D | test_track_jdwp.c | 19 int result = 0; local 27 result += len2; 31 return result; 37 int result = 0; local 45 result += len2; 49 return result;
|
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 | 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;
|
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 | usb_osx.c | 126 HRESULT result; local 149 result = (*plugInInterface)->QueryInterface(plugInInterface, 154 if (result || !iface) { 155 DBG("ERR: Couldn't query the interface (%08x)\n", (int) result); 183 result = (*plugInInterface)->QueryInterface(plugInInterface, 187 if (result || !dev) { 189 (int) result); 454 IOReturn result; local 472 result = 476 if ((result 494 IOReturn result; local [all...] |
/system/core/debuggerd/ |
H A D | crasher.c | 104 void* result = NULL; local 105 pthread_join(t, &result); 106 return (int) result;
|
/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)) {
|
H A D | usb_osx.c | 74 HRESULT result; local 121 result = (*plugInInterface)->QueryInterface( 129 if (result || !interface) { 131 (unsigned int) result); 234 ERR("could not clear input pipe; result %x, ignoring...\n", kr); 242 ERR("could not clear output pipe; result %x, ignoring....\n", kr); 265 HRESULT result; local 281 result = (*plugin)->QueryInterface(plugin, 283 if ((result != 0) || (dev == NULL)) { 284 ERR("Couldn't create a device interface (%08x)\n", (int) result); 384 kern_return_t result; local 471 IOReturn result; local 505 IOReturn result; local [all...] |
/system/core/include/cutils/ |
H A D | bitops.h | 61 int bit, result; local 67 // ffs is 1-indexed, return 0-indexed result 69 result = BITS_PER_WORD * i + bit; 70 if (result >= num_bits) 72 return result;
|
/system/core/include/private/pixelflinger/ |
H A D | ggl_context.h | 264 uint32_t result = local 269 return (result == 0);
|
H A D | ggl_fixed.h | 112 GGLfixed result, t; local 117 : [lo]"=r"(result), [hi]"=r"(t), [x]"=r"(x) 125 : [lo]"=&r"(result), [hi]"=&r"(t), [x]"=&r"(x) 130 return result; 135 GGLfixed result, t; local 140 : [lo]"=&r"(result), [hi]"=&r"(t), [x]"=&r"(x) 147 : [lo]"=&r"(result), [hi]"=&r"(t), [x]"=&r"(x) 151 return result; 156 GGLfixed result, t; local 161 : [lo]"=&r"(result), [h 198 GGLfixed result,tmp,tmp1,tmp2; local 294 GGLfixed result,t,tmp1,tmp2; local 366 GGLfixed result,t,tmp1,tmp2; local [all...] |
/system/core/include/utils/ |
H A D | RefBase.h | 443 sp<T> result; 444 if (m_ptr && m_refs->attemptIncStrong(&result)) { 445 result.set_pointer(m_ptr); 447 return result;
|
H A D | UniquePtr.h | 76 T* result = mPtr; local 78 return result; 122 T* result = mPtr; local 124 return result;
|