Lines Matching defs:count
33 GLsizei count;
34 /* Followed by GLint length[count], then the contents of all strings,
46 const GLchar *cmd_strings = (const GLchar *) (cmd_length + cmd->count);
48 const GLchar * *string = malloc(cmd->count * sizeof(const GLchar *));
51 for (i = 0; i < cmd->count; ++i) {
56 (cmd->shader, cmd->count, string, cmd_length));
63 measure_ShaderSource_strings(GLsizei count, const GLchar * const *string,
69 for (i = 0; i < count; ++i) {
83 _mesa_marshal_ShaderSource(GLuint shader, GLsizei count,
86 /* TODO: how to report an error if count < 0? */
92 size_t length_size = count * sizeof(GLint);
95 measure_ShaderSource_strings(count, string, length, length_tmp);
98 if (total_cmd_size <= MARSHAL_MAX_CMD_SIZE && count > 0) {
103 GLchar *cmd_strings = (GLchar *) (cmd_length + count);
107 cmd->count = count;
109 for (i = 0; i < count; ++i) {
116 (shader, count, string, length_tmp));