Searched refs:SIZE (Results 1 - 25 of 294) sorted by relevance

1234567891011>>

/external/elfutils/libasm/
H A Dasm_addint16.c30 #define SIZE 16 macro
H A Dasm_addint32.c30 #define SIZE 32 macro
H A Dasm_addint64.c30 #define SIZE 64 macro
H A Dasm_adduint16.c30 #define SIZE 16 macro
H A Dasm_adduint32.c30 #define SIZE 32 macro
H A Dasm_adduint64.c30 #define SIZE 64 macro
H A Dasm_adduint8.c36 #ifndef SIZE
37 # define SIZE 8 macro
51 UFCT(SIZE) (AsmScn_t *asmscn, UTYPE(SIZE) num) function
53 return INTUSE(FCT(SIZE)) (asmscn, (TYPE(SIZE)) num);
H A Dasm_addint8.c41 #ifndef SIZE
42 # define SIZE 8 macro
54 FCT(SIZE) (AsmScn_t *asmscn, TYPE(SIZE) num) function
68 if (SIZE == 8)
70 else if (SIZE == 16)
73 else if (SIZE == 32)
92 #if SIZE > 8
96 TYPE(SIZE) var = num;
99 if (__libasm_ensure_section_space (asmscn, SIZE /
[all...]
/external/toybox/tests/
H A Dtruncate.test7 SIZE='&& stat -c %s freep'
8 testing "0" "truncate -s 0 freep $SIZE" "0\n" "" ""
9 testing "12345" "truncate -s 12345 freep $SIZE" "12345\n" "" ""
10 testing "1m" "truncate -s 1m freep $SIZE" "1048576\n" "" ""
13 testing "+" "truncate -s 1k freep && truncate -s +1k freep $SIZE" \
15 testing "-" "truncate -s 4k freep && truncate -s -1k freep $SIZE" \
18 "truncate -s 5k freep && truncate -s \<4k freep $SIZE" "4096\n" "" ""
20 "truncate -s 4k freep && truncate -s \<6k freep $SIZE" "4096\n" "" ""
22 "truncate -s 3k freep && truncate -s \>4k freep $SIZE" "4096\n" "" ""
24 "truncate -s 4k freep && truncate -s \>2k freep $SIZE" "409
[all...]
/external/python/cpython2/Python/
H A Dfrozen.c24 #define SIZE (int)sizeof(M___hello__) macro
28 {"__hello__", M___hello__, SIZE},
30 {"__phello__", M___hello__, -SIZE},
31 {"__phello__.spam", M___hello__, SIZE},
/external/python/cpython3/Python/
H A Dfrozen.c28 #define SIZE (int)sizeof(M___hello__) macro
36 {"__hello__", M___hello__, SIZE},
38 {"__phello__", M___hello__, -SIZE},
39 {"__phello__.spam", M___hello__, SIZE},
/external/autotest/client/bin/result_tools/
H A Dunittest_lib.py6 SIZE = 10 variable
8 def create_file(path, size=SIZE):
12 @param size: Size of the temp file, default to SIZE.
/external/autotest/client/site_tests/security_Minijail_seccomp/src/
H A Dok.c10 #define SIZE 1024 macro
13 char buf[SIZE];
15 int n = syscall(__NR_read, fd, buf, SIZE);
H A Dfail.c10 #define SIZE 1024 macro
13 char buf[SIZE];
16 int nr = syscall(__NR_read, fd_z, buf, SIZE);
17 int nw = syscall(__NR_write, fd_n, buf, SIZE);
/external/ltp/testcases/kernel/fs/racer/
H A Dfs_racer_file_create.sh27 SIZE=$(($RANDOM*MAX_SIZE/32767))
28 echo $SIZE
29 dd if=/dev/zero of=$DIR/$file bs=1k count=$SIZE
/external/clang/test/CodeGenCXX/
H A D2010-07-23-DeclLoc.cpp36 typedef _SIZE SIZE; typedef in class:SizeAndEndianness
42 template <typename SIZE> class TRange {
44 typename SIZE::ptr_t _location;
45 typename SIZE::size_t _length;
46 TRange(typename SIZE::ptr_t location, typename SIZE::size_t length) : _location(location), _length(length) { }
48 template <typename SIZE, typename T> class TRangeValue : public TRange<SIZE> {
51 TRangeValue(typename SIZE::ptr_t location, typename SIZE
77 typedef typename SIZE_AND_ENDIANNESS::SIZE SIZE; typedef
[all...]
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/
H A Dhugetlb_vs_thp_test.c9 #define SIZE (16 * 1024 * 1024) macro
18 p = mmap(addr, SIZE, PROT_READ | PROT_WRITE,
28 if (munmap(addr, SIZE)) {
34 p = mmap(addr, SIZE, PROT_READ | PROT_WRITE,
49 * getcwd(p, SIZE);
57 munmap(addr, SIZE);
H A Dprot_sao.c15 #define SIZE (64 * 1024) macro
29 p = mmap(NULL, SIZE, PROT_READ | PROT_WRITE | PROT_SAO,
34 memset(p, 0xaa, SIZE);
/external/ltp/testcases/kernel/syscalls/read/
H A Dread01.c37 #define SIZE 512 macro
40 static char buf[SIZE];
46 TEST(read(fd, buf, SIZE));
56 memset(buf, '*', SIZE);
58 SAFE_WRITE(1, fd, buf, SIZE);
/external/valgrind/callgrind/tests/
H A Dsimwork.c9 #define SIZE 100000 macro
16 for(i = 0; i< SIZE; i++) a[i] = b[i] = 1.0;
22 for(i = 0; i< SIZE; i++) {
34 for(i = 0; i< SIZE; i++) sum += c[i];
54 a = (double*) malloc(SIZE * sizeof(double));
55 b = (double*) malloc(SIZE * sizeof(double));
56 c = (double*) malloc(SIZE * sizeof(double));
/external/linux-kselftest/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp.c7 #define SIZE 256 macro
17 for (offset = 0; offset < SIZE; offset++) {
18 for (size = 0; size < (SIZE-offset); size++) {
48 s1 = memalign(128, SIZE);
54 s2 = memalign(128, SIZE);
66 for (j = 0; j < SIZE; j++)
69 memcpy(s2, s1, SIZE);
72 change = random() % SIZE;
84 for (j = 0; j < SIZE; j++)
87 memcpy(s2, s1, SIZE);
[all...]
/external/ltp/testcases/kernel/syscalls/mmap/
H A Dmmap10.c67 #define SIZE (5*1024*1024) macro
126 x = mmap(NULL, SIZE + SIZE - ps, PROT_READ | PROT_WRITE,
131 x = mmap(NULL, SIZE + SIZE - ps, PROT_READ | PROT_WRITE,
138 if (madvise(x, SIZE + SIZE - ps, MADV_MERGEABLE) == -1)
142 x[SIZE] = 0;
148 if (munmap(x + SIZE + ps, SIZE
[all...]
/external/ltp/testcases/kernel/syscalls/pipe/
H A Dpipe02.c30 #define SIZE 5 macro
33 static char rdbuf[SIZE];
34 static char wrbuf[SIZE];
40 SAFE_WRITE(1, fd[1], wrbuf, SIZE);
44 SAFE_WRITE(1, fd[1], wrbuf, SIZE);
54 memset(wrbuf, 'a', SIZE);
76 memset(rdbuf, 0, SIZE);
78 SAFE_READ(1, fd[0], rdbuf, SIZE);
80 if (memcmp(wrbuf, rdbuf, SIZE) != 0) {
/external/eigen/bench/btl/generic_bench/static/
H A Dstatic_size_generator.hh28 template <int SIZE,template<class> class Perf_Analyzer, template<class> class Action, template<class,int> class Interface>
32 tab_sizes.push_back(SIZE);
34 Perf_Analyzer<Action<Interface<REAL_TYPE,SIZE> > > perf_action;
35 tab_mflops.push_back(perf_action.eval_mflops(SIZE));
37 static_size_generator<SIZE-1,Perf_Analyzer,Action,Interface>::go(tab_sizes,tab_mflops);
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/
H A DFileInfoTest.groovy30 private static final long SIZE = 1234567L
42 assert fileInfoFile.getSize() == SIZE
61 assert fileInfoFile.equals(FileInfo.forFile(NAME, SIZE, LAST_MODIFIED))
62 assert fileInfoFile.equals(FileInfo.forFile(NAME, SIZE, new Date())) // lastModified ignored
64 assert !fileInfoFile.equals(FileInfo.forFile("xyz", SIZE, LAST_MODIFIED))
75 assert fileInfoFile.hashCode() == FileInfo.forFile(NAME, SIZE, LAST_MODIFIED).hashCode()
76 assert fileInfoFile.hashCode() == FileInfo.forFile(NAME, SIZE, new Date()).hashCode() // lastModified ignored
78 assert fileInfoFile.hashCode() != FileInfo.forFile("xyz", SIZE, LAST_MODIFIED).hashCode()
90 assert toString.contains(Long.toString(SIZE))
99 fileInfoFile = FileInfo.forFile(NAME, SIZE, LAST_MODIFIE
[all...]

Completed in 606 milliseconds

1234567891011>>