Searched refs:ret (Results 1 - 25 of 88) sorted by relevance

1234

/ast/src/cmd/ksh93/tests/
H A Dreturn.sh79 ret=$?
80 if (( $ret != 35 ))
81 then err_exit "exit 35 is $ret not 35"
84 ret=$?
85 if (( $ret != 35 ))
86 then err_exit "return 35 is $ret not 35"
92 ret=$?
93 if (( $ret != 3 ))
94 then err_exit "foo 0 3: return is $ret not 3"
101 ret
[all...]
/ast/src/cmd/cs/
H A Ddbm.c156 char ret[4 * PATH_MAX]; local
173 n = sfsprintf(ret, sizeof(ret), "I closed\n", key.dptr);
178 if (val.dptr) n = sfsprintf(ret, sizeof(ret), "I %s\n", val.dptr);
182 n = sfsprintf(ret, sizeof(ret), "E db io error\n");
184 else n = sfsprintf(ret, sizeof(ret), "W %s not in db\n", key.dptr);
207 if (val.dptr) n = sfsprintf(ret, sizeo
[all...]
/ast/src/cmd/cs/vcs_src/
H A Dvcs.c138 char ret[ 4 * PATH_MAX ]; local
153 (void) tmform(ret, "%i", &t);
154 sfprintf( CST->logfd, "[%s]\n%s\n", ret, msg );
157 n = sizeof(ret);
160 n = IfsConnect( ret, n, uid, argc, argv );
163 n = IfsDisconnect( ret, n, uid, argc, argv );
166 n = IfsGetFile( ret, n, uid, argc, argv );
169 n = sfsprintf(ret, n, command_help );
172 n = rscs_instances( argc, argv, ret, &n );
178 n = IfsListDEnts( ret,
[all...]
H A Dvcs_rscs.c29 rscs_out(int argc, char** argv, char* ret, int* n) argument
40 *n = sfsprintf(ret, *n, "E arguments error\n");
55 *n = sfsprintf(ret, *n, "E %s cannot open for read\n", rf.path);
60 *n = sfsprintf(ret, *n, "E %s not vcs\n", rf.path);
68 *n = sfsprintf(ret, *n, "E version %s not existed\n", vs.version);
75 *n = sfsprintf(ret, *n, "E %s cannot open for write\n", vs.path);
81 *n = sfsprintf(ret, *n, "E checkout\n");
90 *n = sfsprintf(ret, *n, "I %s(%s) checkout\n", vs.path, vs.tp->version);
95 rscs_instances(int argc, char** argv, char* ret, int* n) argument
109 *n = sfsprintf(ret, *
[all...]
H A Dmnt_vcs.c25 int ret; local
32 if ((ret = write(istate.fd, buf, strlen(buf))) < 0)
38 return (ret);
45 int ret; local
61 ret = read(istate.fd, buf, bufsize);
62 if (ret <= 0)
69 buf[ret] = '\0';
70 return (ret);
H A Difs_agent.c581 IfsMount( ret, retsize, uid, argc, argv )
582 char *ret;
604 return csputmsg( ret, retsize, -1 );
608 return csputmsg( ret, retsize, 0 );
615 IfsConnect( ret, retsize, uid, argc, argv )
616 char *ret;
624 return csputmsg( ret, retsize, 0 );
625 return csputmsg( ret, retsize, -1 );
632 IfsDisconnect( ret, retsize, uid, argc, argv )
633 char *ret;
[all...]
/ast/src/lib/libcs/
H A Dmsgsend.c36 msgsend(int fd, register Msg_call_t* msg, unsigned long call, long ret, int err, void* data) argument
50 ret = ret == -1 ? ~msg->stamp : msg->stamp;
57 msgputu(&b, e, ret);
58 if (ret == -1) msgputu(&b, e, err);
63 de = (struct dirent*)((char*)dp + ret);
128 msgputz(&b, e, data, ret);
131 ret = b - msg->data;
132 msgsetsize(msg->data, ret);
133 if (cswrite(&cs, fd, msg->data, ret) !
[all...]
/ast/src/cmd/dsslib/html/
H A Dhtml.c31 html_ref_F(Cx_t* cx, Cxvariable_t* var, Cxoperand_t* ret, Cxoperand_t* arg, int n, void* data, Cxdisc_t* disc) argument
92 ret->value.string.size = t - b;
93 ret->value.string.data = b;
96 ret->value = arg->value;
/ast/src/lib/libtksh/tcl/
H A Dregexp.c332 register char *ret; local
346 ret = regnode(OPEN+parno,rcstate);
348 ret = NULL;
354 if (ret != NULL)
355 regtail(ret, br); /* OPEN -> first. */
357 ret = br;
366 regtail(ret, br); /* BRANCH -> BRANCH. */
374 regtail(ret, ender);
377 for (br = ret; br != NULL; br = regnext(br))
391 return(ret);
404 register char *ret; local
445 register char *ret; local
479 regtail(regnode(BACK,rcstate), ret); /* loop back */ local
510 register char *ret; local
622 register char *ret; local
[all...]
/ast/src/cmd/3d/
H A Dfsync3d.c35 return(state.ret);
H A Dfchmod3d.c35 return(state.ret);
H A Dfchown3d.c35 return state.ret;
H A Dfpathconf3d.c37 return(state.ret);
H A Dfstatvfs3d.c37 return(state.ret);
H A Dstatvfs3d.c36 return(state.ret);
H A Dgetdents3d.c37 return(state.ret);
70 return(state.ret);
H A Dacl3d.c45 return state.ret;
H A Dchmod3d.c53 return(state.ret);
H A Dchown3d.c38 return(state.ret);
/ast/src/lib/libdss/
H A Ddssprintf.c92 Cxoperand_t ret; local
94 if (ap->expr && cxeval(fp->cx, ap->expr, fp->data, &ret) < 0 || cxcast(fp->cx, &ret, ap->variable, ap->cast, fp->data, ap->details))
104 if (ret.value.number < 1)
106 else if (ret.value.number > UCHAR_MAX)
109 value->c = (unsigned char)ret.value.number;
113 value->f = ret.value.number;
124 if (((ret.value.number >= 0) ? ret.value.number : -ret
[all...]
H A Ddssmisc.c124 Cxoperand_t ret; local
126 if (cxcast(record->file->dss->cx, &ret, variable, type, record, details))
128 *value = ret.value;
/ast/src/lib/libbz/
H A Dbzlib.c887 Int32 ret; local
915 ret = bzCompressInit ( &(bzf->strm), blockSize100k,
917 if (ret != BZ_OK)
918 { BZ_SETERR(ret); free(bzf); return NULL; };
934 Int32 n, n2, ret; local
954 ret = bzCompress ( &(bzf->strm), BZ_RUN );
955 if (ret != BZ_RUN_OK)
956 { BZ_SETERR(ret); return; };
980 Int32 n, n2, ret; local
997 ret
1038 int ret; local
1109 Int32 n, ret; local
1200 int ret; local
1251 int ret; local
1481 Int32 n, n2, ret; local
[all...]
/ast/src/cmd/dsslib/ip_t/
H A Dip_t.c94 addrv4_internal(Cx_t* cx, Cxtype_t* type, const char* details, Cxformat_t* format, Cxoperand_t* ret, const char* buf, size_t size, Vmalloc_t* vm, Cxdisc_t* disc) argument
105 ret->value.number = addr;
146 addrv6_internal(Cx_t* cx, Cxtype_t* type, const char* details, Cxformat_t* format, Cxoperand_t* ret, const char* buf, size_t size, Vmalloc_t* vm, Cxdisc_t* disc) argument
167 ret->value.buffer.data = ap;
168 ret->value.buffer.size = sizeof(*ap);
181 addr_internal(Cx_t* cx, Cxtype_t* type, const char* details, Cxformat_t* format, Cxoperand_t* ret, const char* buf, size_t size, Vmalloc_t* vm, Cxdisc_t* disc) argument
190 ret->value.number = addrv4;
191 ret->type = IPV4ADDR_T;
205 ret->value.buffer.data = ap;
206 ret
226 as16path_internal(Cx_t* cx, Cxtype_t* type, const char* details, Cxformat_t* format, Cxoperand_t* ret, const char* buf, size_t size, Vmalloc_t* vm, Cxdisc_t* disc) argument
245 as32_internal(Cx_t* cx, Cxtype_t* type, const char* details, Cxformat_t* format, Cxoperand_t* ret, const char* buf, size_t size, Vmalloc_t* vm, Cxdisc_t* disc) argument
273 as32path_internal(Cx_t* cx, Cxtype_t* type, const char* details, Cxformat_t* format, Cxoperand_t* ret, const char* buf, size_t size, Vmalloc_t* vm, Cxdisc_t* disc) argument
287 aspath_internal(Cx_t* cx, Cxtype_t* type, const char* details, Cxformat_t* format, Cxoperand_t* ret, const char* buf, size_t size, Vmalloc_t* vm, Cxdisc_t* disc) argument
381 cluster_internal(Cx_t* cx, Cxtype_t* type, const char* details, Cxformat_t* format, Cxoperand_t* ret, const char* buf, size_t size, Vmalloc_t* vm, Cxdisc_t* disc) argument
411 community_internal(Cx_t* cx, Cxtype_t* type, const char* details, Cxformat_t* format, Cxoperand_t* ret, const char* buf, size_t size, Vmalloc_t* vm, Cxdisc_t* disc) argument
441 extended_internal(Cx_t* cx, Cxtype_t* type, const char* details, Cxformat_t* format, Cxoperand_t* ret, const char* buf, size_t size, Vmalloc_t* vm, Cxdisc_t* disc) argument
471 labels_internal(Cx_t* cx, Cxtype_t* type, const char* details, Cxformat_t* format, Cxoperand_t* ret, const char* buf, size_t size, Vmalloc_t* vm, Cxdisc_t* disc) argument
508 prefixv4_internal(Cx_t* cx, Cxtype_t* type, const char* details, Cxformat_t* format, Cxoperand_t* ret, const char* buf, size_t size, Vmalloc_t* vm, Cxdisc_t* disc) argument
561 prefixv6_internal(Cx_t* cx, Cxtype_t* type, const char* details, Cxformat_t* format, Cxoperand_t* ret, const char* buf, size_t size, Vmalloc_t* vm, Cxdisc_t* disc) argument
595 prefix_internal(Cx_t* cx, Cxtype_t* type, const char* details, Cxformat_t* format, Cxoperand_t* ret, const char* buf, size_t size, Vmalloc_t* vm, Cxdisc_t* disc) argument
[all...]
/ast/src/lib/libast/hash/
H A Dhashalloc.c44 register Hash_table_t* ret = 0; local
189 ret = tab;
198 if (!ret) hashfree(tab);
199 return(ret);
/ast/src/cmd/ksh93/data/
H A Dbash_pre_rc.sh223 local ret
229 ret=$?
230 if [[ $ret != 0 ]]; then
247 return $ret

Completed in 30 milliseconds

1234