/freebsd/usr.sbin/bluetooth/sdpd/ |
H A D | nap.c | 45 uint8_t *buf, uint8_t const * const eob, in nap_profile_create_service_class_id_list() argument 53 buf, eob, in nap_profile_create_service_class_id_list() 60 uint8_t *buf, uint8_t const * const eob, in nap_profile_create_bluetooth_profile_descriptor_list() argument 69 buf, eob, in nap_profile_create_bluetooth_profile_descriptor_list() 76 uint8_t *buf, uint8_t const * const eob, in nap_profile_create_service_name() argument 82 buf, eob, in nap_profile_create_service_name() 88 uint8_t *buf, uint8_t const * const eob, in nap_profile_create_service_description() argument 94 buf, eob, in nap_profile_create_service_description() 101 uint8_t *buf, uint8_t const * const eob, in nap_profile_create_protocol_descriptor_list() argument 108 buf, eob, (uint8_t const *) &nap->psm, in nap_profile_create_protocol_descriptor_list() [all …]
|
H A D | sd.c | 43 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_service_class_id_list() argument 51 buf, eob, in sd_profile_create_service_class_id_list() 58 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_bluetooth_profile_descriptor_list() argument 67 buf, eob, in sd_profile_create_bluetooth_profile_descriptor_list() 74 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_service_id() argument 77 if (buf + 3 > eob) in sd_profile_create_service_id() 95 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_service_name() argument 101 buf, eob, in sd_profile_create_service_name() 107 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_protocol_descriptor_list() argument 110 if (buf + 12 > eob) in sd_profile_create_protocol_descriptor_list() [all …]
|
H A D | panu.c | 45 uint8_t *buf, uint8_t const * const eob, in panu_profile_create_service_class_id_list() argument 53 buf, eob, in panu_profile_create_service_class_id_list() 60 uint8_t *buf, uint8_t const * const eob, in panu_profile_create_bluetooth_profile_descriptor_list() argument 69 buf, eob, in panu_profile_create_bluetooth_profile_descriptor_list() 76 uint8_t *buf, uint8_t const * const eob, in panu_profile_create_service_name() argument 82 buf, eob, in panu_profile_create_service_name() 88 uint8_t *buf, uint8_t const * const eob, in panu_profile_create_service_description() argument 95 buf, eob, in panu_profile_create_service_description() 102 uint8_t *buf, uint8_t const * const eob, in panu_profile_create_protocol_descriptor_list() argument 109 buf, eob, (uint8_t const *) &panu->psm, in panu_profile_create_protocol_descriptor_list() [all …]
|
H A D | gn.c | 45 uint8_t *buf, uint8_t const * const eob, in gn_profile_create_service_class_id_list() argument 53 buf, eob, in gn_profile_create_service_class_id_list() 60 uint8_t *buf, uint8_t const * const eob, in gn_profile_create_bluetooth_profile_descriptor_list() argument 69 buf, eob, in gn_profile_create_bluetooth_profile_descriptor_list() 76 uint8_t *buf, uint8_t const * const eob, in gn_profile_create_service_name() argument 82 buf, eob, in gn_profile_create_service_name() 88 uint8_t *buf, uint8_t const * const eob, in gn_profile_create_service_description() argument 95 buf, eob, in gn_profile_create_service_description() 102 uint8_t *buf, uint8_t const * const eob, in gn_profile_create_protocol_descriptor_list() argument 109 buf, eob, (uint8_t const *) &gn->psm, in gn_profile_create_protocol_descriptor_list() [all …]
|
H A D | profile.c | 110 uint8_t *buf, uint8_t const * const eob, in common_profile_create_service_record_handle() 113 if (buf + 5 > eob) in common_profile_create_service_record_handle() 130 uint8_t *buf, uint8_t const * const eob, in common_profile_create_service_class_id_list() 135 if (len <= 0 || len > 0xff || buf + 2 + len > eob) in common_profile_create_service_class_id_list() 162 uint8_t *buf, uint8_t const * const eob, in common_profile_create_bluetooth_profile_descriptor_list() 167 if (len <= 0 || len > 0xff || buf + 2 + len > eob) in common_profile_create_bluetooth_profile_descriptor_list() 196 uint8_t *buf, uint8_t const * const eob, in common_profile_create_language_base_attribute_id_list() 199 if (buf + 11 > eob) in common_profile_create_language_base_attribute_id_list() 236 uint8_t *buf, uint8_t const * const eob, in common_profile_create_service_provider_name() 241 return (common_profile_create_string8(buf, eob, in common_profile_create_service_provider_name() 109 common_profile_create_service_record_handle(uint8_t * buf,uint8_t const * const eob,uint8_t const * data,uint32_t datalen) common_profile_create_service_record_handle() argument 129 common_profile_create_service_class_id_list(uint8_t * buf,uint8_t const * const eob,uint8_t const * data,uint32_t datalen) common_profile_create_service_class_id_list() argument 161 common_profile_create_bluetooth_profile_descriptor_list(uint8_t * buf,uint8_t const * const eob,uint8_t const * data,uint32_t datalen) common_profile_create_bluetooth_profile_descriptor_list() argument 195 common_profile_create_language_base_attribute_id_list(uint8_t * buf,uint8_t const * const eob,uint8_t const * data,uint32_t datalen) common_profile_create_language_base_attribute_id_list() argument 235 common_profile_create_service_provider_name(uint8_t * buf,uint8_t const * const eob,uint8_t const * data,uint32_t datalen) common_profile_create_service_provider_name() argument 251 common_profile_create_string8(uint8_t * buf,uint8_t const * const eob,uint8_t const * data,uint32_t datalen) common_profile_create_string8() argument 270 common_profile_create_service_availability(uint8_t * buf,uint8_t const * const eob,uint8_t const * data,uint32_t datalen) common_profile_create_service_availability() argument 293 rfcomm_profile_create_protocol_descriptor_list(uint8_t * buf,uint8_t const * const eob,uint8_t const * data,uint32_t datalen) rfcomm_profile_create_protocol_descriptor_list() argument 330 obex_profile_create_protocol_descriptor_list(uint8_t * buf,uint8_t const * const eob,uint8_t const * data,uint32_t datalen) obex_profile_create_protocol_descriptor_list() argument 367 obex_profile_create_supported_formats_list(uint8_t * buf,uint8_t const * const eob,uint8_t const * data,uint32_t datalen) obex_profile_create_supported_formats_list() argument 434 bnep_profile_create_protocol_descriptor_list(uint8_t * buf,uint8_t const * const eob,uint8_t const * data,uint32_t datalen) bnep_profile_create_protocol_descriptor_list() argument 488 bnep_profile_create_security_description(uint8_t * buf,uint8_t const * const eob,uint8_t const * data,uint32_t datalen) bnep_profile_create_security_description() argument [all...] |
H A D | lan.c | 45 uint8_t *buf, uint8_t const * const eob, in lan_profile_create_service_class_id_list() argument 53 buf, eob, in lan_profile_create_service_class_id_list() 60 uint8_t *buf, uint8_t const * const eob, in lan_profile_create_bluetooth_profile_descriptor_list() argument 69 buf, eob, in lan_profile_create_bluetooth_profile_descriptor_list() 76 uint8_t *buf, uint8_t const * const eob, in lan_profile_create_service_name() argument 82 buf, eob, in lan_profile_create_service_name() 88 uint8_t *buf, uint8_t const * const eob, in lan_profile_create_protocol_descriptor_list() argument 95 buf, eob, in lan_profile_create_protocol_descriptor_list() 101 uint8_t *buf, uint8_t const * const eob, in lan_profile_create_service_availability() argument 107 return (common_profile_create_service_availability(buf, eob, in lan_profile_create_service_availability() [all …]
|
H A D | audio_sink.c | 39 uint8_t *buf, uint8_t const *const eob, in audio_sink_profile_create_service_class_id_list() argument 47 buf, eob, in audio_sink_profile_create_service_class_id_list() 54 uint8_t *buf, uint8_t const *const eob, in audio_sink_profile_create_protocol_descriptor_list() argument 60 if (buf + 18 > eob) in audio_sink_profile_create_protocol_descriptor_list() 89 uint8_t *buf, uint8_t const *const eob, in audio_sink_profile_create_browse_group_list() argument 93 if (buf + 5 > eob) in audio_sink_profile_create_browse_group_list() 107 uint8_t *buf, uint8_t const *const eob, in audio_sink_profile_create_bluetooth_profile_descriptor_list() argument 116 buf, eob, in audio_sink_profile_create_bluetooth_profile_descriptor_list() 123 uint8_t *buf, uint8_t const *const eob, in audio_sink_profile_create_service_name() argument 129 buf, eob, in audio_sink_profile_create_service_name() [all …]
|
H A D | audio_source.c | 39 uint8_t *buf, uint8_t const *const eob, in audio_source_profile_create_service_class_id_list() argument 47 buf, eob, in audio_source_profile_create_service_class_id_list() 54 uint8_t *buf, uint8_t const *const eob, in audio_source_profile_create_protocol_descriptor_list() argument 60 if (buf + 18 > eob) in audio_source_profile_create_protocol_descriptor_list() 89 uint8_t *buf, uint8_t const *const eob, in audio_source_profile_create_browse_group_list() argument 93 if (buf + 5 > eob) in audio_source_profile_create_browse_group_list() 107 uint8_t *buf, uint8_t const *const eob, in audio_source_profile_create_bluetooth_profile_descriptor_list() argument 116 buf, eob, in audio_source_profile_create_bluetooth_profile_descriptor_list() 123 uint8_t *buf, uint8_t const *const eob, in audio_source_profile_create_service_name() argument 129 buf, eob, in audio_source_profile_create_service_name() [all …]
|
H A D | dun.c | 43 uint8_t *buf, uint8_t const * const eob, in dun_profile_create_service_class_id_list() argument 51 buf, eob, in dun_profile_create_service_class_id_list() 58 uint8_t *buf, uint8_t const * const eob, in dun_profile_create_bluetooth_profile_descriptor_list() argument 67 buf, eob, in dun_profile_create_bluetooth_profile_descriptor_list() 74 uint8_t *buf, uint8_t const * const eob, in dun_profile_create_service_name() argument 80 buf, eob, in dun_profile_create_service_name() 86 uint8_t *buf, uint8_t const * const eob, in dun_profile_create_protocol_descriptor_list() argument 93 buf, eob, in dun_profile_create_protocol_descriptor_list() 99 uint8_t *buf, uint8_t const * const eob, in dun_profile_create_audio_feedback_support() argument 105 if (buf + 2 > eob) in dun_profile_create_audio_feedback_support()
|
H A D | irmc.c | 43 uint8_t *buf, uint8_t const * const eob, in irmc_profile_create_service_class_id_list() argument 51 buf, eob, in irmc_profile_create_service_class_id_list() 58 uint8_t *buf, uint8_t const * const eob, in irmc_profile_create_bluetooth_profile_descriptor_list() argument 67 buf, eob, in irmc_profile_create_bluetooth_profile_descriptor_list() 74 uint8_t *buf, uint8_t const * const eob, in irmc_profile_create_service_name() argument 80 buf, eob, in irmc_profile_create_service_name() 86 uint8_t *buf, uint8_t const * const eob, in irmc_profile_create_protocol_descriptor_list() argument 93 buf, eob, in irmc_profile_create_protocol_descriptor_list() 99 uint8_t *buf, uint8_t const * const eob, in irmc_profile_create_supported_formats_list() argument 106 buf, eob, in irmc_profile_create_supported_formats_list()
|
H A D | opush.c | 43 uint8_t *buf, uint8_t const * const eob, in opush_profile_create_service_class_id_list() argument 51 buf, eob, in opush_profile_create_service_class_id_list() 58 uint8_t *buf, uint8_t const * const eob, in opush_profile_create_bluetooth_profile_descriptor_list() argument 67 buf, eob, in opush_profile_create_bluetooth_profile_descriptor_list() 74 uint8_t *buf, uint8_t const * const eob, in opush_profile_create_service_name() argument 80 buf, eob, in opush_profile_create_service_name() 86 uint8_t *buf, uint8_t const * const eob, in opush_profile_create_protocol_descriptor_list() argument 93 buf, eob, in opush_profile_create_protocol_descriptor_list() 99 uint8_t *buf, uint8_t const * const eob, in opush_profile_create_supported_formats_list() argument 106 buf, eob, in opush_profile_create_supported_formats_list()
|
H A D | ftrn.c | 43 uint8_t *buf, uint8_t const * const eob, in ftrn_profile_create_service_class_id_list() argument 51 buf, eob, in ftrn_profile_create_service_class_id_list() 58 uint8_t *buf, uint8_t const * const eob, in ftrn_profile_create_bluetooth_profile_descriptor_list() argument 67 buf, eob, in ftrn_profile_create_bluetooth_profile_descriptor_list() 74 uint8_t *buf, uint8_t const * const eob, in ftrn_profile_create_service_name() argument 80 buf, eob, in ftrn_profile_create_service_name() 86 uint8_t *buf, uint8_t const * const eob, in ftrn_profile_create_protocol_descriptor_list() argument 93 buf, eob, in ftrn_profile_create_protocol_descriptor_list()
|
H A D | irmc_command.c | 43 uint8_t *buf, uint8_t const * const eob, in irmc_command_profile_create_service_class_id_list() argument 51 buf, eob, in irmc_command_profile_create_service_class_id_list() 58 uint8_t *buf, uint8_t const * const eob, in irmc_command_profile_create_bluetooth_profile_descriptor_list() argument 67 buf, eob, in irmc_command_profile_create_bluetooth_profile_descriptor_list() 74 uint8_t *buf, uint8_t const * const eob, in irmc_command_profile_create_service_name() argument 80 buf, eob, in irmc_command_profile_create_service_name() 86 uint8_t *buf, uint8_t const * const eob, in irmc_command_profile_create_protocol_descriptor_list() argument 93 buf, eob, in irmc_command_profile_create_protocol_descriptor_list()
|
H A D | sp.c | 43 uint8_t *buf, uint8_t const * const eob, in sp_profile_create_service_class_id_list() argument 51 buf, eob, in sp_profile_create_service_class_id_list() 58 uint8_t *buf, uint8_t const * const eob, in sp_profile_create_bluetooth_profile_descriptor_list() argument 67 buf, eob, in sp_profile_create_bluetooth_profile_descriptor_list() 74 uint8_t *buf, uint8_t const * const eob, in sp_profile_create_service_name() argument 80 buf, eob, in sp_profile_create_service_name() 86 uint8_t *buf, uint8_t const * const eob, in sp_profile_create_protocol_descriptor_list() argument 93 buf, eob, in sp_profile_create_protocol_descriptor_list()
|
H A D | bgd.c | 40 uint8_t *buf, uint8_t const * const eob, in bgd_profile_create_service_class_id_list() argument 48 buf, eob, in bgd_profile_create_service_class_id_list() 55 uint8_t *buf, uint8_t const * const eob, in bgd_profile_create_service_name() argument 61 buf, eob, in bgd_profile_create_service_name() 67 uint8_t *buf, uint8_t const * const eob, in bgd_profile_create_group_id() argument 70 if (buf + 3 > eob) in bgd_profile_create_group_id()
|
H A D | ssar.c | 52 server_search_uuid_sub(uint8_t *buf, uint8_t const * const eob, const uint128_t *uuid) in server_search_uuid_sub() argument 58 while (buf < eob) { in server_search_uuid_sub() 64 if (buf + 2 > eob) in server_search_uuid_sub() 76 if (buf + 4 > eob) in server_search_uuid_sub() 89 if (buf + 16 > eob) in server_search_uuid_sub() 120 if (buf + 1 > eob) in server_search_uuid_sub() 126 if (buf + 2 > eob) in server_search_uuid_sub() 129 if (value > (eob - buf)) in server_search_uuid_sub() 134 if (buf + 4 > eob) in server_search_uuid_sub() 137 if (value > (eob - buf)) in server_search_uuid_sub()
|
H A D | sar.c | 59 uint8_t *buf, uint8_t const * const eob) in server_prepare_attr_value_pair() 67 if (buf + 3 > eob) in server_prepare_attr_value_pair() 73 len = cf(buf, eob, (uint8_t const *) provider, sizeof(*provider)); in server_prepare_attr_value_pair() 58 server_prepare_attr_value_pair(provider_p const provider,uint16_t attr,uint8_t * buf,uint8_t const * const eob) server_prepare_attr_value_pair() argument
|
H A D | profile.h | 43 uint8_t *buf, uint8_t const * const eob,
|
/freebsd/usr.sbin/bluetooth/bthidd/ |
H A D | kbd.c | 63 static int32_t kbd_xlate(int32_t code, int32_t make, int32_t *b, int32_t const *eob); 438 int32_t i, *b, *eob, n, buf[64]; in kbd_write() 441 eob = b + nitems(buf); in kbd_write() 446 n = kbd_xlate(i, make, b, eob); in kbd_write() 470 #define PUT(c, n, b, eob) \ 472 if ((b) >= (eob)) \ 480 kbd_xlate(int32_t code, int32_t make, int32_t *b, int32_t const *eob) in kbd_xlate() 498 PUT(0xe0, n, b, eob); in kbd_xlate() 499 PUT(0x46, n, b, eob); in kbd_xlate() 500 PUT(0xe0, n, b, eob); in kbd_xlate() 437 int32_t i, *b, *eob, n, buf[64]; kbd_write() local 469 PUT(c,n,b,eob) global() argument 479 kbd_xlate(int32_t code,int32_t make,int32_t * b,int32_t const * eob) kbd_xlate() argument [all...] |
/freebsd/contrib/ldns/ |
H A D | duration.c | 196 static inline int dur_scan_print(char **buf, char *eob, char c, time_t t) in dur_scan_print() argument 199 int r = snprintf(*buf, eob - *buf, "%u%c", (unsigned)t, c); in dur_scan_print() 200 if (r < 0 || (*buf += r) >= eob) in dur_scan_print() 216 char buf[300] = "P0D", *eob = buf + sizeof(buf), *p = buf + 1; in ldns_duration2string() local 221 if (dur_scan_print(&p, eob, 'Y', d->years) in ldns_duration2string() 222 || dur_scan_print(&p, eob, 'M', d->months) in ldns_duration2string() 223 || dur_scan_print(&p, eob, 'W', d->weeks) in ldns_duration2string() 224 || dur_scan_print(&p, eob, 'D', d->days)) in ldns_duration2string() 228 if (p > (eob - 2)) in ldns_duration2string() 232 if (dur_scan_print(&p, eob, 'H', d->hours) in ldns_duration2string() [all …]
|
/freebsd/lib/libc/tests/stdio/ |
H A D | open_memstream2_test.c | 55 off_t eob; in ATF_TC_BODY() local 63 eob = ftello(fp); in ATF_TC_BODY() 66 fseeko(fp, eob, SEEK_SET); in ATF_TC_BODY()
|
H A D | open_wmemstream_test.c | 55 off_t eob; in ATF_TC_BODY() local 63 eob = ftello(fp); in ATF_TC_BODY() 66 fseeko(fp, eob, SEEK_SET); in ATF_TC_BODY()
|
/freebsd/contrib/bc/tests/bc/errors/ |
H A D | 32.txt | 4 ++;eob= 2.-f-D;14.1*1.300 33 ++;eob= 2.-f-D;14.1*1.300
|
/freebsd/lib/libc/nameser/ |
H A D | ns_name.c | 517 const u_char **cpp, **lpp, *eob, *msg; in ns_name_pack() local 523 eob = dstp + dstsiz; in ns_name_pack() 565 if (dstp + 1 >= eob) { in ns_name_pack() 586 if (dstp + 1 + n >= eob) { in ns_name_pack() 594 if (dstp > eob) { in ns_name_pack()
|
/freebsd/lib/libc/gen/ |
H A D | getpwent.c | 1469 char *copy, *p, *q, *eob; in compat_use_template() local 1490 eob = ©[n]; in compat_use_template() 1496 p += strlcpy(p, pwd->field, eob-p) + 1; \ in compat_use_template() 1507 eob = &buffer[bufsize]; in compat_use_template() 1514 if ((n = strlcpy(p, q, eob-p)) >= eob-p) { \ in compat_use_template()
|