Home
last modified time | relevance | path

Searched refs:n_cr (Results 1 – 25 of 26) sorted by relevance

12

/dports/emulators/mess/mame-mame0226/src/devices/cpu/psx/
H A Dmdec.cpp229 return ( 1435 * n_cr ) >> 10; in mdec_cr_to_r()
234 return ( -731 * n_cr ) >> 10; in mdec_cr_to_g()
281 int32_t n_cr; in mdec_yuv2_to_rgb15() local
310 n_cr = *( p_n_cr ); in mdec_yuv2_to_rgb15()
312 n_r = mdec_cr_to_r( n_cr ); in mdec_yuv2_to_rgb15()
319 n_cr = *( p_n_cr + 4 ); in mdec_yuv2_to_rgb15()
321 n_r = mdec_cr_to_r( n_cr ); in mdec_yuv2_to_rgb15()
361 int32_t n_cr; in mdec_yuv2_to_rgb24() local
390 n_cr = *( p_n_cr ); in mdec_yuv2_to_rgb24()
392 n_r = mdec_cr_to_r( n_cr ); in mdec_yuv2_to_rgb24()
[all …]
/dports/emulators/mame/mame-mame0226/src/devices/cpu/psx/
H A Dmdec.cpp229 return ( 1435 * n_cr ) >> 10; in mdec_cr_to_r()
234 return ( -731 * n_cr ) >> 10; in mdec_cr_to_g()
281 int32_t n_cr; in mdec_yuv2_to_rgb15() local
310 n_cr = *( p_n_cr ); in mdec_yuv2_to_rgb15()
312 n_r = mdec_cr_to_r( n_cr ); in mdec_yuv2_to_rgb15()
319 n_cr = *( p_n_cr + 4 ); in mdec_yuv2_to_rgb15()
321 n_r = mdec_cr_to_r( n_cr ); in mdec_yuv2_to_rgb15()
361 int32_t n_cr; in mdec_yuv2_to_rgb24() local
390 n_cr = *( p_n_cr ); in mdec_yuv2_to_rgb24()
392 n_r = mdec_cr_to_r( n_cr ); in mdec_yuv2_to_rgb24()
[all …]
/dports/devel/py-urwid/urwid-2.1.2/urwid/
H A Dtext_layout.py144 if n_cr == -1:
145 n_cr = len(text)
159 n_end = n_cr
169 p = n_cr+1
175 n_cr = text.find(nl, p)
176 if n_cr == -1:
177 n_cr = len(text)
181 b.append([(0,n_cr)])
182 p = n_cr+1
188 (0,n_cr)])
[all …]
/dports/lang/php73/php-7.3.33/ext/fileinfo/libmagic/
H A Dascmagic.c120 int n_cr = 0; in file_ascmagic_with_encoding() local
171 n_cr++; in file_ascmagic_with_encoding()
197 n_cr++; in file_ascmagic_with_encoding()
260 if ((n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) || in file_ascmagic_with_encoding()
261 (n_crlf != 0 || n_cr != 0 || n_nel != 0)) { in file_ascmagic_with_encoding()
265 if (n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) { in file_ascmagic_with_encoding()
272 if (n_cr || n_lf || n_nel) in file_ascmagic_with_encoding()
276 if (n_cr) { in file_ascmagic_with_encoding()
/dports/sysutils/php73-fileinfo/php-7.3.33/ext/fileinfo/libmagic/
H A Dascmagic.c120 int n_cr = 0; in file_ascmagic_with_encoding() local
171 n_cr++; in file_ascmagic_with_encoding()
197 n_cr++; in file_ascmagic_with_encoding()
260 if ((n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) || in file_ascmagic_with_encoding()
261 (n_crlf != 0 || n_cr != 0 || n_nel != 0)) { in file_ascmagic_with_encoding()
265 if (n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) { in file_ascmagic_with_encoding()
272 if (n_cr || n_lf || n_nel) in file_ascmagic_with_encoding()
276 if (n_cr) { in file_ascmagic_with_encoding()
/dports/www/mod_php73/php-7.3.33/ext/fileinfo/libmagic/
H A Dascmagic.c120 int n_cr = 0; in file_ascmagic_with_encoding() local
171 n_cr++; in file_ascmagic_with_encoding()
197 n_cr++; in file_ascmagic_with_encoding()
260 if ((n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) || in file_ascmagic_with_encoding()
261 (n_crlf != 0 || n_cr != 0 || n_nel != 0)) { in file_ascmagic_with_encoding()
265 if (n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) { in file_ascmagic_with_encoding()
272 if (n_cr || n_lf || n_nel) in file_ascmagic_with_encoding()
276 if (n_cr) { in file_ascmagic_with_encoding()
/dports/www/mod_php81/php-8.1.1/ext/fileinfo/libmagic/
H A Dascmagic.c126 int n_cr = 0; in file_ascmagic_with_encoding() local
182 n_cr++; in file_ascmagic_with_encoding()
211 n_cr++; in file_ascmagic_with_encoding()
284 if ((n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) || in file_ascmagic_with_encoding()
285 (n_crlf != 0 || n_cr != 0 || n_nel != 0)) { in file_ascmagic_with_encoding()
289 if (n_crlf == 0 && n_cr == 0 && in file_ascmagic_with_encoding()
297 if (n_cr || n_lf || n_nel) in file_ascmagic_with_encoding()
301 if (n_cr) { in file_ascmagic_with_encoding()
/dports/lang/php81/php-8.1.1/ext/fileinfo/libmagic/
H A Dascmagic.c126 int n_cr = 0; in file_ascmagic_with_encoding() local
182 n_cr++; in file_ascmagic_with_encoding()
211 n_cr++; in file_ascmagic_with_encoding()
284 if ((n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) || in file_ascmagic_with_encoding()
285 (n_crlf != 0 || n_cr != 0 || n_nel != 0)) { in file_ascmagic_with_encoding()
289 if (n_crlf == 0 && n_cr == 0 && in file_ascmagic_with_encoding()
297 if (n_cr || n_lf || n_nel) in file_ascmagic_with_encoding()
301 if (n_cr) { in file_ascmagic_with_encoding()
/dports/lang/php80/php-8.0.15/ext/fileinfo/libmagic/
H A Dascmagic.c125 int n_cr = 0; in file_ascmagic_with_encoding() local
181 n_cr++; in file_ascmagic_with_encoding()
207 n_cr++; in file_ascmagic_with_encoding()
279 if ((n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) || in file_ascmagic_with_encoding()
280 (n_crlf != 0 || n_cr != 0 || n_nel != 0)) { in file_ascmagic_with_encoding()
284 if (n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) { in file_ascmagic_with_encoding()
291 if (n_cr || n_lf || n_nel) in file_ascmagic_with_encoding()
295 if (n_cr) { in file_ascmagic_with_encoding()
/dports/sysutils/php81-fileinfo/php-8.1.1/ext/fileinfo/libmagic/
H A Dascmagic.c126 int n_cr = 0; in file_ascmagic_with_encoding() local
182 n_cr++; in file_ascmagic_with_encoding()
211 n_cr++; in file_ascmagic_with_encoding()
284 if ((n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) || in file_ascmagic_with_encoding()
285 (n_crlf != 0 || n_cr != 0 || n_nel != 0)) { in file_ascmagic_with_encoding()
289 if (n_crlf == 0 && n_cr == 0 && in file_ascmagic_with_encoding()
297 if (n_cr || n_lf || n_nel) in file_ascmagic_with_encoding()
301 if (n_cr) { in file_ascmagic_with_encoding()
/dports/sysutils/php80-fileinfo/php-8.0.15/ext/fileinfo/libmagic/
H A Dascmagic.c125 int n_cr = 0; in file_ascmagic_with_encoding() local
181 n_cr++; in file_ascmagic_with_encoding()
207 n_cr++; in file_ascmagic_with_encoding()
279 if ((n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) || in file_ascmagic_with_encoding()
280 (n_crlf != 0 || n_cr != 0 || n_nel != 0)) { in file_ascmagic_with_encoding()
284 if (n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) { in file_ascmagic_with_encoding()
291 if (n_cr || n_lf || n_nel) in file_ascmagic_with_encoding()
295 if (n_cr) { in file_ascmagic_with_encoding()
/dports/sysutils/file/file-5.39/src/
H A Dascmagic.c125 int n_cr = 0; in file_ascmagic_with_encoding() local
181 n_cr++; in file_ascmagic_with_encoding()
207 n_cr++; in file_ascmagic_with_encoding()
279 if ((n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) || in file_ascmagic_with_encoding()
280 (n_crlf != 0 || n_cr != 0 || n_nel != 0)) { in file_ascmagic_with_encoding()
284 if (n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) { in file_ascmagic_with_encoding()
291 if (n_cr || n_lf || n_nel) in file_ascmagic_with_encoding()
295 if (n_cr) { in file_ascmagic_with_encoding()
/dports/www/mod_php80/php-8.0.15/ext/fileinfo/libmagic/
H A Dascmagic.c125 int n_cr = 0; in file_ascmagic_with_encoding() local
181 n_cr++; in file_ascmagic_with_encoding()
207 n_cr++; in file_ascmagic_with_encoding()
279 if ((n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) || in file_ascmagic_with_encoding()
280 (n_crlf != 0 || n_cr != 0 || n_nel != 0)) { in file_ascmagic_with_encoding()
284 if (n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) { in file_ascmagic_with_encoding()
291 if (n_cr || n_lf || n_nel) in file_ascmagic_with_encoding()
295 if (n_cr) { in file_ascmagic_with_encoding()
/dports/devel/py-magic/file-5.40/src/
H A Dascmagic.c126 int n_cr = 0; in file_ascmagic_with_encoding() local
182 n_cr++; in file_ascmagic_with_encoding()
211 n_cr++; in file_ascmagic_with_encoding()
284 if ((n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) || in file_ascmagic_with_encoding()
285 (n_crlf != 0 || n_cr != 0 || n_nel != 0)) { in file_ascmagic_with_encoding()
289 if (n_crlf == 0 && n_cr == 0 && in file_ascmagic_with_encoding()
297 if (n_cr || n_lf || n_nel) in file_ascmagic_with_encoding()
301 if (n_cr) { in file_ascmagic_with_encoding()
/dports/biology/sra-tools/sra-tools-2.11.0/ncbi-vdb/libs/ext/magic/
H A Dascmagic.c126 int n_cr = 0; in file_ascmagic_with_encoding() local
202 n_cr++; in file_ascmagic_with_encoding()
228 n_cr++; in file_ascmagic_with_encoding()
264 if ((n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) || in file_ascmagic_with_encoding()
265 (n_crlf != 0 || n_cr != 0 || n_nel != 0)) { in file_ascmagic_with_encoding()
269 if (n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) { in file_ascmagic_with_encoding()
276 if (n_cr || n_lf || n_nel) in file_ascmagic_with_encoding()
280 if (n_cr) { in file_ascmagic_with_encoding()
/dports/biology/ncbi-vdb/ncbi-vdb-2.11.0/libs/ext/magic/
H A Dascmagic.c126 int n_cr = 0; in file_ascmagic_with_encoding() local
202 n_cr++; in file_ascmagic_with_encoding()
228 n_cr++; in file_ascmagic_with_encoding()
264 if ((n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) || in file_ascmagic_with_encoding()
265 (n_crlf != 0 || n_cr != 0 || n_nel != 0)) { in file_ascmagic_with_encoding()
269 if (n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) { in file_ascmagic_with_encoding()
276 if (n_cr || n_lf || n_nel) in file_ascmagic_with_encoding()
280 if (n_cr) { in file_ascmagic_with_encoding()
/dports/lang/php74/php-7.4.27/ext/fileinfo/libmagic/
H A Dascmagic.c127 int n_cr = 0; in file_ascmagic_with_encoding() local
180 n_cr++; in file_ascmagic_with_encoding()
206 n_cr++; in file_ascmagic_with_encoding()
282 if ((n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) || in file_ascmagic_with_encoding()
283 (n_crlf != 0 || n_cr != 0 || n_nel != 0)) { in file_ascmagic_with_encoding()
287 if (n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) { in file_ascmagic_with_encoding()
294 if (n_cr || n_lf || n_nel) in file_ascmagic_with_encoding()
298 if (n_cr) { in file_ascmagic_with_encoding()
/dports/sysutils/php74-fileinfo/php-7.4.27/ext/fileinfo/libmagic/
H A Dascmagic.c127 int n_cr = 0; in file_ascmagic_with_encoding() local
180 n_cr++; in file_ascmagic_with_encoding()
206 n_cr++; in file_ascmagic_with_encoding()
282 if ((n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) || in file_ascmagic_with_encoding()
283 (n_crlf != 0 || n_cr != 0 || n_nel != 0)) { in file_ascmagic_with_encoding()
287 if (n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) { in file_ascmagic_with_encoding()
294 if (n_cr || n_lf || n_nel) in file_ascmagic_with_encoding()
298 if (n_cr) { in file_ascmagic_with_encoding()
/dports/www/mod_php74/php-7.4.27/ext/fileinfo/libmagic/
H A Dascmagic.c127 int n_cr = 0; in file_ascmagic_with_encoding() local
180 n_cr++; in file_ascmagic_with_encoding()
206 n_cr++; in file_ascmagic_with_encoding()
282 if ((n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) || in file_ascmagic_with_encoding()
283 (n_crlf != 0 || n_cr != 0 || n_nel != 0)) { in file_ascmagic_with_encoding()
287 if (n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) { in file_ascmagic_with_encoding()
294 if (n_cr || n_lf || n_nel) in file_ascmagic_with_encoding()
298 if (n_cr) { in file_ascmagic_with_encoding()
/dports/sysutils/sleuthkit/sleuthkit-4.7.0/framework/modules/c_FileTypeSigModule/file-5.08/src/
H A Dascmagic.c125 int n_cr = 0; in file_ascmagic_with_encoding() local
216 n_cr++; in file_ascmagic_with_encoding()
242 n_cr++; in file_ascmagic_with_encoding()
304 if ((n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) || in file_ascmagic_with_encoding()
305 (n_crlf != 0 || n_cr != 0 || n_nel != 0)) { in file_ascmagic_with_encoding()
309 if (n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) { in file_ascmagic_with_encoding()
316 if (n_cr || n_lf || n_nel) in file_ascmagic_with_encoding()
320 if (n_cr) { in file_ascmagic_with_encoding()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/machine/
H A Dpsx_machine.c772 static INLINE INT32 mdec_cr_to_r( INT32 n_cr ) in mdec_cr_to_r() argument
774 return ( 1435 * n_cr ) >> 10; in mdec_cr_to_r()
777 static INLINE INT32 mdec_cr_to_g( INT32 n_cr ) in mdec_cr_to_g() argument
779 return ( -731 * n_cr ) >> 10; in mdec_cr_to_g()
819 INT32 n_cr; in mdec_yuv2_to_rgb15() local
847 n_cr = *( p_n_cr ); in mdec_yuv2_to_rgb15()
849 n_r = mdec_cr_to_r( n_cr ); in mdec_yuv2_to_rgb15()
850 n_g = mdec_cr_to_g( n_cr ) + mdec_cb_to_g( n_cb ); in mdec_yuv2_to_rgb15()
856 n_cr = *( p_n_cr + 4 ); in mdec_yuv2_to_rgb15()
858 n_r = mdec_cr_to_r( n_cr ); in mdec_yuv2_to_rgb15()
[all …]
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/machine/
H A Dpsx_machine.c772 static INLINE INT32 mdec_cr_to_r( INT32 n_cr ) in mdec_cr_to_r() argument
774 return ( 1435 * n_cr ) >> 10; in mdec_cr_to_r()
777 static INLINE INT32 mdec_cr_to_g( INT32 n_cr ) in mdec_cr_to_g() argument
779 return ( -731 * n_cr ) >> 10; in mdec_cr_to_g()
819 INT32 n_cr; in mdec_yuv2_to_rgb15() local
847 n_cr = *( p_n_cr ); in mdec_yuv2_to_rgb15()
849 n_r = mdec_cr_to_r( n_cr ); in mdec_yuv2_to_rgb15()
850 n_g = mdec_cr_to_g( n_cr ) + mdec_cb_to_g( n_cb ); in mdec_yuv2_to_rgb15()
856 n_cr = *( p_n_cr + 4 ); in mdec_yuv2_to_rgb15()
858 n_r = mdec_cr_to_r( n_cr ); in mdec_yuv2_to_rgb15()
[all …]
/dports/devel/radare2/radare2-5.1.1/libr/magic/
H A Dascmagic.c88 int n_cr = 0; in file_ascmagic() local
238 n_cr++; in file_ascmagic()
268 n_cr++; in file_ascmagic()
331 if ((n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) || in file_ascmagic()
332 (n_crlf != 0 || n_cr != 0 || n_nel != 0)) { in file_ascmagic()
337 if (n_crlf == 0 && n_cr == 0 && n_nel == 0 && n_lf == 0) { in file_ascmagic()
346 if (n_cr || n_lf || n_nel) { in file_ascmagic()
352 if (n_cr) { in file_ascmagic()
/dports/japanese/ne/ne/src/
H A Dfile.c415 f=file_gets(buf, MAXEDITLINE, kip->fp, &kip->n_cr, &kip->n_lf); in file_open_proc()
470 ki.n_cr=0; in fileopen()
477 n=max(ki.n_cr,ki.n_lf); in fileopen()
483 if (n/nx>ki.n_cr) in fileopen()
510 ki.n_cr=0; in file_insert()
H A Ded.h304 int n_cr,n_lf; member
316 extern int file_gets(char *s, size_t bytes, FILE *fp, int *n_cr, int *n_lf);

12