Lines Matching defs:len
902 uint32_t offset, uint32_t len, uint32_t *actlen)
911 if (temp > len)
912 temp = len;
937 uint32_t offset, uint32_t len)
946 if (temp > len)
947 temp = len;
1022 tx_data_copy_in(struct ucom_softc *sc, const void *tx_data, unsigned int len)
1029 if(len > UCOM_CONS_BUFSIZE)
1030 len = UCOM_CONS_BUFSIZE;
1036 if (temp >= len)
1037 temp = len;
1050 (const void *)((char *)tx_data + temp), len - temp);
1058 UCOM_CONS_BUFSIZE - ucom_cons_tx_high, tx_data, len);
1067 ucom_cons_tx_high += len;
1213 size_t len;
1233 len = strlen(argv[0]);
1234 if (len == 0) {
1239 buf = (char *)malloc(len + 2);
1245 ret = memcpy_s(buf, (len + 2), argv[0], len);
1251 buf[len] = 0xd;
1252 buf[len+1] = 0xa;
1254 p_ucom_tx_handler->length = len + 2;