Home
last modified time | relevance | path

Searched refs:patterns (Results 1 – 4 of 4) sorted by relevance

/system/core/toolbox/upstream-netbsd/usr.bin/grep/
Dgrep.c84 unsigned int patterns, pattern_sz; variable
231 if (patterns == pattern_sz) { in add_pattern()
239 pattern[patterns] = grep_malloc(len + 1); in add_pattern()
240 memcpy(pattern[patterns], pat, len); in add_pattern()
241 pattern[patterns][len] = '\0'; in add_pattern()
242 ++patterns; in add_pattern()
658 fg_pattern = grep_calloc(patterns, sizeof(*fg_pattern)); in main()
659 r_pattern = grep_calloc(patterns, sizeof(*r_pattern)); in main()
666 for (i = 0; i < patterns; ++i) in main()
669 for (i = 0; i < patterns; ++i) { in main()
Dgrep.h129 extern unsigned int dpatterns, fpatterns, patterns;
Dutil.c301 for (i = 0; i < patterns; i++) { in procline()
/system/core/libpixelflinger/tests/arch-arm64/assembler/
Darm64_assembler_test.cpp664 uint32_t patterns[] = in dataTransferLDMSTM() local
673 for(i = 0; i < sizeof(patterns)/sizeof(uint32_t); ++i) in dataTransferLDMSTM()
681 a64asm->STM(AL,ARMAssemblerInterface::DB,Rn,1,patterns[i]); in dataTransferLDMSTM()
687 a64asm->LDM(AL,ARMAssemblerInterface::IA,Rn,1,patterns[i]); in dataTransferLDMSTM()
696 if((1 << j) & patterns[i]) in dataTransferLDMSTM()
702 patterns[i], j, j, regs[j]); in dataTransferLDMSTM()
708 printf("LDM/STM Test %x passed\n", patterns[i]); in dataTransferLDMSTM()