|
System | : | Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 |
Software | : | Apache. PHP/5.3.6-13ubuntu3.10 |
ID | : | uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
|
|
Safe Mode | : | OFF |
Open_Basedir | : | OFF |
Freespace | : | 27.58 GB of 70.42 GB (39.17%) |
|
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON |
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
|
[ System Info ]
[ Processes ]
[ SQL Manager ]
[ Eval ]
[ Encoder ]
[ Mailer ]
[ Back Connection ]
[ Backdoor Server ]
[ Kernel Exploit Search ]
[ MD5 Decrypter ]
[ Reverse IP ]
[ Kill Shell ]
[ FTP Brute-Force ]
|
|
/
usr/
src/
courier-0.66.1/
unicode/
- drwxrwxrwx
|
Viewing file: unicode_wcwidth.c (1022 B) -rw-rw-rw-Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
#include "unicode_config.h" #include "unicode.h"
#include "eastasianwidth.h" #include "linebreaktab_internal.h"
#include <stdlib.h>
int unicode_wcwidth(unicode_char c) { size_t b=0; size_t e=sizeof(unicode_wcwidth_tab)/sizeof(unicode_wcwidth_tab[0]);
while (b < e) { size_t n=b + (e-b)/2;
if (c >= unicode_wcwidth_tab[n][0]) { if (c <= unicode_wcwidth_tab[n][1]) return 2; b=n+1; } else { e=n; } }
switch (unicode_lb_lookup(c)) { case UNICODE_LB_BK: case UNICODE_LB_CR: case UNICODE_LB_LF: case UNICODE_LB_CM: case UNICODE_LB_NL: case UNICODE_LB_WJ: case UNICODE_LB_ZW: return 0; default: break; } return 1; }
int unicode_isspace(unicode_char ch) { if (ch == 9) return 1;
switch (unicode_lb_lookup(ch)) { case UNICODE_LB_BK: case UNICODE_LB_CR: case UNICODE_LB_LF: case UNICODE_LB_NL: case UNICODE_LB_SP: return 1; }
return 0; }
size_t unicode_wcwidth_str(const unicode_char *c) { size_t w=0;
while (*c) w += unicode_wcwidth(*c++);
return w; }
|