• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/libcroco/

Lines Matching refs:a_this

37 cr_term_clear (CRTerm * a_this)
39 g_return_if_fail (a_this);
41 switch (a_this->type) {
43 if (a_this->content.num) {
44 cr_num_destroy (a_this->content.num);
45 a_this->content.num = NULL;
50 if (a_this->ext_content.func_param) {
51 cr_term_destroy (a_this->ext_content.func_param);
52 a_this->ext_content.func_param = NULL;
58 if (a_this->content.str) {
59 cr_string_destroy (a_this->content.str);
60 a_this->content.str = NULL;
65 if (a_this->content.rgb) {
66 cr_rgb_destroy (a_this->content.rgb);
67 a_this->content.rgb = NULL;
77 a_this->type = TERM_NO_TYPE;
142 cr_term_set_number (CRTerm * a_this, CRNum * a_num)
144 g_return_val_if_fail (a_this, CR_BAD_PARAM_ERROR);
146 cr_term_clear (a_this);
148 a_this->type = TERM_NUMBER;
149 a_this->content.num = a_num;
154 cr_term_set_function (CRTerm * a_this, CRString * a_func_name,
157 g_return_val_if_fail (a_this, CR_BAD_PARAM_ERROR);
159 cr_term_clear (a_this);
161 a_this->type = TERM_FUNCTION;
162 a_this->content.str = a_func_name;
163 a_this->ext_content.func_param = a_func_param;
168 cr_term_set_string (CRTerm * a_this, CRString * a_str)
170 g_return_val_if_fail (a_this, CR_BAD_PARAM_ERROR);
172 cr_term_clear (a_this);
174 a_this->type = TERM_STRING;
175 a_this->content.str = a_str;
180 cr_term_set_ident (CRTerm * a_this, CRString * a_str)
182 g_return_val_if_fail (a_this, CR_BAD_PARAM_ERROR);
184 cr_term_clear (a_this);
186 a_this->type = TERM_IDENT;
187 a_this->content.str = a_str;
192 cr_term_set_uri (CRTerm * a_this, CRString * a_str)
194 g_return_val_if_fail (a_this, CR_BAD_PARAM_ERROR);
196 cr_term_clear (a_this);
198 a_this->type = TERM_URI;
199 a_this->content.str = a_str;
204 cr_term_set_rgb (CRTerm * a_this, CRRgb * a_rgb)
206 g_return_val_if_fail (a_this, CR_BAD_PARAM_ERROR);
208 cr_term_clear (a_this);
210 a_this->type = TERM_RGB;
211 a_this->content.rgb = a_rgb;
216 cr_term_set_hash (CRTerm * a_this, CRString * a_str)
218 g_return_val_if_fail (a_this, CR_BAD_PARAM_ERROR);
220 cr_term_clear (a_this);
222 a_this->type = TERM_HASH;
223 a_this->content.str = a_str;
230 *@param a_this the "this pointer" of the current instance
236 cr_term_append_term (CRTerm * a_this, CRTerm * a_new_term)
242 if (a_this == NULL)
245 for (cur = a_this; cur->next; cur = cur->next) ;
250 return a_this;
254 *Prepends a term to the list of terms represented by a_this.
256 *@param a_this the "this pointer" of the current instance of
262 cr_term_prepend_term (CRTerm * a_this, CRTerm * a_new_term)
264 g_return_val_if_fail (a_this && a_new_term, NULL);
266 a_new_term->next = a_this;
267 a_this->prev = a_new_term;
275 *@param a_this the current instance of #CRTerm
280 cr_term_to_string (CRTerm * a_this)
287 g_return_val_if_fail (a_this, NULL);
292 for (cur = a_this; cur; cur = cur->next) {
477 cr_term_one_to_string (CRTerm * a_this)
483 g_return_val_if_fail (a_this, NULL);
488 if ((a_this->content.str == NULL)
489 && (a_this->content.num == NULL)
490 && (a_this->content.str == NULL)
491 && (a_this->content.rgb == NULL))
494 switch (a_this->the_operator) {
504 if (a_this->prev) {
513 switch (a_this->unary_op) {
526 switch (a_this->type) {
528 if (a_this->content.num) {
529 content = cr_num_to_string (a_this->content.num);
541 if (a_this->content.str) {
543 (a_this->content.str->stryng->str,
544 a_this->content.str->stryng->len);
551 if (a_this->ext_content.func_param) {
555 (a_this->
575 if (a_this->content.str) {
577 (a_this->content.str->stryng->str,
578 a_this->content.str->stryng->len);
590 if (a_this->content.str) {
592 (a_this->content.str->stryng->str,
593 a_this->content.str->stryng->len);
604 if (a_this->content.str) {
606 (a_this->content.str->stryng->str,
607 a_this->content.str->stryng->len);
619 if (a_this->content.rgb) {
623 tmp_str = cr_rgb_to_string (a_this->content.rgb);
642 if (a_this->content.str) {
644 (a_this->content.str->stryng->str,
645 a_this->content.str->stryng->len);
677 *@param a_this the current instance of #CRTerm.
681 cr_term_dump (CRTerm * a_this, FILE * a_fp)
685 g_return_if_fail (a_this);
687 content = cr_term_to_string (a_this);
697 *@param a_this the current instance of #CRTerm.
701 cr_term_nr_values (CRTerm *a_this)
706 g_return_val_if_fail (a_this, -1) ;
708 for (cur = a_this ; cur ; cur = cur->next)
715 *@param a_this the current instance of #CRTerm.
721 cr_term_get_from_list (CRTerm *a_this, int itemnr)
726 g_return_val_if_fail (a_this, NULL) ;
728 for (cur = a_this ; cur ; cur = cur->next)
737 *@param a_this the current instance of #CRTerm.
740 cr_term_ref (CRTerm * a_this)
742 g_return_if_fail (a_this);
744 a_this->ref_count++;
751 *@param a_this the current instance of #CRTerm.
755 cr_term_unref (CRTerm * a_this)
757 g_return_val_if_fail (a_this, FALSE);
759 if (a_this->ref_count) {
760 a_this->ref_count--;
763 if (a_this->ref_count == 0) {
764 cr_term_destroy (a_this);
773 *@param a_this the "this pointer" of the current instance
777 cr_term_destroy (CRTerm * a_this)
779 g_return_if_fail (a_this);
781 cr_term_clear (a_this);
783 if (a_this->next) {
784 cr_term_destroy (a_this->next);
785 a_this->next = NULL;
788 if (a_this) {
789 g_free (a_this);