Home | History | Annotate | Download | only in rs

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];
350 fprintf(f, " for (size_t ct = 0; ct < (%s_length_length / sizeof(%s_length)); ct++) {\n", vt->name, vt->name);
351 fprintf(f, " io->%sWrite(%s[ct], %s_length[ct]);\n", str, vt->name, vt->name);
368 fprintf(f, " for (size_t ct = 0; ct < (%s_length_length / sizeof(%s_length)); ct++) {\n", vt->name, vt->name);
369 fprintf(f, " io->%sGetReturn(%s[ct], %s_length[ct]);\n", str, vt->name, vt->name);
389 for (ct=0; ct < apiCount; ct++) {
390 fprintf(f, " LF_%s,\n", apis[ct].name);
396 for (ct=0; ct < apiCount; ct++) {
397 fprintf(f, " RF_%s,\n", apis[ct].name);
402 for (ct=0; ct < apiCount; ct++) {
404 const ApiEntry * api = &apis[ct];
434 int ct;
447 for (ct=0; ct < apiCount; ct++) {
448 const ApiEntry * api = &apis[ct];
504 for (ct=0; ct < apiCount; ct++) {
505 const ApiEntry * api = &apis[ct];
536 fprintf(f, " for (size_t ct = 0; ct < (cmd.%s_length_length / sizeof(cmd.%s_length)); ct++) {\n", vt->name, vt->name);
539 fprintf(f, ")malloc(cmd.%s_length[ct]);\n", vt->name);
540 fprintf(f, " io->coreRead(& cmd.%s, cmd.%s_length[ct]);\n", vt->name, vt->name);
575 fprintf(f, " for (size_t ct = 0; ct < (cmd.%s_length_length / sizeof(cmd.%s_length)); ct++) {\n", vt->name, vt->name);
576 fprintf(f, " io->coreSetReturn((void *)cmd.%s[ct], cmd.%s_length[ct]);\n", vt->name, vt->name);
597 fprintf(f, " for (size_t ct = 0; ct < (cmd.%s_length_length / sizeof(cmd.%s_length)); ct++) {\n", vt->name, vt->name);
608 for (ct=0; ct < apiCount; ct++) {
609 if (apis[ct].direct) {
612 fprintf(f, " %s%s,\n", "rsp_", apis[ct].name);
619 for (ct=0; ct < apiCount; ct++) {
620 fprintf(f, " %s%s,\n", "rspr_", apis[ct].name);