Lines Matching refs:l

429 #define structTLcpy(x,y,l)    memcpy (x,y,l)  argument
430 #define structTLcpyovl(x,y,l) memmove (x,y,l) argument
435 #define structTRcpy(x,y,l) memcpy (y,x,l) argument
436 #define structTRcpyovl(x,y,l) memmove (y,x,l) argument
478 byteTLcpy(cmsg->m + cmsg->l, OFF); in pars_2_message()
479 cmsg->l++; in pars_2_message()
482 wordTLcpy(cmsg->m + cmsg->l, OFF); in pars_2_message()
483 cmsg->l += 2; in pars_2_message()
486 dwordTLcpy(cmsg->m + cmsg->l, OFF); in pars_2_message()
487 cmsg->l += 4; in pars_2_message()
491 *(cmsg->m + cmsg->l) = '\0'; in pars_2_message()
492 cmsg->l++; in pars_2_message()
494 structTLcpy(cmsg->m + cmsg->l, *(_cstruct *) OFF, 1 + **(_cstruct *) OFF); in pars_2_message()
495 cmsg->l += 1 + **(_cstruct *) OFF; in pars_2_message()
498 structTLcpy(cmsg->m + cmsg->l, s, 3 + *(__u16 *) (s + 1)); in pars_2_message()
499 cmsg->l += 3 + *(__u16 *) (s + 1); in pars_2_message()
505 *(cmsg->m + cmsg->l) = '\0'; in pars_2_message()
506 cmsg->l++; in pars_2_message()
511 unsigned _l = cmsg->l; in pars_2_message()
513 cmsg->l++; in pars_2_message()
516 _ls = cmsg->l - _l - 1; in pars_2_message()
534 cmsg->l = 8; in capi_cmsg2message()
540 wordTLcpy(msg + 0, &cmsg->l); in capi_cmsg2message()
556 byteTRcpy(cmsg->m + cmsg->l, OFF); in message_2_pars()
557 cmsg->l++; in message_2_pars()
560 wordTRcpy(cmsg->m + cmsg->l, OFF); in message_2_pars()
561 cmsg->l += 2; in message_2_pars()
564 dwordTRcpy(cmsg->m + cmsg->l, OFF); in message_2_pars()
565 cmsg->l += 4; in message_2_pars()
568 *(__u8 **) OFF = cmsg->m + cmsg->l; in message_2_pars()
570 if (cmsg->m[cmsg->l] != 0xff) in message_2_pars()
571 cmsg->l += 1 + cmsg->m[cmsg->l]; in message_2_pars()
573 cmsg->l += 3 + *(__u16 *) (cmsg->m + cmsg->l + 1); in message_2_pars()
577 if (cmsg->m[cmsg->l] == '\0') { in message_2_pars()
579 cmsg->l++; in message_2_pars()
582 unsigned _l = cmsg->l; in message_2_pars()
584 cmsg->l = (cmsg->m + _l)[0] == 255 ? cmsg->l + 3 : cmsg->l + 1; in message_2_pars()
598 cmsg->l = 8; in capi_message2cmsg()
606 wordTRcpy(msg + 0, &cmsg->l); in capi_message2cmsg()
837 bufprint("%-*s = 0x%x\n", slen, NAME, *(__u8 *) (cmsg->m + cmsg->l)); in protocol_message_2_pars()
838 cmsg->l++; in protocol_message_2_pars()
841 bufprint("%-*s = 0x%x\n", slen, NAME, *(__u16 *) (cmsg->m + cmsg->l)); in protocol_message_2_pars()
842 cmsg->l += 2; in protocol_message_2_pars()
845 bufprint("%-*s = 0x%lx\n", slen, NAME, *(__u32 *) (cmsg->m + cmsg->l)); in protocol_message_2_pars()
846 cmsg->l += 4; in protocol_message_2_pars()
850 if (cmsg->m[cmsg->l] == '\0') in protocol_message_2_pars()
853 printstruct(cmsg->m + cmsg->l); in protocol_message_2_pars()
855 if (cmsg->m[cmsg->l] != 0xff) in protocol_message_2_pars()
856 cmsg->l += 1 + cmsg->m[cmsg->l]; in protocol_message_2_pars()
858 cmsg->l += 3 + *(__u16 *) (cmsg->m + cmsg->l + 1); in protocol_message_2_pars()
864 if (cmsg->m[cmsg->l] == '\0') { in protocol_message_2_pars()
866 cmsg->l++; in protocol_message_2_pars()
870 unsigned _l = cmsg->l; in protocol_message_2_pars()
872 cmsg->l = (cmsg->m + _l)[0] == 255 ? cmsg->l + 3 : cmsg->l + 1; in protocol_message_2_pars()
889 cmsg.l = 8; in capi_message2str()
909 cmsg->l = 8; in capi_cmsg2str()