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

12

/PHP_TRUNK/sapi/fpm/fpm/
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, int force_stderr);
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.c31 .prefix = NULL,
46 int fpm_init(int argc, char **argv, char *config, char *prefix, char *pid, int test_conf, int run_as_root, int force_daemon, int force_stderr) /* {{{ */ argument
53 fpm_globals.prefix = prefix;
H A Dfpm_conf.c121 { "prefix", &fpm_conf_set_string, WPO(prefix) },
641 free(wpc->prefix);
687 char *prefix = NULL; local
695 prefix = wp->config->prefix;
698 /* if the wp prefix is not set */
699 if (prefix == NULL) {
700 prefix = fpm_globals.prefix;
[all...]
/PHP_TRUNK/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_TRUNK/ext/dom/
H A Ddocument.c1014 nsptr = dom_get_ns(root, (char *) nodep->ns->href, &errorcode, (char *) nodep->ns->prefix);
1037 char *localname = NULL, *prefix = NULL; local
1047 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
1055 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix);
1065 if (prefix != NULL) {
1066 xmlFree(prefix);
1101 char *localname = NULL, *prefix = NULL; local
1113 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
1120 nsptr = dom_get_ns(root, uri, &errorcode, prefix);
1134 if (prefix !
[all...]
H A Ddomimplementation.c164 char *prefix = NULL, *localname = NULL; local
186 errorcode = dom_check_qname(name, &localname, &prefix, 1, name_len);
188 && ((nsptr = xmlNewNs(NULL, (xmlChar *) uri, (xmlChar *) prefix)) == NULL)
194 if (prefix != NULL) {
195 xmlFree(prefix);
H A Delement.c161 char *localname = NULL, *prefix = NULL; local
183 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
187 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix);
192 if (prefix != NULL) {
193 xmlFree(prefix);
203 /* If you don't pass a namespace uri, then you can't set a prefix */
204 localname = (char *) xmlSplitQName2((xmlChar *) name, (xmlChar **) &prefix);
205 if (prefix != NULL) {
207 xmlFree(prefix);
251 if (ns != NULL && ns->prefix) {
287 xmlChar *prefix = xmlStrndup(name, len); local
700 xmlChar prefix[50]; local
748 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) {
659 /* {{{ prefix string
680 if (ns != NULL && ns->prefix) {
681 str = (char *) ns->prefix;
704 char *prefix; local
1604 char *prefix; local
1744 zend_string *prefix; local
1746 ZEND_HASH_FOREACH_STR_KEY_VAL(Z_ARRVAL_P(tmp), prefix, tmpns) { local
[all...]
H A Dxpath.c45 ZEND_ARG_INFO(0, prefix)
150 curns->prefix = xmlStrdup((xmlChar *) node->children);
316 /* {{{ proto boolean dom_xpath_register_ns(string prefix, string uri); */
323 unsigned char *prefix, *ns_uri; local
325 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Oss", &id, dom_xpath_class_entry, &prefix, &prefix_len, &ns_uri, &ns_uri_len) == FAILURE) {
337 if (xmlXPathRegisterNs(ctxp, prefix, ns_uri) != 0) {
455 curns->prefix = xmlStrdup((xmlChar *) node->children);
H A Dphp_dom.c657 dom_register_prop_handler(&dom_node_prop_handlers, "prefix", dom_node_prefix_read, dom_node_prefix_write);
669 dom_register_prop_handler(&dom_namespace_node_prop_handlers, "prefix", dom_node_prefix_read, NULL);
1427 doc->oldNs->prefix = xmlStrdup((const xmlChar *)"xml");
1444 2. the qualifiedName has a prefix and the namespaceURI is null
1447 /* {{{ int dom_check_qname(char *qname, char **localname, char **prefix, int uri_len, int name_len) */
1448 int dom_check_qname(char *qname, char **localname, char **prefix, int uri_len, int name_len) { argument
1453 *localname = (char *)xmlSplitQName2((xmlChar *)qname, (xmlChar **) prefix);
1456 if (*prefix == NULL && uri_len == 0) {
1467 if (*prefix != NULL && uri_len == 0) {
1480 3. the qualifiedName has a prefix tha
1486 dom_get_ns(xmlNodePtr nodep, char *uri, int *errorcode, char *prefix) argument
[all...]
/PHP_TRUNK/ext/standard/
H A Duniqid.c41 /* {{{ proto string uniqid([string prefix [, bool more_entropy]])
46 char *prefix = ""; local
57 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|sb", &prefix, &prefix_len,
80 uniqid = strpprintf(0, "%s%08x%05x%.8F", prefix, sec, usec, php_combined_lcg() * 10);
82 uniqid = strpprintf(0, "%s%08x%05x", prefix, sec, usec);
H A Dfile.c799 /* {{{ proto string tempnam(string dir, string prefix)
803 char *dir, *prefix; local
809 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ps", &dir, &dir_len, &prefix, &prefix_len) == FAILURE) {
817 p = php_basename(prefix, prefix_len, NULL, 0);
H A Dhttp.c227 /* {{{ proto string http_build_query(mixed formdata [, string prefix [, string arg_separator [, int enc_type]]])
232 char *prefix = NULL, *arg_sep=NULL; local
237 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|ssl", &formdata, &prefix, &prefix_len, &arg_sep, &arg_sep_len, &enc_type) != SUCCESS) {
246 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, (int)enc_type) == FAILURE) {
H A Darray.c1390 PHPAPI int php_prefix_varname(zval *result, zval *prefix, char *var_name, size_t var_name_len, zend_bool add_underscore) /* {{{ */ argument
1392 ZVAL_NEW_STR(result, zend_string_alloc(Z_STRLEN_P(prefix) + (add_underscore ? 1 : 0) + var_name_len, 0));
1393 memcpy(Z_STRVAL_P(result), Z_STRVAL_P(prefix), Z_STRLEN_P(prefix));
1396 Z_STRVAL_P(result)[Z_STRLEN_P(prefix)] = '_';
1399 memcpy(Z_STRVAL_P(result) + Z_STRLEN_P(prefix) + (add_underscore ? 1 : 0), var_name, var_name_len + 1);
1405 /* {{{ proto int extract(array var_array [, int extract_type [, string prefix]])
1409 zval *var_array, *prefix = NULL; local
1419 if (zend_parse_parameters(ZEND_NUM_ARGS(), "a|lz/", &var_array, &extract_type, &prefix) == FAILURE) {
1427 Z_PARAM_ZVAL_EX(prefix,
[all...]
/PHP_TRUNK/Zend/
H A Dzend_ast.c1575 ZEND_API zend_string *zend_ast_export(const char *prefix, zend_ast *ast, const char *suffix) argument
1579 smart_str_appends(&str, prefix);
H A Dzend_vm_gen.php82 $prefix = array( variable
427 global $prefix, $helpers;
441 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2];
457 $op1_free_op_var_ptr, $op2_free_op_var_ptr, $prefix;
538 "\\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2]):""),
539 "goto \\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2]):""),
560 function($matches) use ($spec, $prefix,
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_iterators.c118 smart_str prefix[6]; member in struct:_spl_recursive_it_object
940 smart_str_free(&object->prefix[0]);
941 smart_str_free(&object->prefix[1]);
942 smart_str_free(&object->prefix[2]);
943 smart_str_free(&object->prefix[3]);
944 smart_str_free(&object->prefix[4]);
945 smart_str_free(&object->prefix[5]);
959 smart_str_appendl(&intern->prefix[0], "", 0);
960 smart_str_appendl(&intern->prefix[1], "| ", 2);
961 smart_str_appendl(&intern->prefix[
1101 char* prefix; local
1196 zval prefix, entry, postfix; local
1258 zval prefix, key, postfix, key_copy; local
[all...]
/PHP_TRUNK/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));
225 _end_element_handler_ns(void *user, const xmlChar *name, const xmlChar * prefix, const xmlChar *URI) argument
235 if (prefix) {
236 end_element_len = spprintf(&end_element, 0, "</%s:%s>", (char *) prefix, (char *)name);
H A Dxml.c1058 void _xml_startNamespaceDeclHandler(void *userData,const XML_Char *prefix, const XML_Char *uri) argument
1066 _xml_xmlchar_zval(prefix, 0, parser->target_encoding, &args[1]);
1075 void _xml_endNamespaceDeclHandler(void *userData, const XML_Char *prefix) argument
1083 _xml_xmlchar_zval(prefix, 0, parser->target_encoding, &args[1]);
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c127 static inline int match_ns(php_sxe_object *sxe, xmlNodePtr node, xmlChar *name, int prefix) /* {{{ */ argument
129 if (name == NULL && (node->ns == NULL || node->ns->prefix == NULL)) {
133 if (node->ns && !xmlStrcmp(prefix ? node->ns->prefix : node->ns->href, name)) {
1310 /* {{{ proto bool SimpleXMLElement::registerXPathNamespace(string prefix, string ns)
1311 Creates a prefix/ns context for the next XPath query */
1316 char *prefix, *ns_uri; local
1318 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &prefix, &prefix_len, &ns_uri, &ns_uri_len) == FAILURE) {
1327 if (xmlXPathRegisterNs(sxe->xpath, (xmlChar *)prefix, (xmlChar *)ns_uri) != 0) {
1417 #define SXE_NS_PREFIX(ns) (ns->prefix
1421 char *prefix = SXE_NS_PREFIX(ns); local
1617 xmlChar *localname, *prefix = NULL; local
1683 xmlChar *localname, *prefix = NULL; local
2224 xmlChar *prefix = sxe->iter.nsprefix; local
[all...]
/PHP_TRUNK/ext/xmlwriter/
H A Dphp_xmlwriter.c200 ZEND_ARG_INFO(0, prefix)
206 ZEND_ARG_INFO(0, prefix)
213 ZEND_ARG_INFO(0, prefix)
220 ZEND_ARG_INFO(0, prefix)
248 ZEND_ARG_INFO(0, prefix)
254 ZEND_ARG_INFO(0, prefix)
272 ZEND_ARG_INFO(0, prefix)
279 ZEND_ARG_INFO(0, prefix)
834 /* {{{ proto bool xmlwriter_start_attribute_ns(resource xmlwriter, string prefix, string name, string uri)
841 char *name, *prefix, *ur local
929 char *name, *prefix, *uri, *content; local
982 char *name, *prefix, *uri; local
1096 char *name, *prefix, *uri, *content = NULL; local
[all...]
/PHP_TRUNK/ext/session/
H A Dsession.c830 STD_PHP_INI_ENTRY("session.upload_progress.prefix",
2054 /* {{{ proto void session_create_id([string prefix])
2058 zend_string *prefix = NULL, *new_id; local
2061 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|S", &prefix) == FAILURE) {
2065 if (prefix && prefix->len) {
2066 if (php_session_valid_key(prefix->val) == FAILURE) {
2071 smart_str_append(&id, prefix);
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c296 smart_str prefix = {0}; local
313 smart_str_appendc(&prefix, '#');
314 smart_str_appends(&prefix, id);
315 smart_str_0(&prefix);
316 id = prefix.s->val;
319 smart_str_appendl(&prefix, "#ref", 4);
320 smart_str_append_long(&prefix, SOAP_GLOBAL(cur_uniq_ref));
321 smart_str_0(&prefix);
322 id = prefix.s->val;
330 smart_str_appendc(&prefix, '#');
3410 xmlChar* prefix; local
3415 smart_str prefix = {0}; local
[all...]
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dcdf.c1214 cdf_dump_sat(const char *prefix, const cdf_sat_t *sat, size_t size) argument
1220 SIZE_T_FORMAT "u: ", prefix, i, i * s);

Completed in 53 milliseconds

12