Home
last modified time | relevance | path

Searched refs:opd (Results 1 – 15 of 15) sorted by relevance

/external/libmtp/src/
Dlibmtp.c130 static uint16_t adjust_u16(uint16_t val, PTPObjectPropDesc *opd);
131 static uint32_t adjust_u32(uint32_t val, PTPObjectPropDesc *opd);
774 static uint16_t adjust_u16(uint16_t val, PTPObjectPropDesc *opd) in adjust_u16() argument
776 switch (opd->FormFlag) { in adjust_u16()
778 if (val < opd->FORM.Range.MinimumValue.u16) { in adjust_u16()
779 return opd->FORM.Range.MinimumValue.u16; in adjust_u16()
781 if (val > opd->FORM.Range.MaximumValue.u16) { in adjust_u16()
782 return opd->FORM.Range.MaximumValue.u16; in adjust_u16()
785 if (val % opd->FORM.Range.StepSize.u16 != 0) { in adjust_u16()
786 return val - (val % opd->FORM.Range.StepSize.u16); in adjust_u16()
[all …]
Dptp-pack.c797 ptp_unpack_OPD (PTPParams *params, unsigned char* data, PTPObjectPropDesc *opd, unsigned int opdlen) in ptp_unpack_OPD() argument
801 memset (opd, 0, sizeof(*opd)); in ptp_unpack_OPD()
802 opd->ObjectPropertyCode=dtoh16a(&data[PTP_opd_ObjectPropertyCode]); in ptp_unpack_OPD()
803 opd->DataType=dtoh16a(&data[PTP_opd_DataType]); in ptp_unpack_OPD()
804 opd->GetSet=dtoh8a(&data[PTP_opd_GetSet]); in ptp_unpack_OPD()
807 ret = ptp_unpack_DPV (params, data, &offset, opdlen, &opd->FactoryDefaultValue, opd->DataType); in ptp_unpack_OPD()
810 opd->GroupCode=dtoh32a(&data[offset]); in ptp_unpack_OPD()
813 opd->FormFlag=dtoh8a(&data[offset]); in ptp_unpack_OPD()
816 switch (opd->FormFlag) { in ptp_unpack_OPD()
818 …ret = ptp_unpack_DPV (params, data, &offset, opdlen, &opd->FORM.Range.MinimumValue, opd->DataType); in ptp_unpack_OPD()
[all …]
Dptp.c2440 PTPParams* params, uint16_t opc, uint16_t ofc, PTPObjectPropDesc *opd in ptp_mtp_getobjectpropdesc() argument
2454 ptp_unpack_OPD (params, data, opd, size); in ptp_mtp_getobjectpropdesc()
2732 ptp_free_objectpropdesc(PTPObjectPropDesc* opd) in ptp_free_objectpropdesc() argument
2736 ptp_free_devicepropvalue (opd->DataType, &opd->FactoryDefaultValue); in ptp_free_objectpropdesc()
2737 switch (opd->FormFlag) { in ptp_free_objectpropdesc()
2741 ptp_free_devicepropvalue (opd->DataType, &opd->FORM.Range.MinimumValue); in ptp_free_objectpropdesc()
2742 ptp_free_devicepropvalue (opd->DataType, &opd->FORM.Range.MaximumValue); in ptp_free_objectpropdesc()
2743 ptp_free_devicepropvalue (opd->DataType, &opd->FORM.Range.StepSize); in ptp_free_objectpropdesc()
2746 if (opd->FORM.Enum.SupportedValue) { in ptp_free_objectpropdesc()
2747 for (i=0;i<opd->FORM.Enum.NumberOfValues;i++) in ptp_free_objectpropdesc()
[all …]
/external/llvm/test/MC/PowerPC/
Dppc64-relocs-01.s4 .section .opd,"aw",@progbits
32 # The .opd entry for the 'access_int64' function creates 2 relocations:
Dtls-ie-obj.s12 .section .opd,"aw",@progbits
Dtls-gd-obj.s13 .section .opd,"aw",@progbits
Dtls-ld-obj.s12 .section .opd,"aw",@progbits
/external/llvm/test/CodeGen/PowerPC/
Dppc64-linux-func-size.ll3 ; CHECK: .section .opd,"aw",@progbits
/external/aac/libSBRenc/src/
Dps_bitenc.h129 INT opd[PS_MAX_ENVELOPES][PS_MAX_BANDS]; member
Dps_bitenc.cpp533 psOut->opd[env], in encodeIpdOpd()
/external/ltrace/
Dltrace-elf.h60 Elf_Data *opd; member
Dltrace-elf.c655 lte->opd = elf_rawdata(scn, NULL); in ltelf_read_elf()
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dsymbol-elf.c790 u64 *opd = opddata->d_buf + offset; in dso__load_sym() local
791 sym.st_value = DSO__SWAP(dso, u64, *opd); in dso__load_sym()
/external/icu/icu4c/source/test/testdata/
Dcollationtest.txt2088 <1 opd
/external/libmtp/
DChangeLog1261 design pattern. Probably fixed a few opd memory leaks along the road.