本文整理汇总了C++中HHVM_FE函数的典型用法代码示例。如果您正苦于以下问题:C++ HHVM_FE函数的具体用法?C++ HHVM_FE怎么用?C++ HHVM_FE使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了HHVM_FE函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: moduleInit
void moduleInit() override {
HHVM_FE(snappy_compress);
HHVM_FE(snappy_uncompress);
HHVM_FALIAS(sncompress, snappy_compress);
HHVM_FALIAS(snuncompress, snappy_uncompress);
loadSystemlib();
}
示例2: HHVM_FE
void StandardExtension::initGc() {
HHVM_FE(gc_enabled);
HHVM_FE(gc_enable);
HHVM_FE(gc_disable);
HHVM_FE(gc_collect_cycles);
loadSystemlib("std_gc");
}
示例3: moduleInit
void moduleInit() override {
HHVM_RC_INT(JSON_HEX_TAG, k_JSON_HEX_TAG);
HHVM_RC_INT(JSON_HEX_AMP, k_JSON_HEX_AMP);
HHVM_RC_INT(JSON_HEX_APOS, k_JSON_HEX_APOS);
HHVM_RC_INT(JSON_HEX_QUOT, k_JSON_HEX_QUOT);
HHVM_RC_INT(JSON_FORCE_OBJECT, k_JSON_FORCE_OBJECT);
HHVM_RC_INT(JSON_NUMERIC_CHECK, k_JSON_NUMERIC_CHECK);
HHVM_RC_INT(JSON_UNESCAPED_SLASHES, k_JSON_UNESCAPED_SLASHES);
HHVM_RC_INT(JSON_PRETTY_PRINT, k_JSON_PRETTY_PRINT);
HHVM_RC_INT(JSON_UNESCAPED_UNICODE, k_JSON_UNESCAPED_UNICODE);
HHVM_RC_INT(JSON_PARTIAL_OUTPUT_ON_ERROR, k_JSON_PARTIAL_OUTPUT_ON_ERROR);
HHVM_RC_INT(JSON_PRESERVE_ZERO_FRACTION, k_JSON_PRESERVE_ZERO_FRACTION);
HHVM_RC_INT(JSON_BIGINT_AS_STRING, k_JSON_BIGINT_AS_STRING);
HHVM_RC_INT(JSON_FB_LOOSE, k_JSON_FB_LOOSE);
HHVM_RC_INT(JSON_FB_UNLIMITED, k_JSON_FB_UNLIMITED);
HHVM_RC_INT(JSON_FB_EXTRA_ESCAPES, k_JSON_FB_EXTRA_ESCAPES);
HHVM_RC_INT(JSON_FB_COLLECTIONS, k_JSON_FB_COLLECTIONS);
HHVM_RC_INT(JSON_FB_STABLE_MAPS, k_JSON_FB_STABLE_MAPS);
HHVM_RC_INT(JSON_ERROR_NONE, k_JSON_ERROR_NONE);
HHVM_RC_INT(JSON_ERROR_DEPTH, k_JSON_ERROR_DEPTH);
HHVM_RC_INT(JSON_ERROR_STATE_MISMATCH, k_JSON_ERROR_STATE_MISMATCH);
HHVM_RC_INT(JSON_ERROR_CTRL_CHAR, k_JSON_ERROR_CTRL_CHAR);
HHVM_RC_INT(JSON_ERROR_SYNTAX, k_JSON_ERROR_SYNTAX);
HHVM_RC_INT(JSON_ERROR_UTF8, k_JSON_ERROR_UTF8);
HHVM_RC_INT(JSON_ERROR_RECURSION, k_JSON_ERROR_RECURSION);
HHVM_RC_INT(JSON_ERROR_INF_OR_NAN, k_JSON_ERROR_INF_OR_NAN);
HHVM_RC_INT(JSON_ERROR_UNSUPPORTED_TYPE, k_JSON_ERROR_UNSUPPORTED_TYPE);
HHVM_FE(json_last_error);
HHVM_FE(json_last_error_msg);
HHVM_FE(json_encode);
HHVM_FE(json_decode);
loadSystemlib();
}
示例4: moduleInit
void moduleInit() override {
HHVM_FE(wddx_add_vars);
HHVM_FE(wddx_packet_end);
HHVM_FE(wddx_packet_start);
HHVM_FE(wddx_serialize_value);
HHVM_FE(wddx_serialize_vars);
loadSystemlib();
}
示例5: HHVM_FE
void StandardExtension::initString() {
HHVM_FE(wordwrap);
HHVM_FE(sprintf);
HHVM_FE(vsprintf);
HHVM_FE(printf);
HHVM_FE(vprintf);
loadSystemlib("std_string");
}
示例6: moduleInit
void moduleInit() override {
HHVM_RC_INT(XHPROF_FLAGS_NO_BUILTINS, NoTrackBuiltins);
HHVM_RC_INT(XHPROF_FLAGS_CPU, TrackCPU);
HHVM_RC_INT(XHPROF_FLAGS_MEMORY, TrackMemory);
HHVM_RC_INT(XHPROF_FLAGS_VTSC, TrackVtsc);
HHVM_RC_INT(XHPROF_FLAGS_TRACE, XhpTrace);
HHVM_RC_INT(XHPROF_FLAGS_MEASURE_XHPROF_DISABLE, MeasureXhprofDisable);
HHVM_RC_INT(XHPROF_FLAGS_MALLOC, TrackMalloc);
HHVM_RC_INT(XHPROF_FLAGS_I_HAVE_INFINITE_MEMORY, IHaveInfiniteMemory);
HHVM_RC_INT(SETPROFILE_FLAGS_ENTERS, EventHook::ProfileEnters);
HHVM_RC_INT(SETPROFILE_FLAGS_EXITS, EventHook::ProfileExits);
HHVM_RC_INT(SETPROFILE_FLAGS_DEFAULT, EventHook::ProfileDefault);
HHVM_RC_INT(SETPROFILE_FLAGS_FRAME_PTRS, EventHook::ProfileFramePointers);
HHVM_RC_INT(SETPROFILE_FLAGS_CTORS, EventHook::ProfileConstructors);
HHVM_FE(fb_setprofile);
HHVM_FE(xhprof_frame_begin);
HHVM_FE(xhprof_frame_end);
HHVM_FE(xhprof_enable);
HHVM_FE(xhprof_disable);
HHVM_FE(xhprof_network_enable);
HHVM_FE(xhprof_network_disable);
HHVM_FE(xhprof_sample_enable);
HHVM_FE(xhprof_sample_disable);
loadSystemlib();
}
示例7: moduleInit
void moduleInit() override {
// Charsets
Native::registerConstant<KindOfInt64>(
s_FRIBIDI_CHARSET_UTF8.get(),
FRIBIDI_CHAR_SET_UTF8
);
Native::registerConstant<KindOfInt64>(
s_FRIBIDI_CHARSET_8859_6.get(),
FRIBIDI_CHAR_SET_ISO8859_6
);
Native::registerConstant<KindOfInt64>(
s_FRIBIDI_CHARSET_8859_8.get(),
FRIBIDI_CHAR_SET_ISO8859_8
);
Native::registerConstant<KindOfInt64>(
s_FRIBIDI_CHARSET_CP1255.get(),
FRIBIDI_CHAR_SET_CP1255
);
Native::registerConstant<KindOfInt64>(
s_FRIBIDI_CHARSET_CP1256.get(),
FRIBIDI_CHAR_SET_CP1256
);
Native::registerConstant<KindOfInt64>(
s_FRIBIDI_CHARSET_CAP_RTL.get(),
FRIBIDI_CHAR_SET_CAP_RTL
);
// Directions
Native::registerConstant<KindOfInt64>(
s_FRIBIDI_AUTO.get(),
FRIBIDI_PAR_ON
);
Native::registerConstant<KindOfInt64>(
s_FRIBIDI_LTR.get(),
FRIBIDI_PAR_LTR
);
Native::registerConstant<KindOfInt64>(
s_FRIBIDI_RTL.get(),
FRIBIDI_PAR_RTL
);
Native::registerConstant<KindOfInt64>(
s_FRIBIDI_WLTR.get(),
FRIBIDI_PAR_WLTR
);
Native::registerConstant<KindOfInt64>(
s_FRIBIDI_WRTL.get(),
FRIBIDI_PAR_WRTL
);
HHVM_FE(fribidi_log2vis);
HHVM_FE(fribidi_charset_info);
HHVM_FE(fribidi_get_charsets);
loadSystemlib();
}
示例8: HHVM_FE
void ApacheExtension::moduleInit() {
if (Enable) {
HHVM_FE(apache_note);
HHVM_FE(apache_request_headers);
HHVM_FE(apache_response_headers);
HHVM_FE(apache_setenv);
HHVM_FALIAS(getallheaders, apache_request_headers);
HHVM_FE(apache_get_config);
HHVM_FALIAS(HH\\get_headers_secure, get_headers_secure);
loadSystemlib();
}
}
示例9: moduleInit
virtual void moduleInit() {
HHVM_FE(bcscale);
HHVM_FE(bcadd);
HHVM_FE(bcsub);
HHVM_FE(bccomp);
HHVM_FE(bcmul);
HHVM_FE(bcdiv);
HHVM_FE(bcmod);
HHVM_FE(bcpow);
HHVM_FE(bcpowmod);
HHVM_FE(bcsqrt);
loadSystemlib();
}
示例10: moduleInit
void moduleInit() override {
HHVM_FE(bzclose);
HHVM_FE(bzread);
HHVM_FE(bzwrite);
HHVM_FE(bzopen);
HHVM_FE(bzflush);
HHVM_FE(bzerrstr);
HHVM_FE(bzerror);
HHVM_FE(bzerrno);
HHVM_FE(bzcompress);
HHVM_FE(bzdecompress);
loadSystemlib("bz2");
}
示例11: moduleInit
virtual void moduleInit() {
IniSetting::Bind("bcmath.scale", "0", ini_on_update_long, ini_get_long,
&BCG(bc_precision));
HHVM_FE(bcscale);
HHVM_FE(bcadd);
HHVM_FE(bcsub);
HHVM_FE(bccomp);
HHVM_FE(bcmul);
HHVM_FE(bcdiv);
HHVM_FE(bcmod);
HHVM_FE(bcpow);
HHVM_FE(bcpowmod);
HHVM_FE(bcsqrt);
loadSystemlib();
}
示例12: moduleInit
virtual void moduleInit() {
HHVM_FE(stream_get_filters);
HHVM_FE(stream_filter_register);
HHVM_FE(stream_filter_append);
HHVM_FE(stream_filter_prepend);
HHVM_FE(stream_filter_remove);
HHVM_FE(stream_bucket_make_writeable);
HHVM_FE(stream_bucket_append);
HHVM_FE(stream_bucket_prepend);
loadSystemlib("stream-user-filters");
}
示例13: moduleInit
void moduleInit() override {
HHVM_FE(thrift_protocol_write_binary);
HHVM_FE(thrift_protocol_read_binary);
HHVM_FE(thrift_protocol_read_binary_struct);
HHVM_FE(thrift_protocol_set_compact_version);
HHVM_FE(thrift_protocol_write_compact);
HHVM_FE(thrift_protocol_read_compact);
HHVM_FE(thrift_protocol_read_compact_struct);
loadSystemlib("thrift");
}
示例14: HHVM_RC_INT
void StandardExtension::initStreamUserFilters() {
HHVM_RC_INT(STREAM_FILTER_READ, k_STREAM_FILTER_READ);
HHVM_RC_INT(STREAM_FILTER_WRITE, k_STREAM_FILTER_WRITE);
HHVM_RC_INT(STREAM_FILTER_ALL, k_STREAM_FILTER_ALL);
HHVM_FE(stream_get_filters);
HHVM_FE(stream_filter_register);
HHVM_FE(stream_filter_append);
HHVM_FE(stream_filter_prepend);
HHVM_FE(stream_filter_remove);
HHVM_FE(stream_bucket_make_writeable);
HHVM_FE(stream_bucket_append);
HHVM_FE(stream_bucket_prepend);
loadSystemlib("stream-user-filters");
}
示例15: moduleInit
void moduleInit() override {
HHVM_RC_INT(PHP_URL_SCHEME, k_PHP_URL_SCHEME);
HHVM_RC_INT(PHP_URL_HOST, k_PHP_URL_HOST);
HHVM_RC_INT(PHP_URL_PORT, k_PHP_URL_PORT);
HHVM_RC_INT(PHP_URL_USER, k_PHP_URL_USER);
HHVM_RC_INT(PHP_URL_PASS, k_PHP_URL_PASS);
HHVM_RC_INT(PHP_URL_PATH, k_PHP_URL_PATH);
HHVM_RC_INT(PHP_URL_QUERY, k_PHP_URL_QUERY);
HHVM_RC_INT(PHP_URL_FRAGMENT, k_PHP_URL_FRAGMENT);
HHVM_RC_INT(PHP_QUERY_RFC1738, k_PHP_QUERY_RFC1738);
HHVM_RC_INT(PHP_QUERY_RFC3986, k_PHP_QUERY_RFC3986);
HHVM_FE(base64_decode);
HHVM_FE(base64_encode);
HHVM_FE(get_headers);
HHVM_FE(get_meta_tags);
HHVM_FE(http_build_query);
HHVM_FE(parse_url);
HHVM_FE(rawurldecode);
HHVM_FE(rawurlencode);
HHVM_FE(urldecode);
HHVM_FE(urlencode);
loadSystemlib();
}