Searched refs:lead (Results 1 - 25 of 65) sorted by relevance

123

/macosx-10.10/ICU-531.30/icuSources/common/
H A Dbmpset.cpp70 int32_t lead=start>>6; // Named for UTF-8 2-byte lead byte with upper 5 bits.
74 uint32_t bits=(uint32_t)1<<lead;
83 if(lead==limitLead) {
96 ++lead;
98 if(lead<limitLead) {
99 bits=~((1<<lead)-1);
283 int lead=c>>12;
284 uint32_t twoBits=(bmpBlockBits[(c>>6)&0x3f]>>lead)&0x10001;
291 return containsSlow(c, list4kStarts[lead], list4kStart
[all...]
H A Dutrie2_builder.cpp46 * Exception: Support for separate values for lead surrogate code _units_
59 * corresponding to one lead surrogate.
174 * Plus as many as needed for lead surrogate code points.
368 UChar lead; local
390 for(lead=0xd800; lead<0xdc00; ++lead) {
393 value=UTRIE2_GET16_FROM_U16_SINGLE_LEAD(other, lead);
395 value=UTRIE2_GET32_FROM_U16_SINGLE_LEAD(other, lead);
398 utrie2_set32ForLeadSurrogateCodeUnit(context.trie, lead, valu
412 UChar lead; local
[all...]
H A Dutrie2.cpp603 * Enumerate values for lead surrogate code points, not code units:
729 utrie2_enumForLeadSurrogate(const UTrie2 *trie, UChar32 lead, argument
732 if(!U16_IS_LEAD(lead)) {
735 lead=(lead-0xd7c0)<<10; /* start code point */
736 enumEitherTrie(trie, lead, lead+0x400, enumValue, enumRange, context);
H A Dustring.cpp223 UChar cs, lead=U16_LEAD(c), trail=U16_TRAIL(c); local
226 if(cs==lead && *s==trail) {
267 UChar lead=U16_LEAD(c), trail=U16_TRAIL(c); local
270 if(*s==lead && *(s+1)==trail) {
398 UChar cs, lead=U16_LEAD(c), trail=U16_TRAIL(c); local
401 if(cs==lead && *s==trail) {
442 UChar lead=U16_LEAD(c), trail=U16_TRAIL(c); local
445 if(*limit==trail && *(limit-1)==lead) {
902 /* lead surrogate code point - make <d800 */
1286 /* If an escape sequence specifies a lead surrogat
[all...]
/macosx-10.10/ICU-531.30/icuSources/layout/
H A DHangulLayoutEngine.cpp111 static le_int32 compose(LEUnicode lead, LEUnicode vowel, LEUnicode trail, LEUnicode &syllable) argument
113 le_int32 lIndex = lead - LJMO_FIRST;
132 static le_int32 decompose(LEUnicode syllable, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) argument
140 lead = LJMO_FIRST + (sIndex / HSYL_LVCNT);
151 static le_int32 getCharClass(LEUnicode ch, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) argument
153 lead = LJMO_FILL;
158 lead = ch;
172 le_int32 c = decompose(ch, lead, vowel, trail);
248 LEUnicode lead = 0; local
251 int32_t chClass = getCharClass(chars[i], lead, vowe
308 LEUnicode lead = outChars[outStart]; local
[all...]
/macosx-10.10/ICU-531.30/icuSources/test/cintltst/
H A Dbocu1tst.c75 /* number of lead bytes */
91 /* number of lead bytes for positive and negative 2/3/4-byte sequences */
110 /* The lead byte start values. */
121 /* The length of a byte sequence, according to the lead byte (!=BOCU1_RESET). */
122 #define BOCU1_LENGTH_FROM_LEAD(lead) \
123 ((BOCU1_START_NEG_2<=(lead) && (lead)<BOCU1_START_POS_2) ? 1 : \
124 (BOCU1_START_NEG_3<=(lead) && (lead)<BOCU1_START_POS_3) ? 2 : \
125 (BOCU1_START_NEG_4<=(lead)
288 int32_t result, m, lead, count, shift; local
[all...]
H A Dsprpdata.c210 UChar lead = U16_LEAD(mapping[i]); local
212 if(mappingData[idx+i] != lead ||
214 log_err( "Did not get the expected result. Expected: 0x%04X 0x%04X Got: 0x%04X 0x%04X\n", lead, trail, mappingData[idx+i], mappingData[idx+i+1]);
241 // get data for lead surrogate
245 // get the real data from the folded lead/trail units
H A Dtrie2test.c207 /* test values for lead surrogate code units */
358 0xed, 0xa0, 0x80, /* lead surrogate U+d800 */
386 /* first a couple of trail bytes in lead position */
842 /* set some values for lead surrogate code units */
1059 static const char *const testName="enum-for-lead";
1182 /* set some values for lead surrogate code units */
1240 /* set some values for lead surrogate code units */
1334 UChar lead; local
1377 for(lead=0xd800; lead<
[all...]
/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/External/CodeMirror/
H A Dcomment.js98 var lead = options.blockCommentLead || mode.blockCommentLead;
99 if (lead != null) for (var i = from.line + 1; i <= end; ++i)
101 self.replaceRange(lead + pad, Pos(i, 0));
144 var lead = options.blockCommentLead || mode.blockCommentLead;
162 if (lead) for (var i = start + 1; i <= end; ++i) {
163 var line = self.getLine(i), found = line.indexOf(lead);
165 var foundEnd = found + lead.length;
/macosx-10.10/Libc-1044.1.2/stdio/FreeBSD/
H A Dxprintf_float.c177 int lead; /* sig figs before decimal or group sep */ local
330 lead = expt;
332 if (lead <= *grouping)
334 lead -= *grouping;
343 lead = expt;
402 PRINTANDPAD(cp, dtoaend, lead, 1);
403 cp += lead;
/macosx-10.10/Libc-1044.1.2/locale/FreeBSD/
H A Dutf8.c334 unsigned char lead; local
361 lead = 0;
364 lead = 0xc0;
368 lead = 0xe0;
372 lead = 0xf0;
390 *s = (wc & 0xff) | lead;
H A Dutf2.c284 unsigned char lead; local
311 lead = 0;
314 lead = 0xc0;
317 lead = 0xe0;
334 *s = (wc & 0xff) | lead;
/macosx-10.10/Libc-1044.1.2/stdtime/FreeBSD/
H A Dstrftime.c638 register int lead; local
643 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR;
645 if (trail < 0 && lead > 0) {
647 --lead;
648 } else if (lead < 0 && trail > 0) {
650 ++lead;
653 if (lead == 0 && trail < 0)
655 else pt = _conv(lead, "%02d", pt, ptlim, loc);
/macosx-10.10/ICU-531.30/icuSources/tools/tzcode/
H A Dzdump.c828 register int lead; local
854 lead = timeptr->tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR +
857 if (trail < 0 && lead > 0) {
859 --lead;
860 } else if (lead < 0 && trail > 0) {
862 ++lead;
864 if (lead == 0)
866 else (void) printf("%d%d", lead, ((trail < 0) ? -trail : trail));
931 register int lead; local
939 lead
[all...]
/macosx-10.10/ICU-531.30/icuSources/i18n/
H A Dutf16collationiterator.cpp111 UChar lead; local
112 if(U16_IS_TRAIL(c) && pos != start && U16_IS_LEAD(lead = *(pos - 1))) {
114 return U16_GET_SUPPLEMENTARY(lead, c);
314 UChar lead; local
315 if(U16_IS_TRAIL(c) && pos != start && U16_IS_LEAD(lead = *(pos - 1))) {
317 return U16_GET_SUPPLEMENTARY(lead, c);
H A Dcollationdatareader.cpp290 // Mark each lead surrogate as "unsafe"
293 for(UChar lead = 0xd800; lead < 0xdc00; ++lead, c += 0x400) {
295 tailoring.unsafeBackwardSet->add(lead);
/macosx-10.10/ICU-531.30/icuSources/tools/gennorm2/
H A Dn2builder.cpp365 UChar32 lead=m.char32At(0); local
367 if(getCC(lead)!=0) {
372 (long)start, (long)lead);
377 // Insert (trail, composite) pair into compositions list for the lead character.
379 Norm *leadNorm=createNorm(lead);
394 (long)start, (long)lead, (long)trail);
702 UChar32 lead= c<=0xffff ? c : U16_LEAD(c); local
703 smallFCD[lead>>8]|=(uint8_t)1<<((lead>>5)&7);
844 UChar32 lead local
[all...]
/macosx-10.10/Heimdal-398.1.2/lib/heimcred/
H A Dcommon.c125 int lead = group ? CFBooleanGetValue(group) : false; local
127 return CFStringCreateWithFormat(NULL, NULL, CFSTR("HeimCred<%@ group: %@ parent: %@ client: %@ server: %@ lead: %s ACL: %@>"),
128 cred->uuid, group, parent, client, server, lead ? "yes" : "no", acl ? acl : CFSTR(""));
/macosx-10.10/ICU-531.30/icuSources/test/intltest/
H A Dtestidn.cpp386 UChar lead = U16_LEAD(mapping[i]); local
388 if(mappingData[index+i] != lead ||
390 pTestIDNA->errln( "Did not get the expected result. Expected: 0x%04X 0x%04X Got: 0x%04X 0x%04X", lead, trail, mappingData[index+i], mappingData[index+i+1]);
415 // get data for lead surrogate
419 // get the real data from the folded lead/trail units
/macosx-10.10/emacs-93/emacs/lisp/emacs-lisp/
H A Dcrm.el162 (let ((lead ""))
164 (setq lead (substring string 0 (match-end 0)))
180 (concat lead result)
/macosx-10.10/ICU-531.30/icuSources/common/unicode/
H A Dutf16.h51 * Is this code unit a lead surrogate (U+d800..U+dbff)?
76 * is it a lead surrogate?
100 * from its lead and trail surrogates.
102 * lead and trail surrogates.
104 * @param lead lead surrogate (U+d800..U+dbff)
109 #define U16_GET_SUPPLEMENTARY(lead, trail) \
110 (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET)
114 * Get the lead surrogate (0xd800..0xdbff) for a
117 * @return lead surrogat
[all...]
/macosx-10.10/JavaScriptCore-7600.1.17/icu/unicode/
H A Dutf16.h53 * Is this code unit a lead surrogate (U+d800..U+dbff)?
78 * is it a lead surrogate?
102 * from its lead and trail surrogates.
104 * lead and trail surrogates.
106 * @param lead lead surrogate (U+d800..U+dbff)
111 #define U16_GET_SUPPLEMENTARY(lead, trail) \
112 (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET)
116 * Get the lead surrogate (0xd800..0xdbff) for a
119 * @return lead surrogat
[all...]
/macosx-10.10/WTF-7600.1.24/icu/unicode/
H A Dutf16.h53 * Is this code unit a lead surrogate (U+d800..U+dbff)?
78 * is it a lead surrogate?
102 * from its lead and trail surrogates.
104 * lead and trail surrogates.
106 * @param lead lead surrogate (U+d800..U+dbff)
111 #define U16_GET_SUPPLEMENTARY(lead, trail) \
112 (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET)
116 * Get the lead surrogate (0xd800..0xdbff) for a
119 * @return lead surrogat
[all...]
/macosx-10.10/WebCore-7600.1.25/icu/unicode/
H A Dutf16.h53 * Is this code unit a lead surrogate (U+d800..U+dbff)?
78 * is it a lead surrogate?
102 * from its lead and trail surrogates.
104 * lead and trail surrogates.
106 * @param lead lead surrogate (U+d800..U+dbff)
111 #define U16_GET_SUPPLEMENTARY(lead, trail) \
112 (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET)
116 * Get the lead surrogate (0xd800..0xdbff) for a
119 * @return lead surrogat
[all...]
/macosx-10.10/WebKit-7600.1.25/mac/icu/unicode/
H A Dutf16.h53 * Is this code unit a lead surrogate (U+d800..U+dbff)?
78 * is it a lead surrogate?
102 * from its lead and trail surrogates.
104 * lead and trail surrogates.
106 * @param lead lead surrogate (U+d800..U+dbff)
111 #define U16_GET_SUPPLEMENTARY(lead, trail) \
112 (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET)
116 * Get the lead surrogate (0xd800..0xdbff) for a
119 * @return lead surrogat
[all...]

Completed in 175 milliseconds

123