Home
last modified time | relevance | path

Searched refs:spec2 (Results 1 – 25 of 35) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestautomation_audio.c520 SDL_AudioSpec spec2; in audio_buildAudioCVT() local
536 spec2.format = AUDIO_S16LSB; in audio_buildAudioCVT()
537 spec2.channels = 2; in audio_buildAudioCVT()
538 spec2.freq = 44100; in audio_buildAudioCVT()
540 spec2.format, spec2.channels, spec2.freq); in audio_buildAudioCVT()
554 spec2.format = _audioFormats[ii]; in audio_buildAudioCVT()
555 spec2.channels = _audioChannels[jj]; in audio_buildAudioCVT()
556 spec2.freq = _audioFrequencies[kk]; in audio_buildAudioCVT()
558 spec2.format, spec2.channels, spec2.freq); in audio_buildAudioCVT()
560 …channels, k, spec1.freq, ii, _audioFormatsVerbose[ii], spec2.format, jj, spec2.channels, kk, spec2 in audio_buildAudioCVT()
[all …]
/third_party/gettext/gettext-tools/src/
Dformat-python.c424 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check() local
427 if (spec1->named_arg_count > 0 && spec2->unnamed_arg_count > 0) in format_check()
434 else if (spec1->unnamed_arg_count > 0 && spec2->named_arg_count > 0) in format_check()
443 if (spec1->named_arg_count + spec2->named_arg_count > 0) in format_check()
447 unsigned int n2 = spec2->named_arg_count; in format_check()
455 strcmp (spec1->named[i].name, spec2->named[j].name)); in format_check()
461 spec2->named[j].name, pretty_msgstr, in format_check()
486 if (strcmp (spec1->named[i].name, spec2->named[j].name) == 0) in format_check()
488 if (!(spec1->named[i].type == spec2->named[j].type in format_check()
491 || spec2->named[j].type == FAT_ANY)))) in format_check()
[all …]
Dformat-javascript.c334 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check() local
337 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check()
341 unsigned int n2 = spec2->numbered_arg_count; in format_check()
349 spec1->numbered[i].number > spec2->numbered[j].number ? 1 : in format_check()
350 spec1->numbered[i].number < spec2->numbered[j].number ? -1 : in format_check()
356 spec2->numbered[j].number, pretty_msgstr, in format_check()
381 if (spec1->numbered[i].number == spec2->numbered[j].number) in format_check()
383 if (!(spec1->numbered[i].type == spec2->numbered[j].type in format_check()
386 || spec2->numbered[i].type == FAT_ANY)))) in format_check()
391 spec2->numbered[j].number); in format_check()
Dformat-php.c326 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check() local
329 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check()
333 unsigned int n2 = spec2->numbered_arg_count; in format_check()
341 spec1->numbered[i].number > spec2->numbered[j].number ? 1 : in format_check()
342 spec1->numbered[i].number < spec2->numbered[j].number ? -1 : in format_check()
349 spec2->numbered[j].number, pretty_msgstr, in format_check()
374 if (spec1->numbered[i].number == spec2->numbered[j].number) in format_check()
376 if (spec1->numbered[i].type != spec2->numbered[j].type) in format_check()
381 spec2->numbered[j].number); in format_check()
Dformat-librep.c290 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check() local
293 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check()
297 unsigned int n2 = spec2->numbered_arg_count; in format_check()
305 spec1->numbered[i].number > spec2->numbered[j].number ? 1 : in format_check()
306 spec1->numbered[i].number < spec2->numbered[j].number ? -1 : in format_check()
313 spec2->numbered[j].number, pretty_msgstr, in format_check()
338 if (spec1->numbered[i].number == spec2->numbered[j].number) in format_check()
340 if (spec1->numbered[i].type != spec2->numbered[j].type) in format_check()
345 spec2->numbered[j].number); in format_check()
Dformat-pascal.c374 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check() local
377 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check()
381 unsigned int n2 = spec2->numbered_arg_count; in format_check()
389 spec1->numbered[i].number > spec2->numbered[j].number ? 1 : in format_check()
390 spec1->numbered[i].number < spec2->numbered[j].number ? -1 : in format_check()
397 spec2->numbered[j].number, pretty_msgstr, in format_check()
422 if (spec1->numbered[i].number == spec2->numbered[j].number) in format_check()
424 if (spec1->numbered[i].type != spec2->numbered[j].type) in format_check()
429 spec2->numbered[j].number); in format_check()
Dformat-elisp.c326 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check() local
329 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check()
333 unsigned int n2 = spec2->numbered_arg_count; in format_check()
341 spec1->numbered[i].number > spec2->numbered[j].number ? 1 : in format_check()
342 spec1->numbered[i].number < spec2->numbered[j].number ? -1 : in format_check()
349 spec2->numbered[j].number, pretty_msgstr, in format_check()
374 if (spec1->numbered[i].number == spec2->numbered[j].number) in format_check()
376 if (spec1->numbered[i].type != spec2->numbered[j].type) in format_check()
381 spec2->numbered[j].number); in format_check()
Dformat-qt.c145 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check() local
149 if (spec1->simple && !spec2->simple) in format_check()
158 for (i = 0; i < spec1->arg_count || i < spec2->arg_count; i++) in format_check()
161 bool arg_used2 = (i < spec2->arg_count && spec2->args_used[i]); in format_check()
Dformat-tcl.c368 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check() local
371 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check()
375 unsigned int n2 = spec2->numbered_arg_count; in format_check()
383 spec1->numbered[i].number > spec2->numbered[j].number ? 1 : in format_check()
384 spec1->numbered[i].number < spec2->numbered[j].number ? -1 : in format_check()
391 spec2->numbered[j].number, pretty_msgstr, in format_check()
416 if (spec1->numbered[i].number == spec2->numbered[j].number) in format_check()
418 if (spec1->numbered[i].type != spec2->numbered[j].type) in format_check()
423 spec2->numbered[j].number); in format_check()
Dformat-kde.c200 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check() local
203 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check()
207 unsigned int n2 = spec2->numbered_arg_count; in format_check()
216 spec1->numbered[i].number > spec2->numbered[j].number ? 1 : in format_check()
217 spec1->numbered[i].number < spec2->numbered[j].number ? -1 : in format_check()
224 spec2->numbered[j].number, pretty_msgstr, in format_check()
Dformat-perl.c560 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check() local
563 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check()
567 unsigned int n2 = spec2->numbered_arg_count; in format_check()
575 spec1->numbered[i].number > spec2->numbered[j].number ? 1 : in format_check()
576 spec1->numbered[i].number < spec2->numbered[j].number ? -1 : in format_check()
583 spec2->numbered[j].number, pretty_msgstr, in format_check()
608 if (spec1->numbered[i].number == spec2->numbered[j].number) in format_check()
610 if (spec1->numbered[i].type != spec2->numbered[j].type) in format_check()
615 spec2->numbered[j].number); in format_check()
Dformat-awk.c487 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check() local
490 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check()
494 unsigned int n2 = spec2->numbered_arg_count; in format_check()
502 spec1->numbered[i].number > spec2->numbered[j].number ? 1 : in format_check()
503 spec1->numbered[i].number < spec2->numbered[j].number ? -1 : in format_check()
510 spec2->numbered[j].number, pretty_msgstr, in format_check()
535 if (spec1->numbered[i].number == spec2->numbered[j].number) in format_check()
537 if (spec1->numbered[i].type != spec2->numbered[j].type) in format_check()
542 spec2->numbered[j].number); in format_check()
Dformat-ruby.c862 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check() local
865 if (spec1->named_arg_count > 0 && spec2->numbered_arg_count > 0) in format_check()
872 else if (spec1->numbered_arg_count > 0 && spec2->named_arg_count > 0) in format_check()
881 if (spec1->named_arg_count + spec2->named_arg_count > 0) in format_check()
885 unsigned int n2 = spec2->named_arg_count; in format_check()
893 strcmp (spec1->named[i].name, spec2->named[j].name)); in format_check()
899 spec2->named[j].name, pretty_msgstr, in format_check()
924 if (strcmp (spec1->named[i].name, spec2->named[j].name) == 0) in format_check()
926 if (!(spec1->named[i].type == spec2->named[j].type)) in format_check()
931 spec2->named[j].name); in format_check()
[all …]
Dformat-smalltalk.c130 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check() local
134 for (i = 0; i < spec1->arg_count || i < spec2->arg_count; i++) in format_check()
137 bool arg_used2 = (i < spec2->arg_count && spec2->args_used[i]); in format_check()
Dformat-boost.c595 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check() local
598 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check()
602 unsigned int n2 = spec2->numbered_arg_count; in format_check()
610 spec1->numbered[i].number > spec2->numbered[j].number ? 1 : in format_check()
611 spec1->numbered[i].number < spec2->numbered[j].number ? -1 : in format_check()
618 spec2->numbered[j].number, pretty_msgstr, in format_check()
643 if (spec1->numbered[i].number == spec2->numbered[j].number) in format_check()
645 if (spec1->numbered[i].type != spec2->numbered[j].type) in format_check()
650 spec2->numbered[j].number); in format_check()
Dformat-java.c724 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check() local
727 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check()
731 unsigned int n2 = spec2->numbered_arg_count; in format_check()
739 spec1->numbered[i].number > spec2->numbered[j].number ? 1 : in format_check()
740 spec1->numbered[i].number < spec2->numbered[j].number ? -1 : in format_check()
747 spec2->numbered[j].number, pretty_msgstr, in format_check()
772 if (spec1->numbered[i].number == spec2->numbered[j].number) in format_check()
774 if (spec1->numbered[i].type != spec2->numbered[j].type) in format_check()
779 spec2->numbered[j].number); in format_check()
Dformat-java-printf.c558 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check() local
561 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check()
565 unsigned int n2 = spec2->numbered_arg_count; in format_check()
573 spec1->numbered[i].number > spec2->numbered[j].number ? 1 : in format_check()
574 spec1->numbered[i].number < spec2->numbered[j].number ? -1 : in format_check()
581 spec2->numbered[j].number, pretty_msgstr, in format_check()
606 if (spec1->numbered[i].number == spec2->numbered[j].number) in format_check()
608 if (spec1->numbered[i].type != spec2->numbered[j].type) in format_check()
613 spec2->numbered[j].number); in format_check()
Dformat-gcc-internal.c605 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check() local
608 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check()
612 unsigned int n2 = spec2->numbered_arg_count; in format_check()
620 spec1->numbered[i].number > spec2->numbered[j].number ? 1 : in format_check()
621 spec1->numbered[i].number < spec2->numbered[j].number ? -1 : in format_check()
628 spec2->numbered[j].number, pretty_msgstr, in format_check()
653 if (spec1->numbered[i].number == spec2->numbered[j].number) in format_check()
655 if (spec1->numbered[i].type != spec2->numbered[j].type) in format_check()
660 spec2->numbered[j].number); in format_check()
672 if (spec1->uses_err_no != spec2->uses_err_no) in format_check()
Dformat-c.c127 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check() local
133 ? spec1->unnumbered_arg_count != spec2->unnumbered_arg_count in format_check()
134 : spec1->unnumbered_arg_count < spec2->unnumbered_arg_count) in format_check()
142 for (i = 0; i < spec2->unnumbered_arg_count; i++) in format_check()
143 if (spec1->unnumbered[i].type != spec2->unnumbered[i].type) in format_check()
Dformat-gfc-internal.c353 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check() local
359 ? spec1->unnumbered_arg_count != spec2->unnumbered_arg_count in format_check()
360 : spec1->unnumbered_arg_count < spec2->unnumbered_arg_count) in format_check()
368 for (i = 0; i < spec2->unnumbered_arg_count; i++) in format_check()
369 if (spec1->unnumbered[i].type != spec2->unnumbered[i].type) in format_check()
378 if (spec1->uses_currentloc != spec2->uses_currentloc) in format_check()
Dformat-lua.c214 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check() local
216 if (spec1->format_args_count + spec2->format_args_count > 0) in format_check()
221 n2 = spec2->format_args_count; in format_check()
239 else if (spec1->format_args[i] != spec2->format_args[i]) in format_check()
Dformat-qt-plural.c102 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check() local
106 if ((spec1->directives == 0 && spec2->directives > 0) in format_check()
107 || (equality && spec1->directives > 0 && spec2->directives == 0)) in format_check()
Dformat-sh.c277 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check() local
280 if (spec1->named_arg_count + spec2->named_arg_count > 0) in format_check()
284 unsigned int n2 = spec2->named_arg_count; in format_check()
292 strcmp (spec1->named[i].name, spec2->named[j].name)); in format_check()
298 spec2->named[j].name, pretty_msgstr, in format_check()
Dformat-perl-brace.c173 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check() local
176 if (spec1->named_arg_count + spec2->named_arg_count > 0) in format_check()
180 unsigned int n2 = spec2->named_arg_count; in format_check()
190 strcmp (spec1->named[i].name, spec2->named[j].name)); in format_check()
/third_party/selinux/libselinux/src/
Dlabel_file.c1163 static enum selabel_cmp_result incomp(struct spec *spec1, struct spec *spec2, const char *reason, i… in incomp() argument
1169 j, spec2->regex_str, spec2->mode, spec2->lr.ctx_raw); in incomp()
1187 struct spec *spec2 = &spec_arr2[j]; in cmp() local
1194 if (!spec1->hasMetaChars && spec2->hasMetaChars) { in cmp()
1200 if (spec1->hasMetaChars && !spec2->hasMetaChars) { in cmp()
1206 if (spec1->regex && spec2->regex) { in cmp()
1207 if (regex_cmp(spec1->regex, spec2->regex) == SELABEL_INCOMPARABLE){ in cmp()
1208 return incomp(spec1, spec2, "regex", i, j); in cmp()
1211 if (strcmp(spec1->regex_str, spec2->regex_str)) in cmp()
1212 return incomp(spec1, spec2, "regex_str", i, j); in cmp()
[all …]

12