Lines Matching refs:result
144 static SANE_Word recv_res_value = 0x2011; /**< Receive normal result - wValue */
145 static SANE_Word recv_res_index = 0x3f00; /**< Receive normal result - wIndex */
148 static SANE_Word recv_small_res_value = 0x2013; /**< Receive small result - wValue */
149 static SANE_Word recv_small_res_index = 0x3f00; /**< Receive small result - wIndex */
847 * @param result - pointer to the var that should receive our result
848 * @param def - default value that result should be in case of any error
853 decodeVal (char *src, char *opt, int what, void *result, void *def)
873 *((int *) result) = *((int *) def);
880 *((int *) result) = strtol (tmp2, 0, 0);
890 *((double *) result) = *((double *) def);
897 *((double *) result) = strtod (tmp2, 0);
907 *((SANE_Byte *) result) = *((SANE_Byte *) def);
914 *((SANE_Byte *) result) =
930 strcpy ((char *) result, (char *) tmp2);