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

12

/PHP_5_3/ext/sqlite/libsqlite/src/
H A Dprintf.c93 char *prefix; /* Prefix on non-zero values in alt format */ member in struct:et_info
215 char prefix; /* Prefix character. "+" or "-" or " " or '\0'. */ local
347 /* More sensible: turn off the prefix for octal (to prevent "00"),
348 ** but leave the prefix for hex. */
354 prefix = '-';
355 }else if( flag_plussign ) prefix = '+';
356 else if( flag_blanksign ) prefix = ' ';
357 else prefix = 0;
358 }else prefix = 0;
359 if( flag_zeropad && precision<width-(prefix!
[all...]
/PHP_5_3/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.h52 char *prefix; member in struct:fpm_worker_pool_config_s
H A Dfpm_conf.c110 { "prefix", &fpm_conf_set_string, WPO(prefix) },
619 free(wpc->prefix);
662 char *prefix = NULL; local
670 prefix = wp->config->prefix;
673 /* if the wp prefix is not set */
674 if (prefix == NULL) {
675 prefix = fpm_globals.prefix;
[all...]
/PHP_5_3/ext/dom/
H A Ddocument.c1214 nsptr = dom_get_ns(root, nodep->ns->href, &errorcode, nodep->ns->prefix);
1236 char *localname = NULL, *prefix = NULL; local
1246 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
1254 nsptr = dom_get_ns(nodep, uri, &errorcode, prefix);
1264 if (prefix != NULL) {
1265 xmlFree(prefix);
1299 char *localname = NULL, *prefix = NULL; local
1311 errorcode = dom_check_qname(name, &localname, &prefix, uri_len, name_len);
1318 nsptr = dom_get_ns(root, uri, &errorcode, prefix);
1332 if (prefix !
[all...]
H A Ddomimplementation.c161 char *prefix = NULL, *localname = NULL; local
183 errorcode = dom_check_qname(name, &localname, &prefix, 1, name_len);
184 if (errorcode == 0 && uri_len > 0 && ((nsptr = xmlNewNs(NULL, uri, prefix)) == NULL)) {
189 if (prefix != NULL) {
190 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.c715 dom_register_prop_handler(&dom_node_prop_handlers, "prefix", dom_node_prefix_read, dom_node_prefix_write TSRMLS_CC);
727 dom_register_prop_handler(&dom_namespace_node_prop_handlers, "prefix", dom_node_prefix_read, NULL TSRMLS_CC);
1566 doc->oldNs->prefix = xmlStrdup((const xmlChar *)"xml");
1583 2. the qualifiedName has a prefix and the namespaceURI is null
1586 /* {{{ int dom_check_qname(char *qname, char **localname, char **prefix, int uri_len, int name_len) */
1587 int dom_check_qname(char *qname, char **localname, char **prefix, int uri_len, int name_len) { argument
1592 *localname = (char *)xmlSplitQName2((xmlChar *)qname, (xmlChar **) prefix);
1595 if (*prefix == NULL && uri_len == 0) {
1606 if (*prefix != NULL && uri_len == 0) {
1619 3. the qualifiedName has a prefix tha
1625 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);
346 /* {{{ proto boolean dom_xpath_register_ns(string prefix, string uri); */
353 unsigned char *prefix, *ns_uri; local
355 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) {
367 if (xmlXPathRegisterNs(ctxp, prefix, ns_uri) != 0) {
490 curns->prefix = xmlStrdup((char *) node->children);
/PHP_5_3/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)) {
1296 /* {{{ proto bool SimpleXMLElement::registerXPathNamespace(string prefix, string ns)
1297 Creates a prefix/ns context for the next XPath query */
1302 char *prefix, *ns_uri; local
1304 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &prefix, &prefix_len, &ns_uri, &ns_uri_len) == FAILURE) {
1313 if (xmlXPathRegisterNs(sxe->xpath, (xmlChar *)prefix, (xmlChar *)ns_uri) != 0) {
1403 #define SXE_NS_PREFIX(ns) (ns->prefix
1407 char *prefix = SXE_NS_PREFIX(ns); local
1594 xmlChar *localname, *prefix = NULL; local
1660 xmlChar *localname, *prefix = NULL; local
2234 xmlChar *prefix = sxe->iter.nsprefix; local
[all...]
/PHP_5_3/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, '#');
3550 xmlChar* prefix; local
3556 smart_str prefix = {0}; local
[all...]
/PHP_5_3/ext/standard/
H A Darray.c1292 PHPAPI int php_prefix_varname(zval *result, zval *prefix, char *var_name, int var_name_len, zend_bool add_underscore TSRMLS_DC) /* {{{ */ argument
1294 Z_STRLEN_P(result) = Z_STRLEN_P(prefix) + (add_underscore ? 1 : 0) + var_name_len;
1297 memcpy(Z_STRVAL_P(result), Z_STRVAL_P(prefix), Z_STRLEN_P(prefix));
1300 Z_STRVAL_P(result)[Z_STRLEN_P(prefix)] = '_';
1303 memcpy(Z_STRVAL_P(result) + Z_STRLEN_P(prefix) + (add_underscore ? 1 : 0), var_name, var_name_len + 1);
1309 /* {{{ proto int extract(array var_array [, int extract_type [, string prefix]])
1313 zval *var_array, *prefix = NULL; local
1323 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a|lz/", &var_array, &extract_type, &prefix) == FAILURE) {
1336 php_error_docref(NULL TSRMLS_CC, E_WARNING, "specified extract type requires the prefix paramete
[all...]
H A Dhttp.c191 /* {{{ proto string http_build_query(mixed formdata [, string prefix [, string arg_separator]])
196 char *prefix = NULL, *arg_sep=NULL; local
201 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|ss", &formdata, &prefix, &prefix_len, &arg_sep, &arg_sep_len) != SUCCESS) {
210 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 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 Dfile.c842 /* {{{ proto string tempnam(string dir, string prefix)
846 char *dir, *prefix; local
853 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &dir, &dir_len, &prefix, &prefix_len) == FAILURE) {
861 if (strlen(prefix) != prefix_len) {
873 php_basename(prefix, prefix_len, NULL, 0, &p, &p_len TSRMLS_CC);
H A Dbasic_functions.c335 ZEND_ARG_INFO(0, prefix)
861 ZEND_ARG_INFO(0, prefix)
1092 ZEND_ARG_INFO(0, prefix)
1518 ZEND_ARG_INFO(0, prefix)
2565 ZEND_ARG_INFO(0, prefix)
6097 zval *prefix, new_key; local
6105 prefix = va_arg(args, zval *);
6106 prefix_len = Z_STRLEN_P(prefix);
6114 php_prefix_varname(&new_key, prefix, hash_key->arKey, hash_key->nKeyLength - 1, 0 TSRMLS_CC);
6120 php_prefix_varname(&new_key, prefix, Z_STRVA
6143 zval *prefix = NULL; local
6167 zend_hash_apply_with_arguments(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_GET]) TSRMLS_CC, (apply_func_args_t) copy_request_variable, 1, prefix); local
6173 zend_hash_apply_with_arguments(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_POST]) TSRMLS_CC, (apply_func_args_t) copy_request_variable, 1, prefix); local
6174 zend_hash_apply_with_arguments(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_FILES]) TSRMLS_CC, (apply_func_args_t) copy_request_variable, 1, prefix); local
6180 zend_hash_apply_with_arguments(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_COOKIE]) TSRMLS_CC, (apply_func_args_t) copy_request_variable, 1, prefix); local
[all...]
/PHP_5_3/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.c1229 void _xml_startNamespaceDeclHandler(void *userData,const XML_Char *prefix, const XML_Char *uri) argument
1237 args[1] = _xml_xmlchar_zval(prefix, 0, parser->target_encoding);
1247 void _xml_endNamespaceDeclHandler(void *userData, const XML_Char *prefix) argument
1255 args[1] = _xml_xmlchar_zval(prefix, 0, parser->target_encoding);
/PHP_5_3/ext/xmlwriter/
H A Dphp_xmlwriter.c216 ZEND_ARG_INFO(0, prefix)
222 ZEND_ARG_INFO(0, prefix)
229 ZEND_ARG_INFO(0, prefix)
236 ZEND_ARG_INFO(0, prefix)
264 ZEND_ARG_INFO(0, prefix)
270 ZEND_ARG_INFO(0, prefix)
288 ZEND_ARG_INFO(0, prefix)
295 ZEND_ARG_INFO(0, prefix)
887 /* {{{ proto bool xmlwriter_start_attribute_ns(resource xmlwriter, string prefix, string name, string uri)
894 char *name, *prefix, *ur local
983 char *name, *prefix, *uri, *content; local
1036 char *name, *prefix, *uri; local
1151 char *name, *prefix, *uri, *content = NULL; local
[all...]
/PHP_5_3/Zend/
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...]
/PHP_5_3/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_3/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_3/ext/spl/
H A Dspl_iterators.c117 smart_str prefix[6]; member in struct:_spl_recursive_it_object
895 smart_str_free(&object->prefix[0]);
896 smart_str_free(&object->prefix[1]);
897 smart_str_free(&object->prefix[2]);
898 smart_str_free(&object->prefix[3]);
899 smart_str_free(&object->prefix[4]);
900 smart_str_free(&object->prefix[5]);
917 smart_str_appendl(&intern->prefix[0], "", 0);
918 smart_str_appendl(&intern->prefix[1], "| ", 2);
919 smart_str_appendl(&intern->prefix[
1058 char* prefix; local
1116 zval prefix, entry, postfix; local
1172 zval prefix, key, postfix, key_copy; local
[all...]

Completed in 88 milliseconds

12