| /freebsd-11-stable/usr.sbin/bluetooth/sdpd/ |
| HD | nap.c | 46 uint8_t *buf, uint8_t const * const eob, in nap_profile_create_service_class_id_list() argument 54 buf, eob, in nap_profile_create_service_class_id_list() 61 uint8_t *buf, uint8_t const * const eob, in nap_profile_create_bluetooth_profile_descriptor_list() argument 70 buf, eob, in nap_profile_create_bluetooth_profile_descriptor_list() 77 uint8_t *buf, uint8_t const * const eob, in nap_profile_create_service_name() argument 83 buf, eob, in nap_profile_create_service_name() 89 uint8_t *buf, uint8_t const * const eob, in nap_profile_create_service_description() argument 95 buf, eob, in nap_profile_create_service_description() 102 uint8_t *buf, uint8_t const * const eob, in nap_profile_create_protocol_descriptor_list() argument 109 buf, eob, (uint8_t const *) &nap->psm, in nap_profile_create_protocol_descriptor_list() [all …]
|
| HD | sd.c | 44 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_service_class_id_list() argument 52 buf, eob, in sd_profile_create_service_class_id_list() 59 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_bluetooth_profile_descriptor_list() argument 68 buf, eob, in sd_profile_create_bluetooth_profile_descriptor_list() 75 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_service_id() argument 78 if (buf + 3 > eob) in sd_profile_create_service_id() 96 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_service_name() argument 102 buf, eob, in sd_profile_create_service_name() 108 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_protocol_descriptor_list() argument 111 if (buf + 12 > eob) in sd_profile_create_protocol_descriptor_list() [all …]
|
| HD | gn.c | 46 uint8_t *buf, uint8_t const * const eob, in gn_profile_create_service_class_id_list() argument 54 buf, eob, in gn_profile_create_service_class_id_list() 61 uint8_t *buf, uint8_t const * const eob, in gn_profile_create_bluetooth_profile_descriptor_list() argument 70 buf, eob, in gn_profile_create_bluetooth_profile_descriptor_list() 77 uint8_t *buf, uint8_t const * const eob, in gn_profile_create_service_name() argument 83 buf, eob, in gn_profile_create_service_name() 89 uint8_t *buf, uint8_t const * const eob, in gn_profile_create_service_description() argument 96 buf, eob, in gn_profile_create_service_description() 103 uint8_t *buf, uint8_t const * const eob, in gn_profile_create_protocol_descriptor_list() argument 110 buf, eob, (uint8_t const *) &gn->psm, in gn_profile_create_protocol_descriptor_list() [all …]
|
| HD | panu.c | 46 uint8_t *buf, uint8_t const * const eob, in panu_profile_create_service_class_id_list() argument 54 buf, eob, in panu_profile_create_service_class_id_list() 61 uint8_t *buf, uint8_t const * const eob, in panu_profile_create_bluetooth_profile_descriptor_list() argument 70 buf, eob, in panu_profile_create_bluetooth_profile_descriptor_list() 77 uint8_t *buf, uint8_t const * const eob, in panu_profile_create_service_name() argument 83 buf, eob, in panu_profile_create_service_name() 89 uint8_t *buf, uint8_t const * const eob, in panu_profile_create_service_description() argument 96 buf, eob, in panu_profile_create_service_description() 103 uint8_t *buf, uint8_t const * const eob, in panu_profile_create_protocol_descriptor_list() argument 110 buf, eob, (uint8_t const *) &panu->psm, in panu_profile_create_protocol_descriptor_list() [all …]
|
| HD | profile.c | 110 uint8_t *buf, uint8_t const * const eob, in common_profile_create_service_record_handle() argument 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() argument 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() argument 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() argument 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() argument 241 return (common_profile_create_string8(buf, eob, in common_profile_create_service_provider_name() [all …]
|
| HD | lan.c | 46 uint8_t *buf, uint8_t const * const eob, in lan_profile_create_service_class_id_list() argument 54 buf, eob, in lan_profile_create_service_class_id_list() 61 uint8_t *buf, uint8_t const * const eob, in lan_profile_create_bluetooth_profile_descriptor_list() argument 70 buf, eob, in lan_profile_create_bluetooth_profile_descriptor_list() 77 uint8_t *buf, uint8_t const * const eob, in lan_profile_create_service_name() argument 83 buf, eob, in lan_profile_create_service_name() 89 uint8_t *buf, uint8_t const * const eob, in lan_profile_create_protocol_descriptor_list() argument 96 buf, eob, in lan_profile_create_protocol_descriptor_list() 102 uint8_t *buf, uint8_t const * const eob, in lan_profile_create_service_availability() argument 108 return (common_profile_create_service_availability(buf, eob, in lan_profile_create_service_availability() [all …]
|
| HD | audio_source.c | 41 uint8_t *buf, uint8_t const *const eob, in audio_source_profile_create_service_class_id_list() argument 49 buf, eob, in audio_source_profile_create_service_class_id_list() 56 uint8_t *buf, uint8_t const *const eob, in audio_source_profile_create_protocol_descriptor_list() argument 62 if (buf + 18 > eob) in audio_source_profile_create_protocol_descriptor_list() 91 uint8_t *buf, uint8_t const *const eob, in audio_source_profile_create_browse_group_list() argument 95 if (buf + 5 > eob) in audio_source_profile_create_browse_group_list() 109 uint8_t *buf, uint8_t const *const eob, in audio_source_profile_create_bluetooth_profile_descriptor_list() argument 118 buf, eob, in audio_source_profile_create_bluetooth_profile_descriptor_list() 125 uint8_t *buf, uint8_t const *const eob, in audio_source_profile_create_service_name() argument 131 buf, eob, in audio_source_profile_create_service_name() [all …]
|
| HD | audio_sink.c | 41 uint8_t *buf, uint8_t const *const eob, in audio_sink_profile_create_service_class_id_list() argument 49 buf, eob, in audio_sink_profile_create_service_class_id_list() 56 uint8_t *buf, uint8_t const *const eob, in audio_sink_profile_create_protocol_descriptor_list() argument 62 if (buf + 18 > eob) in audio_sink_profile_create_protocol_descriptor_list() 91 uint8_t *buf, uint8_t const *const eob, in audio_sink_profile_create_browse_group_list() argument 95 if (buf + 5 > eob) in audio_sink_profile_create_browse_group_list() 109 uint8_t *buf, uint8_t const *const eob, in audio_sink_profile_create_bluetooth_profile_descriptor_list() argument 118 buf, eob, in audio_sink_profile_create_bluetooth_profile_descriptor_list() 125 uint8_t *buf, uint8_t const *const eob, in audio_sink_profile_create_service_name() argument 131 buf, eob, in audio_sink_profile_create_service_name() [all …]
|
| HD | dun.c | 44 uint8_t *buf, uint8_t const * const eob, in dun_profile_create_service_class_id_list() argument 52 buf, eob, in dun_profile_create_service_class_id_list() 59 uint8_t *buf, uint8_t const * const eob, in dun_profile_create_bluetooth_profile_descriptor_list() argument 68 buf, eob, in dun_profile_create_bluetooth_profile_descriptor_list() 75 uint8_t *buf, uint8_t const * const eob, in dun_profile_create_service_name() argument 81 buf, eob, in dun_profile_create_service_name() 87 uint8_t *buf, uint8_t const * const eob, in dun_profile_create_protocol_descriptor_list() argument 94 buf, eob, in dun_profile_create_protocol_descriptor_list() 100 uint8_t *buf, uint8_t const * const eob, in dun_profile_create_audio_feedback_support() argument 106 if (buf + 2 > eob) in dun_profile_create_audio_feedback_support()
|
| HD | irmc.c | 44 uint8_t *buf, uint8_t const * const eob, in irmc_profile_create_service_class_id_list() argument 52 buf, eob, in irmc_profile_create_service_class_id_list() 59 uint8_t *buf, uint8_t const * const eob, in irmc_profile_create_bluetooth_profile_descriptor_list() argument 68 buf, eob, in irmc_profile_create_bluetooth_profile_descriptor_list() 75 uint8_t *buf, uint8_t const * const eob, in irmc_profile_create_service_name() argument 81 buf, eob, in irmc_profile_create_service_name() 87 uint8_t *buf, uint8_t const * const eob, in irmc_profile_create_protocol_descriptor_list() argument 94 buf, eob, in irmc_profile_create_protocol_descriptor_list() 100 uint8_t *buf, uint8_t const * const eob, in irmc_profile_create_supported_formats_list() argument 107 buf, eob, in irmc_profile_create_supported_formats_list()
|
| HD | opush.c | 44 uint8_t *buf, uint8_t const * const eob, in opush_profile_create_service_class_id_list() argument 52 buf, eob, in opush_profile_create_service_class_id_list() 59 uint8_t *buf, uint8_t const * const eob, in opush_profile_create_bluetooth_profile_descriptor_list() argument 68 buf, eob, in opush_profile_create_bluetooth_profile_descriptor_list() 75 uint8_t *buf, uint8_t const * const eob, in opush_profile_create_service_name() argument 81 buf, eob, in opush_profile_create_service_name() 87 uint8_t *buf, uint8_t const * const eob, in opush_profile_create_protocol_descriptor_list() argument 94 buf, eob, in opush_profile_create_protocol_descriptor_list() 100 uint8_t *buf, uint8_t const * const eob, in opush_profile_create_supported_formats_list() argument 107 buf, eob, in opush_profile_create_supported_formats_list()
|
| HD | irmc_command.c | 44 uint8_t *buf, uint8_t const * const eob, in irmc_command_profile_create_service_class_id_list() argument 52 buf, eob, in irmc_command_profile_create_service_class_id_list() 59 uint8_t *buf, uint8_t const * const eob, in irmc_command_profile_create_bluetooth_profile_descriptor_list() argument 68 buf, eob, in irmc_command_profile_create_bluetooth_profile_descriptor_list() 75 uint8_t *buf, uint8_t const * const eob, in irmc_command_profile_create_service_name() argument 81 buf, eob, in irmc_command_profile_create_service_name() 87 uint8_t *buf, uint8_t const * const eob, in irmc_command_profile_create_protocol_descriptor_list() argument 94 buf, eob, in irmc_command_profile_create_protocol_descriptor_list()
|
| HD | sp.c | 44 uint8_t *buf, uint8_t const * const eob, in sp_profile_create_service_class_id_list() argument 52 buf, eob, in sp_profile_create_service_class_id_list() 59 uint8_t *buf, uint8_t const * const eob, in sp_profile_create_bluetooth_profile_descriptor_list() argument 68 buf, eob, in sp_profile_create_bluetooth_profile_descriptor_list() 75 uint8_t *buf, uint8_t const * const eob, in sp_profile_create_service_name() argument 81 buf, eob, in sp_profile_create_service_name() 87 uint8_t *buf, uint8_t const * const eob, in sp_profile_create_protocol_descriptor_list() argument 94 buf, eob, in sp_profile_create_protocol_descriptor_list()
|
| HD | ftrn.c | 44 uint8_t *buf, uint8_t const * const eob, in ftrn_profile_create_service_class_id_list() argument 52 buf, eob, in ftrn_profile_create_service_class_id_list() 59 uint8_t *buf, uint8_t const * const eob, in ftrn_profile_create_bluetooth_profile_descriptor_list() argument 68 buf, eob, in ftrn_profile_create_bluetooth_profile_descriptor_list() 75 uint8_t *buf, uint8_t const * const eob, in ftrn_profile_create_service_name() argument 81 buf, eob, in ftrn_profile_create_service_name() 87 uint8_t *buf, uint8_t const * const eob, in ftrn_profile_create_protocol_descriptor_list() argument 94 buf, eob, in ftrn_profile_create_protocol_descriptor_list()
|
| HD | bgd.c | 41 uint8_t *buf, uint8_t const * const eob, in bgd_profile_create_service_class_id_list() argument 49 buf, eob, in bgd_profile_create_service_class_id_list() 56 uint8_t *buf, uint8_t const * const eob, in bgd_profile_create_service_name() argument 62 buf, eob, in bgd_profile_create_service_name() 68 uint8_t *buf, uint8_t const * const eob, in bgd_profile_create_group_id() argument 71 if (buf + 3 > eob) in bgd_profile_create_group_id()
|
| HD | ssar.c | 53 server_search_uuid_sub(uint8_t *buf, uint8_t const * const eob, const uint128_t *uuid) in server_search_uuid_sub() argument 59 while (buf < eob) { in server_search_uuid_sub() 65 if (buf + 2 > eob) in server_search_uuid_sub() 77 if (buf + 4 > eob) in server_search_uuid_sub() 90 if (buf + 16 > eob) in server_search_uuid_sub() 121 if (buf + 1 > eob) in server_search_uuid_sub() 127 if (buf + 2 > eob) in server_search_uuid_sub() 130 if (value > (eob - buf)) in server_search_uuid_sub() 135 if (buf + 4 > eob) in server_search_uuid_sub() 138 if (value > (eob - buf)) in server_search_uuid_sub()
|
| HD | sar.c | 59 uint8_t *buf, uint8_t const * const eob) in server_prepare_attr_value_pair() argument 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()
|
| HD | profile.h | 44 uint8_t *buf, uint8_t const * const eob,
|
| /freebsd-11-stable/usr.sbin/bluetooth/bthidd/ |
| HD | kbd.c | 62 static int32_t kbd_xlate(int32_t code, int32_t make, int32_t *b, int32_t const *eob); 415 int32_t i, *b, *eob, n, buf[64]; in kbd_write() local 418 eob = b + sizeof(buf)/sizeof(buf[0]); in kbd_write() 423 n = kbd_xlate(i, make, b, eob); in kbd_write() 447 #define PUT(c, n, b, eob) \ argument 449 if ((b) >= (eob)) \ 457 kbd_xlate(int32_t code, int32_t make, int32_t *b, int32_t const *eob) in kbd_xlate() argument 475 PUT(0xe0, n, b, eob); in kbd_xlate() 476 PUT(0x46, n, b, eob); in kbd_xlate() 477 PUT(0xe0, n, b, eob); in kbd_xlate() [all …]
|
| /freebsd-11-stable/lib/libc/tests/stdio/ |
| HD | open_wmemstream_test.c | 58 off_t eob; in ATF_TC_BODY() local 66 eob = ftello(fp); in ATF_TC_BODY() 69 fseeko(fp, eob, SEEK_SET); in ATF_TC_BODY()
|
| HD | open_memstream2_test.c | 58 off_t eob; in ATF_TC_BODY() local 66 eob = ftello(fp); in ATF_TC_BODY() 69 fseeko(fp, eob, SEEK_SET); in ATF_TC_BODY()
|
| /freebsd-11-stable/lib/libc/nameser/ |
| HD | ns_name.c | 521 const u_char **cpp, **lpp, *eob, *msg; in ns_name_pack() local 527 eob = dstp + dstsiz; in ns_name_pack() 569 if (dstp + 1 >= eob) { in ns_name_pack() 590 if (dstp + 1 + n >= eob) { in ns_name_pack() 598 if (dstp > eob) { in ns_name_pack()
|
| /freebsd-11-stable/lib/libc/gen/ |
| HD | getpwent.c | 1463 char *copy, *p, *q, *eob; in compat_use_template() local 1484 eob = ©[n]; in compat_use_template() 1490 p += strlcpy(p, pwd->field, eob-p) + 1; \ in compat_use_template() 1501 eob = &buffer[bufsize]; in compat_use_template() 1508 if ((n = strlcpy(p, q, eob-p)) >= eob-p) { \ in compat_use_template()
|