Searched refs:const_name (Results 1 - 12 of 12) sorted by relevance

/PHP_TRUNK/ext/snmp/
H A Dphp_snmp.h135 #define REGISTER_SNMP_CLASS_CONST_LONG(const_name, value) \
136 zend_declare_class_constant_long(php_snmp_ce, const_name, sizeof(const_name)-1, (zend_long)value);
/PHP_TRUNK/ext/spl/
H A Dspl_functions.h49 #define REGISTER_SPL_CLASS_CONST_LONG(class_name, const_name, value) \
50 zend_declare_class_constant_long(spl_ce_ ## class_name, const_name, sizeof(const_name)-1, (zend_long)value);
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_typeinfo.c166 char *const_name; local
188 const_name = php_com_olestring_to_string(bstr_ids, &len, codepage);
189 c.name = zend_string_init(const_name, len, 1);
191 efree(const_name);
/PHP_TRUNK/ext/phar/
H A Dphar_object.c5294 #define REGISTER_PHAR_CLASS_CONST_LONG(class_name, const_name, value) \
5295 zend_declare_class_constant_long(class_name, const_name, sizeof(const_name)-1, (zend_long)value);
/PHP_TRUNK/Zend/
H A Dzend_compile.h752 ZEND_API void zend_assert_valid_class_name(const zend_string *const_name);
H A Dzend_compile.c146 static zend_always_inline const scalar_typehint_info* zend_find_scalar_typehint(const zend_string *const_name) /* {{{ */ argument
152 if (!zend_get_unqualified_name(const_name, &uqname, &uqname_len)) {
153 uqname = const_name->val;
154 uqname_len = const_name->len;
172 ZEND_API void zend_assert_valid_class_name(const zend_string *const_name) /* {{{ */ argument
174 const scalar_typehint_info *info = zend_find_scalar_typehint(const_name);
182 static zend_always_inline zend_uchar zend_lookup_scalar_typehint_by_name(const zend_string *const_name) /* {{{ */ argument
184 const scalar_typehint_info *info = zend_find_scalar_typehint(const_name);
187 if (const_name->len != info->name_len) {
188 zend_error_noreturn(E_COMPILE_ERROR, "\"%s\" cannot be used as a type declaration", const_name
5311 const char const_name[] = "__COMPILER_HALT_OFFSET__"; local
6400 zend_string *const_name = zend_ast_get_str(const_ast); local
[all...]
/PHP_TRUNK/ext/zip/
H A Dphp_zip.c375 #define REGISTER_ZIP_CLASS_CONST_LONG(const_name, value) \
376 zend_declare_class_constant_long(zip_class_entry, const_name, sizeof(const_name)-1, (zend_long)value);
/PHP_TRUNK/ext/date/
H A Dphp_date.c1994 #define REGISTER_DATE_CLASS_CONST_STRING(const_name, value) \
1995 zend_declare_class_constant_stringl(date_ce_date, const_name, sizeof(const_name)-1, value, sizeof(value)-1);
2029 #define REGISTER_TIMEZONE_CLASS_CONST_STRING(const_name, value) \
2030 zend_declare_class_constant_long(date_ce_timezone, const_name, sizeof(const_name)-1, value);
2076 #define REGISTER_PERIOD_CLASS_CONST_STRING(const_name, value) \
2077 zend_declare_class_constant_long(date_ce_period, const_name, sizeof(const_name)-1, value);
/PHP_TRUNK/ext/pdo/
H A Dphp_pdo.h64 #define REGISTER_PDO_CLASS_CONST_LONG(const_name, value) \
65 zend_declare_class_constant_long(php_pdo_get_dbh_ce(), const_name, sizeof(const_name)-1, (zend_long)value);
67 #define REGISTER_PDO_CLASS_CONST_STRING(const_name, value) \
68 zend_declare_class_constant_stringl(php_pdo_get_dbh_ce(), const_name, sizeof(const_name)-1, value, sizeof(value)-1);
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c113 #define REGISTER_REFLECTION_CLASS_CONST_LONG(class_name, const_name, value) \
114 zend_declare_class_constant_long(reflection_ ## class_name ## _ptr, const_name, sizeof(const_name)-1, (zend_long)value);
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c611 ZEND_ARG_INFO(0, const_name)
3815 /* {{{ proto mixed constant(string const_name)
3819 zend_string *const_name; local
3822 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S", &const_name) == FAILURE) {
3826 c = zend_get_constant_ex(const_name, NULL, ZEND_FETCH_CLASS_SILENT);
3834 php_error_docref(NULL, E_WARNING, "Couldn't find constant %s", const_name->val);
/PHP_TRUNK/ext/xmlreader/
H A Dphp_xmlreader.h64 #define REGISTER_XMLREADER_CLASS_CONST_LONG(const_name, value) \
65 zend_declare_class_constant_long(xmlreader_class_entry, const_name, sizeof(const_name)-1, (zend_long)value);

Completed in 68 milliseconds