/frameworks/rs/ |
rsg_generator.c | 260 fprintf(f, " dataSize += %s_length;\n", vt->name); 283 fprintf(f, " memcpy(payload, %s, %s_length);\n", vt->name, vt->name); 287 fprintf(f, " payload += %s_length;\n", vt->name); 342 fprintf(f, " io->%sWrite(%s, %s_length);\n", str, vt->name, vt->name); 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); 360 fprintf(f, " io->%sGetReturn(%s, %s_length);\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); 488 fprintf(f, " totalSize += cmd->%s_length;\n", api->params[ct2].name) [all...] |
spec.l | 36 sprintf(currType->name, "%s_length", baseType->name);
|
/external/chromium/third_party/libevent/ |
event_rpcgen.py | 781 ' msg->%s_length = len;' % name, 797 ' *plen = msg->%s_length;' % name, 803 code = ['if (evtag_payload_length(%s, &%s->%s_length) == -1)' % ( 807 'if (%s->%s_length > EVBUFFER_LENGTH(%s))' % ( 810 'if ((%s->%s_data = malloc(%s->%s_length)) == NULL)' % ( 814 '%s->%s_length) == -1) {' % ( 824 code = ['evtag_marshal(%s, %s, %s->%s_data, %s->%s_length);' % ( 832 ' %s->%s_length = 0;' % (structname, self.Name()), 841 '%s->%s_length = 0;' % (name, self._name) ] 852 'ev_uint32_t %s_length;' % self._name [all...] |
/external/chromium_org/third_party/libevent/ |
event_rpcgen.py | 781 ' msg->%s_length = len;' % name, 797 ' *plen = msg->%s_length;' % name, 803 code = ['if (evtag_payload_length(%s, &%s->%s_length) == -1)' % ( 807 'if (%s->%s_length > EVBUFFER_LENGTH(%s))' % ( 810 'if ((%s->%s_data = malloc(%s->%s_length)) == NULL)' % ( 814 '%s->%s_length) == -1) {' % ( 824 code = ['evtag_marshal(%s, %s, %s->%s_data, %s->%s_length);' % ( 832 ' %s->%s_length = 0;' % (structname, self.Name()), 841 '%s->%s_length = 0;' % (name, self._name) ] 852 'ev_uint32_t %s_length;' % self._name [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
tztest.cpp | 414 int32_t s_length; local 416 s_length = s->count(ec); 417 for (i = 0; i < s_length;++i) { 428 if(s2 == NULL || s_length != s2->count(ec)) { 444 int32_t middle = s_length/2; 445 for (i=0; i<s_length; ++i) { 447 if (i==0 || i==middle || i==(s_length-1)) { 468 s_length = s->count(ec); 469 for (i = 0; i < s_length;++i) { 482 s_length = s->count(ec) [all...] |
/external/icu4c/test/intltest/ |
tztest.cpp | 423 int32_t s_length; local 429 s_length = s->count(ec); 430 for (i = 0; i < s_length;++i) { 441 if(s2 == NULL || s_length != s2->count(ec)) { 457 int32_t middle = s_length/2; 458 for (i=0; i<s_length; ++i) { 460 if (i==0 || i==middle || i==(s_length-1)) { 481 s_length = s->count(ec); 482 for (i = 0; i < s_length;++i) { 495 s_length = s->count(ec) 1996 int32_t s_length, i, j, k; local [all...] |