Home
last modified time | relevance | path

Searched refs:u_char (Results 1 - 25 of 141) sorted by relevance

123456

/third_party/lwip/src/netif/ppp/
H A Dchap_ms.c153 static void ascii2unicode (const char[], int, u_char[]);
154 static void NTPasswordHash (u_char *, int, u_char[MD4_SIGNATURE_SIZE]);
155 static void ChallengeResponse (const u_char *, const u_char *, u_char[24]);
156 static void ChallengeHash (const u_char[16], const u_char *, const char *, u_char[8]);
157 static void ChapMS_NT (const u_char *, cons
[all...]
H A Dupap.c86 static void upap_input(ppp_pcb *pcb, u_char *inpacket, int l);
89 static int upap_printpkt(const u_char *p, int plen, void (*printer) (void *, const char *, ...), void *arg);
124 static void upap_rauthreq(ppp_pcb *pcb, u_char *inp, int id, int len);
126 static void upap_rauthack(ppp_pcb *pcb, u_char *inp, int id, int len);
127 static void upap_rauthnak(ppp_pcb *pcb, u_char *inp, int id, int len);
130 static void upap_sresp(ppp_pcb *pcb, u_char code, u_char id, const char *msg, int msglen);
305 static void upap_input(ppp_pcb *pcb, u_char *inpacket, int l) { in upap_input()
306 u_char *inp; in upap_input()
307 u_char cod in upap_input()
[all...]
H A Dfsm.c63 static void fsm_rconfreq(fsm *f, u_char id, u_char *inp, int len);
64 static void fsm_rconfack(fsm *f, int id, u_char *inp, int len);
65 static void fsm_rconfnakrej(fsm *f, int code, int id, u_char *inp, int len);
66 static void fsm_rtermreq(fsm *f, int id, u_char *p, int len);
68 static void fsm_rcoderej(fsm *f, u_char *inp, int len);
211 (const u_char *) f->term_reason, f->term_reason_len); in terminate_layer()
283 (const u_char *) f->term_reason, f->term_reason_len); in fsm_timeout()
318 void fsm_input(fsm *f, u_char *inpacket, int l) { in fsm_input()
319 u_char *in in fsm_input()
[all...]
H A Deap.c99 static void eap_input(ppp_pcb *pcb, u_char *inp, int inlen);
104 static int eap_printpkt(const u_char *inp, int inlen,
141 static const u_char wkmodulus[] = {
252 u_char *outp; in eap_send_failure()
262 outp = (u_char*)p->payload; in eap_send_failure()
283 u_char *outp; in eap_send_success()
293 outp = (u_char*)p->payload; in eap_send_success()
320 u_char dig[SHA_DIGESTSIZE]; in pncrypt_setkey()
347 u_char *inp;
349 u_char *out
[all...]
H A Dmagic.c106 lwip_md5_update(&md5_ctx, (u_char *)magic_randpool, sizeof(magic_randpool)); in magic_churnrand()
108 lwip_md5_update(&md5_ctx, (u_char *)rand_data, rand_len); in magic_churnrand()
123 lwip_md5_update(&md5_ctx, (u_char *)&sys_data, sizeof(sys_data)); in magic_churnrand()
125 lwip_md5_finish(&md5_ctx, (u_char *)magic_randpool); in magic_churnrand()
164 u_char tmp[MD5_HASH_SIZE]; in magic_random_bytes()
170 lwip_md5_update(&md5_ctx, (u_char *)magic_randpool, sizeof(magic_randpool)); in magic_random_bytes()
171 lwip_md5_update(&md5_ctx, (u_char *)&magic_randcount, sizeof(magic_randcount)); in magic_random_bytes()
H A Dipv6cp.c181 static void ipv6cp_addci(fsm *f, u_char *ucp, int *lenp); /* Add our CI */
182 static int ipv6cp_ackci(fsm *f, u_char *p, int len); /* Peer ack'd our CI */
183 static int ipv6cp_nakci(fsm *f, u_char *p, int len, int treat_as_reject); /* Peer nak'd our CI */
184 static int ipv6cp_rejci(fsm *f, u_char *p, int len); /* Peer rej'd our CI */
185 static int ipv6cp_reqci(fsm *f, u_char *inp, int *len, int reject_if_disagree); /* Rcv CI */
258 static void ipv6cp_input(ppp_pcb *pcb, u_char *p, int len);
267 static int ipv6cp_printpkt(const u_char *p, int plen,
271 static int ipv6_active_pkt(u_char *pkt, int len);
491 static void ipv6cp_input(ppp_pcb *pcb, u_char *p, int len) { in ipv6cp_input()
549 static void ipv6cp_addci(fsm *f, u_char *uc
[all...]
H A Dpppcrypt.c41 static u_char pppcrypt_get_7bits(u_char *input, int startBit) { in pppcrypt_get_7bits()
55 void pppcrypt_56_to_64_bit_key(u_char *key, u_char * des_key) { in pppcrypt_56_to_64_bit_key()
/third_party/backends/backend/
H A Dplustek-usb.h123 #define _LOBYTE(x) ((u_char)((x) & 0xFF))
124 #define _HIBYTE(x) ((u_char)((x) >> 8))
137 u_char Red;
138 u_char Green;
139 u_char Blue;
155 u_char a_bColor[3];
159 u_char bHi;
160 u_char bLo;
175 u_char *pb;
415 u_char bSensorOrde
[all...]
H A Dcanon-scsi.c48 static u_char cmd[6]; in test_unit_ready()
63 static u_char cmd[6]; in request_sense()
80 static u_char cmd[6]; in inquiry()
99 static u_char cmd[6 + 12]; in mode_select()
121 static u_char cmd[6]; in reserve_unit()
137 static u_char cmd[6]; in release_unit()
153 static u_char cmd[6]; in mode_sense()
170 static u_char cmd[6 + 1]; in scan()
186 static u_char cmd[6]; in send_diagnostic()
202 static u_char cm in set_window()
[all...]
H A Dmustek_scsi_pp.c93 static u_char mustek_scsi_pp_register = 0;
97 mustek_scsi_pp_select_register (int fd, u_char reg) in mustek_scsi_pp_select_register()
111 u_char status; in mustek_scsi_pp_wait_for_valid_status()
145 u_char status; in mustek_scsi_pp_wait_for_status_bit_5_set()
175 u_char status; in mustek_scsi_pp_wait_for_status_bit_5_clear()
206 u_char status; in mustek_scsi_pp_wait_for_status_bit_7_set()
236 u_char status; in mustek_scsi_pp_wait_for_status_bit_7_clear()
266 u_char status; in mustek_scsi_pp_wait_for_status_bit_4_set()
313 u_char status; in mustek_scsi_pp_wait_for_status_bit_4_clear()
356 static u_char mustek_scsi_pp_bit_4_stat
[all...]
H A Dplustek-usbscan.c79 static u_char bMaxITA;
86 static u_char m_bLineRateColor;
87 static u_char m_bCM;
88 static u_char m_bIntTimeAdjust;
89 static u_char m_bOldScanData;
98 static SANE_Bool usb_DownloadShadingData( Plustek_Device*, u_char );
157 u_char *regs = dev->usbDev.a_bRegs; in usb_SetAsicDpiX()
286 u_char *regs = dev->usbDev.a_bRegs; in usb_SetColorAndBits()
385 u_char *regs = dev->usbDev.a_bRegs; in usb_GetScanRect()
515 u_char *reg in usb_PresetStepSize()
[all...]
H A Dplustek-usbmap.c89 dev->scanning.sParam.brightness, (u_char)b); in usb_MapAdjust()
101 a_bMap[i] = (u_char)tmp; in usb_MapAdjust()
106 a_bMap[tabLen+i] = (u_char)tmp; in usb_MapAdjust()
111 a_bMap[tabLen*2+i] = (u_char)tmp; in usb_MapAdjust()
186 u_char map[_MAP_SIZE]; in usb_MapDownload()
187 u_char *pMap = a_bMap+color*_MAP_SIZE; in usb_MapDownload()
/third_party/FreeBSD/contrib/tcp_wrappers/
H A Dstrcasecmp.c22 /* Some environments don't define u_char -- WZV */
26 typedef unsigned char u_char; typedef
34 static u_char charmap[] = {
71 register u_char *cm = charmap, in strcasecmp()
72 *us1 = (u_char *)s1, in strcasecmp()
73 *us2 = (u_char *)s2; in strcasecmp()
83 register u_char *cm = charmap, in strncasecmp()
84 *us1 = (u_char *)s1, in strncasecmp()
85 *us2 = (u_char *)s2; in strncasecmp()
/third_party/lwip/src/include/netif/ppp/
H A Dfsm.h104 (fsm *, u_char *, int *);
106 (fsm *, u_char *, int);
108 (fsm *, u_char *, int, int);
110 (fsm *, u_char *, int);
112 (fsm *, u_char *, int *, int);
126 (fsm *, int, int, u_char *, int);
173 void fsm_input(fsm *f, u_char *inpacket, int l);
175 void fsm_sdata(fsm *f, u_char code, u_char id, const u_char *dat
[all...]
H A Dppp_impl.h77 #define PPP_ADDRESS(p) (((u_char *)(p))[0])
78 #define PPP_CONTROL(p) (((u_char *)(p))[1])
79 #define PPP_PROTOCOL(p) ((((u_char *)(p))[2] << 8) + ((u_char *)(p))[3])
286 void (*input) (ppp_pcb *pcb, u_char *pkt, int len);
299 int (*printpkt) (const u_char *pkt, int len,
305 void (*datainput) (ppp_pcb *pcb, u_char *pkt, int len);
320 int (*active_pkt) (u_char *pkt, int len);
464 int ccp_test(ppp_pcb *pcb, u_char *opt_ptr, int opt_len, int for_transmit);
500 * cp MUST be u_char *
[all...]
H A Deap.h120 u_char *ea_skey; /* Shared encryption key */
124 u_char ea_id; /* Current id */
125 u_char ea_requests; /* Number of Requests sent/received */
126 u_char ea_responses; /* Number of Responses */
127 u_char ea_type; /* One of EAPT_* */
145 u_char es_challenge[EAP_MAX_CHALLENGE_LENGTH];
/third_party/FreeBSD/sbin/fsck_msdosfs/
H A Ddir.c96 static u_char calcShortSum(u_char *);
98 static int removede(struct fat_descriptor *, u_char *, u_char *,
100 static int checksize(struct fat_descriptor *, u_char *, struct dosDirEntry *);
192 static inline u_char
193 calcShortSum(u_char *p) in calcShortSum()
195 u_char sum = 0; in calcShortSum()
210 static u_char *buffer = NULL;
211 static u_char *delbu
[all...]
H A Dboot.c48 u_char block[DOSBOOTBLOCKSIZE]; in readboot()
49 u_char fsinfo[2 * DOSBOOTBLOCKSIZE]; in readboot()
339 u_char fsinfo[2 * DOSBOOTBLOCKSIZE]; in writefsinfo()
347 fsinfo[0x1e8] = (u_char)boot->FSFree; in writefsinfo()
348 fsinfo[0x1e9] = (u_char)(boot->FSFree >> 8); in writefsinfo()
349 fsinfo[0x1ea] = (u_char)(boot->FSFree >> 16); in writefsinfo()
350 fsinfo[0x1eb] = (u_char)(boot->FSFree >> 24); in writefsinfo()
351 fsinfo[0x1ec] = (u_char)boot->FSNext; in writefsinfo()
352 fsinfo[0x1ed] = (u_char)(boot->FSNext >> 8); in writefsinfo()
353 fsinfo[0x1ee] = (u_char)(boo in writefsinfo()
[all...]
/third_party/FreeBSD/sys/crypto/rijndael/
H A Drijndael.h43 void rijndael_set_key(rijndael_ctx *, const u_char *, int);
44 void rijndael_decrypt(const rijndael_ctx *, const u_char *, u_char *);
45 void rijndael_encrypt(const rijndael_ctx *, const u_char *, u_char *);
/third_party/backends/sanei/
H A Dsanei_pa4s2.c166 u_char prelock[3]; /* state of port */
197 static void pa4s2_readbegin_epp (int fd, u_char reg);
198 static u_char pa4s2_readbyte_epp (int fd);
200 static void pa4s2_readbegin_uni (int fd, u_char reg);
201 static u_char pa4s2_readbyte_uni (int fd);
203 static void pa4s2_readbegin_nib (int fd, u_char reg);
204 static u_char pa4s2_readbyte_nib (int fd);
206 static void pa4s2_writebyte_any (int fd, u_char reg, u_char val);
207 static int pa4s2_enable (int fd, u_char * preloc
[all...]
H A Dsanei_pio.c134 static inline int pio_wait (const Port port, u_char val, u_char mask);
135 static inline void pio_ctrl (const Port port, u_char val);
139 static int pio_write (const Port port, const u_char * buf, int n);
140 static int pio_read (const Port port, u_char * buf, int n);
144 pio_wait (const Port port, u_char val, u_char mask) in pio_wait()
186 pio_ctrl (const Port port, u_char val) in pio_ctrl()
240 pio_write (const Port port, const u_char * buf, int n) in pio_write()
294 pio_read (const Port port, u_char * bu
[all...]
/third_party/backends/include/sane/
H A Dsanei_pa4s2.h152 extern SANE_Status sanei_pa4s2_readbegin (int fd, u_char reg);
163 extern SANE_Status sanei_pa4s2_scsi_pp_get_status (int fd, u_char *status);
190 extern SANE_Status sanei_pa4s2_readbyte (int fd, u_char * val);
216 extern SANE_Status sanei_pa4s2_writebyte (int fd, u_char reg, u_char val);
H A Dsanei_udp.h38 extern ssize_t sanei_udp_write(int fd, const u_char * buf, int count);
39 extern ssize_t sanei_udp_read(int fd, u_char * buf, int count);
40 extern ssize_t sanei_udp_write_broadcast(int fd, int port, const u_char * buf, int count);
41 extern ssize_t sanei_udp_recvfrom(int fd, u_char * buf, int count, char **fromp);
/third_party/musl/src/internal/
H A Dlocale_impl.h69 typedef uint16_t u_char; typedef
76 hidden double icu_parse_double(void *fmt, u_char *ustr, int32_t *parse_pos, int *cur_status);
82 typedef void *(*f_icu18n_u_str_from_utf8)(u_char *, int32_t, int32_t *, const char *, int32_t, int *);
83 typedef void *(*f_icu18n_u_str_from_utf32)(u_char *, int32_t, int32_t *, const wchar_t *, int32_t, int *);
84 typedef double (*f_icu18n_unum_parse_double)(void *, u_char *, int32_t, int32_t *, int *);
85 typedef int32_t(*f_icu18n_unum_get_symbol)(const void *, int, u_char *, int32_t, int *);
86 typedef char *(*f_icuuc_u_austrncpy)(char *, const u_char *, int32_t);
/third_party/FreeBSD/lib/libc/gen/
H A Darc4random.c83 u_char rs_buf[RSBUFSZ]; /* keystream blocks */
93 static inline void _rs_rekey(u_char *dat, size_t datlen);
96 _rs_init(u_char *buf, size_t n) in _rs_init()
113 u_char rnd[KEYSZ + IVSZ]; in _rs_stir()
180 _rs_rekey(u_char *dat, size_t datlen) in _rs_rekey()
205 u_char *buf = (u_char *)_buf; in _rs_random_buf()
206 u_char *keystream; in _rs_random_buf()
229 u_char *keystream; in _rs_random_u32()

Completed in 15 milliseconds

123456