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++) {
132 printFuncDecl(f, &apis[ct], prefix, addContext, 0);
141 int ct;
142 for (ct=0; ct < apiCount; ct++) {
144 printFuncDecl(f, &apis[ct], "", addContext, 1);
151 int ct;
152 for (ct=0; ct < apiCount; ct++) {
153 if (apis[ct].direct) {
157 fprintf(f, "void %s%s (Context *, const void *);\n", prefix, apis[ct].name);
163 int ct;
167 for (ct=0; ct < api->paramCount; ct++) {
168 const VarType *vt = &api->params[ct];
188 int ct;
205 for (ct=0; ct < apiCount; ct++) {
207 const ApiEntry * api = &apis[ct];
365 fprintf(f, " for (size_t ct = 0; ct < (%s_length_length / sizeof(%s_length)); ct++) {\n", vt->name, vt->name);
366 fprintf(f, " io->%sWrite(%s[ct], %s_length[ct]);\n", str, vt->name, vt->name);
383 fprintf(f, " for (size_t ct = 0; ct < (%s_length_length / sizeof(%s_length)); ct++) {\n", vt->name, vt->name);
384 fprintf(f, " io->%sGetReturn(%s[ct], %s_length[ct]);\n", str, vt->name, vt->name);
404 for (ct=0; ct < apiCount; ct++) {
405 fprintf(f, " LF_%s,\n", apis[ct].name);
411 for (ct=0; ct < apiCount; ct++) {
412 fprintf(f, " RF_%s,\n", apis[ct].name);
417 for (ct=0; ct < apiCount; ct++) {
419 const ApiEntry * api = &apis[ct];
449 int ct;
462 for (ct=0; ct < apiCount; ct++) {
463 const ApiEntry * api = &apis[ct];
519 for (ct=0; ct < apiCount; ct++) {
520 const ApiEntry * api = &apis[ct];
551 fprintf(f, " for (size_t ct = 0; ct < (cmd.%s_length_length / sizeof(cmd.%s_length)); ct++) {\n", vt->name, vt->name);
554 fprintf(f, ")malloc(cmd.%s_length[ct]);\n", vt->name);
555 fprintf(f, " io->coreRead(& cmd.%s, cmd.%s_length[ct]);\n", vt->name, vt->name);
590 fprintf(f, " for (size_t ct = 0; ct < (cmd.%s_length_length / sizeof(cmd.%s_length)); ct++) {\n", vt->name, vt->name);
591 fprintf(f, " io->coreSetReturn((void *)cmd.%s[ct], cmd.%s_length[ct]);\n", vt->name, vt->name);
612 fprintf(f, " for (size_t ct = 0; ct < (cmd.%s_length_length / sizeof(cmd.%s_length)); ct++) {\n", vt->name, vt->name);
623 for (ct=0; ct < apiCount; ct++) {
624 if (apis[ct].direct) {
627 fprintf(f, " %s%s,\n", "rsp_", apis[ct].name);
634 for (ct=0; ct < apiCount; ct++) {
635 fprintf(f, " %s%s,\n", "rspr_", apis[ct].name);