Lines Matching +defs:temp +defs:string
41 #include <string.h>
594 GLfloat temp;
596 (*get_frame_usage)( dpy, win, & temp );
597 frame_usage += temp;
658 * Fill in the table of extension strings from a supplied extensions string
661 * \param string String of GLX extensions.
665 make_extension_table( const char * string )
673 /* Count the number of spaces in the string. That gives a base-line
674 * figure for the number of extension in the string.
678 for ( i = 0 ; string[i] != NUL ; i++ ) {
679 if ( string[i] == ' ' ) {
692 while ( string[ base ] != NUL ) {
693 /* Determine the length of the next extension string.
697 ; (string[ base + i ] != NUL) && (string[ base + i ] != ' ')
703 /* If the string was non-zero length, add it to the table. We
705 * the string or if there are two (or more) spaces next to each
706 * other in the string.
722 (void) memcpy( string_tab[ idx ], & string[ base ], i );
728 /* Skip to the start of the next extension string.
732 ; (string[ base ] == ' ') && (string[ base ] != NUL)
744 * Determine of an extension is supported. The extension string table