Searched refs:cmd_length (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/mesa/main/ |
D | glthread_shaderobj.c | 42 const GLint *cmd_length = (const GLint *) (cmd + 1); in _mesa_unmarshal_ShaderSource() local 43 const GLchar *cmd_strings = (const GLchar *) (cmd_length + cmd->count); in _mesa_unmarshal_ShaderSource() 50 cmd_strings += cmd_length[i]; in _mesa_unmarshal_ShaderSource() 53 (cmd->shader, cmd->count, string, cmd_length)); in _mesa_unmarshal_ShaderSource() 98 GLint *cmd_length = (GLint *) (cmd + 1); in _mesa_marshal_ShaderSource() local 99 GLchar *cmd_strings = (GLchar *) (cmd_length + count); in _mesa_marshal_ShaderSource() 104 memcpy(cmd_length, length_tmp, length_size); in _mesa_marshal_ShaderSource() 106 memcpy(cmd_strings, string[i], cmd_length[i]); in _mesa_marshal_ShaderSource() 107 cmd_strings += cmd_length[i]; in _mesa_marshal_ShaderSource()
|
/external/tensorflow/tensorflow/core/platform/ |
D | env.cc | 356 int cmd_length = read(fd, buf, PATH_MAX - 1); in GetExecutablePath() local 357 CHECK_NE(-1, cmd_length); in GetExecutablePath() 364 if (token_pos + token_len < cmd_length) { in GetExecutablePath()
|