binary 61 base/file_util.cc std::ios::in | std::ios::binary); binary 63 base/file_util.cc std::ios::in | std::ios::binary); binary 109 base/values_unittest.cc scoped_ptr<BinaryValue> binary(new BinaryValue()); binary 110 base/values_unittest.cc ASSERT_TRUE(binary.get()); binary 111 base/values_unittest.cc ASSERT_EQ(NULL, binary->GetBuffer()); binary 112 base/values_unittest.cc ASSERT_EQ(0U, binary->GetSize()); binary 116 base/values_unittest.cc binary.reset(new BinaryValue(scoped_ptr<char[]>(buffer), 15)); binary 117 base/values_unittest.cc ASSERT_TRUE(binary.get()); binary 118 base/values_unittest.cc ASSERT_TRUE(binary->GetBuffer()); binary 119 base/values_unittest.cc ASSERT_EQ(buffer, binary->GetBuffer()); binary 120 base/values_unittest.cc ASSERT_EQ(15U, binary->GetSize()); binary 124 base/values_unittest.cc binary.reset(BinaryValue::CreateWithCopiedBuffer(stack_buffer, 42)); binary 125 base/values_unittest.cc ASSERT_TRUE(binary.get()); binary 126 base/values_unittest.cc ASSERT_TRUE(binary->GetBuffer()); binary 127 base/values_unittest.cc ASSERT_NE(stack_buffer, binary->GetBuffer()); binary 128 base/values_unittest.cc ASSERT_EQ(42U, binary->GetSize()); binary 129 base/values_unittest.cc ASSERT_EQ(0, memcmp(stack_buffer, binary->GetBuffer(), binary->GetSize())); binary 292 chrome/app/chrome_main_delegate.cc base::FilePath binary(command_line.argv()[0]); binary 293 chrome/app/chrome_main_delegate.cc execlp("man", "man", binary.BaseName().value().c_str(), NULL); binary 683 chrome/browser/extensions/api/extension_action/extension_action_api.cc base::BinaryValue* binary; binary 684 chrome/browser/extensions/api/extension_action/extension_action_api.cc if (canvas_set->GetBinary(kIconSizes[i].size_string, &binary)) { binary 685 chrome/browser/extensions/api/extension_action/extension_action_api.cc IPC::Message pickle(binary->GetBuffer(), binary->GetSize()); binary 772 chrome/browser/ui/webui/about_ui.cc base::FilePath binary = CommandLine::ForCurrentProcess()->GetProgram(); binary 776 chrome/browser/ui/webui/about_ui.cc base::ASCIIToUTF16(binary.BaseName().value()))); binary 273 chrome/test/chromedriver/capabilities.cc parser_map["binary"] = base::Bind(&ParseFilePath, &capabilities->binary); binary 84 chrome/test/chromedriver/capabilities.h base::FilePath binary; binary 88 chrome/test/chromedriver/chrome_launcher.cc base::FilePath program = capabilities.binary; binary 65 cloud_print/virtual_driver/win/install/setup.cc base::FilePath GetSystemPath(const base::string16& binary) { binary 71 cloud_print/virtual_driver/win/install/setup.cc return path.Append(binary); binary 74 cloud_print/virtual_driver/win/install/setup.cc base::FilePath GetNativeSystemPath(const base::string16& binary) { binary 76 cloud_print/virtual_driver/win/install/setup.cc return GetSystemPath(binary); binary 84 cloud_print/virtual_driver/win/install/setup.cc return path.Append(L"sysnative").Append(binary); binary 54 components/breakpad/tools/crash_service.cc std::ios_base::out | std::ios_base::app | std::ios::binary); binary 324 content/browser/indexed_db/indexed_db_leveldb_coding.cc EncodeBinary(value.binary(), into); binary 516 content/browser/indexed_db/indexed_db_leveldb_coding.cc std::string binary; binary 517 content/browser/indexed_db/indexed_db_leveldb_coding.cc if (!DecodeBinary(slice, &binary)) binary 519 content/browser/indexed_db/indexed_db_leveldb_coding.cc *value = make_scoped_ptr(new IndexedDBKey(binary)); binary 50 content/child/indexed_db/indexed_db_key_builders.cc std::string(key.binary().data(), key.binary().size())); binary 78 content/child/indexed_db/indexed_db_key_builders.cc return WebIDBKey::createBinary(key.binary()); binary 83 content/common/indexed_db/indexed_db_key.cc IndexedDBKey::IndexedDBKey(const std::string& binary) binary 85 content/common/indexed_db/indexed_db_key.cc binary_(binary), binary 87 content/common/indexed_db/indexed_db_key.cc (binary.length() * sizeof(std::string::value_type))) {} binary 29 content/common/indexed_db/indexed_db_key.h explicit IndexedDBKey(const std::string& binary); binary 45 content/common/indexed_db/indexed_db_key.h const std::string& binary() const { return binary_; } binary 40 content/common/indexed_db/indexed_db_param_traits.cc WriteParam(m, p.binary()); binary 78 content/common/indexed_db/indexed_db_param_traits.cc std::string binary; binary 79 content/common/indexed_db/indexed_db_param_traits.cc if (!ReadParam(m, iter, &binary)) binary 81 content/common/indexed_db/indexed_db_param_traits.cc *r = IndexedDBKey(binary); binary 123 content/common/indexed_db/indexed_db_param_traits.cc LogParam(p.binary(), l); binary 151 content/renderer/media/rtc_data_channel_handler.cc if (buffer.binary) { binary 392 gpu/command_buffer/client/gles2_c_lib_autogen.h const void* binary, binary 394 gpu/command_buffer/client/gles2_c_lib_autogen.h gles2::GetGLContext()->ShaderBinary(n, shaders, binaryformat, binary, length); binary 1195 gpu/command_buffer/client/gles2_implementation.cc GLsizei n, const GLuint* shaders, GLenum binaryformat, const void* binary, binary 1201 gpu/command_buffer/client/gles2_implementation.cc << static_cast<const void*>(binary) << ", " binary 1222 gpu/command_buffer/client/gles2_implementation.cc memcpy(shader_data, binary, length); binary 318 gpu/command_buffer/client/gles2_implementation_autogen.h const void* binary, binary 222 gpu/command_buffer/client/gles2_interface_autogen.h const void* binary, binary 232 gpu/command_buffer/client/gles2_interface_stub_autogen.h const void* binary, binary 232 gpu/command_buffer/client/gles2_trace_implementation_autogen.h const void* binary, binary 648 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h const void* binary, binary 651 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h gl_->ShaderBinary(n, shaders, binaryformat, binary, length); binary 8993 gpu/command_buffer/service/gles2_cmd_decoder.cc const void* binary = GetSharedMemoryAs<const void*>( binary 8995 gpu/command_buffer/service/gles2_cmd_decoder.cc if (shaders == NULL || binary == NULL) { binary 199 gpu/command_buffer/service/memory_program_cache.cc scoped_ptr<char[]> binary(new char[length]); binary 204 gpu/command_buffer/service/memory_program_cache.cc binary.get()); binary 244 gpu/command_buffer/service/memory_program_cache.cc proto->set_program(binary.get(), length); binary 254 gpu/command_buffer/service/memory_program_cache.cc binary.release(), binary 308 gpu/command_buffer/service/memory_program_cache.cc scoped_ptr<char[]> binary(new char[proto->program().length()]); binary 309 gpu/command_buffer/service/memory_program_cache.cc memcpy(binary.get(), proto->program().c_str(), proto->program().length()); binary 314 gpu/command_buffer/service/memory_program_cache.cc binary.release(), binary 33 gpu/command_buffer/service/memory_program_cache_unittest.cc const char* binary) binary 36 gpu/command_buffer/service/memory_program_cache_unittest.cc binary_(binary) { } binary 42 gpu/command_buffer/service/memory_program_cache_unittest.cc GLvoid* binary) { binary 47 gpu/command_buffer/service/memory_program_cache_unittest.cc memcpy(binary, binary_, length_); binary 52 gpu/command_buffer/service/memory_program_cache_unittest.cc const GLvoid* binary, binary 55 gpu/command_buffer/service/memory_program_cache_unittest.cc EXPECT_EQ(0, memcmp(binary_, binary, length)); binary 97 ipc/ipc_message_utils.cc const base::BinaryValue* binary = binary 99 ipc/ipc_message_utils.cc m->WriteData(binary->GetBuffer(), static_cast<int>(binary->GetSize())); binary 924 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc const void* binary, binary 928 mojo/examples/pepper_container_app/ppb_opengles2_thunk.cc glShaderBinary(n, shaders, binaryformat, binary, length); binary 341 mojo/public/c/gles2/gles2_call_visitor_autogen.h const void* binary, binary 343 mojo/public/c/gles2/gles2_call_visitor_autogen.h (n, shaders, binaryformat, binary, length)) binary 327 ppapi/c/ppb_opengles2.h const void* binary, binary 610 ppapi/lib/gl/gles2/gles2.c const void* binary, binary 613 ppapi/lib/gl/gles2/gles2.c glGetCurrentContextPPAPI(), n, shaders, binaryformat, binary, length); binary 736 ppapi/lib/gl/include/GLES2/gl2.h GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length); binary 739 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); binary 740 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length); binary 743 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); binary 744 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length); binary 937 ppapi/shared_impl/ppb_opengles2_shared.cc const void* binary, binary 941 ppapi/shared_impl/ppb_opengles2_shared.cc ToGles2Impl(&enter)->ShaderBinary(n, shaders, binaryformat, binary, length); binary 65 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc const base::BinaryValue* binary = binary 67 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc uint32_t size = static_cast<uint32_t>(binary->GetSize()); binary 68 ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc const char* buffer = binary->GetBuffer(); binary 264 ppapi/tests/test_websocket.cc PP_Var TestWebSocket::CreateVarBinary(const std::vector<uint8_t>& binary) { binary 265 ppapi/tests/test_websocket.cc PP_Var var = arraybuffer_interface_->Create(binary.size()); binary 267 ppapi/tests/test_websocket.cc std::copy(binary.begin(), binary.end(), var_data); binary 289 ppapi/tests/test_websocket.cc const std::vector<uint8_t>& binary) { binary 292 ppapi/tests/test_websocket.cc if (!success || buffer_size != binary.size()) binary 294 ppapi/tests/test_websocket.cc if (!std::equal(binary.begin(), binary.end(), binary 814 ppapi/tests/test_websocket.cc std::vector<uint8_t> binary(256); binary 815 ppapi/tests/test_websocket.cc for (uint32_t i = 0; i < binary.size(); ++i) binary 816 ppapi/tests/test_websocket.cc binary[i] = i; binary 817 ppapi/tests/test_websocket.cc PP_Var message_var = CreateVarBinary(binary); binary 828 ppapi/tests/test_websocket.cc ASSERT_TRUE(AreEqualWithBinary(received_message, binary)); binary 846 ppapi/tests/test_websocket.cc std::vector<uint8_t> binary(256); binary 847 ppapi/tests/test_websocket.cc for (uint32_t i = 0; i < binary.size(); ++i) binary 848 ppapi/tests/test_websocket.cc binary[i] = i; binary 849 ppapi/tests/test_websocket.cc PP_Var binary_var = CreateVarBinary(binary); binary 885 ppapi/tests/test_websocket.cc ASSERT_TRUE(AreEqualWithBinary(received_message, binary)); binary 1186 ppapi/tests/test_websocket.cc std::vector<uint8_t> binary(256); binary 1187 ppapi/tests/test_websocket.cc for (uint32_t i = 0; i < binary.size(); ++i) binary 1188 ppapi/tests/test_websocket.cc binary[i] = i; binary 1190 ppapi/tests/test_websocket.cc pp::Var(pp::PASS_REF, CreateVarBinary(binary))); binary 1210 ppapi/tests/test_websocket.cc ASSERT_TRUE(AreEqualWithBinary(binary_receive_var.pp_var(), binary)); binary 1504 ppapi/tests/test_websocket.cc std::vector<uint8_t> binary(len); binary 1506 ppapi/tests/test_websocket.cc binary[i] = i; binary 1509 ppapi/tests/test_websocket.cc std::copy(binary.begin(), binary.end(), var_data); binary 1520 ppapi/tests/test_websocket.cc ASSERT_TRUE(AreEqualWithBinary(events[1].var.pp_var(), binary)); binary 28 ppapi/tests/test_websocket.h PP_Var CreateVarBinary(const std::vector<uint8_t>& binary); binary 32 ppapi/tests/test_websocket.h const std::vector<uint8_t>& binary); binary 146 remoting/base/breakpad_win.cc HMODULE binary = base::GetModuleFromAddress( binary 149 remoting/base/breakpad_win.cc FileVersionInfo::CreateFileVersionInfoForModule(binary)); binary 107 remoting/host/host_main.cc base::FilePath binary = binary 116 remoting/host/host_main.cc info.lpFile = binary.value().c_str(); binary 122 remoting/host/host_main.cc LOG_GETLASTERROR(ERROR) << "Unable to launch '" << binary.value() << "'"; binary 21 remoting/host/ipc_constants.cc bool GetInstalledBinaryPath(const base::FilePath::StringType& binary, binary 29 remoting/host/ipc_constants.cc base::FilePath path = dir_path.Append(binary); binary 22 remoting/host/ipc_constants.h bool GetInstalledBinaryPath(const base::FilePath::StringType& binary, binary 619 remoting/host/setup/me2me_native_messaging_host.cc base::FilePath binary = current_command_line->GetProgram(); binary 628 remoting/host/setup/me2me_native_messaging_host.cc info.lpFile = binary.value().c_str(); binary 634 remoting/host/setup/me2me_native_messaging_host.cc LOG_GETLASTERROR(ERROR) << "Unable to launch '" << binary.value() << "'"; binary 336 remoting/host/win/elevated_controller.cc HMODULE binary = base::GetModuleFromAddress( binary 339 remoting/host/win/elevated_controller.cc FileVersionInfo::CreateFileVersionInfoForModule(binary)); binary 453 remoting/host/win/launch_process_with_token.cc bool LaunchProcessWithToken(const base::FilePath& binary, binary 463 remoting/host/win/launch_process_with_token.cc base::FilePath::StringType application_name = binary.value(); binary 34 remoting/host/win/launch_process_with_token.h bool LaunchProcessWithToken(const base::FilePath& binary, binary 475 third_party/khronos/GLES2/gl2.h GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); binary 229 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); binary 230 third_party/khronos/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLint length); binary 232 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); binary 233 third_party/khronos/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const void *binary, GLint length); binary 89 tools/gn/generate_test_gn_data.cc std::ios_base::out | std::ios_base::binary); binary 105 tools/gn/ninja_build_writer.cc std::ios_base::out | std::ios_base::binary); binary 111 tools/gn/ninja_build_writer.cc std::ios_base::out | std::ios_base::binary); binary 55 tools/gn/ninja_toolchain_writer.cc std::ios_base::out | std::ios_base::binary); binary 175 tools/gn/scope.cc const BinaryOpNode* binary = i->second.value.origin()->AsBinaryOp(); binary 176 tools/gn/scope.cc if (binary && binary->op().type() == Token::EQUAL) { binary 178 tools/gn/scope.cc *err = Err(binary->left()->GetRange(), "Assignment had no effect.", binary 733 tools/ipc_fuzzer/mutate/generate.cc std::string binary; binary 734 tools/ipc_fuzzer/mutate/generate.cc if (!GenerateParam(&binary, generator)) binary 736 tools/ipc_fuzzer/mutate/generate.cc *p = content::IndexedDBKey(binary);