Searched refs:bufptr (Results 1 - 25 of 72) sorted by last modified time

123

/macosx-10.10/xnu-2782.1.97/bsd/vfs/
H A Dvfs_syscalls.c7530 void * bufptr; local
7551 MALLOC(bufptr, void *, bufsize, M_TEMP, M_WAITOK);
7552 if (bufptr == NULL) {
7557 uio_addiov(auio, (uintptr_t)bufptr, bufsize);
7562 dep = (struct dirent *)bufptr;
7570 while (error == 0 && (char *)dep < ((char *)bufptr + bytesread)) {
7594 FREE(bufptr, M_TEMP);
H A Dvfs_xattr.c574 caddr_t bufptr = NULL; local
601 if (kmem_alloc(kernel_map, (vm_offset_t *)&bufptr, bufsize)) {
619 uio_addiov(auio, (uintptr_t)bufptr, iosize);
632 uio_addiov(auio, (uintptr_t)bufptr, iosize);
643 if (bufptr) {
644 kmem_free(kernel_map, (vm_offset_t)bufptr, bufsize);
870 caddr_t bufptr = NULL; local
944 if (kmem_alloc(kernel_map, (vm_offset_t *)&bufptr, bufsize)) {
963 uio_addiov(auio, (uintptr_t)bufptr, iosize);
972 uio_addiov(auio, (uintptr_t)bufptr, iosiz
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/hfs/
H A Dhfs_readwrite.c1637 char *bufptr; local
1651 bufptr = (char *)ap->a_data;
1652 cnid = strtoul(bufptr, NULL, 10);
1665 error = build_path(file_vp, bufptr, sizeof(pathname_t), &outlen, flags, context);
/macosx-10.10/kext_tools-384.1.4/
H A Dbootcaches.c474 char *bufptr; local
485 bufptr = caches->exts;
496 pathcpy(bufptr, tempbuf);
498 bufptr += (strlen(tempbuf) + 1);
1778 char *bufptr; local
1780 bufptr = caches->exts;
1785 pathcat(fullPath, bufptr);
1802 bufptr += (strlen(bufptr) + 1);
H A Dkextd_watchvol.c857 char *bufptr; local
858 bufptr = caches->exts;
860 WATCH(watched, path, bufptr, fsPort);
861 bufptr += (strlen(bufptr) + 1);
/macosx-10.10/cups-408/cups/test/
H A Dipptool.c3919 char *bufptr, /* Pointer into buffer */ local
3948 bufptr = buf;
3959 if (bufptr < bufend)
3960 *bufptr++ = (char)ch;
3962 if ((ch = getc(fp)) != EOF && bufptr < bufend)
3963 *bufptr++ = (char)ch;
3967 else if (bufptr < bufend)
3968 *bufptr++ = (char)ch;
3971 *bufptr = '\0';
4002 bufptr
4353 *bufptr; /* Pointer into buffer */ local
[all...]
/macosx-10.10/cups-408/cups/cgi-bin/
H A Dadmin.c1915 *bufptr, /* Pointer into buffer */ local
2012 for (bufptr = buffer;
2013 bufptr < bufend && (ch = cupsFileGetChar(cupsd)) != EOF;)
2017 *bufptr++ = '\\';
2018 *bufptr++ = (char)ch;
2022 *bufptr++ = '\\';
2023 *bufptr++ = 'n';
2027 *bufptr++ = '\\';
2028 *bufptr++ = 't';
2031 *bufptr
3925 char *bufptr, /* Pointer into buffer */ local
[all...]
/macosx-10.10/cups-408/cups/cups/
H A Dhttp.c1167 *bufptr, /* Pointer into input buffer */ local
1288 for (bufptr = http->buffer, bufend = http->buffer + http->used;
1289 lineptr < lineend && bufptr < bufend;)
1291 if (*bufptr == 0x0a)
1294 bufptr ++;
1297 else if (*bufptr == 0x0d)
1298 bufptr ++;
1300 *lineptr++ = *bufptr++;
1303 http->used -= (int)(bufptr - http->buffer);
1305 memmove(http->buffer, bufptr, (size_
[all...]
H A Dtls-gnutls.c834 char *bufptr, /* Pointer into buffer */ local
839 bufptr = buffer + strlen(buffer);
841 while (*filename && bufptr < bufend)
844 *bufptr++ = *filename;
846 *bufptr++ = '_';
851 if (bufptr < bufend)
852 *bufptr++ = '.';
854 strlcpy(bufptr, ext, (size_t)(bufend - bufptr + 1));
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 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 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 Dtls-sspi.c1096 const char *bufptr; /* Pointer into buffer */ local
1118 bufptr = buf;
1130 memcpy(sspi->writeBuffer + sspi->streamSizes.cbHeader, bufptr, chunk);
1179 bufptr += chunk;
H A Dpwg-media.c42 static int pwg_scan_measurement(const char *buf, char **bufptr, int numer,
1136 char **bufptr, /* O - First byte after the number */
1175 if (bufptr)
1176 *bufptr = (char *)buf;
1134 pwg_scan_measurement( const char *buf, char **bufptr, int numer, int denom) argument
H A Dstring-private.h199 extern double _cupsStrScand(const char *buf, char **bufptr,
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...]
/macosx-10.10/cups-408/cups/filter/
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/cups-408/cups/scheduler/
H A Dclient.c2464 char *bufptr, /* Pointer into buffer */ local
2584 for (bufptr = con->header, bufend = con->header + con->header_used,
2586 !con->got_fields && bufptr < bufend;
2587 bufptr ++)
2589 if (*bufptr == '\n')
2595 if (bufptr > con->header && bufptr[-1] == '\r')
2596 bufptr[-1] = '\0';
2597 *bufptr++ = '\0';
2648 con->header_used -= bufptr
[all...]
H A Dcups-driverd.cxx844 char *bufptr, /* Pointer into filename buffer */ local
951 if ((bufptr = strstr(buffer, ".drv/")) != NULL)
952 bufptr += 4;
953 else if ((bufptr = strstr(buffer, ".drv.gz/")) != NULL)
954 bufptr += 7;
955 else if ((bufptr = strstr(buffer, ".tar/")) != NULL)
956 bufptr += 4;
957 else if ((bufptr = strstr(buffer, ".tar.gz/")) != NULL)
958 bufptr += 7;
960 if (bufptr)
[all...]
H A Dipp.c10666 char *bufptr, /* Pointer into buffer */ local
10671 bufptr = buffer + strlen(buffer);
10676 if (bufptr >= bufend)
10680 *bufptr++ = ',';
10682 *bufptr++ = '=';
10684 if (bufptr >= bufend)
10687 *bufptr++ = '\'';
10689 bufptr = url_encode_string(attr->values[i].string.text, bufptr, (size_t)(bufend - bufptr
10710 char *bufptr, /* Pointer into buffer */ local
[all...]
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...]
H A Ddirsvc.c1543 char *bufptr; /* Pointer into buffer */ local
1545 for (i = 0, bufptr = buffer; i < p->num_auth_info_required; i ++)
1547 if (bufptr >= (buffer + bufsize - 2))
1551 *bufptr++ = ',';
1553 strlcpy(bufptr, p->auth_info_required[i], bufsize - (size_t)(bufptr - buffer));
1554 bufptr += strlen(bufptr);
/macosx-10.10/CPANInternal-159.1/Template-Toolkit-2.25/xs/
H A Dppport.h4273 # define PL_bufptr bufptr
4366 # define PL_bufptr D_PPP_my_PL_parser_var(bufptr)
/macosx-10.10/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/libpcap-48/libpcap/
H A Dpcap-linux.c1010 char * bufptr; local
1031 if ((bufptr = strstr(buffer, if_name)) &&
1032 (bufptr == buffer || *(bufptr-1) == ' ') &&
1033 *(bufptr + if_name_sz) == ':')
1035 bufptr = bufptr + if_name_sz + 1;
1038 while( --field_to_convert && *bufptr != '\0')
1040 while (*bufptr != '\0' && *(bufptr
[all...]

Completed in 328 milliseconds

123