OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:hexlen
(Results
1 - 6
of
6
) sorted by null
/external/qemu/telephony/
sms.h
56
extern int sms_address_from_hex ( SmsAddress address, const char* hex, int
hexlen
);
71
extern SmsPDU smspdu_create_from_hex( const char* hex, int
hexlen
);
gsm.h
34
/* try to convert a hex string into a byte string, assumes 'dst' is properly sized, and
hexlen
is even.
36
extern int gsm_hex_to_bytes ( cbytes_t hex, int
hexlen
, bytes_t dst );
38
/* convert a hex string into a byte string, assumes 'dst' is properly sized, and
hexlen
is even.
40
extern void gsm_hex_to_bytes0 ( cbytes_t hex, int
hexlen
, bytes_t dst );
sms.c
406
sms_address_from_hex ( SmsAddress address, const char* hex, int
hexlen
)
408
const char* hexend = hex +
hexlen
;
411
if (
hexlen
< 4)
429
sms_address_to_hex ( SmsAddress address, char* hex, int
hexlen
)
435
hexlen
= 0;
437
if (
hexlen
< 2) goto Exit;
439
if (
hexlen
< 4) goto Exit;
442
hexlen
-= 4;
443
if (
hexlen
> 2*(len - 2) )
444
hexlen
= (len - 2)/2
[
all
...]
gsm.c
181
gsm_hex_to_bytes0( cbytes_t hex, int
hexlen
, bytes_t dst )
185
for (nn = 0; nn <
hexlen
/2; nn++ ) {
188
if (
hexlen
& 1) {
194
gsm_hex_to_bytes( cbytes_t hex, int
hexlen
, bytes_t dst )
198
if (
hexlen
& 1) /* must be even */
201
for (nn = 0; nn <
hexlen
/2; nn++ ) {
206
return
hexlen
/2;
/libcore/luni/src/main/java/javax/net/ssl/
DistinguishedNameParser.java
171
int
hexLen
= end - beg; // skip first '#' char
172
if (
hexLen
< 5 || (
hexLen
& 1) == 0) {
177
byte[] encoded = new byte[
hexLen
/ 2];
182
return new String(chars, beg,
hexLen
);
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
DNParser.java
200
int
hexLen
= end - beg; // skip first '#' char
201
if (
hexLen
< 5 || (
hexLen
& 1) == 0) {
206
encoded = new byte[
hexLen
/ 2];
211
return new String(chars, beg,
hexLen
);
Completed in 196 milliseconds