Searched refs:result (Results 1 - 25 of 64) sorted by relevance

123

/system/extras/ext4_utils/
H A Duuid.h22 void generate_uuid(const char *namespace, const char *name, u8 result[16]);
H A Duuid.c50 void generate_uuid(const char *namespace, const char *name, u8 result[16]) argument
53 struct uuid *uuid = (struct uuid *)result;
/system/core/libcutils/
H A Ddebugger.c34 int result = 0; local
36 result = -1;
40 result = -1;
45 result = -1;
53 return result;
67 int result = 0; local
69 result = -1;
73 result = -1;
79 result = -1;
86 return result;
[all...]
H A Darray.c95 int result = ensureCapacity(array, size + 1); local
96 if (result < 0) {
97 return result;
148 int result = ensureCapacity(array, newSize); local
149 if (result < 0) {
150 return result;
H A Dashmem-host.c99 int result; local
101 result = fstat(fd, &buf);
102 if (result == -1) {
/system/extras/tests/bionic/libc/common/
H A Dtest_pthread_join.c44 void* result; local
46 pthread_join(t1, &result);
47 printf("thread2 received code %08x from thread1\n", (int)result);
56 void* result; local
58 pthread_join(t1, &result);
59 printf("thread3 received code %08x from thread1\n", (int)result);
H A Dtest_sem_post.c82 void* result; local
83 pthread_join(t[nn], &result);
84 if (result != (void*)t[nn]) {
85 printf("Thread %p joined but returned %p\n", (void*)t[nn], result);
/system/media/camera/tests/
H A Dcamera_metadata_tests.cpp179 int result; local
186 result = add_camera_metadata_entry(m,
189 EXPECT_EQ(OK, result);
197 result = add_camera_metadata_entry(m,
200 EXPECT_EQ(OK, result);
208 result = add_camera_metadata_entry(m,
211 EXPECT_EQ(OK, result);
223 result = add_camera_metadata_entry(m,
226 EXPECT_EQ(OK, result);
234 result
289 int result; local
313 int result; local
362 int result; local
388 int result; local
416 int result; local
446 int result; local
473 int result; local
500 int result; local
524 int result; local
555 int result; local
583 int result; local
610 int result; local
635 int result; local
664 int result; local
690 int result; local
778 int result; local
847 int result; local
948 int result; local
[all...]
/system/core/libmincrypt/tools/
H A DDumpPublicKey.java75 StringBuilder result = new StringBuilder();
80 result.append("v");
81 result.append(Integer.toString(version));
82 result.append(" ");
85 result.append("{");
86 result.append(nwords);
91 result.append(",0x");
92 result.append(N0inv.toString(16));
98 result.append(",{");
101 result
[all...]
/system/core/adb/
H A Dtest_track_devices.c19 int result = 0; local
27 result += len2;
31 return result;
37 int result = 0; local
45 result += len2;
49 return result;
H A Dtest_track_jdwp.c19 int result = 0; local
27 result += len2;
31 return result;
37 int result = 0; local
45 result += len2;
49 return result;
H A Dusb_osx.c126 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/fastboot/
H A Dusb_osx.c74 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/extras/libublock/
H A Dublock.c192 int result; local
231 result = (handle_fn)(ub_ctx, in_buf, in_buf_len, out_buf, &out_buf_len);
234 return result;
243 int result; local
253 result = ublock_handle_request(ub_ctx, in_buf, in_len, out_buf, &out_len);
262 if (result)
267 return result;
277 int result; local
279 result = 0;
282 ((exit_cond & EXIT_FAIL) && (result))) {
345 int result; local
[all...]
/system/extras/atrace/
H A Datrace.c139 bool result = true; local
141 result &= setKernelOptionEnable(filenames[i], enable);
143 return result;
259 // clock will result in the kernel using a per-CPU local clock.
336 int result, flush; local
339 result = deflateInit(&zs, Z_DEFAULT_COMPRESSION);
340 if (result != Z_OK) {
341 fprintf(stderr, "error initializing zlib: %d\n", result);
358 result = read(traceFD, in, bufSize);
359 if (result <
[all...]
/system/core/libsysutils/src/
H A DSocketClient.cpp94 int result = sendDataLocked(buf, sizeof(buf)); local
95 if (result == 0 && len > 0) {
96 result = sendDataLocked(data, len);
100 return result;
112 char *result = (char *)malloc(len * 2 + 3); local
113 char *current = result;
128 result = (char *)realloc(result, current-result);
129 return result;
[all...]
/system/core/include/private/pixelflinger/
H A Dggl_fixed.h112 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/toolbox/
H A Dumount.c35 int result = 0; local
49 result = 1;
56 return result;
H A Duptime.c60 int fd, result; local
66 result = ioctl(fd, ANDROID_ALARM_GET_TIME(ANDROID_ALARM_ELAPSED_REALTIME), &ts);
69 if (result == 0)
/system/core/libpixelflinger/
H A Dfixed.cpp31 // the result will overflow, so just set it to the biggest/inf value
262 uint32_t result; local
267 result = 0x7fffffff; // basic overflow
269 result = lo/c; // note: c can't be 0
270 if ((result >> 31) != 0) // result must fit in 31 bits
275 result = 0;
279 result <<= 1;
282 result |= 1;
286 return int32_t(result);
322 int32_t result; local
[all...]
/system/core/libctest/
H A Dctest.c122 int result = runCurrentTest(); local
124 if (result != 0) {
130 if (result != ASSERTION_ERROR) {
133 suite->testNames[suite->currentTest], result);
/system/core/sh/
H A Darith_lex.l54 #define YY_INPUT(buf,result,max) \
55 result = (*buf = *arith_buf++) ? 1 : YY_NULL;
/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/netd/
H A DDnsProxyListener.cpp77 struct addrinfo* result = NULL; local
78 uint32_t rv = getaddrinfo(mHost, mService, mHints, &result);
84 struct addrinfo* ai = result;
95 ALOGW("Error writing DNS result to client");
98 if (result) {
99 freeaddrinfo(result);
196 int result = inet_pton(addrFamily, addrStr, addr); local
197 if (result <= 0) {
262 ALOGW("GetHostByAddrHandler: Error writing DNS result to client\n");

Completed in 227 milliseconds

123