ext              2135 Zend/zend_builtin_functions.c static int add_zendext_info(zend_extension *ext, void *arg) /* {{{ */
ext              2138 Zend/zend_builtin_functions.c 	add_next_index_string(name_array, ext->name);
ext              3058 ext/fileinfo/libmagic/apprentice.c private const char ext[] = ".mgc";
ext              3076 ext/fileinfo/libmagic/apprentice.c 	for (p = ext + sizeof(ext) - 1; p >= ext && q >= fn; p--, q--)
ext              3081 ext/fileinfo/libmagic/apprentice.c 	if (p >= ext)
ext              3088 ext/fileinfo/libmagic/apprentice.c 		spprintf(&buf, MAXPATHLEN, "%.*s.mime%s", (int)(q - fn), fn, ext);
ext              3099 ext/fileinfo/libmagic/apprentice.c 	spprintf(&buf, MAXPATHLEN, "%.*s%s", (int)(q - fn), fn, ext);
ext                50 ext/fileinfo/libmagic/apptype.c 			fname[_MAX_FNAME], ext[_MAX_EXT];
ext                61 ext/fileinfo/libmagic/apptype.c 	_splitpath(filename, drive, dir, fname, ext);
ext                65 ext/fileinfo/libmagic/apptype.c 		(*ext == '\0') ? "." : ext);
ext               131 ext/fileinfo/libmagic/apptype.c 		if (stricmp(ext, ".com") == 0)
ext               425 ext/gd/libgd/gdft.c #define GD_CHECK_FONT_PATH(ext)	\
ext               426 ext/gd/libgd/gdft.c 	snprintf(fullname, sizeof(fullname) - 1, "%s/%s%s", dir, name, ext);	\
ext               103 ext/mysqlnd/mysqlnd.h #define mysqlnd_fetch_into(result, flags, ret_val, ext)	(result)->m.fetch_into((result), (flags), (ret_val), (ext) ZEND_FILE_LINE_CC)
ext               634 ext/mysqlnd/mysqlnd_structs.h typedef void 				(*func_mysqlnd_res__fetch_into)(MYSQLND_RES *result, const unsigned int flags, zval *return_value, enum_mysqlnd_extension ext ZEND_FILE_LINE_DC);
ext               102 ext/mysqlnd/php_mysqlnd.c 	MYSQLND_REVERSE_API *ext;
ext               104 ext/mysqlnd/php_mysqlnd.c 	ZEND_HASH_FOREACH_PTR(ht, ext) {
ext               108 ext/mysqlnd/php_mysqlnd.c 		smart_str_appends(buffer, ext->module->name);
ext              1185 ext/phar/phar.c 		mydata->ext = memchr(endbuffer, '.', (mydata->fname + fname_len) - endbuffer);
ext              1186 ext/phar/phar.c 		if (mydata->ext == endbuffer) {
ext              1187 ext/phar/phar.c 			mydata->ext = memchr(endbuffer + 1, '.', (mydata->fname + fname_len) - endbuffer - 1);
ext              1189 ext/phar/phar.c 		if (mydata->ext) {
ext              1190 ext/phar/phar.c 			mydata->ext_len = (mydata->fname + mydata->fname_len) - mydata->ext;
ext              1387 ext/phar/phar.c 		mydata->ext = memchr(p, '.', (mydata->fname + fname_len) - p);
ext              1388 ext/phar/phar.c 		if (mydata->ext == p) {
ext              1389 ext/phar/phar.c 			mydata->ext = memchr(p + 1, '.', (mydata->fname + fname_len) - p - 1);
ext              1391 ext/phar/phar.c 		if (mydata->ext) {
ext              1392 ext/phar/phar.c 			mydata->ext_len = (mydata->fname + fname_len) - mydata->ext;
ext              1737 ext/phar/phar.c static int phar_analyze_path(const char *fname, const char *ext, int ext_len, int for_create) /* {{{ */
ext              1741 ext/phar/phar.c 	char *filename = estrndup(fname, (ext - fname) + ext_len);
ext              1799 ext/phar/phar.c 					slash += ((ext - fname) + ext_len);
ext               290 ext/phar/phar_internal.h 	char                     *ext;
ext                41 ext/phar/phar_object.c 	char *ext;
ext                43 ext/phar/phar_object.c 	ext = strrchr(file, '.');
ext                44 ext/phar/phar_object.c 	if (!ext) {
ext                49 ext/phar/phar_object.c 	++ext;
ext                50 ext/phar/phar_object.c 	if (NULL == (mime = zend_hash_str_find_ptr(mimes, ext, strlen(ext)))) {
ext               808 ext/phar/phar_object.c 		const char *ext = zend_memrchr(entry, '.', entry_len);
ext               811 ext/phar/phar_object.c 		if (ext) {
ext               812 ext/phar/phar_object.c 			++ext;
ext               814 ext/phar/phar_object.c 			if (NULL != (val = zend_hash_str_find(Z_ARRVAL_P(mimeoverride), ext, strlen(ext)))) {
ext              1999 ext/phar/phar_object.c static zend_object *phar_rename_archive(phar_archive_data **sphar, char *ext, zend_bool compress) /* {{{ */
ext              2010 ext/phar/phar_object.c 	int ext_len = ext ? strlen(ext) : 0;
ext              2015 ext/phar/phar_object.c 	if (!ext) {
ext              2019 ext/phar/phar_object.c 				ext = "zip";
ext              2021 ext/phar/phar_object.c 				ext = "phar.zip";
ext              2029 ext/phar/phar_object.c 						ext = "tar.gz";
ext              2031 ext/phar/phar_object.c 						ext = "phar.tar.gz";
ext              2036 ext/phar/phar_object.c 						ext = "tar.bz2";
ext              2038 ext/phar/phar_object.c 						ext = "phar.tar.bz2";
ext              2043 ext/phar/phar_object.c 						ext = "tar";
ext              2045 ext/phar/phar_object.c 						ext = "phar.tar";
ext              2052 ext/phar/phar_object.c 					ext = "phar.gz";
ext              2055 ext/phar/phar_object.c 					ext = "phar.bz2";
ext              2058 ext/phar/phar_object.c 					ext = "phar";
ext              2061 ext/phar/phar_object.c 	} else if (phar_path_check(&ext, &ext_len, &pcr_error) > pcr_is_ok) {
ext              2064 ext/phar/phar_object.c 			zend_throw_exception_ex(spl_ce_BadMethodCallException, 0, "data phar converted from \"%s\" has invalid extension %s", phar->fname, ext);
ext              2066 ext/phar/phar_object.c 			zend_throw_exception_ex(spl_ce_BadMethodCallException, 0, "phar converted from \"%s\" has invalid extension %s", phar->fname, ext);
ext              2071 ext/phar/phar_object.c 	if (ext[0] == '.') {
ext              2072 ext/phar/phar_object.c 		++ext;
ext              2084 ext/phar/phar_object.c 	spprintf(&newname, 0, "%s.%s", strtok(basename, "."), ext);
ext              2092 ext/phar/phar_object.c 	phar->ext = newpath + phar->fname_len - strlen(ext) - 1;
ext              2131 ext/phar/phar_object.c 		if (SUCCESS != phar_detect_phar_fname_ext(newpath, phar->fname_len, (const char **) &(phar->ext), &(phar->ext_len), 1, 1, 1)) {
ext              2133 ext/phar/phar_object.c 			zend_throw_exception_ex(spl_ce_BadMethodCallException, 0, "phar \"%s\" has invalid extension %s", phar->fname, ext);
ext              2151 ext/phar/phar_object.c 		if (SUCCESS != phar_detect_phar_fname_ext(newpath, phar->fname_len, (const char **) &(phar->ext), &(phar->ext_len), 0, 1, 1)) {
ext              2153 ext/phar/phar_object.c 			zend_throw_exception_ex(spl_ce_BadMethodCallException, 0, "data phar \"%s\" has invalid extension %s", phar->fname, ext);
ext              2199 ext/phar/phar_object.c static zend_object *phar_convert_to_other(phar_archive_data *source, int convert, char *ext, php_uint32 flags) /* {{{ */
ext              2295 ext/phar/phar_object.c 	if ((ret = phar_rename_archive(&phar, ext, 0))) {
ext              2320 ext/phar/phar_object.c 	char *ext = NULL;
ext              2329 ext/phar/phar_object.c 	if (zend_parse_parameters(ZEND_NUM_ARGS(), "|lls", &format, &method, &ext, &ext_len) == FAILURE) {
ext              2406 ext/phar/phar_object.c 	ret = phar_convert_to_other(phar_obj->archive, format, ext, flags);
ext              2424 ext/phar/phar_object.c 	char *ext = NULL;
ext              2433 ext/phar/phar_object.c 	if (zend_parse_parameters(ZEND_NUM_ARGS(), "|lls", &format, &method, &ext, &ext_len) == FAILURE) {
ext              2509 ext/phar/phar_object.c 	ret = phar_convert_to_other(phar_obj->archive, format, ext, flags);
ext              3163 ext/phar/phar_object.c 	char *ext = NULL;
ext              3169 ext/phar/phar_object.c 	if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|s", &method, &ext, &ext_len) == FAILURE) {
ext              3213 ext/phar/phar_object.c 		ret = phar_convert_to_other(phar_obj->archive, PHAR_FORMAT_TAR, ext, flags);
ext              3215 ext/phar/phar_object.c 		ret = phar_convert_to_other(phar_obj->archive, PHAR_FORMAT_PHAR, ext, flags);
ext              3231 ext/phar/phar_object.c 	char *ext = NULL;
ext              3236 ext/phar/phar_object.c 	if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s", &ext, &ext_len) == FAILURE) {
ext              3253 ext/phar/phar_object.c 		ret = phar_convert_to_other(phar_obj->archive, PHAR_FORMAT_TAR, ext, PHAR_FILE_COMPRESSED_NONE);
ext              3255 ext/phar/phar_object.c 		ret = phar_convert_to_other(phar_obj->archive, PHAR_FORMAT_PHAR, ext, PHAR_FILE_COMPRESSED_NONE);
ext               620 ext/phar/tar.c 		myphar->ext = memchr(p, '.', (myphar->fname + fname_len) - p);
ext               621 ext/phar/tar.c 		if (myphar->ext == p) {
ext               622 ext/phar/tar.c 			myphar->ext = memchr(p + 1, '.', (myphar->fname + fname_len) - p - 1);
ext               624 ext/phar/tar.c 		if (myphar->ext) {
ext               625 ext/phar/tar.c 			myphar->ext_len = (myphar->fname + fname_len) - myphar->ext;
ext              1992 ext/phar/util.c 	phar->ext = phar->fname + (phar->ext - fname);
ext               174 ext/phar/zip.c 	char *p = buf, *ext, *actual_alias = NULL;
ext               268 ext/phar/zip.c 	ext = strrchr(mydata->fname, '/');
ext               270 ext/phar/zip.c 	if (ext) {
ext               271 ext/phar/zip.c 		mydata->ext = memchr(ext, '.', (mydata->fname + fname_len) - ext);
ext               272 ext/phar/zip.c 		if (mydata->ext == ext) {
ext               273 ext/phar/zip.c 			mydata->ext = memchr(ext + 1, '.', (mydata->fname + fname_len) - ext - 1);
ext               275 ext/phar/zip.c 		if (mydata->ext) {
ext               276 ext/phar/zip.c 			mydata->ext_len = (mydata->fname + fname_len) - mydata->ext;
ext              2289 ext/soap/php_encoding.c 		sdlExtraAttributePtr ext;
ext              2299 ext/soap/php_encoding.c 		    (ext = zend_hash_str_find_ptr(arrayType->extraAttributes, WSDL_NAMESPACE":arrayType", sizeof(WSDL_NAMESPACE":arrayType")-1)) != NULL) {
ext              2304 ext/soap/php_encoding.c 			value = estrdup(ext->val);
ext              2311 ext/soap/php_encoding.c 			if (ext->ns != NULL) {
ext              2312 ext/soap/php_encoding.c 				enc = get_encoder(SOAP_GLOBAL(sdl), ext->ns, value);
ext              2313 ext/soap/php_encoding.c 				get_type_str(xmlParam, ext->ns, value, &array_type);
ext              2348 ext/soap/php_encoding.c 		           (ext = zend_hash_str_find_ptr(arrayType->extraAttributes, WSDL_NAMESPACE":itemType", sizeof(WSDL_NAMESPACE":itemType")-1)) != NULL) {
ext              2349 ext/soap/php_encoding.c 			if (ext->ns != NULL) {
ext              2350 ext/soap/php_encoding.c 				enc = get_encoder(SOAP_GLOBAL(sdl), ext->ns, ext->val);
ext              2351 ext/soap/php_encoding.c 				get_type_str(xmlParam, ext->ns, ext->val, &array_type);
ext              2353 ext/soap/php_encoding.c 				smart_str_appends(&array_type, ext->val);
ext              2358 ext/soap/php_encoding.c 			    (ext = zend_hash_str_find_ptr(arrayType->extraAttributes, WSDL_NAMESPACE":arraySize", sizeof(WSDL_NAMESPACE":arraysize")-1)) != NULL) {
ext              2359 ext/soap/php_encoding.c 				dimension = calc_dimension_12(ext->val);
ext              2360 ext/soap/php_encoding.c 				dims = get_position_12(dimension, ext->val);
ext              2378 ext/soap/php_encoding.c 		           (ext = zend_hash_str_find_ptr(arrayType->extraAttributes, WSDL_NAMESPACE":arraySize", sizeof(WSDL_NAMESPACE":arraySize")-1)) != NULL) {
ext              2379 ext/soap/php_encoding.c 			dimension = calc_dimension_12(ext->val);
ext              2380 ext/soap/php_encoding.c 			dims = get_position_12(dimension, ext->val);
ext              2474 ext/soap/php_encoding.c 	sdlExtraAttributePtr ext;
ext              2535 ext/soap/php_encoding.c 	           (ext = zend_hash_str_find_ptr(arrayType->extraAttributes, WSDL_NAMESPACE":arrayType", sizeof(WSDL_NAMESPACE":arrayType")-1)) != NULL) {
ext              2538 ext/soap/php_encoding.c 		type = estrdup(ext->val);
ext              2543 ext/soap/php_encoding.c 		if (ext->ns != NULL) {
ext              2544 ext/soap/php_encoding.c 			enc = get_encoder(SOAP_GLOBAL(sdl), ext->ns, type);
ext              2556 ext/soap/php_encoding.c 	           (ext = zend_hash_str_find_ptr(arrayType->extraAttributes, WSDL_NAMESPACE":itemType", sizeof(WSDL_NAMESPACE":itemType")-1)) != NULL) {
ext              2558 ext/soap/php_encoding.c 		if (ext->ns != NULL) {
ext              2559 ext/soap/php_encoding.c 			enc = get_encoder(SOAP_GLOBAL(sdl), ext->ns, ext->val);
ext              2565 ext/soap/php_encoding.c 		    (ext = zend_hash_str_find_ptr(arrayType->extraAttributes, WSDL_NAMESPACE":arraySize", sizeof(WSDL_NAMESPACE":arraysize")-1)) != NULL) {
ext              2566 ext/soap/php_encoding.c 			dimension = calc_dimension_12(ext->val);
ext              2567 ext/soap/php_encoding.c 			dims = get_position_12(dimension, ext->val);
ext              2577 ext/soap/php_encoding.c 	           (ext = zend_hash_str_find_ptr(arrayType->extraAttributes, WSDL_NAMESPACE":arraySize", sizeof(WSDL_NAMESPACE":arraysize")-1)) != NULL) {
ext              2579 ext/soap/php_encoding.c 		dimension = calc_dimension_12(ext->val);
ext              2580 ext/soap/php_encoding.c 		dims = get_position_12(dimension, ext->val);
ext              1860 ext/soap/php_schema.c 				sdlExtraAttributePtr ext;
ext              1864 ext/soap/php_schema.c 				ext = emalloc(sizeof(sdlExtraAttribute));
ext              1865 ext/soap/php_schema.c 				memset(ext, 0, sizeof(sdlExtraAttribute));
ext              1869 ext/soap/php_schema.c 					ext->ns = estrdup((char*)nsptr->href);
ext              1870 ext/soap/php_schema.c 					ext->val = estrdup(value);
ext              1872 ext/soap/php_schema.c 					ext->val = estrdup((char*)attr->children->content);
ext              1886 ext/soap/php_schema.c 				zend_hash_add_ptr(newAttr->extraAttributes, key2.s, ext);
ext              4734 ext/soap/soap.c 			  sdlExtraAttributePtr ext;
ext              4740 ext/soap/soap.c 				    (ext = zend_hash_str_find_ptr(attr->extraAttributes, WSDL_NAMESPACE":arrayType", sizeof(WSDL_NAMESPACE":arrayType")-1)) != NULL) {
ext              4741 ext/soap/soap.c 					char *end = strchr(ext->val, '[');
ext              4744 ext/soap/soap.c 						len = strlen(ext->val);
ext              4746 ext/soap/soap.c 						len = end - ext->val;
ext              4751 ext/soap/soap.c 						smart_str_appendl(buf, ext->val, len);
ext              4764 ext/soap/soap.c 				    (ext = zend_hash_str_find_ptr(attr->extraAttributes, WSDL_NAMESPACE":itemType", sizeof(WSDL_NAMESPACE":arrayType")-1)) != NULL) {
ext              4765 ext/soap/soap.c 						smart_str_appends(buf, ext->val);
ext              4782 ext/soap/soap.c 					    (ext = zend_hash_str_find_ptr(attr->extraAttributes, WSDL_NAMESPACE":itemType", sizeof(WSDL_NAMESPACE":arraySize")-1)) != NULL) {
ext              4784 ext/soap/soap.c 						smart_str_appends(buf, ext->val);
ext               248 ext/spl/php_spl.c static int spl_autoload(zend_string *class_name, zend_string *lc_name, const char *ext, int ext_len) /* {{{ */
ext               258 ext/spl/php_spl.c 	class_file_len = (int)spprintf(&class_file, 0, "%s%.*s", ZSTR_VAL(lc_name), ext_len, ext);
ext               262 sapi/cgi/cgi_main.c static int print_extension_info(zend_extension *ext, void *arg)
ext               264 sapi/cgi/cgi_main.c 	php_printf("%s\n", ext->name);
ext                26 sapi/cli/mime_type_map.h 	const char *ext;
ext               212 sapi/cli/php_cli.c static int print_extension_info(zend_extension *ext, void *arg) /* {{{ */
ext               214 sapi/cli/php_cli.c 	php_printf("%s\n", ext->name);
ext               136 sapi/cli/php_cli_server.c 	const char *ext;
ext               354 sapi/cli/php_cli_server.c static const char *get_mime_type(const php_cli_server *server, const char *ext, size_t ext_len) /* {{{ */
ext               356 sapi/cli/php_cli_server.c 	return (const char*)zend_hash_str_find_ptr(&server->extension_mime_types, ext, ext_len);
ext              1320 sapi/cli/php_cli_server.c 	req->ext = NULL;
ext              1648 sapi/cli/php_cli_server.c 		client->request.ext = end;
ext              1654 sapi/cli/php_cli_server.c 				client->request.ext = p;
ext              1983 sapi/cli/php_cli_server.c 		const char *mime_type = get_mime_type(server, client->request.ext, client->request.ext_len);
ext              2093 sapi/cli/php_cli_server.c 	if (client->request.ext_len != 3 || memcmp(client->request.ext, "php", 3) || !client->request.path_translated) {
ext              2154 sapi/cli/php_cli_server.c 	for (pair = mime_type_map; pair->ext; pair++) {
ext              2157 sapi/cli/php_cli_server.c 		ext_len = strlen(pair->ext);
ext              2160 sapi/cli/php_cli_server.c 		zend_hash_str_add_mem(&server->extension_mime_types, pair->ext, ext_len, (void*)pair->mime_type, mime_type_len + 1);
ext              1026 sapi/fpm/fpm/fpm_conf.c 			char *ext;
ext              1059 sapi/fpm/fpm/fpm_conf.c 				while ((ext = strtok(limit_extensions, " \t"))) {
ext              1061 sapi/fpm/fpm/fpm_conf.c 					wp->limit_extensions[nb_ext++] = strdup(ext);
ext               252 sapi/fpm/fpm/fpm_main.c static int print_extension_info(zend_extension *ext, void *arg) /* {{{ */
ext               254 sapi/fpm/fpm/fpm_main.c 	php_printf("%s\n", ext->name);
ext              1016 sapi/phpdbg/phpdbg_prompt.c static int add_zendext_info(zend_extension *ext) /* {{{ */ {
ext              1017 sapi/phpdbg/phpdbg_prompt.c 	phpdbg_write("extension", "name=\"%s\"", "%s\n", ext->name);