Searched refs:trail (Results 1 - 25 of 59) sorted by relevance

123

/macosx-10.10.1/dtrace-147/libelf/
H A Dend.c43 Elf_Void * trail = 0; local
60 if (trail != 0)
61 free(trail);
62 trail = (Elf_Void *)s;
84 if (trail != 0) {
85 free(trail);
86 trail = 0;
93 for (l = elf->ed_memlist; l; l = (Memlist *)trail) {
94 trail = (Elf_Void *)l->m_next;
129 trail
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/common/
H A Ducnv_u16.c56 UChar c, trail; local
91 if((c=(UChar)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) {
97 target[2]=(uint8_t)(trail>>8);
98 target[3]=(uint8_t)trail;
129 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) {
134 target[2]=(uint8_t)(trail>>8);
135 target[3]=(uint8_t)trail;
151 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) {
156 target[2]=(uint8_t)(trail>>8);
157 target[3]=(uint8_t)trail;
260 UChar c, trail; local
524 UChar trail; local
655 UChar c, trail; local
859 UChar c, trail; local
1123 UChar trail; local
[all...]
H A Dutf_impl.c130 uint8_t trail; local
133 /* support NUL-terminated strings: do not read beyond the first non-trail byte */
137 /* count==0 for illegally leading trail bytes and the illegal bytes 0xfe and 0xff */
140 /* count>=4 is always illegal: no more than 3 trail bytes in Unicode's UTF-8 */
143 trail=s[i++]-0x80;
144 c=(c<<6)|trail;
146 if(c>=0x110 || trail>0x3f) { break; }
148 trail=s[i++]-0x80;
149 c=(c<<6)|trail;
154 if(((c&0xffe0)==0x360 && strict!=-2) || trail>
[all...]
H A Dbmpset.cpp71 int32_t trail=start&0x3f; // Named for UTF-8 2-byte trail byte with lower 6 bits.
76 table[trail]|=bits;
85 while(trail<limitTrail) {
86 table[trail++]|=bits;
92 if(trail>0) {
94 table[trail++]|=bits;
95 } while(trail<64);
103 for(trail=0; trail<6
[all...]
H A Dustrtrns.cpp269 * *ps points to after the lead byte and will be moved to after the last trail byte.
276 uint8_t trail, illegal=0; local
280 /* count==0 for illegally leading trail bytes and the illegal bytes 0xfe and 0xff */
285 /* count>=4 is always illegal: no more than 3 trail bytes in Unicode's UTF-8 */
289 trail=(uint8_t)(*s++ - 0x80);
290 c=(c<<6)|trail;
291 if(trail>0x3f || c>=0x110) {
292 /* not a trail byte, or code point>0x10ffff (outside Unicode) */
297 trail=(uint8_t)(*s++ - 0x80);
298 if(trail>
[all...]
H A Ducnvscsu.c1030 UChar lead, trail; local
1108 trail=*source;
1109 if(U16_IS_TRAIL(trail)) {
1112 c=U16_GET_SUPPLEMENTARY(c, trail);
1126 /* this is an unmatched trail code unit (2nd surrogate) */
1159 /* change to Unicode mode and output this (lead, trail) pair */
1166 c=((uint32_t)lead<<16)|trail;
1305 trail=*source;
1306 if(U16_IS_TRAIL(trail)) {
1309 c=U16_GET_SUPPLEMENTARY(c, trail);
1520 UChar lead, trail; local
[all...]
H A Dustring.cpp223 UChar cs, lead=U16_LEAD(c), trail=U16_TRAIL(c); local
226 if(cs==lead && *s==trail) {
266 const UChar *limit=s+count-1; /* -1 so that we do not need a separate check for the trail unit */
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) {
508 stringCh = c; /* unpaired trail surrogat
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/layout/
H A DHangulLayoutEngine.cpp111 static le_int32 compose(LEUnicode lead, LEUnicode vowel, LEUnicode trail, LEUnicode &syllable) argument
115 le_int32 tIndex = trail - TJMO_FIRST;
132 static le_int32 decompose(LEUnicode syllable, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) argument
142 trail = TJMO_FIRST + (sIndex % TJMO_COUNT);
144 if (trail == TJMO_FIRST) {
151 static le_int32 getCharClass(LEUnicode ch, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) argument
155 trail = TJMO_FIRST;
168 trail = ch;
172 le_int32 c = decompose(ch, lead, vowel, trail);
182 trail
250 LEUnicode trail = 0; local
310 LEUnicode trail = outLength == 3? outChars[outStart + 2] : TJMO_FIRST; local
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/i18n/
H A Duitercollationiterator.cpp53 UChar32 trail = iter.next(&iter); local
54 if(!U16_IS_TRAIL(trail) && trail >= 0) { iter.previous(&iter); }
55 return (UChar)trail;
144 UChar32 trail = iter.next(&iter); local
145 if(U16_IS_TRAIL(trail)) {
147 } else if(trail >= 0) {
150 return (UChar)trail;
153 UChar trail;
154 if(U16_IS_TRAIL(trail
[all...]
H A Dutf16collationiterator.cpp70 UChar trail; local
71 if(U16_IS_TRAIL(trail = *pos)) { ++pos; }
72 return trail;
96 UChar trail; local
97 if(U16_IS_LEAD(c) && pos != limit && U16_IS_TRAIL(trail = *pos)) {
99 return U16_GET_SUPPLEMENTARY(c, trail);
278 UChar trail; local
279 if(U16_IS_LEAD(c) && pos != limit && U16_IS_TRAIL(trail = *pos)) {
281 return U16_GET_SUPPLEMENTARY(c, trail);
H A Dcollationweights.cpp47 setWeightTrail(uint32_t weight, int32_t length, uint32_t trail) { argument
49 return (uint32_t)((weight&(0xffffff00<<length))|(trail<<length));
263 uint32_t trail=getWeightTrail(weight, length); local
264 if(trail<maxBytes[length]) {
268 lower[length].count=maxBytes[length]-trail;
282 uint32_t trail=getWeightTrail(weight, length); local
283 if(trail>minBytes[length]) {
287 upper[length].count=trail-minBytes[length];
/macosx-10.10.1/emacs-93/emacs/lisp/gnus/
H A Dgnus-registry.el499 Returns the first place where the trail finds a nonstring."
506 (let ((trail (gethash id gnus-registry-hashtb)))
507 (when (listp trail)
508 (dolist (crumb trail)
540 ;; we now know the trail has at least 1 group name, so it's not empty
541 (let ((trail (gethash id gnus-registry-hashtb))
544 (dolist (crumb trail)
550 (puthash id (cons extra (delete old-extra trail))
563 Returns the first place where the trail finds a group name."
565 ;; we now know the trail ha
[all...]
/macosx-10.10.1/Libc-1044.1.2/stdtime/FreeBSD/
H A Dstrftime.c639 register int trail; local
642 trail = a % DIVISOR + b % DIVISOR;
643 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR;
644 trail %= DIVISOR;
645 if (trail < 0 && lead > 0) {
646 trail += DIVISOR;
648 } else if (lead < 0 && trail > 0) {
649 trail -= DIVISOR;
653 if (lead == 0 && trail < 0)
658 pt = _conv(((trail <
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/tools/tzcode/
H A Dzdump.c829 register int trail; local
853 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR;
855 trail / DIVISOR;
856 trail %= DIVISOR;
857 if (trail < 0 && lead > 0) {
858 trail += DIVISOR;
860 } else if (lead < 0 && trail > 0) {
861 trail -= DIVISOR;
865 (void) printf("%d", trail);
866 else (void) printf("%d%d", lead, ((trail <
932 register int trail; local
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/tools/gennorm2/
H A Dn2builder.cpp94 CompositionPair(UChar32 t, UChar32 c) : trail(t), composite(c) {}
95 UChar32 trail, composite; member in struct:CompositionPair
129 UVector32 *compositions; // (trail, composite) pairs
366 UChar32 trail=m.char32At(m.length()-1); local
376 createNorm(trail)->combinesBack=TRUE;
377 // Insert (trail, composite) pair into compositions list for the lead character.
386 // Insertion sort, and check for duplicate trail characters.
390 if(trail==pairs[i].trail) {
394 (long)start, (long)lead, (long)trail);
[all...]
H A Dn2builder.h86 UChar32 combine(const Norm &norm, UChar32 trail) const;
/macosx-10.10.1/file_cmds-242/pax/
H A Dpax.h201 int (*trail)(ARCHD *, /* returns 0 if a valid trailer, -1 if not */ member in struct:__anon8669
/macosx-10.10.1/ICU-531.30/icuSources/test/cintltst/
H A Dsprpdata.c211 UChar trail = U16_TRAIL(mapping[i]); local
213 mappingData[idx+i+1] != trail){
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]);
245 // get the real data from the folded lead/trail units
/macosx-10.10.1/tcl-105/tcl/tcl/generic/
H A DtclUtf.c281 * looking for trail bytes. If the source buffer is known to be '\0'
312 * Also treats \0 and naked trail bytes 0x80 to 0xBF as valid
321 * Two-byte-character lead-byte followed by a trail-byte.
329 * A two-byte-character lead-byte not followed by trail-byte
338 * Three-byte-character lead byte followed by two trail bytes.
347 * A three-byte-character lead-byte not followed by two trail-bytes
356 int ch, total, trail;
359 trail = total - 1;
360 if (trail > 0) {
361 ch = byte & (0x3F >> trail);
353 int ch, total, trail; local
[all...]
/macosx-10.10.1/tcl-105/tcl84/tcl/generic/
H A DtclUtf.c283 * memory looking for trail bytes. If the source buffer is known to
314 * Also treats \0 and naked trail bytes 0x80 to 0xBF as valid
323 * Two-byte-character lead-byte followed by a trail-byte.
330 * A two-byte-character lead-byte not followed by trail-byte
339 * Three-byte-character lead byte followed by two trail bytes.
347 * A three-byte-character lead-byte not followed by two trail-bytes
356 int ch, total, trail;
359 trail = total - 1;
360 if (trail > 0) {
361 ch = byte & (0x3F >> trail);
353 int ch, total, trail; local
[all...]
/macosx-10.10.1/ICU-531.30/icuSources/test/intltest/
H A Dtestidn.cpp387 UChar trail = U16_TRAIL(mapping[i]); local
389 mappingData[index+i+1] != trail){
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]);
419 // get the real data from the folded lead/trail units
/macosx-10.10.1/ncurses-44/ncurses/test/
H A Dworm.c110 static chtype trail = ' '; variable
264 waddch(win, trail);
441 trail = '.';
455 "usage: %s [-field] [-length #] [-number #] [-trail]\n", *argv);
/macosx-10.10.1/ICU-531.30/icuSources/common/unicode/
H A Dutf16.h59 * Is this code unit a trail surrogate (U+dc00..U+dfff)?
85 * is it a trail surrogate?
100 * from its lead and trail surrogates.
102 * lead and trail surrogates.
105 * @param trail trail surrogate (U+dc00..U+dfff)
109 #define U16_GET_SUPPLEMENTARY(lead, trail) \
110 (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET)
123 * Get the trail surrogate (0xdc00..0xdfff) for a
126 * @return trail surrogat
[all...]
/macosx-10.10.1/JavaScriptCore-7600.1.17/icu/unicode/
H A Dutf16.h61 * Is this code unit a trail surrogate (U+dc00..U+dfff)?
87 * is it a trail surrogate?
102 * from its lead and trail surrogates.
104 * lead and trail surrogates.
107 * @param trail trail surrogate (U+dc00..U+dfff)
111 #define U16_GET_SUPPLEMENTARY(lead, trail) \
112 (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET)
125 * Get the trail surrogate (0xdc00..0xdfff) for a
128 * @return trail surrogat
[all...]
/macosx-10.10.1/WTF-7600.1.24/icu/unicode/
H A Dutf16.h61 * Is this code unit a trail surrogate (U+dc00..U+dfff)?
87 * is it a trail surrogate?
102 * from its lead and trail surrogates.
104 * lead and trail surrogates.
107 * @param trail trail surrogate (U+dc00..U+dfff)
111 #define U16_GET_SUPPLEMENTARY(lead, trail) \
112 (((UChar32)(lead)<<10UL)+(UChar32)(trail)-U16_SURROGATE_OFFSET)
125 * Get the trail surrogate (0xdc00..0xdfff) for a
128 * @return trail surrogat
[all...]

Completed in 243 milliseconds

123