Lines Matching defs:ct

25     int ct;
53 for (ct=0; ct < vt->ptrLevel; ct++) {
68 int ct;
69 for (ct=0; ct < api->paramCount; ct++) {
70 if (ct || assumePrevious) {
73 printVarTypeAndName(f, &api->params[ct]);
78 int ct;
81 for (ct=0; ct < apiCount; ct++) {
82 fprintf(f, "typedef struct RS_CMD_%s_rec RS_CMD_%s;\n", apis[ct].name, apis[ct].name);
86 for (ct=0; ct < apiCount; ct++) {
87 const ApiEntry * api = &apis[ct];
88 fprintf(f, "#define RS_CMD_ID_%s %i\n", api->name, ct+1);
127 int ct;
128 for (ct=0; ct < apiCount; ct++) {
129 printFuncDecl(f, &apis[ct], prefix, addContext, 0);
138 int ct;
139 for (ct=0; ct < apiCount; ct++) {
141 printFuncDecl(f, &apis[ct], "", addContext, 1);
148 int ct;
149 for (ct=0; ct < apiCount; ct++) {
150 if (apis[ct].direct) {
154 fprintf(f, "void %s%s (Context *, const void *);\n", prefix, apis[ct].name);
160 int ct;
164 for (ct=0; ct < api->paramCount; ct++) {
165 const VarType *vt = &api->params[ct];
185 int ct;
202 for (ct=0; ct < apiCount; ct++) {
204 const ApiEntry * api = &apis[ct];
324 fprintf(f, " for (size_t ct = 0; ct < (%s_length_length / sizeof(%s_length)); ct++) {\n", vt->name, vt->name);
325 fprintf(f, " io->%sWrite(%s[ct], %s_length[ct]);\n", str, vt->name, vt->name);
342 fprintf(f, " for (size_t ct = 0; ct < (%s_length_length / sizeof(%s_length)); ct++) {\n", vt->name, vt->name);
343 fprintf(f, " io->%sGetReturn(%s[ct], %s_length[ct]);\n", str, vt->name, vt->name);
363 for (ct=0; ct < apiCount; ct++) {
364 fprintf(f, " LF_%s,\n", apis[ct].name);
370 for (ct=0; ct < apiCount; ct++) {
371 fprintf(f, " RF_%s,\n", apis[ct].name);
376 for (ct=0; ct < apiCount; ct++) {
378 const ApiEntry * api = &apis[ct];
406 int ct;
419 for (ct=0; ct < apiCount; ct++) {
420 const ApiEntry * api = &apis[ct];
476 for (ct=0; ct < apiCount; ct++) {
477 const ApiEntry * api = &apis[ct];
508 fprintf(f, " for (size_t ct = 0; ct < (cmd.%s_length_length / sizeof(cmd.%s_length)); ct++) {\n", vt->name, vt->name);
511 fprintf(f, ")malloc(cmd.%s_length[ct]);\n", vt->name);
512 fprintf(f, " io->coreRead(& cmd.%s, cmd.%s_length[ct]);\n", vt->name, vt->name);
547 fprintf(f, " for (size_t ct = 0; ct < (cmd.%s_length_length / sizeof(cmd.%s_length)); ct++) {\n", vt->name, vt->name);
548 fprintf(f, " io->coreSetReturn((void *)cmd.%s[ct], cmd.%s_length[ct]);\n", vt->name, vt->name);
569 fprintf(f, " for (size_t ct = 0; ct < (cmd.%s_length_length / sizeof(cmd.%s_length)); ct++) {\n", vt->name, vt->name);
580 for (ct=0; ct < apiCount; ct++) {
581 if (apis[ct].direct) {
584 fprintf(f, " %s%s,\n", "rsp_", apis[ct].name);
591 for (ct=0; ct < apiCount; ct++) {
592 fprintf(f, " %s%s,\n", "rspr_", apis[ct].name);