Searched defs:prefix (Results 1 - 25 of 26) sorted by relevance

12

/PHP_5_4/sapi/fpm/fpm/
H A Dfpm.c31 .prefix = NULL,
45 int fpm_init(int argc, char **argv, char *config, char *prefix, char *pid, int test_conf, int run_as_root, int force_daemon) /* {{{ */ argument
52 fpm_globals.prefix = prefix;
H A Dfpm.h40 int fpm_init(int argc, char **argv, char *config, char *prefix, char *pid, int test_conf, int run_as_root, int force_daemon);
47 char *prefix; member in struct:fpm_globals_s
H A Dfpm_conf.h56 char *prefix; member in struct:fpm_worker_pool_config_s
H A Dfpm_conf.c121 { "prefix", &fpm_conf_set_string, WPO(prefix) },
632 free(wpc->prefix);
675 char *prefix = NULL; local
683 prefix = wp->config->prefix;
686 /* if the wp prefix is not set */
687 if (prefix == NULL) {
688 prefix = fpm_globals.prefix;
[all...]
/PHP_5_4/ext/phar/
H A Dtar.h89 char prefix[155]; /* prefix for file name; member in struct:_tar_header
90 the value of the prefix field, if non-null,
/PHP_5_4/ext/soap/
H A Dphp_encoding.c304 smart_str prefix = {0}; local
321 smart_str_appendc(&prefix, '#');
322 smart_str_appends(&prefix, id);
323 smart_str_0(&prefix);
324 id = prefix.c;
327 smart_str_appendl(&prefix, "#ref", 4);
328 smart_str_append_long(&prefix, SOAP_GLOBAL(cur_uniq_ref));
329 smart_str_0(&prefix);
330 id = prefix.c;
338 smart_str_appendc(&prefix, '#');
3527 xmlChar* prefix; local
3533 smart_str prefix = {0}; local
[all...]
/PHP_5_4/ext/standard/
H A Dhttp.c209 /* {{{ proto string http_build_query(mixed formdata [, string prefix [, string arg_separator [, int enc_type]]])
214 char *prefix = NULL, *arg_sep=NULL; local
219 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|ssl", &formdata, &prefix, &prefix_len, &arg_sep, &arg_sep_len, &enc_type) != SUCCESS) {
228 if (php_url_encode_hash_ex(HASH_OF(formdata), &formstr, prefix, prefix_len, NULL, 0, NULL, 0, (Z_TYPE_P(formdata) == IS_OBJECT ? formdata : NULL), arg_sep, enc_type TSRMLS_CC) == FAILURE) {
H A Duniqid.c41 /* {{{ proto string uniqid([string prefix [, bool more_entropy]])
46 char *prefix = ""; local
56 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sb", &prefix, &prefix_len,
79 spprintf(&uniqid, 0, "%s%08x%05x%.8F", prefix, sec, usec, php_combined_lcg(TSRMLS_C) * 10);
81 spprintf(&uniqid, 0, "%s%08x%05x", prefix, sec, usec);
H A Darray.c1298 PHPAPI int php_prefix_varname(zval *result, zval *prefix, char *var_name, int var_name_len, zend_bool add_underscore TSRMLS_DC) /* {{{ */ argument
1300 Z_STRLEN_P(result) = Z_STRLEN_P(prefix) + (add_underscore ? 1 : 0) + var_name_len;
1303 memcpy(Z_STRVAL_P(result), Z_STRVAL_P(prefix), Z_STRLEN_P(prefix));
1306 Z_STRVAL_P(result)[Z_STRLEN_P(prefix)] = '_';
1309 memcpy(Z_STRVAL_P(result) + Z_STRLEN_P(prefix) + (add_underscore ? 1 : 0), var_name, var_name_len + 1);
1315 /* {{{ proto int extract(array var_array [, int extract_type [, string prefix]])
1319 zval *var_array, *prefix = NULL; local
1329 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a|lz/", &var_array, &extract_type, &prefix) == FAILURE) {
1342 php_error_docref(NULL TSRMLS_CC, E_WARNING, "specified extract type requires the prefix paramete
[all...]
H A Dfile.c805 /* {{{ proto string tempnam(string dir, string prefix)
809 char *dir, *prefix; local
816 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ps", &dir, &dir_len, &prefix, &prefix_len) == FAILURE) {
824 php_basename(prefix, prefix_len, NULL, 0, &p, &p_len TSRMLS_CC);
H A Dstring.c2832 HASH *prefix; /* array of hashes of prefixes by pattern suffix hash order */ member in struct:__anon4
3051 res->prefix = safe_emalloc(patnum, sizeof(*res->prefix), 0);
3053 res->prefix[i] = php_strtr_hash(S(&res->patterns[i].pat), Bp);
3091 efree(d->prefix);
3121 if (d->prefix[i] != prefix_h)
/PHP_5_4/ext/xml/
H A Dcompat.c90 _start_element_handler_ns(void *user, const xmlChar *name, const xmlChar *prefix, const xmlChar *URI, int nb_namespaces, const xmlChar ** namespaces, int nb_attributes, int nb_defaulted, const xmlChar ** attributes) argument
110 if (prefix) {
111 qualified_name = xmlStrncatNew((xmlChar *)"<", prefix, xmlStrlen(prefix));
205 parser->h_end_ns(parser->user, nsptr->prefix);
234 _end_element_handler_ns(void *user, const xmlChar *name, const xmlChar * prefix, const xmlChar *URI) argument
244 if (prefix) {
245 end_element_len = spprintf(&end_element, 0, "</%s:%s>", (char *) prefix, (char *)name);
H A Dxml.c1129 void _xml_startNamespaceDeclHandler(void *userData,const XML_Char *prefix, const XML_Char *uri) argument
1137 args[1] = _xml_xmlchar_zval(prefix, 0, parser->target_encoding);
1147 void _xml_endNamespaceDeclHandler(void *userData, const XML_Char *prefix) argument
1155 args[1] = _xml_xmlchar_zval(prefix, 0, parser->target_encoding);
/PHP_5_4/ext/xmlwriter/
H A Dphp_xmlwriter.c214 ZEND_ARG_INFO(0, prefix)
220 ZEND_ARG_INFO(0, prefix)
227 ZEND_ARG_INFO(0, prefix)
234 ZEND_ARG_INFO(0, prefix)
262 ZEND_ARG_INFO(0, prefix)
268 ZEND_ARG_INFO(0, prefix)
286 ZEND_ARG_INFO(0, prefix)
293 ZEND_ARG_INFO(0, prefix)
885 /* {{{ proto bool xmlwriter_start_attribute_ns(resource xmlwriter, string prefix, string name, string uri)
892 char *name, *prefix, *ur local
981 char *name, *prefix, *uri, *content; local
1034 char *name, *prefix, *uri; local
1149 char *name, *prefix, *uri, *content = NULL; local
[all...]
/PHP_5_4/ext/dom/
H A Ddomimplementation.c160 char *prefix = NULL, *localname = NULL; local
182 errorcode = dom_check_qname(name, &localname, &prefix, 1, name_len);
183 if (errorcode == 0 && uri_len > 0 && ((nsptr = xmlNewNs(NULL, uri, prefix)) == NULL)) {
188 if (prefix != NULL) {
189 xmlFree(prefix);
H A Delement.c161 char *localname = NULL, *prefix = NULL; local
182 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
186 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix);
191 if (prefix != NULL) {
192 xmlFree(prefix);
202 /* If you don't pass a namespace uri, then you can't set a prefix */
203 localname = xmlSplitQName2((xmlChar *)name, (xmlChar **) &prefix);
204 if (prefix != NULL) {
206 xmlFree(prefix);
253 if (ns != NULL && ns->prefix) {
290 xmlChar *prefix = xmlStrndup(name, len); local
701 xmlChar prefix[50]; local
749 char *localname = NULL, *prefix = NULL; local
[all...]
H A Dnode.c84 ZEND_ARG_INFO(0, prefix)
174 (curns->prefix == NULL || xmlStrEqual(nsptr->prefix, curns->prefix))) {
217 if (ns != NULL && ns->prefix) {
218 qname = xmlStrdup(ns->prefix);
228 if (ns != NULL && ns->prefix) {
729 /* {{{ prefix string
752 if (ns != NULL && ns->prefix) {
753 str = (char *) ns->prefix;
778 char *prefix; local
1685 char *prefix=NULL; local
1826 char *prefix; local
[all...]
H A Dphp_dom.c714 dom_register_prop_handler(&dom_node_prop_handlers, "prefix", dom_node_prefix_read, dom_node_prefix_write TSRMLS_CC);
726 dom_register_prop_handler(&dom_namespace_node_prop_handlers, "prefix", dom_node_prefix_read, NULL TSRMLS_CC);
1568 doc->oldNs->prefix = xmlStrdup((const xmlChar *)"xml");
1585 2. the qualifiedName has a prefix and the namespaceURI is null
1588 /* {{{ int dom_check_qname(char *qname, char **localname, char **prefix, int uri_len, int name_len) */
1589 int dom_check_qname(char *qname, char **localname, char **prefix, int uri_len, int name_len) { argument
1594 *localname = (char *)xmlSplitQName2((xmlChar *)qname, (xmlChar **) prefix);
1597 if (*prefix == NULL && uri_len == 0) {
1608 if (*prefix != NULL && uri_len == 0) {
1621 3. the qualifiedName has a prefix tha
1627 dom_get_ns(xmlNodePtr nodep, char *uri, int *errorcode, char *prefix) argument
[all...]
H A Dxpath.c45 ZEND_ARG_INFO(0, prefix)
156 curns->prefix = xmlStrdup((xmlChar *) node->children);
347 /* {{{ proto boolean dom_xpath_register_ns(string prefix, string uri); */
354 unsigned char *prefix, *ns_uri; local
356 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Oss", &id, dom_xpath_class_entry, &prefix, &prefix_len, &ns_uri, &ns_uri_len) == FAILURE) {
368 if (xmlXPathRegisterNs(ctxp, prefix, ns_uri) != 0) {
491 curns->prefix = xmlStrdup((char *) node->children);
H A Ddocument.c1215 nsptr = dom_get_ns(root, (char *) nodep->ns->href, &errorcode, (char *) nodep->ns->prefix);
1237 char *localname = NULL, *prefix = NULL; local
1247 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
1255 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix);
1265 if (prefix != NULL) {
1266 xmlFree(prefix);
1300 char *localname = NULL, *prefix = NULL; local
1312 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
1319 nsptr = dom_get_ns(root, uri, &errorcode, prefix);
1333 if (prefix !
[all...]
/PHP_5_4/ext/simplexml/
H A Dsimplexml.c129 static inline int match_ns(php_sxe_object *sxe, xmlNodePtr node, xmlChar *name, int prefix) /* {{{ */ argument
131 if (name == NULL && (node->ns == NULL || node->ns->prefix == NULL)) {
135 if (node->ns && !xmlStrcmp(prefix ? node->ns->prefix : node->ns->href, name)) {
1333 /* {{{ proto bool SimpleXMLElement::registerXPathNamespace(string prefix, string ns)
1334 Creates a prefix/ns context for the next XPath query */
1339 char *prefix, *ns_uri; local
1341 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &prefix, &prefix_len, &ns_uri, &ns_uri_len) == FAILURE) {
1350 if (xmlXPathRegisterNs(sxe->xpath, (xmlChar *)prefix, (xmlChar *)ns_uri) != 0) {
1440 #define SXE_NS_PREFIX(ns) (ns->prefix
1444 char *prefix = SXE_NS_PREFIX(ns); local
1640 xmlChar *localname, *prefix = NULL; local
1706 xmlChar *localname, *prefix = NULL; local
2282 xmlChar *prefix = sxe->iter.nsprefix; local
[all...]
/PHP_5_4/ext/spl/
H A Dspl_iterators.c119 smart_str prefix[6]; member in struct:_spl_recursive_it_object
898 smart_str_free(&object->prefix[0]);
899 smart_str_free(&object->prefix[1]);
900 smart_str_free(&object->prefix[2]);
901 smart_str_free(&object->prefix[3]);
902 smart_str_free(&object->prefix[4]);
903 smart_str_free(&object->prefix[5]);
919 smart_str_appendl(&intern->prefix[0], "", 0);
920 smart_str_appendl(&intern->prefix[1], "| ", 2);
921 smart_str_appendl(&intern->prefix[
1060 char* prefix; local
1118 zval prefix, entry, postfix; local
1174 zval prefix, key, postfix, key_copy; local
[all...]
/PHP_5_4/ext/fileinfo/libmagic/
H A Dcdf.c1098 cdf_dump_sat(const char *prefix, const cdf_sat_t *sat, size_t size) argument
1104 SIZE_T_FORMAT "u: ", prefix, i, i * s);
/PHP_5_4/Zend/
H A Dzend_compile.c2117 /* This is a compound class name that contains namespace prefix */
2119 /* The STRING name has "\" prefix */
2341 void zend_do_build_full_name(znode *result, znode *prefix, znode *name, int is_class_member TSRMLS_DC) /* {{{ */ argument
2346 result = prefix;
2348 *result = *prefix;
6674 void zend_do_build_namespace_name(znode *result, znode *prefix, znode *name TSRMLS_DC) /* {{{ */ argument
6676 if (prefix) {
6677 *result = *prefix;
6697 /* prefix = result */
H A Dzend_vm_gen.php66 $prefix = array( variable
289 global $prefix, $helpers;
303 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2];
314 $op1_free_op_var_ptr, $op2_free_op_var_ptr, $prefix;
375 "\\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2]):""),
376 "goto \\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2]):""),
399 "return \\1".($spec?"_SPEC":"").$prefix[
[all...]

Completed in 178 milliseconds

12