Home
last modified time | relevance | path

Searched refs:opd (Results 1 – 20 of 20) 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/valgrind/VEX/priv/
Dguest_tilegx_toIR.c279 ULong opd[4]; in disInstr_TILEGX_WRK() local
410 opd[0] = opd[1] = opd[2] = opd[3] = -1; in disInstr_TILEGX_WRK()
417 opd[opi] = decoded[n].operand_values[opi]; in disInstr_TILEGX_WRK()
458 opd[0] = cins; in disInstr_TILEGX_WRK()
515 opd[0] = cins; in disInstr_TILEGX_WRK()
1979 store(getIReg(opd[0]), narrowTo(Ity_I8, getIReg(opd[1]))); in disInstr_TILEGX_WRK()
1980 assign(t2, binop(Iop_Add64, getIReg(opd[0]), mkU64(opd[2]))); in disInstr_TILEGX_WRK()
1981 MARK_REG_WB(opd[0], t2); in disInstr_TILEGX_WRK()
1988 store(getIReg(opd[0]), narrowTo(Ity_I16, getIReg(opd[1]))); in disInstr_TILEGX_WRK()
1989 assign(t2, binop(Iop_Add64, getIReg(opd[0]), mkU64(opd[2]))); in disInstr_TILEGX_WRK()
[all …]
Dtilegx_disasm.c7681 const struct tilegx_operand *opd = in encode_insn_tilegx() local
7684 decoded.operands[i] = opd; in encode_insn_tilegx()
7685 ULong x = opd->insert(op); in encode_insn_tilegx()
/external/elfutils/src/tests/
Drun-dwflsyms.sh428 13: FUNC GLOBAL _start (4) 0x103d0, rel: 0x103d0 (.opd) [0x2d8, rel: 0 (.text)]
462 13: FUNC GLOBAL _start (4) 0x461c03d0, rel: 0x103d0 (.opd) [0x461b02d8, rel: 0 (.text)]
503 32: FUNC GLOBAL cleanup_module (24) 0x160, rel: 0x10 (.opd)
505 34: FUNC GLOBAL init_module (24) 0x150, rel: 0 (.opd)
561 36: FUNC LOCAL deregister_tm_clones (0) 0x20040, rel: 0x20040 (.opd) [0x910, rel: 0x70 (.text)]
562 37: FUNC LOCAL register_tm_clones (0) 0x20050, rel: 0x20050 (.opd) [0x980, rel: 0xe0 (.text)]
563 38: FUNC LOCAL __do_global_dtors_aux (0) 0x20060, rel: 0x20060 (.opd) [0x9f0, rel: 0x150 (.text)]
566 41: FUNC LOCAL frame_dummy (0) 0x20070, rel: 0x20070 (.opd) [0xa50, rel: 0x1b0 (.text)]
571 46: FUNC LOCAL foo (76) 0x20090, rel: 0x20090 (.opd) [0xb34, rel: 0x294 (.text)]
582 57: FUNC GLOBAL __libc_csu_fini (16) 0x200c0, rel: 0x200c0 (.opd) [0xcd0, rel: 0x430 (.text)]
[all …]
Drun-addrname-test.sh320 _start (.opd)
322 _start+0x3 (.opd)
332 _start (.opd)
/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/src/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/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/data/
Dcollationtest.txt2088 <1 opd
/external/libmtp/
DChangeLog1261 design pattern. Probably fixed a few opd memory leaks along the road.