idx
int64
func
string
target
int64
293,031
static struct user_ta_elf *find_ta_elf(const TEE_UUID *uuid, struct user_ta_ctx *utc) { struct user_ta_elf *elf; TAILQ_FOREACH(elf, &utc->elfs, link) if (!memcmp(&elf->uuid, uuid, sizeof(*uuid))) return elf; return NULL; }
0
494,496
static CURLcode gzip_unencode_write(struct Curl_easy *data, struct contenc_writer *writer, const char *buf, size_t nbytes) { struct zlib_params *zp = (struct zlib_params *) &writer->params; z_stream *z = &zp->z; /* zlib state structure */ ...
0
271,893
Status DepthwiseConv2DNativeShapeImpl(shape_inference::InferenceContext* c, bool supports_explicit_padding) { ShapeHandle input_shape; TF_RETURN_IF_ERROR(c->WithRank(c->input(0), 4, &input_shape)); ShapeHandle filter_shape; TF_RETURN_IF_ERROR(c->WithRank(c->input(1), 4, &fi...
0
516,535
close_mysql_tables(THD *thd) { if (! thd->in_sub_stmt) trans_commit_stmt(thd); close_thread_tables(thd); thd->release_transactional_locks(); }
0
262,454
R_API RBinJavaAttrInfo *r_bin_java_line_number_table_attr_new(RBinJavaObj *bin, ut8 *buffer, ut64 sz, ut64 buf_offset) { ut32 i = 0; ut64 curpos, offset = 0; RBinJavaLineNumberAttribute *lnattr; if (sz < 6) { return NULL; } RBinJavaAttrInfo *attr = r_bin_java_default_attr_new (bin, buffer, sz, buf_offset); if ...
0
245,832
DOMTokenList* HTMLIFrameElement::sandbox() const { return sandbox_.Get(); }
0
382,351
StreamConnection(pgsocket server_fd, Port *port) { /* accept connection and fill in the client (remote) address */ port->raddr.salen = sizeof(port->raddr.addr); if ((port->sock = accept(server_fd, (struct sockaddr *) & port->raddr.addr, &port->raddr.salen)) == PGINVALID_SOCKET) { ereport(LOG, ...
0
452,845
WandExport PixelIterator *NewPixelIterator(MagickWand *wand) { const char *quantum; ExceptionInfo *exception; Image *image; PixelIterator *iterator; size_t depth; CacheView *view; depth=MAGICKCORE_QUANTUM_DEPTH; quantum=GetMagickQuantumDepth(&depth); if (depth != MAGICKCO...
0
23,935
static void flush_packet ( AVFormatContext * s ) { ASFContext * asf = s -> priv_data ; int packet_hdr_size , packet_filled_size ; av_assert0 ( asf -> packet_timestamp_end >= asf -> packet_timestamp_start ) ; if ( asf -> is_streamed ) put_chunk ( s , 0x4424 , s -> packet_size , 0 ) ; packet_hdr_size = put_payload_p...
0
393,100
xmlSchemaBucketCreate(xmlSchemaParserCtxtPtr pctxt, int type, const xmlChar *targetNamespace) { xmlSchemaBucketPtr ret; int size; xmlSchemaPtr mainSchema; if (WXS_CONSTRUCTOR(pctxt)->mainSchema == NULL) { PERROR_INT("xmlSchemaBucketCreate", "no main schema on constructor"); return(NULL); ...
0
286,219
ui::AXNode* FindNodeWithChildTreeId(ui::AXNode* node, int child_tree_id) { if (child_tree_id == node->data().GetIntAttribute(ui::AX_ATTR_CHILD_TREE_ID)) return node; for (int i = 0; i < node->child_count(); ++i) { ui::AXNode* result = FindNodeWithChildTreeId(node->ChildAtIndex(i), child_tree_id); ...
0
503,983
static int _sqlite_commit_txn(void *db, const sasl_utils_t *utils) { return _sqlite_exec(db, "COMMIT TRANSACTION", NULL, 0, NULL, utils); }
0
396,312
static void emit(JF, int value) { emitraw(J, F, value); }
0
156,649
static int process_block(struct archive_read* a) { const uint8_t* p; struct rar5* rar = get_context(a); int ret; /* If we don't have any data to be processed, this most probably means * we need to switch to the next volume. */ if(rar->main.volume && rar->file.bytes_remaining == 0) { ret = advance_multivolume(...
0
113,348
OVS_REQUIRES(ipf->ipf_lock) { struct ipf_list *ipf_list; HMAP_FOR_EACH_WITH_HASH (ipf_list, node, hash, &ipf->frag_lists) { if (ipf_list_key_eq(&ipf_list->key, key)) { return ipf_list; } } return NULL; }
0
161,371
ImagingTiffVersion(void) { return TIFFGetVersion(); }
0
301,016
GF_Err dmax_box_size(GF_Box *s) { s->size += 4; return GF_OK; }
0
173,260
static int sched_rt_global_constraints(void) { unsigned long flags; int i; raw_spin_lock_irqsave(&def_rt_bandwidth.rt_runtime_lock, flags); for_each_possible_cpu(i) { struct rt_rq *rt_rq = &cpu_rq(i)->rt; raw_spin_lock(&rt_rq->rt_runtime_lock); rt_rq->rt_runtime = global_rt_runtime(); raw_spin_unlock(&rt_...
0
495,823
void gf_av1_reset_state(AV1State *state, Bool is_destroy) { GF_List *l1, *l2; if (state->frame_state.header_obus) { while (gf_list_count(state->frame_state.header_obus)) { GF_AV1_OBUArrayEntry *a = (GF_AV1_OBUArrayEntry*)gf_list_pop_back(state->frame_state.header_obus); if (a->obu) gf_free(a->obu); gf_fre...
0
265,546
int callback_glewlwyd_check_user_profile_valid (const struct _u_request * request, struct _u_response * response, void * user_data) { struct config_elements * config = (struct config_elements *)user_data; char * session_uid; json_t * j_user; int ret, res; if ((session_uid = get_session_id(config, request))...
0
395,193
create_info_message_area (const gchar *primary_text, const gchar *secondary_text, EogErrorMessageAreaButtons buttons) { GtkWidget *message_area; /* create a new message area */ message_area = gtk_info_bar_new (); /* add requested buttons to the message area */ add_mess...
0
478,368
CImg<T>& select(CImgDisplay &disp, const unsigned int feature_type=2, unsigned int *const XYZ=0, const bool exit_on_anykey=false, const bool is_deep_selection_default=false) { return get_select(disp,feature_type,XYZ,exit_on_anykey,is_deep_selection_d...
0
69,221
static double mp_cut(_cimg_math_parser& mp) { double val = _mp_arg(2), cmin = _mp_arg(3), cmax = _mp_arg(4); return val<cmin?cmin:val>cmax?cmax:val;
0
308,760
int tls_construct_server_key_exchange(SSL *s) { #ifndef OPENSSL_NO_DH EVP_PKEY *pkdh = NULL; int j; #endif #ifndef OPENSSL_NO_EC unsigned char *encodedPoint = NULL; int encodedlen = 0; int curve_id = 0; #endif EVP_PKEY *pkey; const EVP_MD *md = NULL; unsigned char *p, *d; int al, i; ...
0
328,420
static SlirpState *slirp_lookup(Monitor *mon, const char *vlan, const char *stack) { VLANClientState *vc; if (vlan) { vc = qemu_find_vlan_client_by_name(mon, strtol(vlan, NULL, 0), stack); if (!vc) { return NULL; } if (strcmp...
0
297,367
static int vmci_transport_reply_reset(struct vmci_transport_packet *pkt) { return vmci_transport_reply_control_pkt_fast( pkt, VMCI_TRANSPORT_PACKET_TYPE_RST, 0, 0, NULL, VMCI_INVALID_HANDLE); }
0
283,078
void InlineTextBox::computeRectForReplacementMarker(int /*tx*/, int /*ty*/, const DocumentMarker& marker, RenderStyle* style, const Font& font) { int y = selectionTop(); int h = selectionHeight(); int sPos = max(marker.startOffset - m_start, (unsigned)0); int ePos = min(marker.endOffset - m_start, ...
0
332,075
static void bdrv_cow_init(void) { bdrv_register(&bdrv_cow); }
0
298,950
rs_filter_set_recursive(RSFilter *filter, ...) { va_list ap; gchar *property_name; RSFilter *current_filter; GParamSpec *spec; RSFilter *first_seen_here = NULL; GTypeValueTable *table = NULL; GType type = 0; union CValue { gint v_int; glong v_long; gint64 v_int64; gdouble v_double; gpointer ...
0
289,293
void nautilus_file_operations_copy ( GList * files , GArray * relative_item_points , GFile * target_dir , GtkWindow * parent_window , NautilusCopyCallback done_callback , gpointer done_callback_data ) { GTask * task ; CopyMoveJob * job ; job = op_job_new ( CopyMoveJob , parent_window ) ; job -> desktop_location = n...
0
444,758
TEST_P(DownstreamProtocolIntegrationTest, TestTwoFiltersDecodeHeadersReturnsStopAll) { config_helper_.addFilter(R"EOF( name: decode-headers-return-stop-all-filter )EOF"); config_helper_.addFilter(R"EOF( name: decode-headers-return-stop-all-filter )EOF"); config_helper_.addFilter(R"EOF( name: passthrough-filter )E...
0
496,665
TEST_P(Security, BuiltinAuthenticationAndAccessAndCryptoPlugin_PermissionsEnableDiscoveryDisableAccessNone_validation_ok_enable_discovery_enable_access_none) // *INDENT-ON* { PubSubReader<HelloWorldType> reader(TEST_TOPIC_NAME); PubSubWriter<HelloWorldType> writer(TEST_TOPIC_NAME); std::string governance_fi...
0
311,649
int64_t MetricsLog::GetBuildTime() { static int64_t integral_build_time = 0; if (!integral_build_time) integral_build_time = static_cast<int64_t>(base::GetBuildTime().ToTimeT()); return integral_build_time; }
0
400,410
sig_handler endprog(int signal_number MY_ATTRIBUTE((unused))) { interrupted=1; }
0
425,348
static void quirk_ioat_snb_local_iommu(struct pci_dev *pdev) { struct dmar_drhd_unit *drhd; u32 vtbar; int rc; /* We know that this device on this chipset has its own IOMMU. * If we find it under a different IOMMU, then the BIOS is lying * to us. Hope that the IOMMU for this device is actually * disabled, an...
0
275,121
HTMLBodyElement::HTMLBodyElement(Document& document) : HTMLElement(bodyTag, document) { ScriptWrappable::init(this); }
0
64,203
RawTile TileManager::getTile( int resolution, int tile, int xangle, int yangle, int layers, CompressionType ctype ){ RawTile* rawtile = NULL; string tileCompression; string compName; // Time the tile retrieval if( loglevel >= 3 ) tile_timer.start(); /* Try to get the encoded tile directly from our cach...
0
499,898
ContentProvider(QPDFObjectHandle from_page) : from_page(from_page) { }
0
172,587
void socket_register(socket_t *socket, reactor_t *reactor, void *context, socket_cb read_cb, socket_cb write_cb) { assert(socket != NULL); socket_unregister(socket); socket->read_ready = read_cb; socket->write_ready = write_cb; socket->context = context; void (*read_fn)(void *) = (read_cb != NULL) ? inter...
0
38,577
static pj_bool_t mod_pjsua_on_rx_request(pjsip_rx_data *rdata) { pj_bool_t processed = PJ_FALSE; PJSUA_LOCK(); if (rdata->msg_info.msg->line.req.method.id == PJSIP_INVITE_METHOD) { processed = pjsua_call_on_incoming(rdata); } PJSUA_UNLOCK(); return processed; }
0
364,281
gif_set_get_frame_info (GifContext *context) { context->state = GIF_GET_FRAME_INFO; }
0
247,577
BrowserWindow* Browser::CreateBrowserWindow() { if (type() == Browser::TYPE_APP_PANEL && CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnablePanels)) return PanelManager::GetInstance()->CreatePanel(this); return BrowserWindow::CreateBrowserWindow(this); }
0
282,634
void FramebufferManager::OnTextureRefDetached(TextureRef* texture) { for (TextureDetachObserverVector::iterator it = texture_detach_observers_.begin(); it != texture_detach_observers_.end(); ++it) { TextureDetachObserver* observer = *it; observer->OnTextureRefDetachedFromFramebuffer(t...
0
470,414
void avahi_s_host_name_resolver_free(AvahiSHostNameResolver *r) { assert(r); AVAHI_LLIST_REMOVE(AvahiSHostNameResolver, resolver, r->server->host_name_resolvers, r); if (r->record_browser_a) avahi_s_record_browser_free(r->record_browser_a); if (r->record_browser_aaaa) avahi_s_record_b...
0
519,539
double Field_real::get_double(const char *str, size_t length, CHARSET_INFO *cs, int *error) { char *end; double nr= my_strntod(cs,(char*) str, length, &end, error); if (unlikely(*error)) { set_warning(ER_WARN_DATA_OUT_OF_RANGE, 1); *error= 1; } else if (get_thd()->count...
0
138,033
void __fsnotify_vfsmount_delete(struct vfsmount *mnt) { fsnotify_clear_marks_by_mount(mnt); }
0
77,578
R_API int *r_str_split_lines(char *str, int *count) { int i; int lines = 0; if (!str) { return NULL; } int *indexes = NULL; // count lines for (i = 0; str[i]; i++) { if (str[i] == '\n') { lines++; } } // allocate and set indexes indexes = calloc (sizeof (int), lines + 1); if (!indexes) { return NU...
0
19,825
static int try_grow_lower ( MAIN_WINDOW_REC * window , int count ) { MAIN_WINDOW_REC * grow_win ; grow_win = mainwindows_find_lower ( window ) ; if ( grow_win != NULL ) { MAIN_WINDOW_REC * win ; GSList * grow_list , * shrink_list , * tmp ; grow_list = mainwindows_get_line ( grow_win ) ; shrink_list = mainwindows...
0
221,680
WORD32 ih264d_delete_gap_frm_sliding(dpb_manager_t *ps_dpb_mgr, WORD32 i4_frame_num, UWORD8 *pu1_del_node) { WORD8 i1_gap_idx, i, j, j_min; WORD32 *pi4_gaps_start_frm_num, *pi4_gaps_end_frm_num, i4_gap_frame_num; WORD32 i4_start_frm_num...
0
163,587
InlineFlowBox::~InlineFlowBox() { if (!m_hasBadChildList) for (InlineBox* child = firstChild(); child; child = child->nextOnLine()) child->setHasBadParent(); }
0
439,257
[[nodiscard]] Guard add(Connection& conn) { std::lock_guard lock{mutex}; connections.push_back(conn); return Guard{this, &conn}; }
0
79,559
virDomainGetJobStats(virDomainPtr domain, int *type, virTypedParameterPtr *params, int *nparams, unsigned int flags) { virConnectPtr conn; VIR_DOMAIN_DEBUG(domain, "type=%p, params=%p, nparams=%p, flags=%x", ...
0
389,992
output_buffer& HandShakeHeader::get(output_buffer& out) const { return out << *this; }
0
6,061
static void merge_param(HashTable *params, zval *zdata, zval ***current_param, zval ***current_args TSRMLS_DC) { zval **ptr, **zdata_ptr; php_http_array_hashkey_t hkey = php_http_array_hashkey_init(0); #if 0 { zval tmp; INIT_PZVAL_ARRAY(&tmp, params); fprintf(stderr, "params = "); zend_print_zval_r(&tmp, 1 ...
1
79,459
static bool will_write_block(struct port *port) { bool ret; if (!port->guest_connected) { /* Port got hot-unplugged. Let's exit. */ return false; } if (!port->host_connected) return true; spin_lock_irq(&port->outvq_lock); /* * Check if the Host has consumed any buffers since we last * sent data (this ...
0
457,673
int __close_range(unsigned fd, unsigned max_fd, unsigned int flags) { unsigned int cur_max; struct task_struct *me = current; struct files_struct *cur_fds = me->files, *fds = NULL; if (flags & ~CLOSE_RANGE_UNSHARE) return -EINVAL; if (fd > max_fd) return -EINVAL; rcu_read_lock(); cur_max = files_fdtable(c...
0
177,352
SoftAACEncoder2::~SoftAACEncoder2() { aacEncClose(&mAACEncoder); onReset(); }
0
84,332
static void wmv2_idct_row(short * b) { int s1, s2; int a0, a1, a2, a3, a4, a5, a6, a7; /* step 1 */ a1 = W1 * b[1] + W7 * b[7]; a7 = W7 * b[1] - W1 * b[7]; a5 = W5 * b[5] + W3 * b[3]; a3 = W3 * b[5] - W5 * b[3]; a2 = W2 * b[2] + W6 * b[6]; a6 = W6 * b[2] - W2 * b[6]; ...
1
418,274
void RGWListMultipart::execute() { map<string, bufferlist> xattrs; string meta_oid; RGWMPObj mp; op_ret = get_params(); if (op_ret < 0) return; mp.init(s->object.name, upload_id); meta_oid = mp.get_meta(); op_ret = get_multipart_info(store, s, meta_oid, &policy, xattrs); if (op_ret < 0) ret...
0
214,877
v8::Handle<v8::Value> V8ThrowException::throwException(v8::Handle<v8::Value> exception, v8::Isolate* isolate) { if (!v8::V8::IsExecutionTerminating()) isolate->ThrowException(exception); return v8::Undefined(isolate); }
0
429,081
ModuleExport void UnregisterHEICImage(void) { (void) UnregisterMagickInfo("HEIC"); }
0
40,478
void iwpvt_prng_destroy(struct iw_context *ctx, struct iw_prng *prng) { if(prng) iw_free(ctx,(void*)prng); }
0
19,135
static inline void SetPixelMagenta ( const Image * restrict image , const Quantum magenta , Quantum * restrict pixel ) { pixel [ image -> channel_map [ MagentaPixelChannel ] . offset ] = magenta ; }
0
342,314
static int nvenc_find_free_reg_resource(AVCodecContext *avctx) { NvencContext *ctx = avctx->priv_data; NvencDynLoadFunctions *dl_fn = &ctx->nvenc_dload_funcs; NV_ENCODE_API_FUNCTION_LIST *p_nvenc = &dl_fn->nvenc_funcs; int i; if (ctx->nb_registered_frames == FF_ARRAY_ELEMS(ctx->registered_...
0
206,547
const VisibleSelection& FrameSelection::ComputeVisibleSelectionInDOMTree() const { return selection_editor_->ComputeVisibleSelectionInDOMTree(); }
0
252,779
Tab* TabStrip::FindTabForEvent(const gfx::Point& point) { if (touch_layout_.get()) { int active_tab_index = touch_layout_->active_index(); if (active_tab_index != -1) { Tab* tab = FindTabForEventFrom(point, active_tab_index, -1); if (!tab) tab = FindTabForEventFrom(point, active_tab_index ...
0
491,005
static RBinWasmElementEntry *parse_element_entry(RBinWasmObj *bin, ut64 bound, ut32 index) { RBuffer *b = bin->buf; RBinWasmElementEntry *elem = R_NEW0 (RBinWasmElementEntry); if (elem) { elem->sec_i = index; elem->file_offset = r_buf_tell (b); if (!consume_u32_r (b, bound, &elem->index)) { goto beach; } ...
0
301,965
int proc_nr_files(ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos) { files_stat.nr_files = get_nr_files(); return proc_doulongvec_minmax(table, write, buffer, lenp, ppos); }
0
521,066
CHARSET_INFO *charset_for_protocol(void) const { return type_handler()->charset_for_protocol(this); };
0
356,745
static int jpc_encrawrefpass(jpc_bitstream_t *out, int bitpos, int vcausalflag, jas_matrix_t *flags, jas_matrix_t *data, int term, long *nmsedec) { int i; int j; int k; int one; int vscanlen; int width; int height; int frowstep; int drowstep; int fstripestep; int dstripestep; jpc_fix_t *fstripestart; jpc...
0
417,924
void RGWRESTMgr::register_default_mgr(RGWRESTMgr *mgr) { delete default_mgr; default_mgr = mgr; }
0
144,255
batchNumMsgs(batch_t *pBatch) { return pBatch->nElem; }
0
187,095
void WebPageProxy::didPerformDragControllerAction(uint64_t resultOperation) { m_currentDragOperation = static_cast<DragOperation>(resultOperation); }
0
200,250
xmlBufCreateSize(size_t size) { xmlBufPtr ret; ret = (xmlBufPtr) xmlMalloc(sizeof(xmlBuf)); if (ret == NULL) { xmlBufMemoryError(NULL, "creating buffer"); return(NULL); } ret->compat_use = 0; ret->use = 0; ret->error = 0; ret->buffer = NULL; ret->alloc = xmlBufferAllocSchem...
0
52,114
srs_init(srs_t *srs) { memset(srs, 0, sizeof(srs_t)); srs->secrets = NULL; srs->numsecrets = 0; srs->separator = '='; srs->maxage = 21; srs->hashlength = 4; srs->hashmin = srs->hashlength; srs->alwaysrewrite = FALSE; }
0
284,722
bool AccessibilityTreeContainsNodeWithName(BrowserAccessibility* node, const std::string& name) { if (node->GetStringAttribute(ax::mojom::StringAttribute::kName) == name) return true; for (unsigned i = 0; i < node->PlatformChildCount(); i++) { if (AccessibilityTree...
0
376,145
static inline void inet_frag_lru_del(struct inet_frag_queue *q) { spin_lock(&q->net->lru_lock); list_del(&q->lru_list); spin_unlock(&q->net->lru_lock); }
0
211,643
error::Error GLES2DecoderPassthroughImpl::DoResumeTransformFeedback() { api()->glResumeTransformFeedbackFn(); return error::kNoError; }
0
311,763
static void dumpFrameScrollPosition(WKBundleFrameRef frame, StringBuilder& stringBuilder, FrameNamePolicy shouldIncludeFrameName = ShouldNotIncludeFrameName) { double x = numericWindowPropertyValue(frame, "pageXOffset"); double y = numericWindowPropertyValue(frame, "pageYOffset"); if (fabs(x) <= 0.00000001 ...
0
70,571
ofpact_hdrs_equal(const struct ofpact_hdrs *a, const struct ofpact_hdrs *b) { return (a->vendor == b->vendor && a->type == b->type && a->ofp_version == b->ofp_version); }
0
428,926
static PHP_INI_MH(OnUpdateInputEncoding) { if (ZSTR_LEN(new_value) >= ICONV_CSNMAXLEN) { return FAILURE; } if (stage & (PHP_INI_STAGE_ACTIVATE | PHP_INI_STAGE_RUNTIME)) { php_error_docref("ref.iconv", E_DEPRECATED, "Use of iconv.input_encoding is deprecated"); } OnUpdateString(entry, new_value, mh_arg1, mh_arg...
0
316,506
void ide_exec_cmd(IDEBus *bus, uint32_t val) { IDEState *s; bool complete; #if defined(DEBUG_IDE) printf("ide: CMD=%02x\n", val); #endif s = idebus_active_if(bus); /* ignore commands to non existent slave */ if (s != bus->ifs && !s->blk) { return; } /* Only DEVICE RESET is allo...
0
395,687
void manager_enumerate(Manager *m) { UnitType c; assert(m); /* Let's ask every type to load all units from disk/kernel * that it might know */ for (c = 0; c < _UNIT_TYPE_MAX; c++) { if (!unit_type_supported(c)) { log_debug("Unit type .%s...
0
9,907
static void JNI_WebApkUpdateManager_StoreWebApkUpdateRequestToFile( JNIEnv* env, const JavaParamRef<jstring>& java_update_request_path, const JavaParamRef<jstring>& java_start_url, const JavaParamRef<jstring>& java_scope, const JavaParamRef<jstring>& java_name, const JavaParamRef<jstring>& java_...
1
356,146
generic_file_direct_write(struct kiocb *iocb, const struct iovec *iov, unsigned long *nr_segs, loff_t pos, loff_t *ppos, size_t count, size_t ocount) { struct file *file = iocb->ki_filp; struct address_space *mapping = file->f_mapping; struct inode *inode = mapping->host; ssize_t written; size_t write_len; ...
0
496,378
CURLcode Curl_ossl_verifyhost(struct Curl_easy *data, struct connectdata *conn, X509 *server_cert) { bool matched = FALSE; int target = GEN_DNS; /* target type, GEN_DNS or GEN_IPADD */ size_t addrlen = 0; STACK_OF(GENERAL_NAME) *altnames; #ifdef ENABLE_IPV6 struct in6_addr addr; ...
0
253,310
void PrintPreviewDialogController::SaveInitiatorTitle( WebContents* preview_dialog) { WebContents* initiator = GetInitiator(preview_dialog); if (initiator && preview_dialog->GetWebUI()) { PrintPreviewUI* print_preview_ui = static_cast<PrintPreviewUI*>( preview_dialog->GetWebUI()->GetController()); ...
0
490,852
static pid_t do_cmd(char *cmd, char *machine, char *user, char **remote_argv, int remote_argc, int *f_in_p, int *f_out_p) { int i, argc = 0; char *args[MAX_ARGS], *need_to_free = NULL; pid_t pid; int dash_l_set = 0; if (!read_batch && !local_server) { char *t, *f, in_quote = '\0'; char *rsh_env = getenv...
0
164,910
void HTMLElement::insertAdjacentHTML(const String& where, const String& markup, ExceptionCode& ec) { Element* contextElement = contextElementForInsertion(where, this, ec); if (!contextElement) return; ExceptionCode ignoredEc = 0; // FIXME: We should propagate a syntax error exception out here. ...
0
402,876
bool is_reference(t_field* tfield) { return tfield->get_reference(); }
0
371,037
int LibRaw::raw2image_ex(void) { CHECK_ORDER_LOW(LIBRAW_PROGRESS_LOAD_RAW); raw2image_start(); // process cropping int do_crop = 0; unsigned save_filters = imgdata.idata.filters; unsigned save_width = S.width; if (~O.cropbox[2] && ~O.cropbox[3]) { int crop[4],c,filt; ...
0
210,877
static zval *php_zip_get_property_ptr_ptr(zval *object, zval *member, int type, void **cache_slot) /* {{{ */ { ze_zip_object *obj; zval tmp_member; zval *retval = NULL; zip_prop_handler *hnd = NULL; zend_object_handlers *std_hnd; if (Z_TYPE_P(member) != IS_STRING) { ZVAL_COPY(&tmp_member, member); convert_to...
0
49,037
int64_t NgxEspRequest::GetGrpcResponseBytes() { ngx_esp_request_ctx_t *ctx = ngx_http_esp_get_module_ctx(r_); return ctx->grpc_response_bytes; }
0
125,047
static int __msr_io(struct kvm_vcpu *vcpu, struct kvm_msrs *msrs, struct kvm_msr_entry *entries, int (*do_msr)(struct kvm_vcpu *vcpu, unsigned index, u64 *data)) { int i, idx; idx = srcu_read_lock(&vcpu->kvm->srcu); for (i = 0; i < msrs->nmsrs; ++i) if (do_msr(vcpu, entries[i].index, &entries[i]...
0
381,978
bm_delta2_search (char const **tpp, char const *ep, char const *sp, int len, char const *trans, char gc1, char gc2, unsigned char const *d1, kwset_t kwset) { char const *tp = *tpp; int d = len, skip = 0; while (true) { int i = 2; if (tr (trans, tp[-2]) == gc2) ...
0
389,305
NCR_ModifyMaxdelaydevratio(NCR_Instance inst, double new_max_delay_dev_ratio) { inst->max_delay_dev_ratio = new_max_delay_dev_ratio; LOG(LOGS_INFO, LOGF_NtpCore, "Source %s new max delay dev ratio %f", UTI_IPToString(&inst->remote_addr.ip_addr), new_max_delay_dev_ratio); }
0
418,271
virtual void pre_exec() {}
0
324,168
static int gxf_packet(AVFormatContext *s, AVPacket *pkt) { ByteIOContext *pb = s->pb; pkt_type_t pkt_type; int pkt_len; while (!url_feof(pb)) { int track_type, track_id, ret; int field_nr; if (!parse_packet_header(pb, &pkt_type, &pkt_len)) { if (!url_feof(pb))...
1
318,854
static inline bool migration_bitmap_test_and_reset_dirty(MemoryRegion *mr, ram_addr_t offset) { bool ret; int nr = (mr->ram_addr + offset) >> TARGET_PAGE_BITS; ret = test_and_clear_bit(nr, migration_bitmap); if (ret) { migration...
0
59,434
void pcre_reinit() { PCRECache::CacheKind kind; if (RuntimeOption::EvalPCRECacheType == "static") { kind = PCRECache::CacheKind::Static; } else if (RuntimeOption::EvalPCRECacheType == "lru") { kind = PCRECache::CacheKind::Lru; } else if (RuntimeOption::EvalPCRECacheType == "scalable") { kind = PCREC...
0