/third_party/flutter/skia/third_party/externals/sdl/test/ |
D | testautomation_audio.c | 519 SDL_AudioSpec spec1; in audio_buildAudioCVT() local 524 spec1.format = AUDIO_S16LSB; in audio_buildAudioCVT() 525 spec1.channels = 2; in audio_buildAudioCVT() 526 spec1.freq = 22050; in audio_buildAudioCVT() 527 result = SDL_BuildAudioCVT(&cvt, spec1.format, spec1.channels, spec1.freq, in audio_buildAudioCVT() 528 spec1.format, spec1.channels, spec1.freq); in audio_buildAudioCVT() 533 spec1.format = AUDIO_S8; in audio_buildAudioCVT() 534 spec1.channels = 1; in audio_buildAudioCVT() 535 spec1.freq = 22050; in audio_buildAudioCVT() 539 result = SDL_BuildAudioCVT(&cvt, spec1.format, spec1.channels, spec1.freq, in audio_buildAudioCVT() [all …]
|
/third_party/gettext/gettext-tools/src/ |
D | format-python.c | 423 struct spec *spec1 = (struct spec *) msgid_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() 446 unsigned int n1 = spec1->named_arg_count; in format_check() 455 strcmp (spec1->named[i].name, spec2->named[j].name)); in format_check() 472 spec1->named[i].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() 490 && (spec1->named[i].type == FAT_ANY in format_check() [all …]
|
D | format-kde.c | 199 struct spec *spec1 = (struct spec *) msgid_descr; in format_check() local 203 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check() 206 unsigned int n1 = spec1->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() 235 spec1->numbered[i].number, pretty_msgstr); in format_check() 243 missing, spec1->numbered[i].number, in format_check() 250 missing = spec1->numbered[i].number; in format_check()
|
D | format-javascript.c | 333 struct spec *spec1 = (struct spec *) msgid_descr; in format_check() local 337 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check() 340 unsigned int n1 = spec1->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() 367 spec1->numbered[i].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() 385 && (spec1->numbered[i].type == FAT_ANY in format_check()
|
D | format-qt.c | 144 struct spec *spec1 = (struct spec *) msgid_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() 160 bool arg_used1 = (i < spec1->arg_count && spec1->args_used[i]); in format_check()
|
D | format-librep.c | 289 struct spec *spec1 = (struct spec *) msgid_descr; in format_check() local 293 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check() 296 unsigned int n1 = spec1->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() 324 spec1->numbered[i].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()
|
D | format-php.c | 325 struct spec *spec1 = (struct spec *) msgid_descr; in format_check() local 329 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check() 332 unsigned int n1 = spec1->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() 360 spec1->numbered[i].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()
|
D | format-elisp.c | 325 struct spec *spec1 = (struct spec *) msgid_descr; in format_check() local 329 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check() 332 unsigned int n1 = spec1->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() 360 spec1->numbered[i].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()
|
D | format-pascal.c | 373 struct spec *spec1 = (struct spec *) msgid_descr; in format_check() local 377 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check() 380 unsigned int n1 = spec1->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() 408 spec1->numbered[i].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()
|
D | format-tcl.c | 367 struct spec *spec1 = (struct spec *) msgid_descr; in format_check() local 371 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check() 374 unsigned int n1 = spec1->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() 402 spec1->numbered[i].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()
|
D | format-perl-brace.c | 172 struct spec *spec1 = (struct spec *) msgid_descr; in format_check() local 176 if (spec1->named_arg_count + spec2->named_arg_count > 0) in format_check() 179 unsigned int n1 = spec1->named_arg_count; in format_check() 190 strcmp (spec1->named[i].name, spec2->named[j].name)); in format_check() 200 spec1->named[i].name, pretty_msgstr); in format_check()
|
D | format-smalltalk.c | 129 struct spec *spec1 = (struct spec *) msgid_descr; in format_check() local 134 for (i = 0; i < spec1->arg_count || i < spec2->arg_count; i++) in format_check() 136 bool arg_used1 = (i < spec1->arg_count && spec1->args_used[i]); in format_check()
|
D | format-gcc-internal.c | 604 struct spec *spec1 = (struct spec *) msgid_descr; in format_check() local 608 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check() 611 unsigned int n1 = spec1->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() 639 spec1->numbered[i].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() 672 if (spec1->uses_err_no != spec2->uses_err_no) in format_check() 676 if (spec1->uses_err_no) in format_check()
|
D | format-qt-plural.c | 101 struct spec *spec1 = (struct spec *) msgid_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()
|
D | format-perl.c | 559 struct spec *spec1 = (struct spec *) msgid_descr; in format_check() local 563 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check() 566 unsigned int n1 = spec1->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() 594 spec1->numbered[i].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()
|
D | format-awk.c | 486 struct spec *spec1 = (struct spec *) msgid_descr; in format_check() local 490 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check() 493 unsigned int n1 = spec1->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() 521 spec1->numbered[i].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()
|
D | format-lua.c | 213 struct spec *spec1 = (struct spec *) msgid_descr; in format_check() local 216 if (spec1->format_args_count + spec2->format_args_count > 0) in format_check() 220 n1 = spec1->format_args_count; in format_check() 239 else if (spec1->format_args[i] != spec2->format_args[i]) in format_check()
|
D | format-gfc-internal.c | 352 struct spec *spec1 = (struct spec *) msgid_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() 369 if (spec1->unnumbered[i].type != spec2->unnumbered[i].type) in format_check() 378 if (spec1->uses_currentloc != spec2->uses_currentloc) in format_check() 382 if (spec1->uses_currentloc) in format_check()
|
D | format-java.c | 723 struct spec *spec1 = (struct spec *) msgid_descr; in format_check() local 727 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check() 730 unsigned int n1 = spec1->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() 758 spec1->numbered[i].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()
|
D | format-boost.c | 594 struct spec *spec1 = (struct spec *) msgid_descr; in format_check() local 598 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check() 601 unsigned int n1 = spec1->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() 629 spec1->numbered[i].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()
|
D | format-java-printf.c | 557 struct spec *spec1 = (struct spec *) msgid_descr; in format_check() local 561 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check() 564 unsigned int n1 = spec1->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() 592 spec1->numbered[i].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()
|
D | format-ruby.c | 861 struct spec *spec1 = (struct spec *) msgid_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() 884 unsigned int n1 = spec1->named_arg_count; in format_check() 893 strcmp (spec1->named[i].name, spec2->named[j].name)); in format_check() 910 spec1->named[i].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() 942 if (spec1->numbered_arg_count + spec2->numbered_arg_count > 0) in format_check() [all …]
|
D | format-sh.c | 276 struct spec *spec1 = (struct spec *) msgid_descr; in format_check() local 280 if (spec1->named_arg_count + spec2->named_arg_count > 0) in format_check() 283 unsigned int n1 = spec1->named_arg_count; in format_check() 292 strcmp (spec1->named[i].name, spec2->named[j].name)); in format_check() 309 spec1->named[i].name, pretty_msgstr); in format_check()
|
D | format-c.c | 126 struct spec *spec1 = (struct spec *) msgid_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() 143 if (spec1->unnumbered[i].type != spec2->unnumbered[i].type) in format_check()
|
/third_party/selinux/libselinux/src/ |
D | label_file.c | 1163 static enum selabel_cmp_result incomp(struct spec *spec1, struct spec *spec2, const char *reason, i… in incomp() argument 1168 i, spec1->regex_str, spec1->mode, spec1->lr.ctx_raw, in incomp() 1186 struct spec *spec1 = &spec_arr1[i]; 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 …]
|