idx
int64
func
string
target
int64
33,773
void ndpUpdateDefaultRouterList(NetInterface *interface) { uint_t i; bool_t flag; systime_t time; Ipv6RouterEntry *entry; //This flag will be set if any entry has been removed from //the Default Router List flag = FALSE; //Get current time time = osGetSystemTime(); //Go through the Defa...
0
112,979
int __get_user_pages_fast(unsigned long start, int nr_pages, int write, struct page **pages) { struct mm_struct *mm = current->mm; unsigned long addr, len, end; unsigned long next, flags; pgd_t *pgdp; int nr = 0; start &= PAGE_MASK; addr = start; len = (unsigned long) nr_pages << PAGE_SHIFT; end = start ...
0
431,995
void tcp_wfree(struct sk_buff *skb) { struct sock *sk = skb->sk; struct tcp_sock *tp = tcp_sk(sk); unsigned long flags, nval, oval; /* Keep one reference on sk_wmem_alloc. * Will be released by sk_free() from here or tcp_tasklet_func() */ WARN_ON(refcount_sub_and_test(skb->truesize - 1, &sk->sk_wmem_alloc)); ...
0
501,815
get_other_operator(List *otherOp, Oid otherLeftTypeId, Oid otherRightTypeId, const char *operatorName, Oid operatorNamespace, Oid leftTypeId, Oid rightTypeId, bool isCommutator) { Oid other_oid; bool otherDefined; char *otherName; Oid otherNamespace; AclResult aclresult; other_oid = Operato...
0
144,216
std::string Box_clap::dump(Indent& indent) const { std::ostringstream sstr; sstr << Box::dump(indent); sstr << indent << "clean_aperture: " << m_clean_aperture_width.numerator << "/" << m_clean_aperture_width.denominator << " x " << m_clean_aperture_height.numerator << "/" << m_clean_apertur...
0
431,990
static unsigned int tcp_syn_options(struct sock *sk, struct sk_buff *skb, struct tcp_out_options *opts, struct tcp_md5sig_key **md5) { struct tcp_sock *tp = tcp_sk(sk); unsigned int remaining = MAX_TCP_OPTION_SPACE; struct tcp_fastopen_request *fastopen = tp->fastopen_req; #ifdef CONFIG_TCP_MD5SIG *md5 = t...
0
480,220
static int rotateLogSet(const struct logInfo *log, int force) { unsigned i, j; int hasErrors = 0; int *logHasErrors; int numRotated = 0; struct logState **state; struct logNames **rotNames; message(MESS_DEBUG, "\nrotating pattern: %s ", log->pattern); if (force) { message(MESS_D...
0
355,073
SProcShmQueryVersion(client) register ClientPtr client; { register int n; REQUEST(xShmQueryVersionReq); swaps(&stuff->length, n); return ProcShmQueryVersion(client); }
0
499,939
QPDFFormFieldObjectHelper::getDefaultAppearance() { return getInheritableFieldValueAsString("/DA"); }
0
6,419
isakmp_rfc3948_print(netdissect_options *ndo, const u_char *bp, u_int length, const u_char *bp2) { if(length == 1 && bp[0]==0xff) { ND_PRINT((ndo, "isakmp-nat-keep-alive")); return; } if(length < 4) { goto trunc; } /* * see if this is an IKE packet */ if(bp[0]==0 && bp[1]==0 && bp[2]==0...
1
51,622
rpl_daoack_print(netdissect_options *ndo, const u_char *bp, u_int length) { const struct nd_rpl_daoack *daoack = (const struct nd_rpl_daoack *)bp; const char *dagid_str = "<elided>"; ND_TCHECK2(*daoack, ND_RPL_DAOACK_MIN_LEN); if (length < ND_RPL_DAOACK_MIN_LEN) ...
0
346,727
static inline void timer_stats_timer_clear_start_info(struct timer_list *timer) { }
1
227,838
void RootWindowHostWin::ShowCursor(bool show) { }
0
67,591
static int build_sched_domains(const struct cpumask *cpu_map) { return __build_sched_domains(cpu_map, NULL); }
0
45,020
f_sha256(typval_T *argvars, typval_T *rettv) { char_u *p; p = tv_get_string(&argvars[0]); rettv->vval.v_string = vim_strsave( sha256_bytes(p, (int)STRLEN(p), NULL, 0)); rettv->v_type = VAR_STRING; }
0
144,891
kex_alg_list(char sep) { char *ret = NULL, *tmp; size_t nlen, rlen = 0; const struct kexalg *k; for (k = kexalgs; k->name != NULL; k++) { if (ret != NULL) ret[rlen++] = sep; nlen = strlen(k->name); if ((tmp = realloc(ret, rlen + nlen + 2)) == NULL) { free(ret); return NULL; } ret = tmp; memcpy...
0
331,728
static void test_visitor_out_bool(TestOutputVisitorData *data, const void *unused) { bool value = true; QObject *obj; visit_type_bool(data->ov, NULL, &value, &error_abort); obj = visitor_get(data); g_assert(qobject_type(obj) == QTYPE_QBOOL); g_assert...
0
228,097
void SelectionController::SetCaretAtHitTestResult( const HitTestResult& hit_test_result) { Node* inner_node = hit_test_result.InnerNode(); const VisiblePositionInFlatTree& visible_hit_pos = VisiblePositionOfHitTestResult(hit_test_result); const VisiblePositionInFlatTree& visible_pos = visible_hit_...
0
405,584
WandExport void DrawPathMoveToAbsolute(DrawingWand *wand,const double x, const double y) { assert(wand != (DrawingWand *) NULL); assert(wand->signature == MagickWandSignature); if (wand->debug != MagickFalse) (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name); DrawPathMoveTo(wand,AbsoluteP...
0
286,201
hfs_istat(TSK_FS_INFO * fs, TSK_FS_ISTAT_FLAG_ENUM istat_flags, FILE * hFile, TSK_INUM_T inum, TSK_DADDR_T numblock, int32_t sec_skew) { HFS_INFO *hfs = (HFS_INFO *) fs; TSK_FS_FILE *fs_file; char hfs_mode[12]; HFS_PRINT_ADDR print; HFS_ENTRY entry; char timeBuf[128]; const TSK_FS_ATTR *...
0
520,357
bool Item_param::convert_str_value(THD *thd) { bool rc= FALSE; if (state == STRING_VALUE || state == LONG_DATA_VALUE) { rc= value.cs_info.convert_if_needed(thd, &str_value); /* Here str_value is guaranteed to be in final_character_set_of_str_value */ /* str_value_ptr is returned from val_str()....
0
222,063
Ins_NOT( FT_Long* args ) { args[0] = !args[0]; }
0
202,475
void Document::DispatchUnloadEvents() { PluginScriptForbiddenScope forbid_plugin_destructor_scripting; if (parser_) parser_->StopParsing(); if (load_event_progress_ == kLoadEventNotRun) return; if (load_event_progress_ <= kUnloadEventInProgress) { Element* current_focused_element = FocusedElement(...
0
224,480
WebPreferences RenderViewHostDelegateHelper::GetWebkitPrefs( PrefService* prefs, bool is_dom_ui) { WebPreferences web_prefs; web_prefs.fixed_font_family = prefs->GetString(prefs::kWebKitFixedFontFamily); web_prefs.serif_font_family = prefs->GetString(prefs::kWebKitSerifFontFamily); web_prefs.s...
0
66,466
static void vmx_vcpu_load(struct kvm_vcpu *vcpu, int cpu) { struct vcpu_vmx *vmx = to_vmx(vcpu); bool already_loaded = vmx->loaded_vmcs->cpu == cpu; if (!already_loaded) { loaded_vmcs_clear(vmx->loaded_vmcs); local_irq_disable(); crash_disable_local_vmclear(cpu); /* * Read loaded_vmcs->cpu should be bef...
0
205,988
http2shmlog(const struct http *hp, int t) { CHECK_OBJ_NOTNULL(hp, HTTP_MAGIC); if (t > HTTP_HDR_FIRST) t = HTTP_HDR_FIRST; assert(hp->logtag >= HTTP_Rx && hp->logtag <= HTTP_Obj); /*lint !e685*/ assert(t >= HTTP_HDR_REQ && t <= HTTP_HDR_FIRST); return (logmtx[hp->logtag][t]); }
0
336,515
static void tcg_out_brcond2 (TCGContext *s, const TCGArg *args, const int *const_args) { tcg_out_cmp2(s, args, const_args); tcg_out_bc(s, BC | BI(7, CR_EQ) | BO_COND_TRUE, args[5]); }
0
393,304
xmlRngVErr(xmlRelaxNGValidCtxtPtr ctxt, xmlNodePtr node, int error, const char *msg, const xmlChar * str1, const xmlChar * str2) { xmlStructuredErrorFunc schannel = NULL; xmlGenericErrorFunc channel = NULL; void *data = NULL; if (ctxt != NULL) { if (ctxt->serror != NULL) schanne...
0
423,356
void af_alg_data_wakeup(struct sock *sk) { struct alg_sock *ask = alg_sk(sk); struct af_alg_ctx *ctx = ask->private; struct socket_wq *wq; if (!ctx->used) return; rcu_read_lock(); wq = rcu_dereference(sk->sk_wq); if (skwq_has_sleeper(wq)) wake_up_interruptible_sync_poll(&wq->wait, EPOLLOUT | EPOL...
0
514,797
static int test_store_ctx(void) { X509_STORE_CTX *sctx = NULL; X509 *x = NULL; BIO *bio = NULL; int testresult = 0, ret; bio = BIO_new_file(bad_f, "r"); if (bio == NULL) goto err; x = PEM_read_bio_X509(bio, NULL, 0, NULL); if (x == NULL) goto err; sctx = X509_STORE...
0
142,070
ParseNodePtr Parser::StaticCreateBinNode(OpCode nop, ParseNodePtr pnode1, ParseNodePtr pnode2,ArenaAllocator* alloc) { DebugOnly(VerifyNodeSize(nop, kcbPnBin)); ParseNodePtr pnode = (ParseNodePtr)alloc->Alloc(kcbPnBin); InitNode(nop, pnode); pnode->sxBin.pnodeNext = n...
0
150,498
void getReadBuffer(void** bufReturn, size_t* lenReturn) override { *bufReturn = buf_.get() + bytesRead_; *lenReturn = bufSize_ - bytesRead_; }
0
226,825
TestURLFetcherFactory::TestURLFetcherFactory() {}
0
302,494
userauth_pubkey(struct ssh *ssh) { Authctxt *authctxt = ssh->authctxt; struct passwd *pw = authctxt->pw; struct sshbuf *b = NULL; struct sshkey *key = NULL; char *pkalg = NULL, *userstyle = NULL, *key_s = NULL, *ca_s = NULL; u_char *pkblob = NULL, *sig = NULL, have_sig; size_t blen, slen; int r, pktype; int au...
0
343,632
int hfsplus_block_allocate(struct super_block *sb, u32 size, u32 offset, u32 *max) { struct page *page; struct address_space *mapping; __be32 *pptr, *curr, *end; u32 mask, start, len, n; __be32 val; int i; len = *max; if (!len) return size; dprint(DBG_BITMAP, "block_allocate: %u,%u,%u\n", size, offset, len...
1
214,335
gl::GLSurface* GLES2DecoderPassthroughImpl::GetGLSurface() { return surface_.get(); }
0
45,537
static PHP_METHOD(PDOStatement, nextRowset) { PHP_STMT_GET_OBJ; if (!stmt->methods->next_rowset) { pdo_raise_impl_error(stmt->dbh, stmt, "IM001", "driver does not support multiple rowsets" TSRMLS_CC); RETURN_FALSE; } PDO_STMT_CLEAR_ERR(); if (!pdo_stmt_do_next_rowset(stmt TSRMLS_CC)) { PDO_HANDLE_STMT_ER...
0
334,391
void acpi_memory_unplug_cb(MemHotplugState *mem_st, DeviceState *dev, Error **errp) { MemStatus *mdev; mdev = acpi_memory_slot_status(mem_st, dev, errp); if (!mdev) { return; } /* nvdimm device hot unplug is not supported yet. */ assert(!object_dyn...
0
200,076
void expectDisplayListEnabled(bool displayListEnabled) { EXPECT_EQ(displayListEnabled, (bool)m_testSurface->m_currentFrame.get()); EXPECT_EQ(!displayListEnabled, (bool)m_testSurface->m_fallbackSurface.get()); int expectedSurfaceCreationCount = displayListEnabled ? 0 : 1; EXPECT_E...
0
6,777
void *merge_directory_configs(apr_pool_t *mp, void *_parent, void *_child) { directory_config *parent = (directory_config *)_parent; directory_config *child = (directory_config *)_child; directory_config *merged = create_directory_config(mp, NULL); #ifdef DEBUG_CONF ap_log_perror(APLOG_MARK, APLOG_...
1
325,990
void cpu_reset (CPUCRISState *env) { memset(env, 0, offsetof(CPUCRISState, breakpoints)); tlb_flush(env, 1); env->pregs[PR_VR] = 32; #if defined(CONFIG_USER_ONLY) /* start in user mode with interrupts enabled. */ env->pregs[PR_CCS] |= U_FLAG | I_FLAG; #else env->pregs[PR_CCS] = 0; #endif
1
188,001
void HTMLFormElement::getNamedElements( const AtomicString& name, HeapVector<Member<Element>>& namedItems) { elements()->namedItems(name, namedItems); Element* elementFromPast = elementFromPastNamesMap(name); if (namedItems.size() && namedItems.first() != elementFromPast) { addToPastNamesMap(namedIte...
0
181,628
WebContentsViewAura::WebContentsViewAura( WebContentsImpl* web_contents, WebContentsViewDelegate* delegate) : web_contents_(web_contents), delegate_(delegate), current_drag_op_(blink::WebDragOperationNone), drag_dest_delegate_(NULL), current_rvh_for_drag_(NULL), overscroll_chan...
0
173,647
void GraphicsContext::clipPath(const Path& pathToClip, WindRule clipRule) { if (paintingDisabled()) return; SkPath path = *pathToClip.platformPath(); if (!isPathSkiaSafe(getCTM(), path)) return; path.setFillType(clipRule == RULE_EVENODD ? SkPath::kEvenOdd_FillType : SkPath::kWinding_Fi...
0
322,878
static int rv30_decode_mb_info(RV34DecContext *r) { static const int rv30_p_types[6] = { RV34_MB_SKIP, RV34_MB_P_16x16, RV34_MB_P_8x8, -1, RV34_MB_TYPE_INTRA, RV34_MB_TYPE_INTRA16x16 }; static const int rv30_b_types[6] = { RV34_MB_SKIP, RV34_MB_B_DIRECT, RV34_MB_B_FORWARD, RV34_MB_B_BACKWARD, RV34_MB_TYPE_IN...
0
121,551
static __cold struct io_ring_ctx *io_ring_ctx_alloc(struct io_uring_params *p) { struct io_ring_ctx *ctx; int i, hash_bits; ctx = kzalloc(sizeof(*ctx), GFP_KERNEL); if (!ctx) return NULL; /* * Use 5 bits less than the max cq entries, that should give us around * 32 entries per hash list if totally full and...
0
118,127
long kvm_arch_vm_ioctl(struct file *filp, unsigned int ioctl, unsigned long arg) { struct kvm *kvm = filp->private_data; void __user *argp = (void __user *)arg; int r = -ENOTTY; /* * This union makes it completely explicit to gcc-3.x * that these two variables' stack usage should be * combined, not a...
0
265,790
ByteVectorPrivate(TagLib::uint len, char value) : RefCounter(), data(len, value), size(len) {}
0
505,131
static int MS_CALLBACK ssl_servername_cb(SSL *s, int *ad, void *arg) { tlsextctx * p = (tlsextctx *) arg; const char * servername = SSL_get_servername(s, TLSEXT_NAMETYPE_host_name); if (servername && p->biodebug) BIO_printf(p->biodebug,"Hostname in TLS extension: \"%s\"\n",servername); if (!p->s...
0
147,050
static ioctl_fn lookup_ioctl(unsigned int cmd, int *ioctl_flags) { static const struct { int cmd; int flags; ioctl_fn fn; } _ioctls[] = { {DM_VERSION_CMD, 0, NULL}, /* version is dealt with elsewhere */ {DM_REMOVE_ALL_CMD, IOCTL_FLAGS_NO_PARAMS | IOCTL_FLAGS_ISSUE_GLOBAL_EVENT, remove_all}, {DM_LIST_DEVIC...
0
272,749
static char *parse_acc(char *p, struct SYMBOL *s) { int pit = 0, acc; unsigned nacc; nacc = 0; for (;;) { if (nacc >= sizeof s->u.key.pits) { syntax("Too many accidentals", p); break; } p = parse_acc_pit(p, &pit, &acc); if (acc < 0) break; s->u.key.pits[nacc] = pit; s->u.key.accs[nacc++] = ...
0
398,672
gst_qtdemux_adjust_seek (GstQTDemux * qtdemux, gint64 desired_time, gboolean use_sparse, gint64 * key_time, gint64 * key_offset) { guint64 min_offset; gint64 min_byte_offset = -1; gint n; min_offset = desired_time; /* for each stream, find the index of the sample in the segment * and move back to the...
0
384,996
PHP_MINFO_FUNCTION(hash) { HashPosition pos; char buffer[2048]; char *s = buffer, *e = s + sizeof(buffer), *str; ulong idx; long type; for(zend_hash_internal_pointer_reset_ex(&php_hash_hashtable, &pos); (type = zend_hash_get_current_key_ex(&php_hash_hashtable, &str, NULL, &idx, 0, &pos)) != HASH_KEY_NON_EXISTE...
0
16,218
static int ptx_decode_frame ( AVCodecContext * avctx , void * data , int * got_frame , AVPacket * avpkt ) { const uint8_t * buf = avpkt -> data ; const uint8_t * buf_end = avpkt -> data + avpkt -> size ; AVFrame * const p = data ; unsigned int offset , w , h , y , stride , bytes_per_pixel ; int ret ; uint8_t * pt...
0
419,015
system_call_script(thread_master_t *m, int (*func) (thread_t *), void * arg, unsigned long timer, notify_script_t* script) { pid_t pid; /* Daemonization to not degrade our scheduling timer */ #ifdef ENABLE_LOG_TO_FILE if (log_file_name) flush_log_file(); #endif pid = local_fork(); if (pid < 0) { /* fork err...
0
208,475
void FetchManager::Loader::Failed(const String& message) { if (failed_ || finished_) return; failed_ = true; if (execution_context_->IsContextDestroyed()) return; if (!message.IsEmpty()) { execution_context_->AddConsoleMessage( ConsoleMessage::Create(kJSMessageSource, kErrorMessageLevel, mes...
0
441,931
COMPAT_SYSCALL_DEFINE2(rt_sigpending, compat_sigset_t __user *, uset, compat_size_t, sigsetsize) { sigset_t set; if (sigsetsize > sizeof(*uset)) return -EINVAL; do_sigpending(&set); return put_compat_sigset(uset, &set, sigsetsize); }
0
396,155
static int lru_pull_tail(const int orig_id, const int cur_lru, const uint64_t total_bytes, uint8_t flags) { item *it = NULL; int id = orig_id; int removed = 0; if (id == 0) return 0; int tries = 5; item *search; item *next_it; void *hold_lock = NULL; unsigned int mov...
0
436,675
static void option_export_marks(const char *marks) { export_marks_file = make_fast_import_path(marks); }
0
221,347
void TranslateMessageInfoBar::ButtonPressed(views::Button* sender, const views::Event& event) { if (sender == button_) { GetDelegate()->MessageInfoBarButtonPressed(); return; } TranslateInfoBarBase::ButtonPressed(sender, event); }
0
190,296
bt_status_t btif_storage_load_autopair_device_list() { if (btif_config_has_section(BTIF_STORAGE_PATH_AUTOPAIR_BLACKLIST)) { return BT_STATUS_SUCCESS; } static const char *key_names[] = { BTIF_STORAGE_KEY_AUTOPAIR_BLACKLIST_ADDR, BTIF_STORAGE_KEY_AUTOPAIR_BLACKLIST_EXACTNAME, BTIF_STORAGE_KE...
0
28,305
static void pxa2xx_i2c_class_init ( ObjectClass * klass , void * data ) { DeviceClass * dc = DEVICE_CLASS ( klass ) ; SysBusDeviceClass * k = SYS_BUS_DEVICE_CLASS ( klass ) ; k -> init = pxa2xx_i2c_initfn ; dc -> desc = "PXA2xx I2C Bus Controller" ; dc -> vmsd = & vmstate_pxa2xx_i2c ; dc -> props = pxa2xx_i2c_pro...
0
221,231
static IMFSample* CreateInputSample(const uint8* stream, int size, int min_size, int alignment) { CHECK(stream); CHECK_GT(size, 0); base::win::ScopedComPtr<IMFSample> sample; sample.Attach(CreateEmptySampleWithBuffer(std::max(min_size, size), ...
0
124,118
static int ipx_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) { struct sock *sk = sock->sk; int rc; lock_sock(sk); rc = __ipx_bind(sock, uaddr, addr_len); release_sock(sk); return rc; }
0
495,673
static int modify_qp(PVRDMADev *dev, union pvrdma_cmd_req *req, union pvrdma_cmd_resp *rsp) { struct pvrdma_cmd_modify_qp *cmd = &req->modify_qp; int rc; /* No need to verify sgid_index since it is u8 */ rc = rdma_rm_modify_qp(&dev->rdma_dev_res, &dev->backend_dev, ...
0
113,625
RSA *d2i_RSA_PUBKEY_bio(BIO *bp, RSA **rsa) { return ASN1_d2i_bio_of(RSA,RSA_new,d2i_RSA_PUBKEY,bp,rsa); }
0
281,229
int64_t GetPrimaryDisplayId() { return display::Screen::GetScreen()->GetPrimaryDisplay().id(); }
0
249,595
void FrameLoader::load(const FrameLoadRequest& passedRequest, FrameLoadType frameLoadType, HistoryItem* historyItem, HistoryLoadType historyLoadType) { ASSERT(m_frame->document()); if (!m_frame->isNavigationAllowed()) return; if (m_inStopAllLoaders) return; if (m_frame->page()->de...
0
91,411
static int cm_alloc_msg(struct cm_id_private *cm_id_priv, struct ib_mad_send_buf **msg) { struct ib_mad_agent *mad_agent; struct ib_mad_send_buf *m; struct ib_ah *ah; mad_agent = cm_id_priv->av.port->mad_agent; ah = ib_create_ah(mad_agent->qp->pd, &cm_id_priv->av.ah_attr); if (IS_ERR(ah)) return PTR_ERR(ah)...
0
400,303
static inline int put_words(OHCIState *ohci, dma_addr_t addr, uint16_t *buf, int num) { int i; addr += ohci->localmem_base; for (i = 0; i < num; i++, buf++, addr += sizeof(*buf)) { uint16_t tmp = cpu_to_le16(*buf); if (dma_memory_write(ohci->as, addr, &tmp, size...
0
202,521
void OmniboxEditModel::OnControlKeyChanged(bool pressed) { if (pressed == (control_key_state_ == UP)) control_key_state_ = pressed ? DOWN_WITHOUT_CHANGE : UP; }
0
240,358
PanoramiXRenderSetPictureFilter(ClientPtr client) { REQUEST(xRenderSetPictureFilterReq); int result = Success, j; PanoramiXRes *pict; REQUEST_AT_LEAST_SIZE(xRenderSetPictureFilterReq); VERIFY_XIN_PICTURE(pict, stuff->picture, client, DixWriteAccess); FOR_NSCREENS_BACKWARD(j) { stuff->...
0
408,853
void fli_read_color_2(FILE *f, s_fli_header *fli_header, unsigned char *old_cmap, unsigned char *cmap) { unsigned short num_packets, cnt_packets, col_pos; num_packets=fli_read_short(f); col_pos=0; for (cnt_packets=num_packets; cnt_packets>0; cnt_packets--) { unsigned short skip_col, num_col, col_cnt; skip_col=f...
0
430,536
cupsdWriteClient(cupsd_client_t *con) /* I - Client connection */ { int bytes, /* Number of bytes written */ field_col; /* Current column */ char *bufptr, /* Pointer into buffer */ *bufend; /* Pointer to end of buffer */ ipp_state_t ipp_state; /* IPP state value */ cupsdLogClient(con, CUPSD_LOG_DE...
0
116,330
nv_compare(const void *s1, const void *s2) { int c1, c2; // The commands are sorted on absolute value. c1 = nv_cmds[*(const short *)s1].cmd_char; c2 = nv_cmds[*(const short *)s2].cmd_char; if (c1 < 0) c1 = -c1; if (c2 < 0) c2 = -c2; return c1 - c2; }
0
446,878
void ldb_set_require_private_event_context(struct ldb_context *ldb) { ldb->require_private_event_context = true; }
0
222,776
static void gen_add_A0_im(DisasContext *s, int val) { tcg_gen_addi_tl(cpu_A0, cpu_A0, val); if (!CODE64(s)) { tcg_gen_ext32u_tl(cpu_A0, cpu_A0); } }
0
154,039
static int compare_thresholds(const void *a, const void *b) { const struct mem_cgroup_threshold *_a = a; const struct mem_cgroup_threshold *_b = b; return _a->threshold - _b->threshold; }
0
9,609
const Cluster* Segment::GetLast() const { if ((m_clusters == NULL) || (m_clusterCount <= 0)) return &m_eos; const long idx = m_clusterCount - 1; Cluster* const pCluster = m_clusters[idx]; assert(pCluster); return pCluster; }
1
12,810
bool ContainOnlyOneKeyboardLayout( const ImeConfigValue& value) { return (value.type == ImeConfigValue::kValueTypeStringList && value.string_list_value.size() == 1 && chromeos::input_method::IsKeyboardLayout( value.string_list_value[0])); }
1
208,117
PHP_METHOD(snmp, getnext) { php_snmp(INTERNAL_FUNCTION_PARAM_PASSTHRU, SNMP_CMD_GETNEXT, (-1)); }
0
170,463
PrintMsg_Print_Params CalculatePrintParamsForCss( WebKit::WebFrame* frame, int page_index, const PrintMsg_Print_Params& page_params, bool ignore_css_margins, bool fit_to_page, double* scale_factor) { PrintMsg_Print_Params css_params = GetCssPrintParams(frame, page_index, ...
0
306,093
static long do_locks(unsigned int fd, unsigned int cmd, unsigned long arg) { struct flock64 kernel; struct oabi_flock64 user; mm_segment_t fs; long ret; if (copy_from_user(&user, (struct oabi_flock64 __user *)arg, sizeof(user))) return -EFAULT; kernel.l_type = user.l_type; kernel.l_whence = user.l_...
0
220,206
static void spl_filesystem_dir_open(spl_filesystem_object* intern, char *path TSRMLS_DC) { int skip_dots = SPL_HAS_FLAG(intern->flags, SPL_FILE_DIR_SKIPDOTS); intern->type = SPL_FS_DIR; intern->_path_len = strlen(path); intern->u.dir.dirp = php_stream_opendir(path, REPORT_ERRORS, FG(default_context)); if (intern...
0
191,274
int ChromeMockRenderThread::print_preview_pages_remaining() { int ChromeMockRenderThread::print_preview_pages_remaining() const { return print_preview_pages_remaining_; }
0
288,943
static void maybe_exit ( int error ) { if ( ! first_error ) first_error = error ; if ( ignore_errors ) return ; ignore_errors = 1 ; if ( opt_slave_data ) do_start_slave_sql ( mysql ) ; if ( mysql ) mysql_close ( mysql ) ; free_resources ( ) ; exit ( error ) ; }
0
471,569
char *ldbGetSourceLine(int line) { int idx = line-1; if (idx < 0 || idx >= ldb.lines) return "<out of range source code line>"; return ldb.src[idx]; }
0
489,791
ds->tile_dep_id_merged = GF_TRUE; if (ds->rep->dependency_id) gf_free(ds->rep->dependency_id); ds->rep->dependency_id = gf_strdup(base_ds->merged_tile_dep->rep->id); } } static void dasher_check_bitstream_swicthing(GF_DasherCtx *ctx, GF_MPD_AdaptationSet *set) { u32 i, j, count; Bool use_inband = ((ctx->bs_s...
0
73,355
static int ip_vs_genl_dump_service(struct sk_buff *skb, struct ip_vs_service *svc, struct netlink_callback *cb) { void *hdr; hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).pid, cb->nlh->nlmsg_seq, &ip_vs_genl_family, NLM_F_MULTI, IPVS_CMD_NEW_SERVICE); if (!hdr) return -EMSGSIZE; if (ip_vs_g...
0
199,190
void GLES2DecoderImpl::LoseContext(uint32 reset_status) { if (reset_status_ != GL_NO_ERROR) { return; } if (workarounds().use_virtualized_gl_contexts) { if (reset_status == GL_GUILTY_CONTEXT_RESET_ARB) { reset_status = GL_UNKNOWN_CONTEXT_RESET_ARB; } } else if (reset_status == GL_UNKNOWN_CONT...
0
433,238
ax25_cb *ax25_create_cb(void) { ax25_cb *ax25; if ((ax25 = kzalloc(sizeof(*ax25), GFP_ATOMIC)) == NULL) return NULL; refcount_set(&ax25->refcount, 1); skb_queue_head_init(&ax25->write_queue); skb_queue_head_init(&ax25->frag_queue); skb_queue_head_init(&ax25->ack_queue); skb_queue_head_init(&ax25->reseq_queu...
0
17,708
static void prplcb_conv_write ( PurpleConversation * conv , const char * who , const char * alias , const char * message , PurpleMessageFlags flags , time_t mtime ) { if ( flags & PURPLE_MESSAGE_SEND ) { handle_conv_msg ( conv , who , message , OPT_SELFMESSAGE , mtime ) ; } }
0
381,069
static void ram_migration_cancel(void *opaque) { migration_end(); }
0
139,031
void __exit bnep_sock_cleanup(void) { if (bt_sock_unregister(BTPROTO_BNEP) < 0) BT_ERR("Can't unregister BNEP socket"); proto_unregister(&bnep_proto); }
0
232,250
bool readArrayBuffer(v8::Handle<v8::Value>* value) { RefPtr<ArrayBuffer> arrayBuffer = doReadArrayBuffer(); if (!arrayBuffer) return false; *value = toV8(arrayBuffer.release(), m_scriptState->context()->Global(), isolate()); return true; }
0
424,531
copy_opt_map_info(OptMapInfo* to, OptMapInfo* from) { *to = *from; }
0
286,448
static void withScriptStateVoidExceptionMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) { TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); TestObjectV8Internal::withScriptStateVoidExceptionMethod(info); TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); }
0
361,048
int find_service(fstring service) { int iService; struct smbd_server_connection *sconn = smbd_server_conn; all_string_sub(service,"\\","/",0); iService = lp_servicenumber(service); /* now handle the special case of a home directory */ if (iService < 0) { char *phome_dir = get_user_home_dir(talloc_tos(), serv...
0
183,744
BluetoothSocketCreateFunction::BluetoothSocketCreateFunction() {}
0
23,523
static int rv34_decode_inter_mb_header ( RV34DecContext * r , int8_t * intra_types ) { MpegEncContext * s = & r -> s ; GetBitContext * gb = & s -> gb ; int mb_pos = s -> mb_x + s -> mb_y * s -> mb_stride ; int i , t ; r -> block_type = r -> decode_mb_info ( r ) ; if ( r -> block_type == - 1 ) return - 1 ; s -> c...
0