• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/src/

Lines Matching refs:best_cp

2559       struct partial_call *best_cp = NULL;
2574 if (best_cp != NULL)
2579 best_cp = cp;
2583 if (best_cp == NULL)
2627 best_cp = best_cp1;
2630 if (best_cp != NULL)
2633 best_cp = best_cp2;
2637 if (best_cp == NULL)
2648 if (best_cp != NULL)
2653 best_cp = cp;
2662 best_cp->msgid_pos.file_name,
2663 best_cp->msgid_pos.line_number,
2669 if (best_cp != NULL)
2671 /* best_cp indicates the best found complete call.
2676 if (best_cp->argnum1_glib_context || best_cp->argnum2_glib_context)
2679 if (best_cp->msgctxt != NULL)
2681 if (best_cp->argnum1_glib_context)
2683 const char *separator = strchr (best_cp->msgid, '|');
2689 best_cp->msgid_pos.file_name,
2690 best_cp->msgid_pos.line_number,
2697 size_t ctxt_len = separator - best_cp->msgid;
2700 memcpy (ctxt, best_cp->msgid, ctxt_len);
2702 best_cp->msgctxt = ctxt;
2703 best_cp->msgid = xstrdup (separator + 1);
2706 if (best_cp->msgid_plural != NULL && best_cp->argnum2_glib_context)
2708 const char *separator = strchr (best_cp->msgid_plural, '|');
2714 best_cp->msgid_plural_pos.file_name,
2715 best_cp->msgid_plural_pos.line_number,
2722 size_t ctxt_len = separator - best_cp->msgid_plural;
2725 memcpy (ctxt, best_cp->msgid_plural, ctxt_len);
2727 if (best_cp->msgctxt == NULL)
2728 best_cp->msgctxt = ctxt;
2731 if (strcmp (ctxt, best_cp->msgctxt) != 0)
2735 best_cp->msgid_plural_pos.file_name,
2736 best_cp->msgid_plural_pos.line_number,
2742 best_cp->msgid_plural = xstrdup (separator + 1);
2746 mp = remember_a_message (ap->mlp, best_cp->msgctxt, best_cp->msgid,
2747 best_cp->msgid_context,
2748 &best_cp->msgid_pos,
2749 best_cp->msgid_comment);
2750 if (best_cp->msgid_plural != NULL)
2751 remember_a_message_plural (mp, best_cp->msgid_plural,
2752 best_cp->msgid_plural_context,
2753 &best_cp->msgid_plural_pos,
2755 if (best_cp->xcomments.nitems > 0)
2757 /* Add best_cp->xcomments to mp->comment_dot, unless already
2761 for (i = 0; i < best_cp->xcomments.nitems; i++)
2763 const char *xcomment = best_cp->xcomments.item[i];