Searched refs:readbuf (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-11-stable/libexec/mknetid/
H A Dmknetid.c104 char readbuf[LINSIZ]; local
183 while(fgets(readbuf, LINSIZ, pfp)) {
185 for (ptr = readbuf; *ptr != '\0'; ptr++)
190 if ((ptr = strchr(readbuf, ':')) == NULL) {
191 warnx("bad passwd file entry: %s", readbuf);
197 warnx("bad passwd file entry: %s", readbuf);
204 warnx("bad passwd file entry: %s", readbuf);
211 warnx("bad passwd file entry: %s", readbuf);
229 if ((glist = lookup(mtable, (char *)&readbuf)) != NULL) {
245 while ((ptr = fgets(readbuf, LINSI
[all...]
/freebsd-11-stable/contrib/gdb/gdb/config/sparc/
H A Dnm-nbsd.h40 void *readbuf, const void *writebuf,
/freebsd-11-stable/libexec/revnetgroup/
H A Drevnetgroup.c74 char readbuf[LINSIZ]; local
122 while (fgets(readbuf, LINSIZ, fp)) {
123 if (readbuf[0] == '#')
126 while(readbuf[strlen(readbuf) - 2] == '\\') {
127 fgets((char *)&readbuf[strlen(readbuf) - 2],
128 sizeof(readbuf) - strlen(readbuf), fp);
131 if ((data = (char *)(strpbrk(readbuf, " \
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dppc-sysv-tdep.c327 struct regcache *regcache, void *readbuf,
336 if (readbuf)
343 convert_typed_floating (regval, regtype, readbuf, type);
359 if (readbuf)
363 (bfd_byte *) readbuf + 0);
365 (bfd_byte *) readbuf + 4);
380 if (readbuf)
388 store_unsigned_integer (readbuf, TYPE_LENGTH (type), regval);
403 if (readbuf)
406 regcache_cooked_read (regcache, tdep->ppc_vr0_regnum + 2, readbuf);
326 do_ppc_sysv_return_value(struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *readbuf, const void *writebuf, int broken_gcc) argument
515 ppc_sysv_abi_return_value(struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, void *readbuf, const void *writebuf) argument
524 ppc_sysv_abi_broken_return_value(struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, void *readbuf, const void *writebuf) argument
845 ppc64_sysv_abi_return_value(struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, void *readbuf, const void *writebuf) argument
[all...]
H A Dauxv.h69 void *readbuf,
H A Dppc-tdep.h40 void *readbuf,
45 void *readbuf,
71 void *readbuf,
H A Dbfd-target.c74 const char *annex, void *readbuf,
89 if (readbuf != NULL
91 readbuf, offset - s->addr, len))
72 target_bfd_xfer_partial(struct target_ops *ops, enum target_object object, const char *annex, void *readbuf, const void *writebuf, ULONGEST offset, LONGEST len) argument
H A Dcorelow.c523 const char *annex, void *readbuf,
529 if (readbuf)
530 return (*ops->to_xfer_memory) (offset, readbuf, len, 0/*read*/,
538 if (readbuf)
558 ! bfd_get_section_contents (core_bfd, section, readbuf,
573 if (readbuf)
574 return (*ops->to_xfer_memory) (addr, readbuf, len, 0/*read*/,
585 readbuf, writebuf, offset, len);
521 core_xfer_partial(struct target_ops *ops, enum target_object object, const char *annex, void *readbuf, const void *writebuf, ULONGEST offset, LONGEST len) argument
H A Dinftarg.c560 const char *annex, void *readbuf,
566 if (readbuf)
567 return child_xfer_memory (offset, readbuf, len, 0/*write*/,
570 return child_xfer_memory (offset, readbuf, len, 1/*write*/,
578 return NATIVE_XFER_UNWIND_TABLE (ops, object, annex, readbuf, writebuf,
585 return NATIVE_XFER_AUXV (ops, object, annex, readbuf, writebuf,
592 return NATIVE_XFER_WCOOKIE (ops, object, annex, readbuf, writebuf,
599 return NATIVE_XFER_DIRTY (ops, object, annex, readbuf, writebuf,
559 child_xfer_partial(struct target_ops *ops, enum target_object object, const char *annex, void *readbuf, const void *writebuf, ULONGEST offset, LONGEST len) argument
H A Dsparc-nat.c258 const char *annex, void *readbuf, const void *writebuf,
265 gdb_assert (readbuf && writebuf == NULL);
305 memcpy (readbuf, buf + offset, len);
256 sparc_xfer_wcookie(struct target_ops *ops, enum target_object object, const char *annex, void *readbuf, const void *writebuf, ULONGEST offset, LONGEST len) argument
H A Dauxv.c48 void *readbuf,
58 gdb_assert (readbuf || writebuf);
69 else if (readbuf != NULL)
70 n = read (fd, readbuf, len);
45 procfs_xfer_auxv(struct target_ops *ops, int object, const char *annex, void *readbuf, const void *writebuf, ULONGEST offset, LONGEST len) argument
H A Dppcnbsd-tdep.c213 struct regcache *regcache, void *readbuf,
227 readbuf, writebuf);
212 ppcnbsd_return_value(struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, void *readbuf, const void *writebuf) argument
H A Dppcfbsd-tdep.c496 struct regcache *regcache, void *readbuf,
509 readbuf, writebuf);
495 ppcfbsd_return_value(struct gdbarch *gdbarch, struct type *valtype, struct regcache *regcache, void *readbuf, const void *writebuf) argument
H A Dtarget.c76 const char *annex, void *readbuf,
1082 const char *annex, void *readbuf,
1101 if (readbuf != NULL)
1102 xfered = ops->to_xfer_memory (offset, readbuf, len, 0/*read*/, NULL,
1115 readbuf, writebuf, offset, len);
2290 const char *annex, void *readbuf, const void *writebuf,
2296 readbuf, writebuf, offset, len);
2301 (long) readbuf, (long) writebuf, paddr_nz (offset),
1081 default_xfer_partial(struct target_ops *ops, enum target_object object, const char *annex, void *readbuf, const void *writebuf, ULONGEST offset, LONGEST len) argument
2284 debug_to_xfer_partial(struct target_ops *ops, enum target_object object, const char *annex, void *readbuf, const void *writebuf, ULONGEST offset, LONGEST len) argument
H A Damd64-tdep.c407 void *readbuf, const void *writebuf)
417 gdb_assert (!(readbuf && writebuf));
485 if (readbuf)
487 (char *) readbuf + i * 8);
404 amd64_return_value(struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *readbuf, const void *writebuf) argument
H A Dmips-tdep.c3280 void *readbuf, const void *writebuf)
3298 TARGET_BYTE_ORDER, readbuf, writebuf, 0);
3329 TARGET_BYTE_ORDER, readbuf, writebuf, offset);
3352 BFD_ENDIAN_UNKNOWN, readbuf, writebuf, offset);
3373 TARGET_BYTE_ORDER, readbuf, writebuf, offset);
3693 void *readbuf, const void *writebuf)
3711 TARGET_BYTE_ORDER, readbuf, writebuf, 0);
3727 0, 4, TARGET_BYTE_ORDER, readbuf, writebuf, 0);
3730 1, 4, TARGET_BYTE_ORDER, readbuf, writebuf, 4);
3735 1, 4, TARGET_BYTE_ORDER, readbuf, writebu
3278 mips_n32n64_return_value(struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *readbuf, const void *writebuf) argument
3691 mips_o32_return_value(struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *readbuf, const void *writebuf) argument
[all...]
H A Di386-tdep.c1332 struct regcache *regcache, void *readbuf,
1350 return i386_return_value (gdbarch, type, regcache, readbuf, writebuf);
1353 if (readbuf)
1354 i386_extract_return_value (gdbarch, type, regcache, readbuf);
1322 i386_return_value(struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *readbuf, const void *writebuf) argument
H A Dsol-thread.c759 only one, of readbuf or writebuf must be non-NULL. */
763 const char *annex, void *readbuf,
778 readbuf, writebuf, offset, len);
781 readbuf, writebuf, offset, len);
758 sol_thread_xfer_partial(struct target_ops *ops, enum target_object object, const char *annex, void *readbuf, const void *writebuf, ULONGEST offset, LONGEST len) argument
H A Dsparc-tdep.c905 struct regcache *regcache, void *readbuf,
912 if (readbuf)
913 sparc32_extract_return_value (type, regcache, readbuf);
896 sparc32_return_value(struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *readbuf, const void *writebuf) argument
H A Dsparc64-tdep.c1081 struct regcache *regcache, void *readbuf,
1087 if (readbuf)
1088 sparc64_extract_return_value (type, regcache, readbuf);
1075 sparc64_return_value(struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, void *readbuf, const void *writebuf) argument
H A Dremote.c4901 const char *annex, void *readbuf, const void *writebuf,
4911 if (writebuf != NULL || readbuf == NULL)
4946 i = hex2bin (buf2, readbuf, len);
4949 readbuf = (void *) ((char *) readbuf + i);
4971 i = hex2bin (buf2, readbuf, len);
4995 gdb_assert (readbuf != NULL);
5019 getpkt (readbuf, len, 0);
5021 return strlen (readbuf);
4887 remote_xfer_partial(struct target_ops *ops, enum target_object object, const char *annex, void *readbuf, const void *writebuf, ULONGEST offset, LONGEST len) argument
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Dsubst.c1240 svn_stringbuf_t *readbuf;
1242 /* Offset of the first non-read character in readbuf. */
1276 if (unsatisfied == 1 && b->readbuf_off < b->readbuf->len)
1279 *buffer = b->readbuf->data[b->readbuf_off++];
1292 if (! (b->readbuf_off < b->readbuf->len))
1296 svn_stringbuf_setempty(b->readbuf);
1299 buf_stream = svn_stream_from_stringbuf(b->readbuf, b->iterpool);
1312 buffer_remainder = b->readbuf->len - b->readbuf_off;
1315 memcpy(buffer + off, b->readbuf->data + b->readbuf_off, to_copy);
1383 mt->saved_baton.readbuf
1236 svn_stringbuf_t *readbuf; member in struct:translated_stream_baton
[all...]
/freebsd-11-stable/gnu/usr.bin/grep/
H A Dgrep.c355 char *readbuf; local
364 readbuf = buflim;
400 readbuf = ALIGN_TO (newbuf + 1 + save, pagesize);
401 bufbeg = readbuf - save;
411 readsize = buffer + bufalloc - readbuf;
428 && (mmap ((caddr_t) readbuf, mmapsize,
463 bytesread = BZ2_bzRead (&bzerr, bzbufdesc, readbuf, readsize);
474 bytesread = read (bufdesc, readbuf, readsize);
484 bytesread = gzread (gzbufdesc, readbuf, readsize);
487 bytesread = read (bufdesc, readbuf, readsiz
[all...]
/freebsd-11-stable/contrib/wpa/src/wps/
H A Dhttpread.c374 char readbuf[HTTPREAD_READBUF_SIZE]; /* temp use to read into */ local
380 nread = read(h->sd, readbuf, sizeof(readbuf));
385 wpa_hexdump_ascii(MSG_MSGDUMP, "httpread - read", readbuf, nread);
412 rbp = readbuf;
/freebsd-11-stable/sys/compat/cloudabi/
H A Dcloudabi_file.c392 void *readbuf; local
413 readbuf = malloc(MAXBSIZE, M_TEMP, M_WAITOK);
418 .iov_base = readbuf,
461 bde = readbuf;
489 free(readbuf, M_TEMP);

Completed in 161 milliseconds

12