Lines Matching defs:vars
1065 XkbRF_AddVarDesc(XkbRF_DescribeVarsPtr vars)
1067 if (vars->sz_desc < 1) {
1068 vars->sz_desc = 16;
1069 vars->num_desc = 0;
1070 vars->desc = _XkbTypedCalloc(vars->sz_desc, XkbRF_VarDescRec);
1072 else if (vars->num_desc >= vars->sz_desc) {
1073 vars->sz_desc *= 2;
1074 vars->desc =
1075 _XkbTypedRealloc(vars->desc, vars->sz_desc, XkbRF_VarDescRec);
1077 if (!vars->desc) {
1078 vars->sz_desc = vars->num_desc = 0;
1082 vars->desc[vars->num_desc].name = NULL;
1083 vars->desc[vars->num_desc].desc = NULL;
1084 return &vars->desc[vars->num_desc++];
1088 XkbRF_AddVarDescCopy(XkbRF_DescribeVarsPtr vars, XkbRF_VarDescPtr from)
1092 if ((nd = XkbRF_AddVarDesc(vars)) != NULL) {