Lines Matching refs:domain

76 	zend_string *domain = NULL;  in PHP_FUNCTION()  local
78 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S!", &domain) == FAILURE) { in PHP_FUNCTION()
82 if (domain != NULL && ZSTR_LEN(domain) != 0 && !zend_string_equals_literal(domain, "0")) { in PHP_FUNCTION()
83 PHP_GETTEXT_DOMAIN_LENGTH_CHECK(1, ZSTR_LEN(domain)) in PHP_FUNCTION()
84 domain_name = ZSTR_VAL(domain); in PHP_FUNCTION()
118 zend_string *domain, *msgid; in PHP_FUNCTION() local
120 if (zend_parse_parameters(ZEND_NUM_ARGS(), "SS", &domain, &msgid) == FAILURE) { in PHP_FUNCTION()
124 PHP_GETTEXT_DOMAIN_LENGTH_CHECK(1, ZSTR_LEN(domain)) in PHP_FUNCTION()
127 msgstr = dgettext(ZSTR_VAL(domain), ZSTR_VAL(msgid)); in PHP_FUNCTION()
141 zend_string *domain, *msgid; in PHP_FUNCTION() local
144 if (zend_parse_parameters(ZEND_NUM_ARGS(), "SSl", &domain, &msgid, &category) == FAILURE) { in PHP_FUNCTION()
148 PHP_GETTEXT_DOMAIN_LENGTH_CHECK(1, ZSTR_LEN(domain)) in PHP_FUNCTION()
154 msgstr = dcgettext(ZSTR_VAL(domain), ZSTR_VAL(msgid), category); in PHP_FUNCTION()
167 char *domain; in PHP_FUNCTION() local
172 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sS!", &domain, &domain_len, &dir) == FAILURE) { in PHP_FUNCTION()
178 if (domain[0] == '\0') { in PHP_FUNCTION()
184 RETURN_STRING(bindtextdomain(domain, NULL)); in PHP_FUNCTION()
195 retval = bindtextdomain(domain, dir_name); in PHP_FUNCTION()
228 char *domain, *msgid1, *msgid2, *msgstr = NULL; in PHP_FUNCTION() local
232 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sssl", &domain, &domain_len, in PHP_FUNCTION()
241 msgstr = dngettext(domain, msgid1, msgid2, count); in PHP_FUNCTION()
253 char *domain, *msgid1, *msgid2, *msgstr = NULL; in PHP_FUNCTION() local
259 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sssll", &domain, &domain_len, in PHP_FUNCTION()
271 msgstr = dcngettext(domain, msgid1, msgid2, count, category); in PHP_FUNCTION()
284 char *domain, *codeset = NULL, *retval = NULL; in PHP_FUNCTION() local
287 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss!", &domain, &domain_len, &codeset, &codeset_len) ==… in PHP_FUNCTION()
293 retval = bind_textdomain_codeset(domain, codeset); in PHP_FUNCTION()