Home
last modified time | relevance | path

Searched refs:pd (Results 1 – 6 of 6) sorted by relevance

/system/libufdt/sysdeps/
Dlibufdt_sysdeps_vendor.c100 char *pa, *pb, *pc, *pd, *pl, *pm, *pn; in qsort() local
127 pc = pd = (char *)a + (n - 1) * es; in qsort()
140 swap(pc, pd); in qsort()
141 pd -= es; in qsort()
160 r = min(pd - pc, pn - pd - (int)es); in qsort()
163 if ((r = pd - pc) > (int)es) { in qsort()
/system/bt/stack/include/
Dbtm_api_types.h267 #define BTM_COD_MINOR_CLASS(u8, pd) \ argument
268 { (u8) = (pd)[2] & 0xFC; }
269 #define BTM_COD_MAJOR_CLASS(u8, pd) \ argument
270 { (u8) = (pd)[1] & 0x1F; }
271 #define BTM_COD_SERVICE_CLASS(u16, pd) \ argument
273 (u16) = (pd)[0]; \
275 (u16) += (pd)[1] & 0xE0; \
279 #define FIELDS_TO_COD(pd, mn, mj, sv) \ argument
281 (pd)[2] = mn; \
282 (pd)[1] = (mj) + ((sv)&BTM_COD_SERVICE_CLASS_LO_B); \
[all …]
/system/bpf/libbpf_android/
DLoader.cpp279 static int readProgDefs(ifstream& elfFile, vector<struct bpf_prog_def>& pd) { in readProgDefs() argument
285 pd.resize(pdData.size() / sizeof(struct bpf_prog_def)); in readProgDefs()
286 memcpy(pd.data(), pdData.data(), pdData.size()); in readProgDefs()
341 vector<struct bpf_prog_def> pd; in readCodeSections() local
342 ret = readProgDefs(elfFile, pd); in readCodeSections()
346 if (!pd.empty() && ret) return ret; in readCodeSections()
372 cs_temp.prog_def = pd[i]; in readCodeSections()
/system/nfc/src/gki/ulinux/
Dgki_ulinux.cc1141 uint8_t* pd = ps + shift_amount; in GKI_shiftdown() local
1144 for (xx = 0; xx < len; xx++) *pd-- = *ps--; in GKI_shiftdown()
1156 uint8_t* pd = p_dest; in GKI_shiftup() local
1159 for (xx = 0; xx < len; xx++) *pd++ = *ps++; in GKI_shiftup()
/system/nfc/src/nfc/ndef/
Dndef_utils.cc44 uint8_t* pd = ps + shift_amount; in shiftdown() local
47 for (xx = 0; xx < len; xx++) *pd-- = *ps--; in shiftdown()
59 uint8_t* pd = p_dest; in shiftup() local
62 for (xx = 0; xx < len; xx++) *pd++ = *ps++; in shiftup()
/system/nfc/src/nfc/nfc/
Dnfc_ncif.cc1649 uint8_t *ps, *pd; in nfc_ncif_proc_data() local
1682 pd = (uint8_t*)(p_max + 1) + p_max->offset; in nfc_ncif_proc_data()
1684 memcpy(pd, ps, p_last->len); in nfc_ncif_proc_data()
1705 pd = (uint8_t*)(p_last + 1) + p_last->offset + p_last->len; in nfc_ncif_proc_data()
1706 memcpy(pd, ps, len); in nfc_ncif_proc_data()