Searched refs:rp (Results 1 - 25 of 69) sorted by relevance

123

/haiku-fatelf/src/system/kernel/arch/m68k/
H A Darch_040_mmu.cpp20 uint32 rp; local
21 rp = (uint32)rt & ~((1 << 9) - 1);
26 : : "d"(rp));
/haiku-fatelf/src/bin/gdb/libiberty/
H A Dlrealpath.c86 const char *rp = realpath (filename, buf); local
87 if (rp == NULL)
88 rp = filename;
89 return strdup (rp);
98 char *rp = canonicalize_file_name (filename); local
99 if (rp == NULL)
102 return rp;
120 char *buf, *rp, *ret; local
124 rp = realpath (filename, buf);
125 ret = strdup (rp
[all...]
/haiku-fatelf/src/bin/network/tcpdump/
H A Dprint-sunrpc.c73 register const struct sunrpc_msg *rp; local
81 rp = (struct sunrpc_msg *)bp;
85 EXTRACT_32BITS(&rp->rm_xid));
89 EXTRACT_32BITS(&rp->rm_xid));
114 EXTRACT_32BITS(&rp->rm_call.cb_proc)));
115 x = EXTRACT_32BITS(&rp->rm_call.cb_rpcvers);
119 switch (EXTRACT_32BITS(&rp->rm_call.cb_proc)) {
125 x = EXTRACT_32BITS(&rp->rm_call.cb_prog);
130 printf(".%u", EXTRACT_32BITS(&rp->rm_call.cb_vers));
140 register struct rpcent *rp; local
[all...]
H A Dprint-ripng.c64 register const struct rip6 *rp = (struct rip6 *)dat; local
79 switch (rp->rip6_cmd) {
84 && rp->rip6_nets->rip6_metric == HOPCNT_INFINITY6
85 && IN6_IS_ADDR_UNSPECIFIED(&rp->rip6_nets->rip6_dest)) {
94 for (ni = rp->rip6_nets; i >= sizeof(*ni);
110 for (ni = rp->rip6_nets; i >= sizeof(*ni);
122 printf(" ripng-%d ?? %u", rp->rip6_cmd, length);
125 if (rp->rip6_vers != RIP6_VERSION)
126 printf(" [vers %d]", rp->rip6_vers);
H A Dprint-rip.c162 register const struct rip *rp; local
174 if (i < sizeof(*rp)) {
178 i -= sizeof(*rp);
180 rp = (struct rip *)dat;
184 rp->rip_vers);
186 switch (rp->rip_vers) {
199 print_unknown_data((u_int8_t *)&rp->rip_cmd,"\n\t",length);
206 rp->rip_cmd),
212 switch (rp->rip_cmd) {
217 ni = (struct rip_netinfo *)(rp
[all...]
H A Dprint-nfs.c289 register const struct sunrpc_msg *rp; local
294 rp = (const struct sunrpc_msg *)bp;
299 EXTRACT_32BITS(&rp->rm_xid));
303 EXTRACT_32BITS(&rp->rm_xid));
307 EXTRACT_32BITS(&rp->rm_reply.rp_stat) == SUNRPC_MSG_ACCEPTED?
311 if (xid_map_find(rp, bp2, &proc, &vers) >= 0)
312 interp_reply(rp, proc, vers, length);
320 parsereq(register const struct sunrpc_msg *rp, register u_int length) argument
328 dp = (u_int32_t *)&rp->rm_call.cb_cred;
422 register const struct sunrpc_msg *rp; local
816 xid_map_enter(const struct sunrpc_msg *rp, const u_char *bp) argument
864 xid_map_find(const struct sunrpc_msg *rp, const u_char *bp, u_int32_t *proc, u_int32_t *vers) argument
931 parserep(register const struct sunrpc_msg *rp, register u_int length) argument
1414 interp_reply(const struct sunrpc_msg *rp, u_int32_t proc, u_int32_t vers, int length) argument
[all...]
H A Dprint-udp.c471 register struct sunrpc_msg *rp; local
487 rp = (struct sunrpc_msg *)(up + 1);
488 direction = (enum sunrpc_msg_type)EXTRACT_32BITS(&rp->rm_direction);
490 sunrpcrequest_print((u_char *)rp, length,
493 nfsreply_print((u_char *)rp, length,
537 register struct sunrpc_msg *rp; local
540 rp = (struct sunrpc_msg *)(up + 1);
541 if (TTEST(rp->rm_direction)) {
542 direction = (enum sunrpc_msg_type)EXTRACT_32BITS(&rp->rm_direction);
544 nfsreq_print((u_char *)rp, lengt
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dlogfile.c48 * @rp: restart page header to check
51 * Check the restart page header @rp for consistency and return TRUE if it is
54 * This function only needs NTFS_BLOCK_SIZE bytes in @rp, i.e. it does not
57 static BOOL ntfs_check_restart_page_header(RESTART_PAGE_HEADER *rp, s64 pos) argument
68 logfile_system_page_size = le32_to_cpu(rp->system_page_size);
69 logfile_log_page_size = le32_to_cpu(rp->log_page_size);
88 if (sle16_to_cpu(rp->major_ver) != 1 ||
89 sle16_to_cpu(rp->minor_ver) != 1) {
92 "1.1 only.)\n", (int)sle16_to_cpu(rp->major_ver),
93 (int)sle16_to_cpu(rp
161 ntfs_check_restart_area(RESTART_PAGE_HEADER *rp) argument
276 ntfs_check_log_client_array(RESTART_PAGE_HEADER *rp) argument
352 ntfs_check_and_load_restart_page(ntfs_attr *log_na, RESTART_PAGE_HEADER *rp, s64 pos, RESTART_PAGE_HEADER **wrp, LSN *lsn) argument
463 ntfs_check_logfile(ntfs_attr *log_na, RESTART_PAGE_HEADER **rp) argument
650 ntfs_is_logfile_clean(ntfs_attr *log_na, RESTART_PAGE_HEADER *rp) argument
[all...]
/haiku-fatelf/src/bin/gawk/
H A Dio.c156 static int close_redir P((struct redirect *rp, int exitwarn, two_way_close_type how));
160 static IOBUF *gawk_popen P((const char *cmd, struct redirect *rp));
163 static int gawk_pclose P((struct redirect *rp));
170 static int two_way_open P((const char *str, struct redirect *rp));
492 register struct redirect *rp; local
557 for (rp = red_head; rp != NULL; rp = rp->next) {
558 if (strlen(rp
744 struct redirect *rp; local
758 register struct redirect *rp; local
793 register struct redirect *rp; local
852 close_redir(register struct redirect *rp, int exitwarn, two_way_close_type how) argument
980 register struct redirect *rp; local
1018 register struct redirect *rp; local
1565 two_way_open(const char *str, struct redirect *rp) argument
2026 gawk_popen(const char *cmd, struct redirect *rp) argument
2100 gawk_pclose(struct redirect *rp) argument
2126 gawk_popen(const char *cmd, struct redirect *rp) argument
2151 gawk_pclose(struct redirect *rp) argument
2174 gawk_popen(const char *cmd, struct redirect *rp) argument
2200 gawk_pclose(struct redirect *rp) argument
2227 struct redirect *rp = NULL; local
[all...]
H A Dre.c35 Regexp *rp; local
143 emalloc(rp, Regexp *, sizeof(*rp), "make_regexp");
144 memset((char *) rp, 0, sizeof(*rp));
145 rp->pat.allocated = 0; /* regex will allocate the buffer */
146 emalloc(rp->pat.fastmap, char *, 256, "make_regexp");
149 rp->pat.translate = casetable;
151 rp->pat.translate = NULL;
153 if ((rerr = re_compile_pattern(temp, len, &(rp
166 research(Regexp *rp, register const char *str, int start, register size_t len, int need_start) argument
205 refree(Regexp *rp) argument
[all...]
H A Dbuiltin.c111 const char *from, struct redirect *rp, int flush));
121 struct redirect *rp,
129 || (rp != NULL && (rp->flag & RED_NOBUF)))) {
138 rp ? rp->value : _("standard output"),
188 struct redirect *rp; local
211 rp = getredirect(tmp->stptr, tmp->stlen);
213 if (rp != NULL) {
214 if ((rp
116 efwrite(const void *ptr, size_t size, size_t count, FILE *fp, const char *from, struct redirect *rp, int flush) argument
1159 struct redirect *rp; local
1178 struct redirect *rp = NULL; local
1505 struct redirect *rp = NULL; local
1568 struct redirect *rp = NULL; local
1807 Regexp *rp; local
1981 Regexp *rp; local
[all...]
/haiku-fatelf/src/bin/network/atftpd/
H A Dargz.c66 const char *rp; local
73 rp = string;
76 if (*rp == delim)
84 *wp++ = *rp;
85 while (*rp++ != '\0');
/haiku-fatelf/src/bin/bash/lib/sh/
H A Dwinsize.c74 get_new_window_size (from_sig, rp, cp)
76 int *rp, *cp;
89 if (rp)
90 *rp = win.ws_row;
/haiku-fatelf/src/libs/pdflib/libs/png/
H A Dpngtrans.c166 png_bytep rp = row; local
172 *rp = (png_byte)(~(*rp));
173 rp++;
179 png_bytep rp = row; local
185 *rp = (png_byte)(~(*rp));
186 rp+=2;
192 png_bytep rp = row; local
198 *rp
218 png_bytep rp = row; local
349 png_bytep rp, end, table; local
546 png_bytep rp; local
558 png_bytep rp; local
573 png_bytep rp; local
588 png_bytep rp; local
[all...]
/haiku-fatelf/src/bin/network/wget/src/
H A Dcmpt.c196 while (*rp == ' ') \
197 ++rp; \
198 if (*rp < '0' || *rp > '9') \
202 val += *rp++ - '0'; \
203 } while (--__n > 0 && val * 10 <= to && *rp >= '0' && *rp <= '9'); \
218 while (*rp == ' ') \
219 ++rp; \
226 if (strncasecmp (alts, rp, le
[all...]
/haiku-fatelf/src/bin/zic/
H A Dzic.c147 static zic_t rpytime P((const struct rule * rp, int wantedy));
148 static void rulesub P((struct rule * rp,
153 static int stringrule P((char * result, const struct rule * rp,
747 register struct rule * rp; local
786 rp = &rules[base];
788 if (strcmp(rp->r_name, rules[out].r_name) != 0)
792 if (strcmp(zp->z_rule, rp->r_name) != 0)
794 zp->z_rules = rp;
1262 rulesub(rp, loyearp, hiyearp, typep, monthp, dayp, timep)
1263 register struct rule * const rp;
1884 register struct rule * rp; local
1966 register struct rule * rp; local
[all...]
/haiku-fatelf/src/libs/ncurses/ncurses/tinfo/
H A Dcomp_parse.c244 ENTRY *qp, *rp, *lastread = 0; local
257 for_entry_list(rp) {
258 if (qp > rp
259 && _nc_entry_match(qp->tterm.term_names, rp->tterm.term_names)) {
267 (void) fprintf(stderr, " %s", _nc_first_name(rp->tterm.term_names));
296 for_entry_list(rp) {
297 if (rp != qp
298 && _nc_name_match(rp->tterm.term_names, lookfor, "|")) {
302 qp->uses[i].link = rp;
317 rp
[all...]
H A Dread_termcap.c279 register char *r_end, *rp; local
302 rp = record + topreclen + 1;
303 r_end = rp + BFRAG;
315 rp = r_end = record + BFRAG;
366 rp = record;
390 if (rp == record || *(rp - 1) != '\\')
393 *rp++ = c;
400 if (rp >= r_end) {
404 pos = rp
[all...]
/haiku-fatelf/src/bin/coreutils/src/
H A Dgetlimits.c97 char *rp = result + rlen - 1; local
101 *rp = '\0';
112 *--rp = (t1 & 0x0F) | 0x30; /* top nibble to ASCII */
115 *--rp = '-';
117 if (rp != result)
118 memmove (result, rp, rlen - (rp - result));
H A Dcut.c59 #define ADD_RANGE_PAIR(rp, low, high) \
66 (rp) = X2NREALLOC (rp, &n_rp_allocated); \
68 rp[n_rp].lo = (low); \
69 rp[n_rp].hi = (high); \
339 `rp' array) directly. */
352 struct range_pair *rp = NULL; local
421 ADD_RANGE_PAIR (rp, initial, value);
431 ADD_RANGE_PAIR (rp, initial, value);
440 ADD_RANGE_PAIR (rp, valu
[all...]
/haiku-fatelf/src/libs/ncurses/progs/
H A Dinfocmp.c806 ENTRY *qp, *rp; local
848 for (rp = heads[1]; rp; rp = rp->next)
849 if (_nc_entry_match(qp->tterm.term_names, rp->tterm.term_names)) {
851 qp->crosslinks[qp->ncrosslinks] = rp;
854 if (rp->ncrosslinks < MAX_CROSSLINKS)
855 rp->crosslinks[rp
[all...]
H A Dtoe.c160 ENTRY *qp, *rp; local
165 for_entry_list(rp) {
166 if (rp->nuses == 0)
169 for (i = 0; i < rp->nuses; i++)
171 rp->uses[i].name, "|")) {
176 _nc_first_name(rp->tterm.term_names));
/haiku-fatelf/src/system/libroot/posix/glibc/misc/
H A Dtsearch.c160 node *rp, *lp; local
161 rp = &(*rootp)->right;
166 || ((*rp) != NULL && (*lp) != NULL && (*rp)->red && (*lp)->red))
170 if (*rp)
171 (*rp)->red = 0;
196 p->left = *rp;
197 *rp = p;
206 gp->left = *rp;
207 *rp
[all...]
/haiku-fatelf/src/bin/bash/lib/intl/
H A Drelocatable.c210 const char *rp = rel_installdir + strlen (rel_installdir); local
215 while (rp > rel_installdir && cp > cp_base)
218 const char *rpi = rp;
245 rp = rpi;
249 if (rp > rel_installdir)
/haiku-fatelf/src/bin/gawk/intl/
H A Drelocatable.c209 const char *rp = rel_installdir + strlen (rel_installdir); local
214 while (rp > rel_installdir && cp > cp_base)
217 const char *rpi = rp;
244 rp = rpi;
248 if (rp > rel_installdir)

Completed in 180 milliseconds

123