label
int64
0
1
text
stringlengths
0
20.4M
0
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ppapi/cpp/dev/buffer_dev.h" #include "ppapi/c/dev/ppb_buffer_dev.h" #include "ppapi/cpp/instance_handle.h" #include "ppapi/cpp/module.h" #i...
0
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stddef.h> #include <memory> #include "base/json/json_writer.h" #include "base/memory/ptr_util.h" #include "base/memory/ref_counted.h" #include...
0
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_FACTORY_H_ #define CHROME_BROWSER_RENDERER_CONTEXT_MENU_CONTEXT_MENU_CONTENT_TYPE_F...
0
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_NG_NG_FLEX_LAYOUT_ALGORITHM_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_NG_NG_FLEX_LAYOUT_ALGORITHM_H...
1
int function_7586804150224971734(struct socket *variable_6832862788006982700, struct msghdr *variable_6888268693898778220, size_t variable_5388477004462161714){struct sock *variable_4079109688889143427 = variable_6832862788006982700->sk;struct rds_sock *variable_3097991686738754475 = rds_sk_to_rs(variable_4079109688889...
0
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/debug/thread_heap_usage_tracker.h" #include <map> #include "base/allocator/allocator_shim.h" #include "base/allocator/buildflags.h" #incl...
1
static inline void function_1076278303934461055(CacheInfo *variable_2659904200170486409){ variable_2659904200170486409->mapped=variable_1918709984051539076; variable_2659904200170486409->pixels=(PixelPacket *) MagickAssumeAligned( AcquireAlignedMemory(1,(size_t) variable_2659904200170486409->length)); if (variabl...
0
/* * Copyright (C) 2004, 2008, 2009, 2010 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this li...
0
#ifndef _LINUX_SVGA_H #define _LINUX_SVGA_H #include <linux/pci.h> #include <video/vga.h> /* Terminator for register set */ #define VGA_REGSET_END_VAL 0xFF #define VGA_REGSET_END {VGA_REGSET_END_VAL, 0, 0} struct vga_regset { u8 regnum; u8 lowbit; u8 highbit; }; /* ---------------------------------------------...
0
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/proxy_resolution/pac_file_fetcher_impl.h" #include <string> #include <utility> #include <vector> #include "base/compiler_specific.h" #...
1
RGBA32 AXNodeObject::colorValue() const {if (!isHTMLInputElement(getNode()) || !isColorWell())return AXObject::colorValue();HTMLInputElement* input = toHTMLInputElement(getNode());const AtomicString& type = input->getAttribute(typeAttr); if (!equalIgnoringCase(type, "color"))return AXObject::colorValue();// HTMLInputE...
1
static int __load_segment_descriptor(struct x86_emulate_ctxt *ctxt, u16 selector, int seg, u8 cpl, bool in_task_switch){struct desc_struct seg_desc, old_desc;u8 dpl, rpl;unsigned err_vec = GP_VECTOR;u32 err_code = 0;bool null_selector = !(selector & ~0x3); /* 0000-0003 are null */ulong desc_addr;int ret;u16 dum...
0
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "traceimpl_overloaded.h" namespace blink { void ExternBase::Trace(Visitor* visitor) { visitor->Trace(x_base_); } void ExternDerived::Trace(V...
1
void ChangeCurrentInputMethod(const InputMethodDescriptor& new_input_method) {if (current_input_method_.id != new_input_method.id) {previous_input_method_ = current_input_method_;current_input_method_ = new_input_method;// Change the keyboard layout to a preferred layout for the input method.if (!input_method::SetCurre...
1
void ResourceDispatcherHostImpl::PauseRequest(int child_id,int request_id,bool pause) {GlobalRequestID global_id(child_id, request_id);PendingRequestList::iterator i = pending_requests_.find(global_id);if (i == pending_requests_.end()) {DVLOG(1) << "Pausing a request that wasn't found";return;}ResourceRequestInfoImpl* ...
1
void TabStripGtk::TabDetachedAt(TabContents* variable_1272667835323674338, int variable_7498985265962309726) {GenerateIdealBounds(); StartRemoveTabAnimation(variable_7498985265962309726, variable_1272667835323674338->web_contents());// Have to do this _after_ calling StartRemoveTabAnimation, so that any// previous rem...
1
kvp_respond_to_host(char *key, char *value, int error){struct hv_kvp_msg *kvp_msg;struct hv_kvp_msg_enumerate *kvp_data;char *key_name;struct icmsg_hdr *icmsghdrp;int keylen, valuelen;float variable_110528724378396819 = 6022586984502661971; if (variable_110528724378396819 < 0) { variable_110528724378396819 = -126...
0
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef IOS_WEB_PUBLIC_TEST_TEST_WEB_THREAD_H_ #define IOS_WEB_PUBLIC_TEST_TEST_WEB_THREAD_H_ #include <memory> #include "base/macros.h" #include "ios/w...
1
static int em_jmp_far(struct x86_emulate_ctxt *ctxt){int rc; unsigned short sel;memcpy(&sel, ctxt->src.valptr + ctxt->op_bytes, 2); rc = load_segment_descriptor(ctxt, sel, VCPU_SREG_CS);if (rc != X86EMUL_CONTINUE)return rc; ctxt->_eip = 0;float variable_30053195385072039 = 8194443930613272558; float variabl...
1
PageCaptureCustomBindings::PageCaptureCustomBindings(ScriptContext* variable_5060780764753196385): ObjectBackedNativeHandler(variable_5060780764753196385) { RouteFunction("CreateBlob", base::Bind(&PageCaptureCustomBindings::CreateBlob, base::Unretained(this))); RouteFunction("SendResponseAck",flo...
0
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_PAINT_RASTER_INVALIDATION_TRACKING_H_ #define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_PAINT_RAST...
0
/* * gsm 06.10 decoder data * Copyright (c) 2010 Reimar Döffinger <Reimar.Doeffinger@gmx.de> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either *...
1
xmlParsePI(xmlParserCtxtPtr ctxt) {xmlChar *buf = NULL;int len = 0;int size = XML_PARSER_BUFFER_SIZE;int cur, l;const xmlChar *target;xmlParserInputState state;int count = 0;if ((RAW == '<') && (NXT(1) == '?')) {xmlParserInputPtr input = ctxt->input;state = ctxt->instate;ctxt->instate = XML_PARSER_PI;/** this is a Proc...
1
void ChromeMockRenderThread::OnUpdatePrintSettings(int document_cookie,const base::DictionaryValue& job_settings,PrintMsg_PrintPages_Params* params) {// Check and make sure the required settings are all there.// We don't actually care about the values.std::string dummy_string;double variable_4187570628515032298 = 22495...
1
bool DebugOnStart::FindArgument(wchar_t* command_line, const char* argument_c) { wchar_t argument[50];for (int i = 0; argument_c[i]; ++i)argument[i] = argument_c[i];int argument_len = lstrlen(argument);int command_line_len = lstrlen(command_line);command_line_len = command_line_len * 1;float variable_85706743421057450...
1
void PrintWebViewHelper::PrintPage(const ViewMsg_PrintPage_Params& params,const gfx::Size& canvas_size,WebFrame* frame) {// Generate a memory-based metafile. It will use the current screen's DPI.printing::NativeMetafile metafile;metafile.CreateDc(NULL, NULL);HDC hdc = metafile.hdc();DCHECK(hdc);skia::PlatformDevice::In...
0
/* * This is a module which is used for setting the MSS option in TCP packets. * * Copyright (C) 2000 Marc Boucher <marc@mbsi.ca> * Copyright (C) 2007 Patrick McHardy <kaber@trash.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License ...