Searched refs:rv (Results 1 - 25 of 99) sorted by relevance

1234

/haiku-fatelf/src/tests/kits/media/nodetest/
H A Dmain.cpp12 status_t rv; variable
34 rv = roster->RegisterNode(producer);
35 val(rv);
38 rv = roster->RegisterNode(consumer);
39 val(rv);
60 rv = roster->GetLiveNodes(live_nodes, &live_count, &liveformat);
61 val(rv);
66 rv = roster->GetLiveNodes(live_nodes, &live_count, NULL, &liveformat);
67 val(rv);
72 rv
[all...]
/haiku-fatelf/src/tests/kits/net/
H A Dstop_stack.c11 int rv; local
19 rv = ioctl(fd, NET_STACK_STOP, NULL, 0);
20 printf("ioctl to stop stack gave %d\n", rv);
22 rv = close(fd);
23 printf("close gave %d\n", rv);
H A Dat_client.c23 int rv, on = 1; local
35 rv = bind(sock, (const struct sockaddr*)&sin, salen);
36 if (rv < 0)
37 err(rv, "bind");
43 rv = connect(sock, (const struct sockaddr*)&sin, salen);
44 } while (rv < 0 && errno == EINPROGRESS);
45 if (rv < 0 && errno != EISCONN)
50 rv = read(sock, buffer, 50);
51 } while (rv < 0 && errno == EWOULDBLOCK);
52 if (rv <
[all...]
H A Dat_srv.c23 int rv, on = 1; local
34 rv = bind(sock, (const struct sockaddr*)&sin, salen);
35 if (rv < 0)
39 rv = listen(sock, 5);
40 if (rv < 0)
49 rv = write(newsock, HELLO_MSG, strlen(HELLO_MSG));
50 if (rv < 0)
H A Dselect_test.c17 int rv; local
40 rv = select(s + 1, &fdr, NULL, &fde, &tv);
42 printf("select gave %d in %ld seconds\n", rv, rtc);
43 if (rv < 0)
55 rv = select(s +1, &fdr, &fdw, &fde, NULL);
56 printf("select gave %d\n", rv);
H A Dselect_test2.c17 int rv; local
51 rv = select(s + 1, &fdr, NULL, &fde, &tv);
53 printf("select gave %d (expecting 0) in %ld seconds\n", rv, rtc);
65 rv = select(f +1, &fdr, NULL, NULL, NULL);
66 printf("select gave %d (expecting 2)\n", rv);
68 if (rv > 0) {
77 } else if (rv == 0) {
H A Dselect_test_big.c20 int rv; local
67 rv = select(max + 1, &fdr, NULL, &fde, &tv);
69 printf("select gave %d in %ld seconds\n", rv, rtc);
70 if (rv < 0)
85 rv = select(max +1, &fdr, &fdw, &fde, NULL);
86 printf("select gave %d\n", rv);
88 if (rv > 0) {
95 } else if (rv < 0)
H A Dtest2.c23 int rv; local
41 rv = bind(sock, (struct sockaddr *)&sa, sizeof(sa));
42 if (rv < 0)
43 err(rv, "Socket could not be bound to an ephemereal port");
H A Dtest3.c25 int i, rv, totsock = 0; local
50 rv = bind(sock[i], (struct sockaddr*)&sa, sizeof(sa));
51 if (rv < 0)
57 rv = close(sock[i]);
58 if (rv < 0)
/haiku-fatelf/src/libs/edit/
H A Del.c142 int rv = 0; local
151 rv = prompt_set(el, va_arg(va, el_pfunc_t), op);
155 rv = term_set(el, va_arg(va, char *));
159 rv = map_set_editor(el, va_arg(va, char *));
185 rv = map_bind(el, i, argv);
190 rv = term_telltc(el, i, argv);
195 rv = term_settc(el, i, argv);
200 rv = term_echotc(el, i, argv);
205 rv = tty_stty(el, i, argv);
209 rv
291 int rv; local
[all...]
/haiku-fatelf/src/tests/kits/media/notificationtest/
H A Dmain.cpp25 status_t rv; local
26 rv = roster->StartWatching(be_app_messenger);
27 if (rv != B_OK) {
28 printf("Globalwatch: StartWatching failed. result = %#lx\n",rv);
35 status_t rv; local
37 rv = roster->GetLiveNodes(out_live_nodes, &io_total_count);
38 if (rv != B_OK) {
39 printf("GetLiveNodes failed. result = %#lx\n",rv);
51 status_t rv; local
52 rv
68 status_t rv; local
83 status_t rv; local
[all...]
/haiku-fatelf/src/bin/bash/support/
H A Dbashversion.c68 char dv[128], *rv; local
126 rv = strchr (dv, '.');
127 if (rv)
128 *rv++ = '\0';
130 rv = "00";
135 printf ("%s\n", rv);
/haiku-fatelf/src/bin/bash/lib/sh/
H A Dnetconn.c48 int rv; local
53 rv = getpeername(fd, &sa, &l);
55 return ((rv < 0 && (errno == ENOTSOCK || errno == ENOTCONN || errno == EINVAL)) ? 0 : 1);
H A Dtimes.c41 clock_t rv; local
63 rv = (clock_t)(CONVTCK(tv));
72 rv = (clock_t)time((time_t *)0) * clk_tck;
75 return rv;
/haiku-fatelf/src/kits/media/
H A DFileInterface.cpp54 status_t rv; local
66 rv = SetRef(ref, request->create, &reply.duration);
68 request->SendReply(rv, &reply, sizeof(reply));
77 rv = GetRef(&resultRef, reply.mimetype);
78 if (rv == B_OK) {
83 request->SendReply(rv, &reply, sizeof(reply));
95 rv = SniffRef(ref, reply.mimetype, &reply.capability);
96 request->SendReply(rv, &reply, sizeof(reply));
H A DMediaRoster.cpp212 status_t rv; local
221 rv = QueryServer(SERVER_RELEASE_NODE_ALL, &request, sizeof(request), &reply,
223 if (rv != B_OK) {
228 return rv;
254 status_t rv; local
258 rv = QueryServer(SERVER_GET_NODE, &request, sizeof(request), &reply,
260 if (rv != B_OK)
261 return rv;
268 return rv;
299 status_t rv; local
376 status_t rv; local
457 status_t rv; local
628 status_t rv; local
729 status_t rv; local
748 status_t rv; local
785 status_t rv; local
834 status_t rv; local
878 status_t rv; local
1467 status_t rv; local
1560 status_t rv; local
1613 status_t rv; local
1656 status_t rv; local
1697 status_t rv; local
1750 status_t rv; local
1795 status_t rv; local
2160 status_t rv, result; local
2222 status_t rv; local
2294 status_t rv; local
2392 status_t rv; local
2520 status_t rv; local
2624 status_t rv; local
2698 status_t rv; local
2725 status_t rv; local
2755 status_t rv; local
2787 status_t rv; local
2819 status_t rv; local
2845 status_t rv; local
2967 status_t rv; local
2996 status_t rv; local
3043 status_t rv; local
3070 status_t rv; local
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/disk/virtual/nbd/
H A Dnbd-server.py41 rv = ''
42 while len(rv) < nbytes:
43 more = self.sock.recv(nbytes - len(rv))
45 rv += more
46 return rv
56 rv = self.sock.recv(nbytes)
57 print `rv`
58 return rv
61 rv = self.sock.send(astring)
62 print `rv`
[all...]
/haiku-fatelf/src/bin/bash/lib/readline/
H A Dhistfile.c311 int file, chars_read, rv; local
318 rv = 0;
323 rv = errno;
333 rv = EFTYPE;
335 rv = EINVAL;
347 rv = errno = EFBIG;
349 rv = errno = EOVERFLOW;
351 rv = errno = EINVAL;
368 rv = (chars_read < 0) ? errno : 0;
411 return rv;
424 int file, mode, rv; local
[all...]
/haiku-fatelf/src/bin/gdb/readline/
H A Dhistfile.c263 int file, chars_read, rv; local
270 rv = 0;
275 rv = errno;
285 rv = EFTYPE;
287 rv = EINVAL;
299 rv = errno = EFBIG;
301 rv = errno = EOVERFLOW;
303 rv = errno = EINVAL;
320 rv = (chars_read < 0) ? errno : 0;
363 return rv;
376 int file, mode, rv; local
[all...]
/haiku-fatelf/src/bin/network/ftp/
H A Dcomplete.c141 unsigned char rv; local
153 rv = complete_ambiguous(word, list, words);
154 if (rv == CC_REFRESH) {
156 rv = CC_ERROR;
159 return (rv);
173 unsigned char rv; local
223 rv = complete_ambiguous(file, list, words);
224 if (rv == CC_REFRESH) {
238 rv = CC_ERROR;
242 return (rv);
253 unsigned char rv; local
286 unsigned char rv; local
[all...]
/haiku-fatelf/src/system/libroot/posix/stdlib/
H A Dstrtod.c383 Bigint *rv; local
386 rv = (Bigint *)malloc(sizeof(Bigint) + (x-1)*sizeof(Long));
387 rv->k = k;
388 rv->maxwds = x;
389 rv->sign = rv->wds = 0;
390 return rv;
1130 double aadj, aadj1, adj, rv, rv0; local
1137 rv = 0.;
1252 rv
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/audio/ac97/auvia/
H A Dutil.c73 status_t rv; local
86 rv = get_memory_map(logadr,size,&pe,1);
87 if (rv < B_OK) {
/haiku-fatelf/src/add-ons/kernel/drivers/audio/emuxki/
H A Dutil.c73 status_t rv; local
86 rv = get_memory_map(logadr,size,&pe,1);
87 if (rv < B_OK) {
/haiku-fatelf/src/add-ons/kernel/drivers/audio/ice1712/
H A Dutil.c55 status_t rv; local
68 rv = get_memory_map(logadr,size,&pe,1);
69 if (rv < B_OK) {
/haiku-fatelf/src/documentation/docbook-xsl/slides/browser/
H A DxbDebug.js126 var rv;
164 var rv;
167 rv = xbDebugApplyFunction(funcname, funcref, scopeobject, arguments);
168 postcall(scopename, funcname, arguments, rv);
169 return rv;
190 var rv;
197 rv = xbDebugApplyFunction(methodname, methodref, thisref, argsref);
198 postcall(contextname + '.' + classname, methodname, argsref, rv);
199 return rv;
249 function xbDebugTraceAfter(scopename, funcname, funcarguments, rv)
[all...]

Completed in 127 milliseconds

1234