Home
last modified time | relevance | path

Searched refs:ptp (Results 1 – 25 of 39) sorted by relevance

12

/external/f2fs-tools/tools/sg_write_buffer/
Dsg_pt_linux.c398 struct sg_pt_linux_scsi * ptp; in construct_scsi_pt_obj_with_fd() local
406 ptp = (struct sg_pt_linux_scsi *) in construct_scsi_pt_obj_with_fd()
408 if (ptp) { in construct_scsi_pt_obj_with_fd()
409 err = set_pt_file_handle((struct sg_pt_base *)ptp, dev_fd, verbose); in construct_scsi_pt_obj_with_fd()
410 if ((0 == err) && (! ptp->is_nvme)) { in construct_scsi_pt_obj_with_fd()
411 ptp->io_hdr.guard = 'Q'; in construct_scsi_pt_obj_with_fd()
413 ptp->io_hdr.protocol = BSG_PROTOCOL_SCSI; in construct_scsi_pt_obj_with_fd()
416 ptp->io_hdr.subprotocol = BSG_SUB_PROTOCOL_SCSI_CMD; in construct_scsi_pt_obj_with_fd()
422 return (struct sg_pt_base *)ptp; in construct_scsi_pt_obj_with_fd()
434 struct sg_pt_linux_scsi * ptp = &vp->impl; in destruct_scsi_pt_obj() local
[all …]
Dsg_pt_linux_nvme.c193 mk_sense_asc_ascq(struct sg_pt_linux_scsi * ptp, int sk, int asc, int ascq, in mk_sense_asc_ascq() argument
196 bool dsense = ptp->scsi_dsense; in mk_sense_asc_ascq()
198 uint8_t * sbp = (uint8_t *)ptp->io_hdr.response; in mk_sense_asc_ascq()
200 ptp->io_hdr.device_status = SAM_STAT_CHECK_CONDITION; in mk_sense_asc_ascq()
201 n = ptp->io_hdr.max_response_len; in mk_sense_asc_ascq()
208 ptp->io_hdr.response_len = dsense ? 8 : ((n < 18) ? n : 18); in mk_sense_asc_ascq()
217 mk_sense_from_nvme_status(struct sg_pt_linux_scsi * ptp, int vb) in mk_sense_from_nvme_status() argument
220 bool dsense = ptp->scsi_dsense; in mk_sense_from_nvme_status()
223 uint8_t * sbp = (uint8_t *)ptp->io_hdr.response; in mk_sense_from_nvme_status()
225 ok = sg_nvme_status2scsi(ptp->nvme_status, &sstatus, &sk, &asc, &ascq); in mk_sense_from_nvme_status()
[all …]
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/NetBSD/
Dprotoent.cpp10 struct protoent *ptp = getprotoent(); in test1() local
12 printf("%s ", STRING_OR_NULL(ptp->p_name)); in test1()
14 for (char **cp = ptp->p_aliases; *cp != NULL; cp++) in test1()
17 printf("%d\n", ptp->p_proto); in test1()
22 struct protoent *ptp = getprotobyname("icmp"); in test2() local
24 printf("%s ", STRING_OR_NULL(ptp->p_name)); in test2()
26 for (char **cp = ptp->p_aliases; *cp != NULL; cp++) in test2()
29 printf("%d\n", ptp->p_proto); in test2()
34 struct protoent *ptp = getprotobynumber(1); in test3() local
36 printf("%s ", STRING_OR_NULL(ptp->p_name)); in test3()
[all …]
/external/cros/system_api/dbus/
Dmtp_file_entry.proto9 // This protobuf is for sending file entries from a mtp/ptp device to the
12 // The id for the file on the mtp/ptp device.
15 // The id of this file's parent on the mtp/ptp device.
Dmtp_storage_info.proto9 // This protobuf is for sending the characteristics of a storage from a mtp/ptp
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state_init.c750 ALLOC_STATE( ptp, tcl_add8, PTP_STATE_SIZE, "PTP/pointparams", 0 ); in r200InitState()
850 rmesa->hw.ptp.emit = ptp_emit; in r200InitState()
910 rmesa->hw.ptp.cmd[PTP_CMD_0] = in r200InitState()
912 rmesa->hw.ptp.cmd[PTP_CMD_1] = in r200InitState()
1274 rmesa->hw.ptp.cmd[PTP_EYE_X] = 0; in r200InitState()
1275 rmesa->hw.ptp.cmd[PTP_EYE_Y] = 0; in r200InitState()
1276 rmesa->hw.ptp.cmd[PTP_EYE_Z] = IEEE_ONE | 0x80000000; /* -1.0 */ in r200InitState()
1277 rmesa->hw.ptp.cmd[PTP_EYE_3] = 0; in r200InitState()
1280 rmesa->hw.ptp.cmd[PTP_VPORT_SCALE_0] = IEEE_ONE; in r200InitState()
1281 rmesa->hw.ptp.cmd[PTP_VPORT_SCALE_1] = IEEE_ONE; in r200InitState()
[all …]
Dr200_state.c558 GLfloat *fcmd = (GLfloat *)rmesa->hw.ptp.cmd; in r200PointSize()
568 R200_STATECHANGE( rmesa, ptp ); in r200PointSize()
579 GLfloat *fcmd = (GLfloat *)rmesa->hw.ptp.cmd; in r200PointParameter()
585 R200_STATECHANGE( rmesa, ptp ); in r200PointParameter()
592 R200_STATECHANGE( rmesa, ptp ); in r200PointParameter()
600 R200_STATECHANGE( rmesa, ptp ); in r200PointParameter()
601 GLfloat *fcmd = (GLfloat *)rmesa->hw.ptp.cmd; in r200PointParameter()
Dr200_context.h512 struct radeon_state_atom ptp; member
Dr200_cmdbuf.c103 insert_at_tail_if( &rmesa->radeon.hw.atomlist, &rmesa->hw.ptp ); in r200SetUpAtomList()
/external/libwebsockets/lib/misc/threadpool/
Dthreadpool.c736 struct lws_threadpool **ptp; in lws_threadpool_destroy() local
744 ptp = &tp->context->tp_list_head; in lws_threadpool_destroy()
745 while (*ptp) { in lws_threadpool_destroy()
746 if (*ptp == tp) { in lws_threadpool_destroy()
747 *ptp = tp->tp_list; in lws_threadpool_destroy()
750 ptp = &(*ptp)->tp_list; in lws_threadpool_destroy()
/external/tensorflow/tensorflow/python/ops/numpy_ops/
Dnp_math_ops_test.py266 np_math_ops.ptp(arg, *args, **kwargs), np.ptp(arg, *args, **kwargs))
Dnp_math_ops.py1124 def ptp(a, axis=None, keepdims=None): function
/external/strace/
DAndroid.bp165 "ptp.c",
Ddefs.h975 DECL_IOCTL(ptp);
DMakefile.in362 process_vm.c ptp.c ptrace.h quota.c readahead.c readlink.c \
464 strace-ptp.$(OBJEXT) strace-quota.$(OBJEXT) \
1388 process_vm.c ptp.c ptrace.h quota.c readahead.c readlink.c \
2434 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-ptp.Po@am__quote@
5802 strace-ptp.o: ptp.c
5803 …GS) $(CFLAGS) -MT strace-ptp.o -MD -MP -MF $(DEPDIR)/strace-ptp.Tpo -c -o strace-ptp.o `test -f 'p…
5804 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/strace-ptp.Tpo $(DEPDIR)/strace-ptp.Po
5807 … $(CPPFLAGS) $(strace_CFLAGS) $(CFLAGS) -c -o strace-ptp.o `test -f 'ptp.c' || echo '$(srcdir)/'`p…
5809 strace-ptp.obj: ptp.c
5810 …PFLAGS) $(strace_CFLAGS) $(CFLAGS) -MT strace-ptp.obj -MD -MP -MF $(DEPDIR)/strace-ptp.Tpo -c -o s…
[all …]
DMakefile.am267 ptp.c \
/external/cpuinfo/test/build.prop/
Dmoto-g-gen1.log214 ro.usb.ptp=0x2e83
Dmoto-e-gen1.log238 ro.usb.ptp=0x2e83
Dmoto-g-gen2.log233 ro.usb.ptp=0x2e83
Dmoto-g-gen3.log239 ro.usb.ptp=2e83
Dmoto-g-gen4.log359 ro.usb.ptp=2e83
Dmoto-g-gen5.log386 ro.usb.ptp=2e83
/external/linux-kselftest/android/
DREADME.md268 ### ptp/
/external/tensorflow/third_party/py/numpy/tf_numpy_api/
Dtensorflow.experimental.numpy.pbtxt712 name: "ptp"
/external/icu/icu4c/source/data/misc/
DlikelySubtags.txt1009 ptp{"ptp_Latn_ZZ"}

12