Lines Matching refs:n
125 static String GetName( int n ) in GetName() argument
126 { return String( ppDevices[n]->name ? ppDevices[n]->name : "", osl_getThreadTextEncoding() ); } in GetName()
127 static String GetVendor( int n ) in GetVendor() argument
128 …{ return String( ppDevices[n]->vendor ? ppDevices[n]->vendor : "", osl_getThreadTextEncoding() ); } in GetVendor()
129 static String GetModel( int n ) in GetModel() argument
130 { return String( ppDevices[n]->model ? ppDevices[n]->model : "", osl_getThreadTextEncoding() ); } in GetModel()
131 static String GetType( int n ) in GetType() argument
132 { return String( ppDevices[n]->type ? ppDevices[n]->type : "", osl_getThreadTextEncoding() ); } in GetType()
134 String GetOptionName( int n ) in GetOptionName() argument
135 …{ return String( mppOptions[n]->name ? (char*)mppOptions[n]->name : "", osl_getThreadTextEncoding(… in GetOptionName()
136 String GetOptionTitle( int n ) in GetOptionTitle() argument
137 …{ return String( mppOptions[n]->title ? (char*)mppOptions[n]->title : "", osl_getThreadTextEncodin… in GetOptionTitle()
138 SANE_Value_Type GetOptionType( int n ) in GetOptionType() argument
139 { return mppOptions[n]->type; } in GetOptionType()
140 SANE_Unit GetOptionUnit( int n ) in GetOptionUnit() argument
141 { return mppOptions[n]->unit; } in GetOptionUnit()
142 String GetOptionUnitName( int n );
143 SANE_Int GetOptionCap( int n ) in GetOptionCap() argument
144 { return mppOptions[n]->cap; } in GetOptionCap()
145 SANE_Constraint_Type GetOptionConstraintType( int n ) in GetOptionConstraintType() argument
146 { return mppOptions[n]->constraint_type; } in GetOptionConstraintType()
147 const char** GetStringConstraint( int n ) in GetStringConstraint() argument
148 { return (const char**)mppOptions[n]->constraint.string_list; } in GetStringConstraint()
151 inline int GetOptionElements( int n );
179 inline int Sane::GetOptionElements( int n ) in GetOptionElements() argument
181 if( mppOptions[n]->type == SANE_TYPE_FIXED || in GetOptionElements()
182 mppOptions[n]->type == SANE_TYPE_INT ) in GetOptionElements()
184 return mppOptions[n]->size/sizeof( SANE_Word ); in GetOptionElements()