Home
last modified time | relevance | path

Searched refs:UCHAR_MAX (Results 1 – 25 of 30) sorted by relevance

12

/external/stlport/test/unit/
Dmacro_checks.cpp85 #if !defined (UCHAR_MAX)
86 # error Missing UCHAR_MAX definition.
89 #if (UCHAR_MAX < 0)
90 # error Weird UCHAR_MAX macro value.
/external/clang/lib/Headers/
Dlimits.h45 #undef UCHAR_MAX
71 #define UCHAR_MAX (__SCHAR_MAX__*2 +1) macro
84 #define CHAR_MAX UCHAR_MAX
/external/ppp/pppd/plugins/radius/
Dincludes.h39 #ifndef UCHAR_MAX
40 # define UCHAR_MAX 255 macro
Dbuildreq.c83 return (unsigned char)(magic() & UCHAR_MAX); in rc_guess_seqnbr()
139 fprintf(sf,"%d\n", (seq_nbr+1) & UCHAR_MAX); in rc_get_seqnbr()
/external/webkit/Source/WebCore/webaudio/
DRealtimeAnalyser.cpp246 double scaledValue = UCHAR_MAX * (dbMag - m_minDecibels) * RangeScaleFactor; in getByteFrequencyData()
251 if (scaledValue > UCHAR_MAX) in getByteFrequencyData()
252 scaledValue = UCHAR_MAX; in getByteFrequencyData()
289 if (scaledValue > UCHAR_MAX) in getByteTimeDomainData()
290 scaledValue = UCHAR_MAX; in getByteTimeDomainData()
/external/chromium/base/
Dstring_piece.cc106 bool lookup[UCHAR_MAX + 1] = { false }; in find_first_of()
128 bool lookup[UCHAR_MAX + 1] = { false }; in find_first_not_of()
158 bool lookup[UCHAR_MAX + 1] = { false }; in find_last_of()
182 bool lookup[UCHAR_MAX + 1] = { false }; in find_last_not_of()
/external/safe-iop/src/
Dsafe_iop.c261 a=1; b=UCHAR_MAX; EXPECT_FALSE(safe_add(NULL, a, b)); in T_add_u8()
262 a=UCHAR_MAX/2; b=a+2; EXPECT_FALSE(safe_add(NULL, a, b)); in T_add_u8()
263 a=UCHAR_MAX/2; b=a; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_u8()
264 a=UCHAR_MAX/2; b=a+1; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_u8()
266 a=0; b=UCHAR_MAX; EXPECT_TRUE(safe_add(NULL, a, b)); in T_add_u8()
469 a=0; b=UCHAR_MAX; EXPECT_FALSE(safe_sub(NULL, a, b)); in T_sub_u8()
470 a=UCHAR_MAX-1; b=UCHAR_MAX; EXPECT_FALSE(safe_sub(NULL, a, b)); in T_sub_u8()
471 a=UCHAR_MAX; b=UCHAR_MAX; EXPECT_TRUE(safe_sub(NULL, a, b)); in T_sub_u8()
680 a=UCHAR_MAX-1; b=2; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_u8()
681 a=2; b=UCHAR_MAX-1; EXPECT_FALSE(safe_mul(NULL, a, b)); in T_mul_u8()
[all …]
/external/chromium/sdch/open-vcdiff/src/
Dvcdiff_defs.h191 VCD_MAX_MODES = UCHAR_MAX + 1 // 256
Dencodetable.cc160 if (size <= UCHAR_MAX) { in EncodeInstruction()
187 if (size <= UCHAR_MAX) { in EncodeInstruction()
/external/bison/src/
Dscan-gram.l453 if (UCHAR_MAX < c)
462 verify (UCHAR_MAX < ULONG_MAX);
464 if (UCHAR_MAX < c)
1026 verify (UCHAR_MAX <= INT_MAX); in convert_ucn_to_byte()
1035 if (UCHAR_MAX < code) in convert_ucn_to_byte()
Dscan-gram.c1911 if (UCHAR_MAX < c)
1923 verify (UCHAR_MAX < ULONG_MAX);
1925 if (UCHAR_MAX < c)
3680 verify (UCHAR_MAX <= INT_MAX); in convert_ucn_to_byte()
3689 if (UCHAR_MAX < code) in convert_ucn_to_byte()
/external/srec/seti/sltsEngine/include/
Dlts_seq_internal.h115 int letter_index_for_letter[UCHAR_MAX+1];
/external/openssh/openbsd-compat/
Dvis.c43 (((u_int)(c) <= UCHAR_MAX && isascii((u_char)(c)) && \
/external/qemu/audio/
Dmixeng.c51 #define IN_MAX UCHAR_MAX
/external/bluetooth/bluez/src/
Dsdp-xml.c665 if (length > UCHAR_MAX) in sdp_xml_parse_url()
684 if (length > UCHAR_MAX) in sdp_xml_parse_text()
/external/bluetooth/bluez/plugins/
Dservice.c193 } else if (ctx_data->stack_head->data->unitSize > UCHAR_MAX) { in element_end()
205 } else if (ctx_data->stack_head->data->unitSize > UCHAR_MAX) { in element_end()
/external/bison/lib/
Dquotearg.c87 unsigned int quote_these_too[(UCHAR_MAX / INT_BITS) + 1];
/external/stlport/stlport/stl/
D_limits.h210 : public _STLP_PRIV _Integer_limits<unsigned char, 0, UCHAR_MAX, -1, true>
D_algobase.c301 unsigned char __hints[(UCHAR_MAX + 1) / CHAR_BIT];
/external/safe-iop/include/
Dsafe_iop.h570 MAKE_UADD(u, 8, u_int8_t, UCHAR_MAX)
603 MAKE_UMUL(u, 8, u_int8_t, UCHAR_MAX)
/external/mksh/src/
Dmisc.c35 unsigned char chtypes[UCHAR_MAX + 1];
69 for (i = 0; i < UCHAR_MAX + 1; i++) in setctypes()
/external/srec/seti/sltsEngine/src/
Drun_seq_lts.c119 for(i=0; i<UCHAR_MAX/sizeof(unsigned short)/8; i++) in bitarray_populate_from_list()
287 for (letter=0; letter <= UCHAR_MAX; letter++) in load_letter_mapping()
/external/llvm/lib/Analysis/
DConstantFolding.cpp488 SingleChar = (uint64_t) Str[i] & UCHAR_MAX; in ConstantFoldLoadFromConstPtr()
493 SingleChar = (uint64_t) Str[i] & UCHAR_MAX; in ConstantFoldLoadFromConstPtr()
/external/dropbear/libtommath/mtest/
Dmpi.c510 (mp_digit)((v >> (ix * CHAR_BIT)) & UCHAR_MAX)); in mp_set_int()
2394 *spos = d & UCHAR_MAX; in mp_to_unsigned_bin()
2405 *spos = d & UCHAR_MAX; in mp_to_unsigned_bin()
/external/bison/
DTODO165 Currently Bison assumes 8-bit bytes (i.e. that UCHAR_MAX is

12