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

/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/sapi/fpm/fpm/
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.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_conf.c121 { "prefix", &fpm_conf_set_string, WPO(prefix) },
635 free(wpc->prefix);
681 char *prefix = NULL; local
689 prefix = wp->config->prefix;
692 /* if the wp prefix is not set */
693 if (prefix == NULL) {
694 prefix = fpm_globals.prefix;
[all...]
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c269 ** compile time. ^The SQLITE_ prefix may be omitted from the
276 ** prefix is omitted from any strings returned by
2113 ** complete if it ends with a semicolon token and is not a prefix of a
2826 ** a ":" character you should prefix the filename with a pathname such as
9946 ** Temporary files are named starting with this prefix followed by 16 random
9950 ** prefix to reflect your program's name, so that if your program exits
9954 ** 2006-10-31: The default prefix used to be "sqlite_". But then
9960 ** For this reason, the default name prefix is changed to be "sqlite"
11571 ** Allowed values for Select.selFlags. The "SF" prefix stands for
11591 ** by one of the following macros. The "SRT" prefix mean
20085 etByte prefix; /* Offset into aPrefix[] of the prefix string */ member in struct:et_info
20239 char prefix; /* Prefix character. "+" or "-" or " " or '\\0'. */ local
[all...]
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dcdf.c1101 cdf_dump_sat(const char *prefix, const cdf_sat_t *sat, size_t size) argument
1107 SIZE_T_FORMAT "u: ", prefix, i, i * s);
/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)
151 curns->prefix = xmlStrdup((xmlChar *) node->children);
317 /* {{{ proto boolean dom_xpath_register_ns(string prefix, string uri); */
324 unsigned char *prefix, *ns_uri; local
326 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) {
338 if (xmlXPathRegisterNs(ctxp, prefix, ns_uri) != 0) {
456 curns->prefix = xmlStrdup((xmlChar *) node->children);
H A Dphp_dom.c668 dom_register_prop_handler(&dom_node_prop_handlers, "prefix", dom_node_prefix_read, dom_node_prefix_write TSRMLS_CC);
680 dom_register_prop_handler(&dom_namespace_node_prop_handlers, "prefix", dom_node_prefix_read, NULL TSRMLS_CC);
1438 doc->oldNs->prefix = xmlStrdup((const xmlChar *)"xml");
1455 2. the qualifiedName has a prefix and the namespaceURI is null
1458 /* {{{ int dom_check_qname(char *qname, char **localname, char **prefix, int uri_len, int name_len) */
1459 int dom_check_qname(char *qname, char **localname, char **prefix, int uri_len, int name_len) { argument
1464 *localname = (char *)xmlSplitQName2((xmlChar *)qname, (xmlChar **) prefix);
1467 if (*prefix == NULL && uri_len == 0) {
1478 if (*prefix != NULL && uri_len == 0) {
1491 3. the qualifiedName has a prefix tha
1497 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() TSRMLS_CC, "|sb", &prefix, &prefix_len,
80 uniqid = strpprintf(0, "%s%08x%05x%.8F", prefix, sec, usec, php_combined_lcg(TSRMLS_C) * 10);
82 uniqid = strpprintf(0, "%s%08x%05x", prefix, sec, usec);
H A Darray.c1340 PHPAPI int php_prefix_varname(zval *result, zval *prefix, char *var_name, int var_name_len, zend_bool add_underscore TSRMLS_DC) /* {{{ */ argument
1342 ZVAL_NEW_STR(result, zend_string_alloc(Z_STRLEN_P(prefix) + (add_underscore ? 1 : 0) + var_name_len, 0));
1343 memcpy(Z_STRVAL_P(result), Z_STRVAL_P(prefix), Z_STRLEN_P(prefix));
1346 Z_STRVAL_P(result)[Z_STRLEN_P(prefix)] = '_';
1349 memcpy(Z_STRVAL_P(result) + Z_STRLEN_P(prefix) + (add_underscore ? 1 : 0), var_name, var_name_len + 1);
1355 /* {{{ proto int extract(array var_array [, int extract_type [, string prefix]])
1359 zval *var_array, *prefix = NULL; local
1368 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a|lz/", &var_array, &extract_type, &prefix) == FAILURE) {
1384 php_error_docref(NULL TSRMLS_CC, E_WARNING, "specified extract type requires the prefix paramete
[all...]
H A Dfile.c804 /* {{{ proto string tempnam(string dir, string prefix)
808 char *dir, *prefix; local
814 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ps", &dir, &dir_len, &prefix, &prefix_len) == FAILURE) {
822 p = php_basename(prefix, prefix_len, NULL, 0 TSRMLS_CC);
H A Dhttp.c226 /* {{{ proto string http_build_query(mixed formdata [, string prefix [, string arg_separator [, int enc_type]]])
231 char *prefix = NULL, *arg_sep=NULL; local
236 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|ssl", &formdata, &prefix, &prefix_len, &arg_sep, &arg_sep_len, &enc_type) != SUCCESS) {
245 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 TSRMLS_CC) == FAILURE) {
/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.c1055 void _xml_startNamespaceDeclHandler(void *userData,const XML_Char *prefix, const XML_Char *uri) argument
1063 _xml_xmlchar_zval(prefix, 0, parser->target_encoding, &args[1]);
1072 void _xml_endNamespaceDeclHandler(void *userData, const XML_Char *prefix) argument
1080 _xml_xmlchar_zval(prefix, 0, parser->target_encoding, &args[1]);
/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)
828 /* {{{ proto bool xmlwriter_start_attribute_ns(resource xmlwriter, string prefix, string name, string uri)
835 char *name, *prefix, *ur local
919 char *name, *prefix, *uri, *content; local
970 char *name, *prefix, *uri; local
1080 char *name, *prefix, *uri, *content = NULL; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_vm_gen.php66 $prefix = array( variable
325 global $prefix, $helpers;
339 return $name.($spec?"_SPEC":"").$prefix[$op1].$prefix[$op2];
353 $op1_free_op_var_ptr, $op2_free_op_var_ptr, $prefix;
422 "\\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2]):""),
423 "goto \\1".(($spec && $kind != ZEND_VM_KIND_CALL)?("_SPEC".$prefix[$op1].$prefix[$op2]):""),
444 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
931 smart_str_free(&object->prefix[0]);
932 smart_str_free(&object->prefix[1]);
933 smart_str_free(&object->prefix[2]);
934 smart_str_free(&object->prefix[3]);
935 smart_str_free(&object->prefix[4]);
936 smart_str_free(&object->prefix[5]);
950 smart_str_appendl(&intern->prefix[0], "", 0);
951 smart_str_appendl(&intern->prefix[1], "| ", 2);
952 smart_str_appendl(&intern->prefix[
1092 char* prefix; local
1187 zval prefix, entry, postfix; local
1249 zval prefix, key, postfix, key_copy; local
[all...]
/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)) {
1309 /* {{{ proto bool SimpleXMLElement::registerXPathNamespace(string prefix, string ns)
1310 Creates a prefix/ns context for the next XPath query */
1315 char *prefix, *ns_uri; local
1317 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &prefix, &prefix_len, &ns_uri, &ns_uri_len) == FAILURE) {
1326 if (xmlXPathRegisterNs(sxe->xpath, (xmlChar *)prefix, (xmlChar *)ns_uri) != 0) {
1416 #define SXE_NS_PREFIX(ns) (ns->prefix
1420 char *prefix = SXE_NS_PREFIX(ns); local
1616 xmlChar *localname, *prefix = NULL; local
1682 xmlChar *localname, *prefix = NULL; local
2223 xmlChar *prefix = sxe->iter.nsprefix; local
[all...]
/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, '#');
3405 xmlChar* prefix; local
3411 smart_str prefix = {0}; local
[all...]

Completed in 159 milliseconds