Home
last modified time | relevance | path

Searched refs:CONTEXT_BLOCK_SIZE (Results 1 – 3 of 3) sorted by relevance

/external/libmtp/src/
Dlibusb-glue.c814 #define CONTEXT_BLOCK_SIZE CONTEXT_BLOCK_SIZE_1+CONTEXT_BLOCK_SIZE_2 macro
847 bytes = malloc(CONTEXT_BLOCK_SIZE); in ptp_read_func()
853 if (size - curread < CONTEXT_BLOCK_SIZE) in ptp_read_func()
877 toread = CONTEXT_BLOCK_SIZE; in ptp_read_func()
974 bytes = malloc(CONTEXT_BLOCK_SIZE); in ptp_write_func()
981 if (towrite > CONTEXT_BLOCK_SIZE) { in ptp_write_func()
982 towrite = CONTEXT_BLOCK_SIZE; in ptp_write_func()
Dlibusb1-glue.c830 #define CONTEXT_BLOCK_SIZE CONTEXT_BLOCK_SIZE_1+CONTEXT_BLOCK_SIZE_2 macro
862 bytes = malloc(CONTEXT_BLOCK_SIZE); in ptp_read_func()
868 if (size - curread < CONTEXT_BLOCK_SIZE) in ptp_read_func()
892 toread = CONTEXT_BLOCK_SIZE; in ptp_read_func()
990 bytes = malloc(CONTEXT_BLOCK_SIZE); in ptp_write_func()
999 if (towrite > CONTEXT_BLOCK_SIZE) { in ptp_write_func()
1000 towrite = CONTEXT_BLOCK_SIZE; in ptp_write_func()
Dlibopenusb1-glue.c780 #define CONTEXT_BLOCK_SIZE CONTEXT_BLOCK_SIZE_1+CONTEXT_BLOCK_SIZE_2 macro
815 bytes = malloc(CONTEXT_BLOCK_SIZE); in ptp_read_func()
821 if (size - curread < CONTEXT_BLOCK_SIZE) { in ptp_read_func()
843 toread = CONTEXT_BLOCK_SIZE; in ptp_read_func()
959 bytes = malloc(CONTEXT_BLOCK_SIZE); in ptp_write_func()
968 if (towrite > CONTEXT_BLOCK_SIZE) { in ptp_write_func()
969 towrite = CONTEXT_BLOCK_SIZE; in ptp_write_func()