Lines Matching refs:domain

74 	char *domain = NULL, *domain_name, *retval;  in PHP_FUNCTION()  local
77 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s!", &domain, &domain_len) == FAILURE) { in PHP_FUNCTION()
83 if (domain != NULL && strcmp(domain, "") && strcmp(domain, "0")) { in PHP_FUNCTION()
84 domain_name = domain; in PHP_FUNCTION()
120 zend_string *domain, *msgid; in PHP_FUNCTION() local
122 if (zend_parse_parameters(ZEND_NUM_ARGS(), "SS", &domain, &msgid) == FAILURE) { in PHP_FUNCTION()
126 PHP_GETTEXT_DOMAIN_LENGTH_CHECK(1, ZSTR_LEN(domain)) in PHP_FUNCTION()
129 msgstr = dgettext(ZSTR_VAL(domain), ZSTR_VAL(msgid)); in PHP_FUNCTION()
143 zend_string *domain, *msgid; in PHP_FUNCTION() local
146 if (zend_parse_parameters(ZEND_NUM_ARGS(), "SSl", &domain, &msgid, &category) == FAILURE) { in PHP_FUNCTION()
150 PHP_GETTEXT_DOMAIN_LENGTH_CHECK(1, ZSTR_LEN(domain)) in PHP_FUNCTION()
153 msgstr = dcgettext(ZSTR_VAL(domain), ZSTR_VAL(msgid), category); in PHP_FUNCTION()
166 char *domain, *dir = NULL; in PHP_FUNCTION() local
170 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss!", &domain, &domain_len, &dir, &dir_len) == FAILURE… in PHP_FUNCTION()
176 if (domain[0] == '\0') { in PHP_FUNCTION()
182 RETURN_STRING(bindtextdomain(domain, NULL)); in PHP_FUNCTION()
193 retval = bindtextdomain(domain, dir_name); in PHP_FUNCTION()
226 char *domain, *msgid1, *msgid2, *msgstr = NULL; in PHP_FUNCTION() local
230 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sssl", &domain, &domain_len, in PHP_FUNCTION()
239 msgstr = dngettext(domain, msgid1, msgid2, count); in PHP_FUNCTION()
251 char *domain, *msgid1, *msgid2, *msgstr = NULL; in PHP_FUNCTION() local
257 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sssll", &domain, &domain_len, in PHP_FUNCTION()
266 msgstr = dcngettext(domain, msgid1, msgid2, count, category); in PHP_FUNCTION()
279 char *domain, *codeset = NULL, *retval = NULL; in PHP_FUNCTION() local
282 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss!", &domain, &domain_len, &codeset, &codeset_len) ==… in PHP_FUNCTION()
288 retval = bind_textdomain_codeset(domain, codeset); in PHP_FUNCTION()