Home
last modified time | relevance | path

Searched refs:buf_ptr (Results 1 – 22 of 22) sorted by relevance

/freebsd-14.2/usr.bin/indent/
H A Dlexi.c194 *buf_ptr == '_' || *buf_ptr == '$' || in lexi()
195 (buf_ptr[0] == '.' && isdigit((unsigned char)buf_ptr[1]))) { in lexi()
202 (buf_ptr[0] == '.' && isdigit((unsigned char)buf_ptr[1]))) { in lexi()
224 *buf_ptr == '_' || *buf_ptr == '$') { in lexi()
228 buf_ptr += 2; in lexi()
243 (*buf_ptr == '"' || *buf_ptr == '\'')) in lexi()
343 ((*buf_ptr == '*' && buf_ptr[1] != '=') || in lexi()
507 buf_ptr++; in lexi()
518 if (*buf_ptr == '>' || *buf_ptr == '<' || *buf_ptr == '=') { in lexi()
537 while (*buf_ptr == '*' || isspace((unsigned char)*buf_ptr)) { in lexi()
[all …]
H A Dpr_comment.c112 if (*buf_ptr == '-' || *buf_ptr == '*' || in pr_comment()
162 start = buf_ptr >= save_com && buf_ptr < save_com + sc_size ? in pr_comment()
168 while (*buf_ptr == ' ' || *buf_ptr == '\t') in pr_comment()
169 buf_ptr++; in pr_comment()
217 while (*++buf_ptr == ' ' || *buf_ptr == '\t') in pr_comment()
221 if (++buf_ptr >= buf_end) in pr_comment()
271 if (*buf_ptr == '/') in pr_comment()
274 } while (*buf_ptr == ' ' || *buf_ptr == '\t'); in pr_comment()
287 if (++buf_ptr >= buf_end) in pr_comment()
310 *e_com = *buf_ptr++; in pr_comment()
[all …]
H A Dindent.c67 char *buf_ptr, *buf_end; variable
292 char *p = buf_ptr; in main()
364 *sc_end = *buf_ptr++; in main()
365 if (buf_ptr >= buf_end) in main()
395 if (++buf_ptr >= buf_end) in main()
397 if (*buf_ptr == '\n') in main()
484 while (*buf_ptr == ' ' || *buf_ptr == '\t') { in main()
485 *sc_end++ = *buf_ptr++; in main()
1096 while (*buf_ptr == ' ' || *buf_ptr == '\t') { in main()
1097 buf_ptr++; in main()
[all …]
H A Dio.c291 buf_ptr = bp_save; /* do not read anything, just switch buffers */ in fill_buffer()
294 if (buf_ptr < buf_end) in fill_buffer()
319 buf_ptr = in_buffer; in fill_buffer()
H A Dindent_globs.h129 extern char *buf_ptr; /* ptr to next character to be taken
/freebsd-14.2/contrib/byacc/
H A Dmstring.c15 static char *buf_ptr; variable
32 buf_ptr = malloc(buf_len = 4096); in msprintf()
34 if (buf_ptr == 0) in msprintf()
43 len = (size_t) vsnprintf(buf_ptr, buf_len, fmt, args); in msprintf()
50 free(buf_ptr); in msprintf()
51 buf_ptr = 0; in msprintf()
54 buf_ptr = new_ptr; in msprintf()
60 len = (size_t) vsprintf(buf_ptr, fmt, args); in msprintf()
89 memcpy(s->ptr, buf_ptr, len); in msprintf()
212 free(buf_ptr); in mstring_leaks()
[all …]
/freebsd-14.2/crypto/openssl/test/
H A Dd2i_test.c50 const unsigned char *buf_ptr = buf; in test_bad_asn1() local
74 value = ASN1_item_d2i(NULL, &buf_ptr, len, item_type); in test_bad_asn1()
/freebsd-14.2/sys/dev/cfe/
H A Dcfe_api.c276 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name); in cfe_getdevinfo()
427 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_ioctl()
450 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(name); in cfe_open()
481 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_readblk()
549 xiocb.plist.xiocb_buffer.buf_ptr = XPTR_FROM_NATIVE(buffer); in cfe_writeblk()
H A Dcfe_api_int.h95 cfe_xptr_t buf_ptr; /* pointer to a buffer */ member
/freebsd-14.2/contrib/hyperv/tools/
H A Dhv_kvp_daemon.c610 char *buf_ptr, *p; in kvp_mac_to_if_name() local
619 buf_ptr = strdup(ether_ntoa((struct ether_addr *)(LLADDR(sdl)))); in kvp_mac_to_if_name()
620 if (buf_ptr != NULL) { in kvp_mac_to_if_name()
621 for (p = buf_ptr; *p != '\0'; p++) in kvp_mac_to_if_name()
624 if (strncmp(buf_ptr, mac, strlen(mac)) == 0) { in kvp_mac_to_if_name()
627 free(buf_ptr); in kvp_mac_to_if_name()
630 free(buf_ptr); in kvp_mac_to_if_name()
/freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/
H A Dabd_os.c1180 bio_map(struct bio *bio, void *buf_ptr, unsigned int bio_size) in bio_map() argument
1185 offset = offset_in_page(buf_ptr); in bio_map()
1195 if (is_vmalloc_addr(buf_ptr)) in bio_map()
1196 page = vmalloc_to_page(buf_ptr); in bio_map()
1198 page = virt_to_page(buf_ptr); in bio_map()
1210 buf_ptr += size; in bio_map()
/freebsd-14.2/contrib/flex/src/
H A DFlexLexer.h152 void yyunput( int c, char* buf_ptr );
H A Dflex.skl929 static void yyunput ( int c, char *buf_ptr M4_YY_PROTO_LAST_ARG);
/freebsd-14.2/sys/contrib/dev/athk/ath11k/
H A Dwmi.c9826 u8 *buf_ptr = *ptr; in ath11k_wmi_fill_ns_offload() local
9847 buf_ptr += sizeof(*tlv); in ath11k_wmi_fill_ns_offload()
9880 buf_ptr += sizeof(*ns); in ath11k_wmi_fill_ns_offload()
9883 *ptr = buf_ptr; in ath11k_wmi_fill_ns_offload()
9893 u8 *buf_ptr = *ptr; in ath11k_wmi_fill_arp_offload() local
9900 buf_ptr += sizeof(*tlv); in ath11k_wmi_fill_arp_offload()
9920 *ptr = buf_ptr; in ath11k_wmi_fill_arp_offload()
9930 u8 *buf_ptr; in ath11k_wmi_arp_ns_offload() local
9953 buf_ptr = skb->data; in ath11k_wmi_arp_ns_offload()
10045 u8 *buf_ptr; in ath11k_wmi_pdev_set_bios_sar_table_param() local
[all …]
/freebsd-14.2/sys/contrib/alpine-hal/
H A Dal_hal_udma.h86 uint64_t buf_ptr; member
/freebsd-14.2/contrib/bmake/
H A Dparse.c152 char *buf_ptr; /* next char to be read from buf */ member
2234 curFile->buf_ptr = curFile->buf.data; in Parse_PushInput()
2363 curFile->buf_ptr = curFile->buf.data; in ParseEOF()
2416 char *line = curFile->buf_ptr; in ParseRawLine()
2476 curFile->buf_ptr = p; in ParseRawLine()
/freebsd-14.2/sbin/camcontrol/
H A Dcamcontrol.c4857 uint8_t *buf_ptr = data_ptr; in scsicmd() local
4860 amt_read = read(STDIN_FILENO, buf_ptr, amt_to_read)) { in scsicmd()
4867 buf_ptr += amt_read; in scsicmd()
5006 uint8_t *buf_ptr = data_ptr; in scsicmd() local
5009 (amt_written =write(1, buf_ptr,amt_to_write))> 0;){ in scsicmd()
5011 buf_ptr += amt_written; in scsicmd()
7797 uint8_t *buf_ptr = smp_request; in smpcmd() local
7807 buf_ptr += amt_read; in smpcmd()
7857 uint8_t *buf_ptr = smp_response; in smpcmd() local
7860 (amt_written = write(STDOUT_FILENO, buf_ptr, in smpcmd()
[all …]
/freebsd-14.2/usr.sbin/ctladm/
H A Dctladm.c1012 u_int8_t *buf_ptr = (uint8_t *)&err_desc.custom_sense; in cctl_error_inject() local
1015 amt_read = read(STDIN_FILENO, buf_ptr, amt_to_read)) { in cctl_error_inject()
1022 buf_ptr += amt_read; in cctl_error_inject()
/freebsd-14.2/crypto/heimdal/lib/asn1/
H A Dlex.c909 static void yyunput (int c,char *buf_ptr );
/freebsd-14.2/sys/cam/scsi/
H A Dscsi_all.c4800 uint8_t *buf_ptr; in scsi_sense_generic_sbuf() local
4804 buf_ptr = (uint8_t *)&header[1]; in scsi_sense_generic_sbuf()
4806 for (i = 0; i < header->length; i++, buf_ptr++) in scsi_sense_generic_sbuf()
4807 sbuf_printf(sb, " %02x", *buf_ptr); in scsi_sense_generic_sbuf()
/freebsd-14.2/usr.bin/lex/
H A Dinitscan.c2057 static void yyunput ( int c, char *buf_ptr );
/freebsd-14.2/sys/contrib/alpine-hal/eth/
H A Dal_hal_eth_main.c2558 tx_desc->tx.buf_ptr = swap64_to_le( in al_eth_tx_pkt_prepare()