Searched refs:result (Results 26 - 50 of 75) sorted by relevance

123

/system/extras/fatblock/
H A Dfatblock.c54 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 Difc_utils.c508 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 Duuid.c50 void generate_uuid(const char *namespace, const char *name, u8 result[16]) argument
53 struct uuid *uuid = (struct uuid *)result;
H A Dcontents.c405 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 Dcrasher.c104 void* result = NULL; local
105 pthread_join(t, &result);
106 return (int) result;
/system/core/libcutils/
H A Dtrace.c91 bool result = false; local
105 result = atrace_is_cmdline_match(cmdline);
116 return result;
/system/core/sh/
H A Darith.y120 long result;
125 result = yyparse();
129 return (result);
/system/core/toolbox/
H A Dkill.c103 int result = 0; local
139 result = err;
147 return result;
/system/extras/tests/bionic/libc/bionic/
H A Dtest_mutex.c46 #define expect(call,result) \
49 if (ret != (result)) { \
51 __FILE__, __LINE__, ret, (result), #call ); \
/system/core/include/utils/
H A DUniquePtr.h76 T* result = mPtr; local
78 return result;
122 T* result = mPtr; local
124 return result;
/system/core/libutils/
H A DLinearAllocator.cpp203 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 DString8.cpp215 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 DThreads.cpp156 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 DMDnsSdListener.cpp81 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 DDnsProxyListener.cpp140 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 Dtransport.c797 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 Dusb_linux.c620 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 Dtransport_local.c379 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 Dusbhost.c341 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 Dusb_linux.c113 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 Dpackage.c68 *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 Dnetcfg.c146 int result = dump_interfaces(); local
148 return result;
/system/vold/
H A DProcess.cpp165 int result = 0; local
168 result = 10 * result + (*s++ - '0');
170 return result;
H A DVolumeManager.cpp513 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 Dlogprint.c450 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) {

Completed in 1580 milliseconds

123