Lines Matching refs:buf
57 static bool process_read_data(struct ps_prochandle* ph, uintptr_t addr, char *buf, size_t size) {
74 *(buf++) = *(ptr++);
87 *(long *)buf = rslt;
88 buf += sizeof(long);
101 *(buf++) = *(ptr++);
108 uintptr_t addr, const char *buf , size_t size) {
247 static char * fgets_no_cr(char * buf, int n, FILE *fp)
249 char * rslt = fgets(buf, n, fp);
250 if (rslt && buf && *buf){
251 char *p = strchr(buf, '\0');
264 char buf[256];
274 while(fgets_no_cr(buf, 256, fp)){
276 int nwords = split_n_str(buf, 6, word, ' ', '\0');