Home | History | Annotate | Download | only in intltest

Lines Matching defs:basic

52 /* basic(cp) tests whether cp is a basic code point: */
53 #define basic(cp) ((punycode_uint)(cp) < 0x80)
59 /* decode_digit(cp) returns the numeric value of a basic code */
69 /* encode_digit(d,flag) returns the basic code point whose value */
82 /* flagged(bcp) tests whether a basic code point is flagged */
84 /* basic code point. */
88 /* encode_basic(bcp,flag) forces a basic code point to lowercase */
91 /* is caseless. The behavior is undefined if bcp is not a basic */
142 /* Handle the basic code points: */
145 if (basic(input[j])) {
157 /* number of basic code points, and out is the number of characters */
165 /* All non-basic code points < n have been */
169 /* if (basic(input[j])) continue; */
182 /* Punycode does not need to check whether input[j] is basic: */
183 if (input[j] < n /* || basic(input[j]) */ ) {
232 /* Handle the basic code points: Let b be the number of input code */
241 if (!basic(input[j])) return punycode_bad_input;
246 /* basic code points were copied; start at the beginning otherwise. */