Home
last modified time | relevance | path

Searched refs:cdb (Results 1 – 25 of 57) sorted by relevance

123

/external/clang/tools/scan-build-py/tests/functional/cases/
Dtest_from_cdb.py31 def run_analyzer(directory, cdb, args): argument
32 cmd = ['analyze-build', '--cdb', cdb, '--output', directory] \
40 cdb = prepare_cdb('regular', tmpdir)
41 exit_code, reportdir = run_analyzer(tmpdir, cdb, [])
46 cdb = prepare_cdb('clean', tmpdir)
47 exit_code, reportdir = run_analyzer(tmpdir, cdb, [])
52 cdb = prepare_cdb('clean', tmpdir)
53 exit_code, reportdir = run_analyzer(tmpdir, cdb, ['--keep-empty'])
60 cdb = prepare_cdb('regular', tmpdir)
61 exit_code, __ = run_analyzer(tmpdir, cdb, [])
[all …]
Dtest_create_cdb.py146 cdb = self.run_intercept(tmpdir, cmd)
147 self.assertEqual(count, len(cdb))
160 cdb = self.run_intercept(tmpdir, cmd)
161 self.assertEqual(' '.join(expected), cdb[0]['command'])
/external/llvm-project/clang/tools/scan-build-py/tests/functional/cases/
Dtest_from_cdb.py30 def run_analyzer(directory, cdb, args): argument
31 cmd = ['analyze-build', '--cdb', cdb, '--output', directory] \
39 cdb = prepare_cdb('regular', tmpdir)
40 exit_code, reportdir = run_analyzer(tmpdir, cdb, [])
45 cdb = prepare_cdb('clean', tmpdir)
46 exit_code, reportdir = run_analyzer(tmpdir, cdb, [])
51 cdb = prepare_cdb('clean', tmpdir)
52 exit_code, reportdir = run_analyzer(tmpdir, cdb, ['--keep-empty'])
59 cdb = prepare_cdb('regular', tmpdir)
60 exit_code, __ = run_analyzer(tmpdir, cdb, [])
[all …]
Dtest_create_cdb.py145 cdb = self.run_intercept(tmpdir, cmd)
146 self.assertEqual(count, len(cdb))
159 cdb = self.run_intercept(tmpdir, cmd)
160 self.assertEqual(' '.join(expected), cdb[0]['command'])
/external/clang/bindings/python/tests/cindex/
Dtest_cdb.py14 cdb = CompilationDatabase.fromDirectory(path)
22 cdb = CompilationDatabase.fromDirectory(kInputsDir)
26 cdb = CompilationDatabase.fromDirectory(kInputsDir)
27 assert cdb.getCompileCommands('file_do_not_exist.cpp') == None
31 cdb = CompilationDatabase.fromDirectory(kInputsDir)
32 cmds = cdb.getCompileCommands('/home/john.doe/MyProject/project.cpp')
37 cdb = CompilationDatabase.fromDirectory(kInputsDir)
38 cmds = cdb.getAllCompileCommands()
63 cdb = CompilationDatabase.fromDirectory(kInputsDir)
65 cmds = cdb.getCompileCommands(file)
[all …]
/external/llvm-project/clang/bindings/python/tests/cindex/
Dtest_cdb.py33 cdb = CompilationDatabase.fromDirectory(path)
43 cdb = CompilationDatabase.fromDirectory(kInputsDir)
47 cdb = CompilationDatabase.fromDirectory(kInputsDir)
48 cmds = cdb.getCompileCommands('/home/john.doe/MyProject/project.cpp')
54 cdb = CompilationDatabase.fromDirectory(str_to_path(kInputsDir))
55 cmds = cdb.getCompileCommands(str_to_path('/home/john.doe/MyProject/project.cpp'))
60 cdb = CompilationDatabase.fromDirectory(kInputsDir)
61 cmds = cdb.getAllCompileCommands()
87 cdb = CompilationDatabase.fromDirectory(kInputsDir)
89 cmds = cdb.getCompileCommands(file)
[all …]
/external/mtools/
Dscsi.c102 int scsi_cmd(int fd, unsigned char *cdb, int cmdlen, scsi_io_mode_t mode, in scsi_cmd() argument
109 memcpy(sctl_io.cdb, cdb, cmdlen); /* copy command */ in scsi_cmd()
136 uscsi_cmd.uscsi_cdb = (char *)cdb; in scsi_cmd()
181 my_scsi_cmd.cmdp = cdb; in scsi_cmd()
185 …tf("CMD(%d): %02x%02x%02x%02x%02x%02x %sdevice\n",cmdlen,cdb[0],cdb[1],cdb[2],cdb[3],cdb[4],cdb[5], in scsi_cmd()
200 memset(my_scsi_cmd.cdb, 0, SCSICMDLEN); /* ensure zero pad */ in scsi_cmd()
201 memcpy(my_scsi_cmd.cdb, cdb, cmdlen); in scsi_cmd()
219 my_scsi_cmd.ds_cmdbuf = (char *)cdb; in scsi_cmd()
263 bcopy(cdb, ccb->csio.cdb_io.cdb_bytes, cmdlen); in scsi_cmd()
291 memcpy(sc.cmd, cdb, cmdlen); in scsi_cmd()
Dplain_io.c310 unsigned char cdb[10],buf[8]; in scsi_init() local
312 memset(cdb, 0, sizeof cdb); in scsi_init()
314 cdb[0]=SCSI_READ_CAPACITY; in scsi_init()
315 if (scsi_cmd(fd, (unsigned char *)cdb, in scsi_init()
316 sizeof(cdb), SCSI_IO_READ, buf, sizeof(buf), This->extra_data)==0) in scsi_init()
332 unsigned char cdb[10]; in scsi_io() local
373 memset(cdb, 0, sizeof cdb); in scsi_io()
377 cdb[0] = SCSI_READ; in scsi_io()
380 cdb[0] = SCSI_WRITE; in scsi_io()
384 cdb[1] = 0; in scsi_io()
[all …]
Dmzip.c58 static int zip_cmd(int priv, int fd, unsigned char cdb[6], int clen, in zip_cmd()
66 r = scsi_cmd(fd, cdb, clen, mode, data, len, extra_data); in zip_cmd()
186 unsigned char cdb[6] = { 0x06, 0, 0x02, 0, sizeof status, 0 }; in get_zip_status() local
188 if (zip_cmd(priv, fd, cdb, 6, SCSI_IO_READ, in get_zip_status()
200 unsigned char cdb[6] = { 0, 0, 0, 0, 0, 0 }; in short_command() local
202 cdb[0] = cmd1; in short_command()
203 cdb[1] = cmd2; in short_command()
204 cdb[4] = cmd3; in short_command()
206 return zip_cmd(priv, fd, cdb, 6, SCSI_IO_WRITE, in short_command()
301 unsigned char cdb[6] = { 0, 0, 0, 0, 0, 0 }; in mzip() local
[all …]
Dscsi.h33 int scsi_cmd(int fd, unsigned char cdb[6], int clen, scsi_io_mode_t mode,
/external/libusb/examples/
Dxusb.c317 uint8_t *cdb, uint8_t direction, int data_length, uint32_t *ret_tag) in send_mass_storage_command() argument
324 if (cdb == NULL) { in send_mass_storage_command()
333 cdb_len = cdb_length[cdb[0]]; in send_mass_storage_command()
336 cdb[0], cdb_len); in send_mass_storage_command()
352 memcpy(cbw.CBWCB, cdb, cdb_len); in send_mass_storage_command()
421 uint8_t cdb[16]; // SCSI Command Descriptor Block in get_sense() local
430 memset(cdb, 0, sizeof(cdb)); in get_sense()
431 cdb[0] = 0x03; // Request Sense in get_sense()
432 cdb[4] = REQUEST_SENSE_LENGTH; in get_sense()
434 …send_mass_storage_command(handle, endpoint_out, 0, cdb, LIBUSB_ENDPOINT_IN, REQUEST_SENSE_LENGTH, … in get_sense()
[all …]
/external/llvm-project/debuginfo-tests/win_cdb-tests/
DREADME.txt3 lld, and cdb, the command line debugger that ships as part of the Microsoft
4 Windows SDK. The debugger command language that cdb uses is very different from
5 gdb and LLDB, so it's useful to be able to write some tests directly in the cdb
12 // RUN: %cdb -cf %t.script %t.exe | FileCheck %s --check-prefixes=DEBUGGER,CHECK
/external/llvm-project/clang/test/ClangScanDeps/
Dsubframework_header_dir_symlink.m3 // RUN: rm -rf %t.cdb
10 // RUN: sed -e "s|DIR|%/t.dir|g" %S/Inputs/subframework_header_dir_symlink_cdb.json > %t.cdb
11 // RUN: clang-scan-deps -compilation-database %t.cdb -j 1 -reuse-filemanager=0 | \
13 // RUN: clang-scan-deps -compilation-database %t.cdb -j 1 -reuse-filemanager=1 | \
Dheader_stat_before_open.m2 // RUN: rm -rf %t.cdb
7 // RUN: sed -e "s|DIR|%/t.dir|g" %S/Inputs/header_stat_before_open_cdb.json > %t.cdb
9 // RUN: clang-scan-deps -compilation-database %t.cdb -j 1 | \
/external/arm-trusted-firmware/drivers/ufs/
Dufs.c235 upiu->cdb[0] = op; in ufs_prepare_cmd()
250 upiu->cdb[1] = RW_WITHOUT_CACHE; in ufs_prepare_cmd()
252 upiu->cdb[2] = (ulba >> 24) & 0xff; in ufs_prepare_cmd()
253 upiu->cdb[3] = (ulba >> 16) & 0xff; in ufs_prepare_cmd()
254 upiu->cdb[4] = (ulba >> 8) & 0xff; in ufs_prepare_cmd()
255 upiu->cdb[5] = ulba & 0xff; in ufs_prepare_cmd()
257 upiu->cdb[7] = (lba_cnt >> 8) & 0xff; in ufs_prepare_cmd()
258 upiu->cdb[8] = lba_cnt & 0xff; in ufs_prepare_cmd()
264 upiu->cdb[1] = RW_WITHOUT_CACHE; in ufs_prepare_cmd()
266 upiu->cdb[2] = (ulba >> 24) & 0xff; in ufs_prepare_cmd()
[all …]
/external/llvm-project/llvm/test/CodeGen/SystemZ/
Dfp-cmp-02.ll27 ; CHECK: cdb %f0, 0(%r4)
41 ; CHECK: cdb %f0, 4088(%r4)
58 ; CHECK: cdb %f0, 0(%r4)
74 ; CHECK: cdb %f0, 0(%r4)
90 ; CHECK: cdb %f0, 800(%r1,%r4)
107 ; CHECK-SCALAR: cdb {{%f[0-9]+}}, 160(%r15)
178 ; CHECK: cdb %f0, 0(%r4)
Dfp-strict-cmp-02.ll30 ; CHECK: cdb %f0, 0(%r4)
47 ; CHECK: cdb %f0, 4088(%r4)
67 ; CHECK: cdb %f0, 0(%r4)
86 ; CHECK: cdb %f0, 0(%r4)
105 ; CHECK: cdb %f0, 800(%r1,%r4)
125 ; CHECK-SCALAR: cdb {{%f[0-9]+}}, 160(%r15)
232 ; CHECK: cdb %f0, 0(%r4)
/external/llvm/test/CodeGen/SystemZ/
Dfp-cmp-02.ll27 ; CHECK: cdb %f0, 0(%r4)
41 ; CHECK: cdb %f0, 4088(%r4)
58 ; CHECK: cdb %f0, 0(%r4)
74 ; CHECK: cdb %f0, 0(%r4)
90 ; CHECK: cdb %f0, 800(%r1,%r4)
107 ; CHECK-SCALAR: cdb {{%f[0-9]+}}, 160(%r15)
178 ; CHECK: cdb %f0, 0(%r4)
/external/kernel-headers/original/uapi/linux/
Dvirtio_scsi.h50 __u8 cdb[VIRTIO_SCSI_CDB_SIZE]; member
62 __u8 cdb[VIRTIO_SCSI_CDB_SIZE]; member
/external/llvm-project/clang/tools/scan-build-py/libscanbuild/
Dintercept.py75 if 'append' in args and args.append and os.path.isfile(args.cdb):
76 with open(args.cdb) as handle:
97 with open(args.cdb, 'w+') as handle:
Dreport.py39 use_cdb = os.path.exists(args.cdb)
43 prefix = commonprefix_from(args.cdb) if use_cdb else os.getcwd()
56 shutil.copy(args.cdb, args.output)
/external/clang/tools/scan-build-py/libscanbuild/
Dintercept.py83 if 'append' in args and args.append and os.path.isfile(args.cdb):
84 with open(args.cdb) as handle:
110 with open(args.cdb, 'w+') as handle:
Danalyze.py63 if os.path.exists(args.cdb):
64 os.unlink(args.cdb)
113 with open(args.cdb, 'r') as handle:
/external/kernel-headers/original/uapi/scsi/
Dscsi_bsg_ufs.h63 __u8 cdb[UFS_CDB_SIZE]; member
/external/f2fs-tools/tools/sg_write_buffer/include/
Dsg_pt.h88 void set_scsi_pt_cdb(struct sg_pt_base * objp, const unsigned char * cdb,

123