Searched refs:bufptr (Results 1 - 25 of 72) sorted by relevance

123

/macosx-10.10.1/cups-408/cups/locale/
H A Dstrings2po.c118 char *bufptr; /* Pointer into buffer */ local
128 for (bufptr = buffer + 1; *bufptr && *bufptr != '\"'; bufptr ++)
129 if (*bufptr == '\\')
130 bufptr ++;
132 if (*bufptr != '\"')
135 *bufptr++ = '\0';
137 while (*bufptr
[all...]
H A Dcheckpo.c301 char *bufptr; /* Pointer into buffer */ local
304 for (bufptr = buf, bufsize -= 4; *s && bufsize > 0; s ++)
311 *bufptr++ = '\\';
312 *bufptr++ = 'n';
320 *bufptr++ = '\\';
321 *bufptr++ = 't';
329 sprintf(bufptr, "\\%03o", *s);
330 bufptr += 4;
335 *bufptr++ = *s;
341 memcpy(bufptr, "
358 *bufptr; /* Pointer into format string */ local
[all...]
/macosx-10.10.1/cups-408/cups/filter/
H A Dcommandtops.c137 *bufptr; /* Pointer into buffer */ local
221 for (bufptr = buffer, valptr = attr->value; *valptr; valptr ++)
229 *bufptr = '\0';
231 bufptr = buffer;
235 if (bufptr >= (buffer + sizeof(buffer) - 4))
237 *bufptr = '\0';
239 bufptr = buffer;
244 *bufptr++ = '\\';
245 *bufptr++ = 'r';
249 *bufptr
[all...]
H A Draster.c50 *bufptr, /* Current (read) position in buffer */ member in struct:_cups_raster_s
757 unsigned char *bufptr; /* Pointer into write buffer */ local
767 bufptr = realloc(r->buffer, len);
769 bufptr = malloc(len);
771 if (!bufptr)
774 r->buffer = bufptr;
782 for (bufptr = r->buffer, count = len; count > 1; count -= 2, bufptr += 2)
784 bufptr[1] = *p++;
785 bufptr[
1113 unsigned char *bufptr; /* Temporary buffer pointer */ local
[all...]
/macosx-10.10.1/cups-408/cups/cups/
H A Dsnprintf.c41 char *bufptr, /* Pointer to position in buffer */ local
61 bufptr = buffer;
74 if (bufptr && bufptr < bufend) *bufptr++ = *format;
191 if (bufptr)
193 if ((bufptr + templen) > bufend)
195 strlcpy(bufptr, temp, (size_t)(bufend - bufptr));
196 bufptr
[all...]
H A Dipp-support.c607 char *bufptr, /* Pointer into buffer */ local
623 bufptr = buffer;
633 if (buffer && bufptr < bufend)
634 *bufptr++ = ',';
636 bufptr ++;
644 if (buffer && bufptr < bufend)
645 strlcpy(bufptr, ptr, (size_t)(bufend - bufptr + 1));
647 bufptr += strlen(ptr);
651 if (buffer && bufptr < bufen
2219 char *bufptr, /* Position in buffer */ local
[all...]
H A Ddebug.c94 char *bufptr, /* Pointer to position in buffer */ local
114 bufptr = buffer;
127 if (bufptr < bufend)
128 *bufptr++ = *format;
239 if (bufptr)
241 strlcpy(bufptr, temp, (size_t)(bufend - bufptr));
242 bufptr += strlen(bufptr);
269 if (bufptr)
[all...]
H A Ddest-localization.c453 char *bufptr; /* Pointer into buffer */ local
462 bufptr = cups_scan_strings(buffer);
464 if (*bufptr != '\"')
467 *bufptr++ = '\0';
469 while (*bufptr && *bufptr != '\"')
470 bufptr ++;
472 if (!*bufptr)
475 *str = bufptr + 1;
476 bufptr
497 char *bufptr; /* Pointer into string */ local
[all...]
H A Demit.c301 *bufptr; /* Pointer into code */ local
327 bufptr = buffer;
333 if ((bytes = (ssize_t)write(fd, bufptr, (unsigned)buflength)) < 0)
335 if ((bytes = write(fd, bufptr, buflength)) < 0)
345 bufptr += bytes;
615 *bufptr, /* Pointer into buffer */ local
765 for (i = 0, bufptr = buffer; i < count; i ++, bufptr += strlen(bufptr))
781 for (cptr = choices[i]->code; *cptr && bufptr < bufen
[all...]
H A Dstring.c214 char *bufptr, /* Pointer into buffer */ local
258 for (tempptr = temp, bufptr = buf;
259 tempptr < tempdec && bufptr < bufend;
260 *bufptr++ = *tempptr++);
264 if (*tempptr && bufptr < bufend)
266 *bufptr++ = '.';
268 while (*tempptr && bufptr < bufend)
269 *bufptr++ = *tempptr++;
272 *bufptr = '\0';
277 bufptr
401 _cupsStrScand(const char *buf, char **bufptr, struct lconv *loc) argument
[all...]
H A Dattr.c154 char *bufptr; /* Pointer into buffer */ local
180 if ((bufptr = strrchr(buffer, ')')) != NULL)
181 *bufptr = '\0';
323 for (bufptr = buffer + strlen(buffer) - 1;
324 bufptr >= buffer && _cups_isspace(*bufptr);
325 bufptr --);
327 bufptr[1] = '\0';
H A Dsnmp.c929 unsigned char *bufptr, /* Pointer into the data */ local
941 bufptr = buffer;
944 if (asn1_get_type(&bufptr, bufend) != CUPS_ASN1_SEQUENCE)
946 else if (asn1_get_length(&bufptr, bufend) == 0)
948 else if (asn1_get_type(&bufptr, bufend) != CUPS_ASN1_INTEGER)
950 else if ((length = asn1_get_length(&bufptr, bufend)) == 0)
952 else if ((packet->version = asn1_get_integer(&bufptr, bufend, length))
955 else if (asn1_get_type(&bufptr, bufend) != CUPS_ASN1_OCTET_STRING)
957 else if ((length = asn1_get_length(&bufptr, bufend)) == 0)
961 asn1_get_string(&bufptr, bufen
1087 unsigned char *bufptr; /* Pointer into buffer */ local
[all...]
H A Dipp.c1187 *bufptr; /* Pointer into buffer */ local
1189 bufptr = buffer + strlen(buffer) - 1;
1192 while (bufptr > bufmax)
1194 if (*bufptr & 0x80)
1196 while ((*bufptr & 0xc0) == 0x80 && bufptr > buffer)
1197 bufptr --;
1200 bufptr --;
1203 *bufptr = '\0';
2967 *bufptr; /* Pointe local
4512 *bufptr; /* Pointer into buffer */ local
5507 *bufptr; /* Pointer into buffer */ local
6574 char *bufptr, /* Pointer into buffer */ local
[all...]
H A Dgetifaddrs.c38 *bufptr, /* Pointer into buffer */ local
93 for (bufptr = buffer, bufend = buffer + conf.ifc_len;
94 bufptr < bufend;
95 bufptr += ifpsize)
101 ifp = (struct ifreq *)bufptr;
H A Dlocalize.c248 *bufptr, /* Pointer into buffer */ local
365 for (valptr = locattr->value, bufptr = buffer; *valptr && bufptr < bufend;)
375 while (*valptr && !_cups_isspace(*valptr) && bufptr < bufend)
393 *bufptr++ = (char)(ch | (*valptr - '0'));
395 *bufptr++ = (char)(ch | (tolower(*valptr) - 'a' + 10));
400 *bufptr++ = ' ';
404 *bufptr++ = *valptr++;
425 if (bufptr > buffer)
426 *bufptr
[all...]
H A Dlangprintf.c36 *bufptr, /* Pointer into buffer */ local
70 bufptr = buffer + strlen(buffer);
73 bufptr = buffer;
75 snprintf(bufptr, sizeof(buffer) - (size_t)(bufptr - buffer),
/macosx-10.10.1/ncurses-44/ncurses/ncurses/tinfo/
H A Dcaptoinfo.c591 save_tc_char(char *bufptr, int c1) argument
597 bufptr = save_char(bufptr, '\\');
598 bufptr = save_char(bufptr, c1);
604 bufptr = save_string(bufptr, temp);
606 return bufptr;
610 save_tc_inequality(char *bufptr, int c1, int c2) argument
612 bufptr
647 char *bufptr = init_string(); local
[all...]
H A Dcomp_scan.c106 static char *bufptr; /* otherwise, the input buffer pointer */ variable
125 bufstart = bufptr = buf;
140 size_t len = strlen(bufptr);
142 if (!isspace(UChar(bufptr[len])))
143 return bufptr[len];
179 if (bufptr == 0 || *bufptr == '\0')
181 if (*bufptr == '\n') {
184 } else if (*bufptr == '\t') {
187 } else if (!bufptr || !*bufpt
[all...]
/macosx-10.10.1/cups-408/cups/monitor/
H A Dbcp.c172 char *bufptr; /* Pointer into buffer */ local
178 bufptr = buf;
181 while ((size_t)(bufptr - buf) < len)
200 *bufptr++ = '\r';
206 *bufptr++ = (char)ch;
215 if ((size_t)(bufptr - buf) < len)
216 *bufptr++ = (char)ch;
225 *bufptr = '\0';
226 *bytes = (size_t)(bufptr - buf);
228 if (ch == EOF && bufptr
[all...]
H A Dtbcp.c161 char *bufptr; /* Pointer into buffer */ local
167 bufptr = buf;
170 while ((size_t)(bufptr - buf) < len)
189 *bufptr++ = '\r';
195 *bufptr++ = (char)ch;
204 if ((size_t)(bufptr - buf) < len)
205 *bufptr++ = (char)ch;
214 *bufptr = '\0';
215 *bytes = (size_t)(bufptr - buf);
217 if (ch == EOF && bufptr
[all...]
/macosx-10.10.1/cups-408/cups/scheduler/
H A Dlog.c655 *bufptr, /* Pointer into buffer */ local
675 for (format = PageLogFormat, bufptr = buffer; *format; format ++)
684 if (bufptr < (buffer + sizeof(buffer) - 1))
685 *bufptr++ = '%';
689 strlcpy(bufptr, job->printer->name, sizeof(buffer) - (size_t)(bufptr - buffer));
690 bufptr += strlen(bufptr);
694 snprintf(bufptr, sizeof(buffer) - (size_t)(bufptr
[all...]
/macosx-10.10.1/emacs-93/emacs/src/
H A Ddoprnt.c103 register char *bufptr = buffer; /* Pointer into output buffer.. */ local
267 *bufptr++ = ' ';
278 bcopy (string, bufptr, tem);
280 width = strwidth (bufptr, tem);
283 bcopy (string, bufptr, tem);
284 bufptr += tem;
290 *bufptr++ = ' ';
318 char *save_bufptr = bufptr;
320 do { *bufptr++ = *fmt++; }
324 bufptr
[all...]
/macosx-10.10.1/smb-759.0/lib/librpc/
H A Dlmshare.h76 void NetApiBufferFree(void * bufptr);
/macosx-10.10.1/CommonCrypto-60061/lib/
H A DCommonDigest.c349 ccdigest_process(const struct ccdigest_info *di, uint8_t *bufptr, ccdigest_state_t state, argument
360 CC_XMEMCPY(bufptr + curlen, data, n);
363 di->compress(state, 1, bufptr);
371 ccdigest_finalize(const struct ccdigest_info *di, uint8_t *bufptr, ccdigest_state_t state, argument
374 bufptr[curlen++] = (unsigned char)0x80;
384 while (curlen < di->block_size) bufptr[curlen++] = (unsigned char)0;
385 di->compress(state, 1, bufptr);
390 while (curlen < (di->block_size - 8)) bufptr[curlen++] = (unsigned char)0;
392 CC_XSTORE64H(totalLen, bufptr+(di->block_size - 8));
393 di->compress(state, 1, bufptr);
502 uint8_t *bufptr = (uint8_t *) c->wbuf; local
521 uint8_t *bufptr = (uint8_t *) c->wbuf; local
575 uint8_t *bufptr = (uint8_t *) c->wbuf; local
594 uint8_t *bufptr = (uint8_t *) c->wbuf; local
[all...]
/macosx-10.10.1/libiconv-42/libiconv/lib/
H A Dloop_wchar.h81 const char* bufptr = buf;
84 &bufptr,&bufleft,
199 const char* bufptr = buf; local
204 &bufptr,&bufleft,
251 const char* bufptr = buf; local
256 &bufptr,&bufleft,
330 char* bufptr = buf; local
334 &bufptr,&bufleft);
346 size_t bufcount = bufptr-buf; /* = BUF_SIZE-bufleft */

Completed in 146 milliseconds

123