Searched refs:buf_ptr (Results 1 - 21 of 21) sorted by relevance

/freebsd-current/usr.bin/indent/
H A Dlexi.c179 while (*buf_ptr == ' ' || *buf_ptr == '\t') { /* get rid of blanks */
182 if (++buf_ptr >= buf_end)
187 if (isalnum((unsigned char)*buf_ptr) ||
188 *buf_ptr == '_' || *buf_ptr == '$' ||
189 (buf_ptr[0] == '.' && isdigit((unsigned char)buf_ptr[1]))) {
195 if (isdigit((unsigned char)*buf_ptr) ||
196 (buf_ptr[
[all...]
H A Dpr_comment.c107 if (*buf_ptr == '-' || *buf_ptr == '*' ||
108 (*buf_ptr == '\n' && !opt.format_block_comments)) {
157 start = buf_ptr >= save_com && buf_ptr < save_com + sc_size ?
159 ps.n_comment_delta = 1 - count_spaces_until(1, start, buf_ptr - 2);
163 while (*buf_ptr == ' ' || *buf_ptr == '\t')
164 buf_ptr++;
169 if (*buf_ptr !
[all...]
H A Dindent.c60 char *buf_ptr, *buf_end; variable
156 buf_ptr = buf_end = in_buffer;
285 char *p = buf_ptr;
348 memcpy(sc_buf, in_buffer, buf_ptr - in_buffer - 4);
349 save_com = sc_buf + (buf_ptr - in_buffer - 4);
357 *sc_end = *buf_ptr++;
358 if (buf_ptr >= buf_end)
360 if (*sc_end++ == '*' && *buf_ptr == '/')
370 if (++buf_ptr >= buf_end) /* get past / in buffer */
387 while (isspace((unsigned char)*buf_ptr)) {
[all...]
H A Dio.c285 buf_ptr = bp_save; /* do not read anything, just switch buffers */
288 if (buf_ptr < buf_end)
313 buf_ptr = in_buffer;
H A Dindent_globs.h127 extern char *buf_ptr; /* ptr to next character to be taken
138 extern char *bp_save; /* saved value of buf_ptr when taking
/freebsd-current/contrib/byacc/
H A Dmstring.c15 static char *buf_ptr; variable
32 buf_ptr = malloc(buf_len = 4096);
34 if (buf_ptr == 0)
43 len = (size_t) vsnprintf(buf_ptr, buf_len, fmt, args);
47 char *new_ptr = realloc(buf_ptr, (buf_len * 3) / 2);
50 free(buf_ptr);
51 buf_ptr = 0;
54 buf_ptr = new_ptr;
60 len = (size_t) vsprintf(buf_ptr, fmt, args);
89 memcpy(s->ptr, buf_ptr, le
[all...]
/freebsd-current/crypto/openssl/test/
H A Dd2i_test.c50 const unsigned char *buf_ptr = buf; local
74 value = ASN1_item_d2i(NULL, &buf_ptr, len, item_type);
/freebsd-current/sys/dev/cfe/
H A Dcfe_api_int.h95 cfe_xptr_t buf_ptr; /* pointer to a buffer */ member in struct:xiocb_buffer_s
H A Dcfe_api.c276 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name);
427 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer);
450 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name);
481 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer);
549 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer);
/freebsd-current/contrib/hyperv/tools/
H A Dhv_kvp_daemon.c610 char *buf_ptr, *p; local
619 buf_ptr = strdup(ether_ntoa((struct ether_addr *)(LLADDR(sdl))));
620 if (buf_ptr != NULL) {
621 for (p = buf_ptr; *p != '\0'; p++)
624 if (strncmp(buf_ptr, mac, strlen(mac)) == 0) {
627 free(buf_ptr);
630 free(buf_ptr);
/freebsd-current/contrib/flex/src/
H A DFlexLexer.h152 void yyunput( int c, char* buf_ptr );
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/
H A Dabd_os.c1180 bio_map(struct bio *bio, void *buf_ptr, unsigned int bio_size) argument
1185 offset = offset_in_page(buf_ptr);
1195 if (is_vmalloc_addr(buf_ptr))
1196 page = vmalloc_to_page(buf_ptr);
1198 page = virt_to_page(buf_ptr);
1210 buf_ptr += size;
/freebsd-current/sys/contrib/alpine-hal/
H A Dal_hal_udma.h86 uint64_t buf_ptr; member in struct:al_udma_desc::__anon8790
/freebsd-current/sys/contrib/dev/athk/ath11k/
H A Dwmi.c9826 u8 *buf_ptr = *ptr; local
9832 tlv = (struct wmi_tlv *)buf_ptr;
9847 buf_ptr += sizeof(*tlv);
9850 ns = (struct wmi_ns_offload_tuple *)buf_ptr;
9880 buf_ptr += sizeof(*ns);
9883 *ptr = buf_ptr;
9893 u8 *buf_ptr = *ptr; local
9897 tlv = (struct wmi_tlv *)buf_ptr;
9900 buf_ptr += sizeof(*tlv);
9903 arp = (struct wmi_arp_offload_tuple *)buf_ptr;
9930 u8 *buf_ptr; local
10045 u8 *buf_ptr; local
10086 u8 *buf_ptr; local
[all...]
/freebsd-current/contrib/bmake/
H A Dparse.c150 char *buf_ptr; /* next char to be read from buf */ member in struct:IncludedFile
2190 curFile->buf_ptr = curFile->buf.data;
2314 curFile->buf_ptr = curFile->buf.data;
2367 char *line = curFile->buf_ptr;
2427 curFile->buf_ptr = p;
/freebsd-current/sbin/camcontrol/
H A Dcamcontrol.c4858 uint8_t *buf_ptr = data_ptr; local
4861 amt_read = read(STDIN_FILENO, buf_ptr, amt_to_read)) {
4868 buf_ptr += amt_read;
5007 uint8_t *buf_ptr = data_ptr; local
5010 (amt_written =write(1, buf_ptr,amt_to_write))> 0;){
5012 buf_ptr += amt_written;
7812 uint8_t *buf_ptr = smp_request; local
7815 amt_read = read(STDIN_FILENO, buf_ptr, amt_to_read)) {
7822 buf_ptr += amt_read;
7872 uint8_t *buf_ptr local
[all...]
/freebsd-current/crypto/heimdal/lib/asn1/
H A Dlex.c909 static void yyunput (int c,char *buf_ptr );
/freebsd-current/usr.sbin/ctladm/
H A Dctladm.c992 u_int8_t *buf_ptr = (uint8_t *)&err_desc.custom_sense; local
995 amt_read = read(STDIN_FILENO, buf_ptr, amt_to_read)) {
1002 buf_ptr += amt_read;
/freebsd-current/usr.bin/lex/
H A Dinitscan.c2057 static void yyunput ( int c, char *buf_ptr );
/freebsd-current/sys/cam/scsi/
H A Dscsi_all.c4799 uint8_t *buf_ptr; local
4803 buf_ptr = (uint8_t *)&header[1];
4805 for (i = 0; i < header->length; i++, buf_ptr++)
4806 sbuf_printf(sb, " %02x", *buf_ptr);
/freebsd-current/sys/contrib/alpine-hal/eth/
H A Dal_hal_eth_main.c2558 tx_desc->tx.buf_ptr = swap64_to_le(

Completed in 278 milliseconds