unique_id
int64
13
189k
target
int64
0
1
code
stringlengths
20
241k
__index_level_0__
int64
0
18.9k
154,840
0
error::Error GLES2DecoderPassthroughImpl::DoUniform2uiv( GLint location, GLsizei count, const volatile GLuint* v) { api()->glUniform2uivFn(location, count, const_cast<const GLuint*>(v)); return error::kNoError; }
9,700
129,045
0
StateBase* writeSparseArray(uint32_t numProperties, uint32_t length, StateBase* state) { m_writer.writeSparseArray(numProperties, length); return pop(state); }
9,701
120,176
0
void Layer::SetNeedsPushProperties() { if (needs_push_properties_) return; if (!parent_should_know_need_push_properties() && parent_) parent_->AddDependentNeedsPushProperties(); needs_push_properties_ = true; }
9,702
80,879
0
GF_Err tref_dump(GF_Box *a, FILE * trace) { gf_isom_box_dump_start(a, "TrackReferenceBox", trace); fprintf(trace, ">\n"); gf_isom_box_dump_done("TrackReferenceBox", a, trace); return GF_OK; }
9,703
114,234
0
bool CommandBufferProxyImpl::Send(IPC::Message* msg) { DCHECK(last_state_.error == gpu::error::kNoError); if (channel_) { if (channel_->Send(msg)) { return true; } else { last_state_.error = gpu::error::kLostContext; return false; } } delete msg; return false; }
9,704
5,462
0
static void Ins_SRP2( INS_ARG ) { CUR.GS.rp2 = (Int)(args[0]); }
9,705
167,767
0
void WebRuntimeFeatures::EnableScriptedSpeech(bool enable) { RuntimeEnabledFeatures::SetScriptedSpeechEnabled(enable); }
9,706
40,917
0
const char *json_object_iter_key(void *iter) { if(!iter) return NULL; return hashtable_iter_key(iter); }
9,707
21,557
0
static int prctl_set_mm(int opt, unsigned long addr, unsigned long arg4, unsigned long arg5) { unsigned long rlim = rlimit(RLIMIT_DATA); struct mm_struct *mm = current->mm; struct vm_area_struct *vma; int error; if (arg5 || (arg4 && opt != PR_SET_MM_AUXV)) return -EINVAL; if (!capable(CAP_SYS_RESOURCE)) ...
9,708
135,675
0
void FrameSelection::SetCaretVisible(bool caret_is_visible) { frame_caret_->SetCaretVisibility(caret_is_visible ? CaretVisibility::kVisible : CaretVisibility::kHidden); }
9,709
16,264
0
Condor_Auth_SSL::unwrap(char * input, int input_len, char*& output, int& output_len) { bool result; unsigned char* in = (unsigned char*)input; unsigned char* out = (unsigned char*)output; dprintf(D_SECURITY, "In unwrap.\n"); result = decrypt(in,input_len,out,output_len)...
9,710
37,911
0
static void svm_vcpu_put(struct kvm_vcpu *vcpu) { struct vcpu_svm *svm = to_svm(vcpu); int i; ++vcpu->stat.host_state_reload; kvm_load_ldt(svm->host.ldt); #ifdef CONFIG_X86_64 loadsegment(fs, svm->host.fs); wrmsrl(MSR_KERNEL_GS_BASE, current->thread.gs); load_gs_index(svm->host.gs); #else #ifdef CONFIG_X86_32_L...
9,711
170,484
0
const char16_t* Parcel::readString16Inplace(size_t* outLen) const { int32_t size = readInt32(); if (size >= 0 && size < INT32_MAX) { *outLen = size; const char16_t* str = (const char16_t*)readInplace((size+1)*sizeof(char16_t)); if (str != NULL) { return str; } } *outLen = 0; return NULL; }
9,712
156,910
0
bool DocumentLoader::RedirectReceived( Resource* resource, const ResourceRequest& request, const ResourceResponse& redirect_response) { DCHECK(frame_); DCHECK_EQ(resource, GetResource()); DCHECK(!redirect_response.IsNull()); request_ = request; const KURL& request_url = request_.Url(); scoped_r...
9,713
153,508
0
ResetDraggingStateDelegate::~ResetDraggingStateDelegate() {}
9,714
96,218
0
int sm_restore_priority(p_fm_config_conx_hdlt hdl, fm_mgr_type_t mgr, int argc, char *argv[]) { fm_mgr_config_errno_t res; fm_msg_ret_code_t ret_code; if((res = fm_mgr_simple_query(hdl, FM_ACT_GET, FM_DT_SM_RESTORE_PRIORITY, mgr, 0, NULL, &ret_code)) != FM_CONF_OK) { fprintf(stderr, "sm_restore_priority: Failed...
9,715
128,933
0
void doWriteFile(const File& file) { doWriteWebCoreString(file.hasBackingFile() ? file.path() : ""); doWriteWebCoreString(file.name()); doWriteWebCoreString(file.webkitRelativePath()); doWriteWebCoreString(file.uuid()); doWriteWebCoreString(file.type()); if (file...
9,716
53,018
0
static void TraceArc(PrimitiveInfo *primitive_info,const PointInfo start, const PointInfo end,const PointInfo degrees) { PointInfo center, radii; center.x=0.5*(end.x+start.x); center.y=0.5*(end.y+start.y); radii.x=fabs(center.x-start.x); radii.y=fabs(center.y-start.y); TraceEllipse(primitive_info...
9,717
48,947
0
static inline bool skb_needs_check(struct sk_buff *skb, bool tx_path) { if (tx_path) return skb->ip_summed != CHECKSUM_PARTIAL; else return skb->ip_summed == CHECKSUM_NONE; }
9,718
46,181
0
void deactivate_super(struct super_block *s) { if (!atomic_add_unless(&s->s_active, -1, 1)) { down_write(&s->s_umount); deactivate_locked_super(s); } }
9,719
120,459
0
void Element::blur() { cancelFocusAppearanceUpdate(); Document* doc = document(); if (treeScope()->focusedNode() == this) { if (doc->frame()) doc->frame()->page()->focusController()->setFocusedNode(0, doc->frame()); else doc->setFocusedNode(0); } }
9,720
67,056
0
static int reget_buffer_internal(AVCodecContext *avctx, AVFrame *frame) { AVFrame *tmp; int ret; av_assert0(avctx->codec_type == AVMEDIA_TYPE_VIDEO); if (frame->data[0] && (frame->width != avctx->width || frame->height != avctx->height || frame->format != avctx->pix_fmt)) { av_log(avctx, AV_LO...
9,721
158,884
0
base::string16 GetSecondPageTitle() { return ASCIIToUTF16(kSecondPageTitle); }
9,722
152,065
0
void RenderFrameHostImpl::RequestAXTreeSnapshot(AXTreeSnapshotCallback callback, ui::AXMode ax_mode) { static int next_id = 1; int callback_id = next_id++; Send(new AccessibilityMsg_SnapshotTree(routing_id_, callback_id, ax_m...
9,723
37,148
0
static int nested_vmx_check_exception(struct kvm_vcpu *vcpu, unsigned nr) { struct vmcs12 *vmcs12 = get_vmcs12(vcpu); if (!(vmcs12->exception_bitmap & (1u << nr))) return 0; nested_vmx_vmexit(vcpu, to_vmx(vcpu)->exit_reason, vmcs_read32(VM_EXIT_INTR_INFO), vmcs_readl(EXIT_QUALIFICATION)); return 1; }
9,724
31,191
0
static int crypto_ablkcipher_report(struct sk_buff *skb, struct crypto_alg *alg) { return -ENOSYS; }
9,725
2,349
0
const char *ldb_dn_get_linearized(struct ldb_dn *dn) { unsigned int i; size_t len; char *d, *n; if ( ! dn || ( dn->invalid)) return NULL; if (dn->linearized) return dn->linearized; if ( ! dn->components) { ldb_dn_mark_invalid(dn); return NULL; } if (dn->comp_num == 0) { dn->linearized = talloc_strdup(...
9,726
98,892
0
const std::vector<WebSocketEvent>& GetSeenEvents() const { return events_; }
9,727
158,642
0
void Trace(blink::Visitor* visitor) { visitor->Trace(content_security_policy); }
9,728
187,726
1
store_image_check(PNG_CONST png_store* ps, png_const_structp pp, int iImage) { png_const_bytep image = ps->image; if (image[-1] != 0xed || image[ps->cb_image] != 0xfe) png_error(pp, "image overwrite"); else { png_size_t cbRow = ps->cb_row; png_uint_32 rows = ps->image_h; image += iImage * ...
9,729
8,522
0
static int s_write(Ssh ssh, void *data, int len) { if (ssh->logctx) log_packet(ssh->logctx, PKT_OUTGOING, -1, NULL, data, len, 0, NULL, NULL, 0, NULL); if (!ssh->s) return 0; return sk_write(ssh->s, (char *)data, len); }
9,730
45,881
0
static void pcrypt_fini_padata(struct padata_pcrypt *pcrypt) { free_cpumask_var(pcrypt->cb_cpumask->mask); kfree(pcrypt->cb_cpumask); padata_stop(pcrypt->pinst); padata_unregister_cpumask_notifier(pcrypt->pinst, &pcrypt->nblock); destroy_workqueue(pcrypt->wq); padata_free(pcrypt->pinst); }
9,731
145,985
0
ToplevelWindowEventHandlerTest() {}
9,732
73,198
0
static int file_close(jas_stream_obj_t *obj) { jas_stream_fileobj_t *fileobj = JAS_CAST(jas_stream_fileobj_t *, obj); int ret; ret = close(fileobj->fd); if (fileobj->flags & JAS_STREAM_FILEOBJ_DELONCLOSE) { unlink(fileobj->pathname); } jas_free(fileobj); return ret; }
9,733
188,172
1
void close_all_sockets(atransport* t) { asocket* s; /* this is a little gross, but since s->close() *will* modify ** the list out from under you, your options are limited. */ adb_mutex_lock(&socket_list_lock); restart: for (s = local_socket_list.next; s != &local_socket_list; s = s->next) { if (s->transport == t ...
9,734
101,012
0
DumpOriginInfoTableTask( QuotaManager* manager, Callback* callback) : DatabaseTaskBase(manager), callback_(callback) { }
9,735
145,115
0
~AutoInstallCurrentThreadPlatformMock() { Platform::initialize(m_oldPlatform); }
9,736
176,127
0
VOID ixheaacd_esbr_postradixcompute4(WORD32 *ptr_y, WORD32 *ptr_x, const WORD32 *p_dig_rev_tbl, WORD32 npoints) { WORD32 i, k; WORD32 h2; WORD32 xh0_0, xh1_0, xl0_0, xl1_0; WORD32 xh0_1, xh1_1, xl0_1, xl1_1; WORD32 x_0, x_1, x_2, x_3; WORD32 xh0_2, xh1_2, xl0_2, xl1_2, ...
9,737
181,543
1
static void skel(const char *homedir, uid_t u, gid_t g) { char *fname; // zsh if (!arg_shell_none && (strcmp(cfg.shell,"/usr/bin/zsh") == 0 || strcmp(cfg.shell,"/bin/zsh") == 0)) { // copy skel files if (asprintf(&fname, "%s/.zshrc", homedir) == -1) errExit("asprintf"); struct stat s; // don't copy it if we already ha...
9,738
100,953
0
void TextureMapperGL::bindSurface(BitmapTexture *surfacePointer) { BitmapTextureGL* surface = static_cast<BitmapTextureGL*>(surfacePointer); if (!surface) { GL_CMD(glBindFramebuffer(GL_FRAMEBUFFER, 0)) data().projectionMatrix = createProjectionMatrix(viewportSize(), true).multiply(transform());...
9,739
41,402
0
int kvm_vm_ioctl_get_dirty_log(struct kvm *kvm, struct kvm_dirty_log *log) { int r, i; struct kvm_memory_slot *memslot; unsigned long n; unsigned long is_dirty = 0; mutex_lock(&kvm->slots_lock); r = -EINVAL; if (log->slot >= KVM_MEMORY_SLOTS) goto out; memslot = &kvm->memslots->memslots[log->slot...
9,740
6,315
0
static HashTable *date_object_get_properties_timezone(zval *object TSRMLS_DC) { HashTable *props; zval *zv; php_timezone_obj *tzobj; tzobj = (php_timezone_obj *) zend_object_store_get_object(object TSRMLS_CC); props = zend_std_get_properties(object TSRMLS_CC); if (!tzobj->initialized) { return props; }...
9,741
76,348
0
static void __mark_reg_const_zero(struct bpf_reg_state *reg) { __mark_reg_known(reg, 0); reg->off = 0; reg->type = SCALAR_VALUE; }
9,742
69,314
0
const EVP_CIPHER *EVP_aes_256_wrap_pad(void) { return &aes_256_wrap_pad; }
9,743
127,257
0
void WtsSessionProcessDelegate::Core::InitializeJobCompleted( scoped_ptr<ScopedHandle> job) { DCHECK(main_task_runner_->BelongsToCurrentThread()); DCHECK(!job_.IsValid()); job_ = job->Pass(); }
9,744
181,287
1
static void iwjpeg_scan_exif(struct iwjpegrcontext *rctx, const iw_byte *d, size_t d_len) { struct iw_exif_state e; iw_uint32 ifd; if(d_len<8) return; iw_zeromem(&e,sizeof(struct iw_exif_state)); e.d = d; e.d_len = d_len; e.endian = d[0]=='I' ? IW_ENDIAN_LITTLE : IW_ENDIAN_BIG; ifd = iw_get_ui32_e(&d[4],e.endian);...
9,745
58,259
0
static void *__dma_alloc(struct device *dev, size_t size, dma_addr_t *handle, gfp_t gfp, pgprot_t prot, bool is_coherent, const void *caller) { u64 mask = get_coherent_dma_mask(dev); struct page *page = NULL; void *addr; #ifdef CONFIG_DMA_API_DEBUG u64 limit = (mask + 1) & ~mask; if (limit && size >= limit) {...
9,746
39,703
0
static int open_will_truncate(int flag, struct inode *inode) { /* * We'll never write to the fs underlying * a device file. */ if (special_file(inode->i_mode)) return 0; return (flag & O_TRUNC); }
9,747
39,478
0
static int yam_set_mac_address(struct net_device *dev, void *addr) { struct sockaddr *sa = (struct sockaddr *) addr; /* addr is an AX.25 shifted ASCII mac address */ memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); return 0; }
9,748
50,015
0
archive_read_data_skip(struct archive *_a) { struct archive_read *a = (struct archive_read *)_a; int r; const void *buff; size_t size; int64_t offset; archive_check_magic(_a, ARCHIVE_READ_MAGIC, ARCHIVE_STATE_DATA, "archive_read_data_skip"); if (a->format->read_data_skip != NULL) r = (a->format->read_da...
9,749
25,285
0
static const struct arm_pmu *__init xscale1pmu_init(void) { return NULL; }
9,750
31,916
0
list_add_event(struct perf_event *event, struct perf_event_context *ctx) { WARN_ON_ONCE(event->attach_state & PERF_ATTACH_CONTEXT); event->attach_state |= PERF_ATTACH_CONTEXT; /* * If we're a stand alone event or group leader, we go to the context * list, group events are kept attached to the group so that * ...
9,751
121,470
0
DevToolsWindow* DevToolsWindow::ToggleDevToolsWindow( content::RenderViewHost* inspected_rvh, bool force_open, const DevToolsToggleAction& action) { scoped_refptr<DevToolsAgentHost> agent( DevToolsAgentHost::GetOrCreateFor(inspected_rvh)); content::DevToolsManager* manager = content::DevToolsManag...
9,752
24,337
0
static int ieee80211_stop(struct net_device *dev) { struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); ieee80211_do_stop(sdata, true); return 0; }
9,753
153,310
0
int XI2ModeToXMode(int xi2_mode) { switch (xi2_mode) { case XINotifyNormal: return NotifyNormal; case XINotifyGrab: case XINotifyPassiveGrab: return NotifyGrab; case XINotifyUngrab: case XINotifyPassiveUngrab: return NotifyUngrab; case XINotifyWhileGrabbed: return Notif...
9,754
38,617
0
void do_break (struct pt_regs *regs, unsigned long address, unsigned long error_code) { siginfo_t info; current->thread.trap_nr = TRAP_HWBKPT; if (notify_die(DIE_DABR_MATCH, "dabr_match", regs, error_code, 11, SIGSEGV) == NOTIFY_STOP) return; if (debugger_break_match(regs)) return; /* Clear the bre...
9,755
73,029
0
BGD_DECLARE(int) gdAlphaBlend (int dst, int src) { int src_alpha = gdTrueColorGetAlpha(src); int dst_alpha, alpha, red, green, blue; int src_weight, dst_weight, tot_weight; /* -------------------------------------------------------------------- */ /* Simple cases we want to handle fast. ...
9,756
77,151
0
OVS_REQUIRES(ofproto_mutex) { enum ofperr error; error = ofproto_check_ofpacts(ofproto, opo->ofpacts, opo->ofpacts_len); if (error) { return error; } return ofproto->ofproto_class->packet_xlate(ofproto, opo); }
9,757
39,519
0
fst_intr_ctlchg(struct fst_card_info *card, struct fst_port_info *port) { int signals; signals = FST_RDL(card, v24DebouncedSts[port->index]); if (signals & (((port->hwif == X21) || (port->hwif == X21D)) ? IPSTS_INDICATE : IPSTS_DCD)) { if (!netif_carrier_ok(port_to_dev(port))) { dbg(DBG_INTR, "DCD ac...
9,758
134,267
0
bool OmniboxViewViews::IsImeShowingPopup() const { #if defined(OS_CHROMEOS) return ime_candidate_window_open_; #else const views::InputMethod* input_method = this->GetInputMethod(); return input_method && input_method->IsCandidatePopupOpen(); #endif }
9,759
147,609
0
static void OriginTrialEnabledLongAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) { v8::Local<v8::Object> holder = info.Holder(); TestObject* impl = V8TestObject::ToImpl(holder); V8SetReturnValueInt(info, impl->originTrialEnabledLongAttribute()); }
9,760
83,129
0
fptr_finalize(mrb_state *mrb, struct mrb_io *fptr, int quiet) { int saved_errno = 0; if (fptr == NULL) { return; } if (fptr->fd > 2) { #ifdef _WIN32 if (fptr->is_socket) { if (closesocket(fptr->fd) != 0) { saved_errno = WSAGetLastError(); } fptr->fd = -1; } #endif if ...
9,761
158,109
0
Frame* LocalFrameClientImpl::Opener() const { return ToCoreFrame(web_frame_->Opener()); }
9,762
111,011
0
void FileSystemOperation::DidTouchFile(const StatusCallback& callback, base::PlatformFileError rv) { callback.Run(rv); }
9,763
179,779
1
static void __net_exit sctp_net_exit(struct net *net) { /* Free the local address list */ sctp_free_addr_wq(net); sctp_free_local_addr_list(net); /* Free the control endpoint. * inet_ctl_sock_destroy(net->sctp.ctl_sock); sctp_dbg_objcnt_exit(net); sctp_proc_exit(net); cleanup_sctp_mibs(net); sctp_sysctl_net_unregi...
9,764
163,974
0
bool PaymentRequestState::IsInitialized() const { return get_all_instruments_finished_; }
9,765
127,369
0
bool StyleResolver::checkRegionStyle(Element* regionElement) { if (ScopedStyleResolver* scopedResolver = m_styleTree.scopedStyleResolverForDocument()) { if (scopedResolver->checkRegionStyle(regionElement)) return true; } return false; }
9,766
94,909
0
int usbnet_read_cmd(struct usbnet *dev, u8 cmd, u8 reqtype, u16 value, u16 index, void *data, u16 size) { int ret; if (usb_autopm_get_interface(dev->intf) < 0) return -ENODEV; ret = __usbnet_read_cmd(dev, cmd, reqtype, value, index, data, size); usb_autopm_put_interface(dev->intf); return ret; }
9,767
115,274
0
void OmniboxViewWin::RepaintDropHighlight(int position) { if ((position != -1) && (position <= GetTextLength())) { const POINT min_loc(PosFromChar(position)); const RECT highlight_bounds = {min_loc.x - 1, font_y_adjustment_, min_loc.x + 2, font_.GetHeight() + font_y_adjustment_}; InvalidateRect(&h...
9,768
176,289
0
static uint32_t GetMaxNumberOfEntries(JSObject* receiver, FixedArrayBase* elements) { return Subclass::GetMaxIndex(receiver, elements); }
9,769
169,811
0
exsltFuncNewFunctionData (void) { exsltFuncFunctionData *ret; ret = (exsltFuncFunctionData *) xmlMalloc (sizeof(exsltFuncFunctionData)); if (ret == NULL) { xsltGenericError(xsltGenericErrorContext, "exsltFuncNewFunctionData: not enough memory\n"); return (NULL); } memset(ret, 0, sizeof(exsltF...
9,770
102,053
0
void SyncBackendHost::EnableEncryptEverything() { sync_thread_.message_loop()->PostTask(FROM_HERE, NewRunnableMethod(core_.get(), &SyncBackendHost::Core::DoEnableEncryptEverything)); }
9,771
159,487
0
void Pack<WebGLImageConversion::kDataFormatRGBA4444, WebGLImageConversion::kAlphaDoUnmultiply, uint8_t, uint16_t>(const uint8_t* source, uint16_t* destination, unsigned pixels_per_row) { for (unsigned i = 0; i < pixels_per_row; ++i) { float sca...
9,772
158,416
0
void InitializeAura() { view_->InitAsChild(nullptr); view_->Show(); }
9,773
9,357
0
int ossl_statem_in_error(const SSL *s) { if (s->statem.state == MSG_FLOW_ERROR) return 1; return 0; }
9,774
53,337
0
static void error_set(json_error_t *error, const lex_t *lex, const char *msg, ...) { va_list ap; char msg_text[JSON_ERROR_TEXT_LENGTH]; char msg_with_context[JSON_ERROR_TEXT_LENGTH]; int line = -1, col = -1; size_t pos = 0; const char *result = msg_text; if(!error) ...
9,775
78,819
0
unsigned short bebytes2ushort(const u8 *buf) { if (buf == NULL) return 0U; return (unsigned short) (buf[0] << 8 | buf[1]); }
9,776
3,025
0
void vga_sync_dirty_bitmap(VGACommonState *s) { memory_region_sync_dirty_bitmap(&s->vram); }
9,777
160,121
0
void BackendIO::DoomAllEntries() { operation_ = OP_DOOM_ALL; }
9,778
58,512
0
void credssp_buffer_print(rdpCredssp* credssp) { if (credssp->negoToken.cbBuffer > 0) { fprintf(stderr, "CredSSP.negoToken (length = %d):\n", (int) credssp->negoToken.cbBuffer); winpr_HexDump(credssp->negoToken.pvBuffer, credssp->negoToken.cbBuffer); } if (credssp->pubKeyAuth.cbBuffer > 0) { fprintf(stderr,...
9,779
121,013
0
scoped_refptr<SSLSocketParams> GetSslParams() { if (GetParam() == HTTP) return scoped_refptr<SSLSocketParams>(); return ignored_ssl_socket_params_; }
9,780
77,906
0
test_bson_concat (void) { bson_t a = BSON_INITIALIZER; bson_t b = BSON_INITIALIZER; bson_t c = BSON_INITIALIZER; bson_append_int32 (&a, "abc", 3, 1); bson_append_int32 (&b, "def", 3, 1); bson_concat (&a, &b); bson_append_int32 (&c, "abc", 3, 1); bson_append_int32 (&c, "def", 3, 1); BSON_AS...
9,781
159,531
0
void Pack<WebGLImageConversion::kDataFormatRG32F, WebGLImageConversion::kAlphaDoNothing, float, float>(const float* source, float* destination, unsigned pixels_per_row) { for (unsigned i = 0; i < pixels_per_row; ++i) { destination[0] = source[0]; ...
9,782
82,780
0
static int avr_custom_spm_page_fill(RAnalEsil *esil) { CPU_MODEL *cpu; ut64 addr, page_size_bits, i; ut8 r0, r1; if (!esil || !esil->anal || !esil->anal->reg) { return false; } if (!__esil_pop_argument(esil, &addr)) { return false; } if (!__esil_pop_argument (esil, &i)) { return false; } r0 = i; if...
9,783
179,787
1
vhost_scsi_make_tpg(struct se_wwn *wwn, struct config_group *group, const char *name) { struct vhost_scsi_tport *tport = container_of(wwn, struct vhost_scsi_tport, tport_wwn); struct vhost_scsi_tpg *tpg; unsigned long tpgt; int ret; if (strstr(name, "tpgt_") != name) return ERR_PTR(-EINVAL); if (kstrtoul(name + 5, ...
9,784
175,378
0
void SimpleSoftOMXComponent::checkTransitions() { if (mState != mTargetState) { bool transitionComplete = true; if (mState == OMX_StateLoaded) { CHECK_EQ((int)mTargetState, (int)OMX_StateIdle); for (size_t i = 0; i < mPorts.size(); ++i) { const PortInfo &port = mPorts.itemAt(i); if (port.mDef.bEnabl...
9,785
167,800
0
void WebRuntimeFeatures::EnableXSLT(bool enable) { RuntimeEnabledFeatures::SetXSLTEnabled(enable); }
9,786
147,074
0
void WebLocalFrameImpl::SetCommittedFirstRealLoad() { DCHECK(GetFrame()); EnsureFrameLoaderHasCommitted(GetFrame()->Loader()); }
9,787
146,078
0
WebGLSampler* WebGL2RenderingContextBase::createSampler() { if (isContextLost()) return nullptr; return WebGLSampler::Create(this); }
9,788
79,493
0
int nntp_active_fetch(struct NntpServer *nserv, bool new) { struct NntpData nntp_data; char msg[STRING]; char buf[LONG_STRING]; unsigned int i; int rc; snprintf(msg, sizeof(msg), _("Loading list of groups from server %s..."), nserv->conn->account.host); mutt_message(msg); if (nntp_date(nserv...
9,789
176,809
0
status_t Parcel::writeUtf8VectorAsUtf16Vector(const std::vector<std::string>& val) { return writeTypedVector(val, &Parcel::writeUtf8AsUtf16); }
9,790
66,686
0
static int dvb_usbv2_adapter_stream_exit(struct dvb_usb_adapter *adap) { dev_dbg(&adap_to_d(adap)->udev->dev, "%s: adap=%d\n", __func__, adap->id); return usb_urb_exitv2(&adap->stream); }
9,791
212
0
freefileinfo (struct fileinfo *f) { while (f) { struct fileinfo *next = f->next; xfree (f->name); if (f->linkto) xfree (f->linkto); xfree (f); f = next; } }
9,792
72,914
0
static int jpc_calcssexp(jpc_fix_t stepsize) { return jpc_firstone(stepsize) - JPC_FIX_FRACBITS; }
9,793
28,776
0
int kvm_lapic_find_highest_irr(struct kvm_vcpu *vcpu) { int highest_irr; /* This may race with setting of irr in __apic_accept_irq() and * value returned may be wrong, but kvm_vcpu_kick() in __apic_accept_irq * will cause vmexit immediately and the value will be recalculated * on the next vmentry. */ if (!k...
9,794
91,426
0
static void clean_func_state(struct bpf_verifier_env *env, struct bpf_func_state *st) { enum bpf_reg_liveness live; int i, j; for (i = 0; i < BPF_REG_FP; i++) { live = st->regs[i].live; /* liveness must not touch this register anymore */ st->regs[i].live |= REG_LIVE_DONE; if (!(live & REG_LIVE_READ)...
9,795
170,048
0
xsltXPathVariableLookup(void *ctxt, const xmlChar *name, const xmlChar *ns_uri) { xsltTransformContextPtr tctxt; xmlXPathObjectPtr valueObj = NULL; if ((ctxt == NULL) || (name == NULL)) return(NULL); #ifdef WITH_XSLT_DEBUG_VARIABLE XSLT_TRACE(((xsltTransformContextPtr)ctxt),XSLT_TRAC...
9,796
4,562
0
static int php_openssl_is_private_key(EVP_PKEY* pkey) { assert(pkey != NULL); switch (EVP_PKEY_id(pkey)) { #ifndef NO_RSA case EVP_PKEY_RSA: case EVP_PKEY_RSA2: { RSA *rsa = EVP_PKEY_get0_RSA(pkey); if (rsa != NULL) { const BIGNUM *p, *q; RSA_get0_factors(rsa, &p, &q); if (p == NULL |...
9,797
51,848
0
dissect_common_ul_node_synchronisation(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) { guint32 t1, t2, t3; /* T1 (3 bytes) */ t1 = tvb_get_ntoh24(tvb, offset); proto_tree_add_item(tree, hf_fp_t1, tvb, offset, 3, ENC_BIG_ENDIAN); offset += 3;...
9,798
19,454
0
efx_ethtool_get_rxnfc(struct net_device *net_dev, struct ethtool_rxnfc *info, u32 *rules __always_unused) { struct efx_nic *efx = netdev_priv(net_dev); switch (info->cmd) { case ETHTOOL_GRXRINGS: info->data = efx->n_rx_channels; return 0; case ETHTOOL_GRXFH: { unsigned min_revision = 0; info->dat...
9,799