Home
last modified time | relevance | path

Searched refs:file_bytes (Results 1 – 9 of 9) sorted by relevance

/external/tremolo/Tremolo/
Dmisc.c47 static long *file_bytes=NULL; variable
104 file_bytes=malloc(filecount*sizeof(*file_bytes)); in _insert()
107 file_bytes=realloc(file_bytes,filecount*sizeof(*file_bytes)); in _insert()
110 file_bytes[i]=0; in _insert()
113 file_bytes[i]+=bytes-HEAD_ALIGN; in _insert()
122 file_bytes[i]-(bytes-HEAD_ALIGN)); in _insert()
125 file_bytes[i],file,line); in _insert()
170 file_bytes[i]); in _ripremove()
172 file_bytes[i]-bytes); in _ripremove()
175 file_bytes[i]-=bytes; in _ripremove()
/external/OpenCL-CTS/test_conformance/spirv_new/
Dtest_get_program_il.cpp44 int file_bytes = spirv_binary.size(); in TEST_SPIRV_FUNC() local
45 if (file_bytes == 0) in TEST_SPIRV_FUNC()
62 unsigned char *buffer = new unsigned char[file_bytes]; in TEST_SPIRV_FUNC()
63 error = clGetProgramInfo(il_program, CL_PROGRAM_IL, file_bytes, buffer, in TEST_SPIRV_FUNC()
67 if (il_size != file_bytes) in TEST_SPIRV_FUNC()
72 il_size, file_bytes); in TEST_SPIRV_FUNC()
75 if (memcmp(buffer, spirv_buffer, file_bytes) != 0) in TEST_SPIRV_FUNC()
Dtest_op_opaque.cpp24 int file_bytes = buffer_vec.size(); in TEST_SPIRV_FUNC() local
25 if (file_bytes == 0) { in TEST_SPIRV_FUNC()
35 prog = clCreateProgramWithIL(context, buffer, file_bytes, &err); in TEST_SPIRV_FUNC()
57 prog = clCreateProgramWithILKHR(context, buffer, file_bytes, &err); in TEST_SPIRV_FUNC()
Dmain.cpp126 size_t file_bytes = buffer_vec.size(); in offline_get_program_with_il() local
127 if (file_bytes == 0) { in offline_get_program_with_il()
134 prog = clCreateProgramWithBinary(context, 1, &deviceID, &file_bytes, &buffer, &status, &err); in offline_get_program_with_il()
151 int file_bytes = buffer_vec.size(); in get_program_with_il() local
152 if (file_bytes == 0) in get_program_with_il()
161 prog = clCreateProgramWithIL(context, buffer, file_bytes, &err); in get_program_with_il()
192 prog = clCreateProgramWithILKHR(context, buffer, file_bytes, &err); in get_program_with_il()
Dtest_linkage.cpp29 int file_bytes = buffer_vec.size(); in test_linkage_compile() local
30 if (file_bytes == 0) { in test_linkage_compile()
38 prog = clCreateProgramWithIL(context, buffer, file_bytes, &err); in test_linkage_compile()
60 prog = clCreateProgramWithILKHR(context, buffer, file_bytes, &err); in test_linkage_compile()
/external/squashfs-tools/squashfs-tools/
Dread_fs.c244 long long start, file_bytes = 0; in scan_inode_table() local
279 file_bytes += in scan_inode_table()
289 add_file(start, inode.file_size, file_bytes, in scan_inode_table()
299 long long start, file_bytes = 0; in scan_inode_table() local
335 file_bytes += in scan_inode_table()
345 add_file(start, inode.file_size, file_bytes, in scan_inode_table()
Dmksquashfs.c1923 void add_file(long long start, long long file_size, long long file_bytes, in add_file() argument
1958 file = add_non_dup(file_size, file_bytes, block_list, start, frg, 0, 0, in add_file()
2652 long long read_size, file_bytes, start; in write_file_process() local
2663 file_bytes = 0; in write_file_process()
2679 file_bytes += read_buffer->size; in write_file_process()
2700 add_non_dup(read_size, file_bytes, block_list, start, fragment, in write_file_process()
2744 long long file_bytes, dup_start, start; in write_file_blocks_dup() local
2765 file_bytes = 0; in write_file_blocks_dup()
2781 file_bytes += read_buffer->size; in write_file_blocks_dup()
2803 dupl_ptr = duplicate(read_size, file_bytes, &block_listp, &dup_start, in write_file_blocks_dup()
[all …]
/external/python/setuptools/setuptools/tests/
Dtest_easy_install.py612 file_bytes = io.BytesIO(content.encode('utf-8'))
614 file_info.size = len(file_bytes.getvalue())
616 dist.addfile(file_info, fileobj=file_bytes)
/external/google-breakpad/src/common/mac/
Dmacho_reader_unittest.cc760 file_bytes = reinterpret_cast<const uint8_t *>(file_contents.data()); in ReadFile()
762 EXPECT_TRUE(reader.Read(file_bytes, in ReadFile()
767 EXPECT_FALSE(reader.Read(file_bytes, in ReadFile()
775 const uint8_t *file_bytes; member
1032 expected.start = file_bytes + load_commands.start().Value(); in TEST_F()
1410 contents1.start = file_bytes + section1.start().Value(); in TEST_F()
1422 contents2.start = file_bytes + section2.start().Value(); in TEST_F()