Searched refs:cmd_length (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/mesa/main/ |
D | marshal.c | 121 const GLint *cmd_length = (const GLint *) (cmd + 1); in _mesa_unmarshal_ShaderSource() local 122 const GLchar *cmd_strings = (const GLchar *) (cmd_length + cmd->count); in _mesa_unmarshal_ShaderSource() 129 cmd_strings += cmd_length[i]; in _mesa_unmarshal_ShaderSource() 132 (cmd->shader, cmd->count, string, cmd_length)); in _mesa_unmarshal_ShaderSource() 177 GLint *cmd_length = (GLint *) (cmd + 1); in _mesa_marshal_ShaderSource() local 178 GLchar *cmd_strings = (GLchar *) (cmd_length + count); in _mesa_marshal_ShaderSource() 183 memcpy(cmd_length, length_tmp, length_size); in _mesa_marshal_ShaderSource() 185 memcpy(cmd_strings, string[i], cmd_length[i]); in _mesa_marshal_ShaderSource() 186 cmd_strings += cmd_length[i]; in _mesa_marshal_ShaderSource()
|
/external/tensorflow/tensorflow/core/platform/ |
D | env.cc | 327 int cmd_length = read(fd, buf, PATH_MAX - 1); in GetExecutablePath() local 328 CHECK_NE(-1, cmd_length); in GetExecutablePath() 335 if (token_pos + token_len < cmd_length) { in GetExecutablePath()
|