Lines Matching defs:src
844 * @param src - pointer to the source string to check
845 * @param opt - string that keeps the option name to check src for
853 decodeVal (char *src, char *opt, int what, void *result, void *def)
859 name = (const char *) &src[strlen ("option")];
945 * @param src - string that keeps the option name to check src for
952 decodeDevName (char *src, char *dest)
957 if (0 == strncmp ("device", src, 6))
959 name = (const char *) &src[strlen ("device")];
1957 unpack_8_mono (SANE_Byte * src, unsigned int *dst, SANE_Int pixels_per_line)
1960 for (; pixels_per_line > 0; ++src, ++dst, --pixels_per_line)
1962 *dst = (((unsigned int) *src) << 8) | *src;
1967 unpack_16_le_mono (SANE_Byte * src, unsigned int *dst,
1971 for (; pixels_per_line > 0; src += 2, dst++, --pixels_per_line)
1973 *dst = (((unsigned int) src[1]) << 8) | src[0];