type stringclasses 5
values | content stringlengths 9 163k |
|---|---|
includes |
#include <openssl/buf.h> |
includes | #include <openssl/err.h> |
includes | #include <openssl/lhash.h> |
includes | #include <openssl/mem.h> |
includes | #include <openssl/obj.h> |
includes | #include <openssl/x509.h> |
defines |
#define NAME_ONELINE_MAX (1024 * 1024) |
functions | else if (len <= 0) {
return NULL;
} |
functions | else if (l > len) {
break;
} |
includes |
#include <config.h> |
includes | #include <unistd.h> |
includes |
#include <errno.h> |
includes | #include <string.h> |
includes | #include <sys/stat.h> |
functions | ssize_t
readlink (const char *name, char *buf _GL_UNUSED,
size_t bufsize _GL_UNUSED)
{
struct stat statbuf;
/* In general we should use lstat() here, not stat(). But on platforms
without symbolic links, lstat() - if it exists - would be equivalent to
stat(), therefore we can use stat(). This ... |
functions | ssize_t
rpl_readlink (const char *name, char *buf, size_t bufsize)
{
# if READLINK_TRAILING_SLASH_BUG
size_t len = strlen (name);
if (len && name[len - 1] == '/')
{
/* Even if name without the slash is a symlink to a directory,
both lstat() and stat() must resolve the trailing slash to
t... |
structs | struct adjust_info
{
tree from, to;
basic_block bb;
}; |
functions | void
rename_use_op (use_operand_p op_p)
{
tree new_name;
if (TREE_CODE (USE_FROM_PTR (op_p)) != SSA_NAME)
return;
new_name = get_current_def (USE_FROM_PTR (op_p));
/* Something defined outside of the loop. */
if (!new_name)
return;
/* An ordinary ssa name defined in the loop. */
SET_USE (op... |
functions | void
rename_variables_in_bb (basic_block bb, bool rename_from_outer_loop)
{
gimple *stmt;
use_operand_p use_p;
ssa_op_iter iter;
edge e;
edge_iterator ei;
struct loop *loop = bb->loop_father;
struct loop *outer_loop = NULL;
if (rename_from_outer_loop)
{
gcc_assert (loop);
outer_loop = l... |
functions | void
adjust_debug_stmts_now (adjust_info *ai)
{
basic_block bbphi = ai->bb;
tree orig_def = ai->from;
tree new_def = ai->to;
imm_use_iterator imm_iter;
gimple *stmt;
basic_block bbdef = gimple_bb (SSA_NAME_DEF_STMT (orig_def));
gcc_assert (dom_info_available_p (CDI_DOMINATORS));
/* Adjust any debug st... |
functions | void
adjust_vec_debug_stmts (void)
{
if (!MAY_HAVE_DEBUG_STMTS)
return;
gcc_assert (adjust_vec.exists ());
while (!adjust_vec.is_empty ())
{
adjust_debug_stmts_now (&adjust_vec.last ());
adjust_vec.pop ();
} |
functions | void
adjust_debug_stmts (tree from, tree to, basic_block bb)
{
adjust_info ai;
if (MAY_HAVE_DEBUG_STMTS
&& TREE_CODE (from) == SSA_NAME
&& ! SSA_NAME_IS_DEFAULT_DEF (from)
&& ! virtual_operand_p (from))
{
ai.from = from;
ai.to = to;
ai.bb = bb;
if (adjust_vec.exists (... |
functions | void
adjust_phi_and_debug_stmts (gimple *update_phi, edge e, tree new_def)
{
tree orig_def = PHI_ARG_DEF_FROM_EDGE (update_phi, e);
SET_PHI_ARG_DEF (update_phi, e->dest_idx, new_def);
if (MAY_HAVE_DEBUG_STMTS)
adjust_debug_stmts (orig_def, PHI_RESULT (update_phi),
gimple_bb (update_phi));
} |
functions | void
slpeel_update_phi_nodes_for_guard1 (edge guard_edge, struct loop *loop,
bool is_new_loop, basic_block *new_exit_bb)
{
gphi *orig_phi, *new_phi;
gphi *update_phi, *update_phi2;
tree guard_arg, loop_arg;
basic_block new_merge_bb = guard_edge->dest;
edge e = EDGE_SUCC (ne... |
functions | void
slpeel_update_phi_nodes_for_guard2 (edge guard_edge, struct loop *loop,
bool is_new_loop, basic_block *new_exit_bb)
{
gphi *orig_phi, *new_phi;
gphi *update_phi, *update_phi2;
tree guard_arg, loop_arg;
basic_block new_merge_bb = guard_edge->dest;
edge e = EDGE_SUCC (ne... |
functions | void
slpeel_make_loop_iterate_ntimes (struct loop *loop, tree niters)
{
tree indx_before_incr, indx_after_incr;
gcond *cond_stmt;
gcond *orig_cond;
edge exit_edge = single_exit (loop);
gimple_stmt_iterator loop_cond_gsi;
gimple_stmt_iterator incr_gsi;
bool insert_after;
tree init = build_int_cst (TREE_T... |
functions | void
slpeel_duplicate_current_defs_from_edges (edge from, edge to)
{
gimple_stmt_iterator gsi_from, gsi_to;
for (gsi_from = gsi_start_phis (from->dest),
gsi_to = gsi_start_phis (to->dest);
!gsi_end_p (gsi_from) && !gsi_end_p (gsi_to);)
{
gimple *from_phi = gsi_stmt (gsi_from);
gimple ... |
functions | edge
slpeel_add_loop_guard (basic_block guard_bb, tree cond,
gimple_seq cond_expr_stmt_list,
basic_block exit_bb, basic_block dom_bb,
int probability)
{
gimple_stmt_iterator gsi;
edge new_e, enter_e;
gcond *cond_stmt;
gimple_seq gimplify_stmt_list = NULL;
enter_e = EDGE_SUCC (guard... |
functions | bool
slpeel_can_duplicate_loop_p (const struct loop *loop, const_edge e)
{
edge exit_e = single_exit (loop);
edge entry_e = loop_preheader_edge (loop);
gcond *orig_cond = get_loop_exit_condition (loop);
gimple_stmt_iterator loop_exit_gsi = gsi_last_bb (exit_e->src);
unsigned int num_bb = loop->inner? 5 : 2;
... |
functions | void
slpeel_checking_verify_cfg_after_peeling (struct loop *first_loop,
struct loop *second_loop)
{
if (!flag_checking)
return;
basic_block loop1_exit_bb = single_exit (first_loop)->dest;
basic_block loop2_entry_bb = loop_preheader_edge (second_loop)->src;
basic_block loop1_entry_bb = loop_preheader... |
functions | void
set_prologue_iterations (basic_block bb_before_first_loop,
tree *first_niters,
struct loop *loop,
unsigned int th,
int probability)
{
edge e;
basic_block cond_bb, then_bb;
tree var, prologue_after_cost_adjust_name;
gimple_stmt_iterator gsi;
gphi *newphi;
edge e_true, e_false, e_fallthru... |
functions | source_location
find_loop_location (struct loop *loop)
{
gimple *stmt = NULL;
basic_block bb;
gimple_stmt_iterator si;
if (!loop)
return UNKNOWN_LOCATION;
stmt = get_loop_exit_condition (loop);
if (stmt
&& LOCATION_LOCUS (gimple_location (stmt)) > BUILTINS_LOCATION)
return gimple_location (... |
functions | bool
vect_can_advance_ivs_p (loop_vec_info loop_vinfo)
{
struct loop *loop = LOOP_VINFO_LOOP (loop_vinfo);
basic_block bb = loop->header;
gimple *phi;
gphi_iterator gsi;
/* Analyze phi functions of the loop header. */
if (dump_enabled_p ())
dump_printf_loc (MSG_NOTE, vect_location, "vect_can_advance_... |
functions | void
vect_update_ivs_after_vectorizer (loop_vec_info loop_vinfo, tree niters,
edge update_e)
{
struct loop *loop = LOOP_VINFO_LOOP (loop_vinfo);
basic_block exit_bb = single_exit (loop)->dest;
gphi *phi, *phi1;
gphi_iterator gsi, gsi1;
basic_block update_bb = update_e->dest;
gcc_checking_assert (vect... |
functions | void
vect_do_peeling_for_loop_bound (loop_vec_info loop_vinfo,
tree ni_name, tree ratio_mult_vf_name,
unsigned int th, bool check_profitability)
{
struct loop *loop = LOOP_VINFO_LOOP (loop_vinfo);
struct loop *scalar_loop = LOOP_VINFO_SCALAR_LOOP (loop_vinfo);
struct loop *new_loop;
edge update_e;
bas... |
functions | tree
vect_gen_niters_for_prolog_loop (loop_vec_info loop_vinfo, tree loop_niters, int *bound)
{
struct data_reference *dr = LOOP_VINFO_UNALIGNED_DR (loop_vinfo);
struct loop *loop = LOOP_VINFO_LOOP (loop_vinfo);
tree var;
gimple_seq stmts;
tree iters, iters_name;
edge pe;
basic_block new_bb;
gimple *dr_... |
functions | void
vect_update_init_of_dr (struct data_reference *dr, tree niters)
{
tree offset = DR_OFFSET (dr);
niters = fold_build2 (MULT_EXPR, sizetype,
fold_convert (sizetype, niters),
fold_convert (sizetype, DR_STEP (dr)));
offset = fold_build2 (PLUS_EXPR, sizetype,
fold_convert (sizetype, offset), niters);
... |
functions | void
vect_update_inits_of_drs (loop_vec_info loop_vinfo, tree niters)
{
unsigned int i;
vec<data_reference_p> datarefs = LOOP_VINFO_DATAREFS (loop_vinfo);
struct data_reference *dr;
if (dump_enabled_p ())
dump_printf_loc (MSG_NOTE, vect_location,
"=== vect_update_inits_of_dr ===\n");
... |
functions | void
vect_do_peeling_for_alignment (loop_vec_info loop_vinfo, tree ni_name,
unsigned int th, bool check_profitability)
{
struct loop *loop = LOOP_VINFO_LOOP (loop_vinfo);
struct loop *scalar_loop = LOOP_VINFO_SCALAR_LOOP (loop_vinfo);
tree niters_of_prolog_loop;
tree wide_prolog_niters;
struct loop ... |
functions | void
vect_create_cond_for_align_checks (loop_vec_info loop_vinfo,
tree *cond_expr,
gimple_seq *cond_expr_stmt_list)
{
struct loop *loop = LOOP_VINFO_LOOP (loop_vinfo);
vec<gimple *> may_misalign_stmts
= LOOP_VINFO_MAY_MISALIGN_STMTS (loop_vinfo);
gimple *ref_stmt;
i... |
functions | void
vect_create_cond_for_alias_checks (loop_vec_info loop_vinfo, tree * cond_expr)
{
vec<dr_with_seg_len_pair_t> comp_alias_ddrs =
LOOP_VINFO_COMP_ALIAS_DDRS (loop_vinfo);
tree part_cond_expr;
/* Create expression
((store_ptr_0 + store_segment_length_0) <= load_ptr_0)
|| (load_ptr_0 + load_segment... |
functions | void
vect_loop_versioning (loop_vec_info loop_vinfo,
unsigned int th, bool check_profitability)
{
struct loop *loop = LOOP_VINFO_LOOP (loop_vinfo);
struct loop *scalar_loop = LOOP_VINFO_SCALAR_LOOP (loop_vinfo);
basic_block condition_bb;
gphi_iterator gsi;
gimple_stmt_iterator cond_exp_gsi;
basic_bl... |
functions | Escher_iHandle_t
ooaofooa_BP_ST_instanceloader( Escher_iHandle_t instance, const c_t * avlstring[] )
{
Escher_iHandle_t return_identifier = 0;
ooaofooa_BP_ST * self = (ooaofooa_BP_ST *) instance;
/* Initialize application analysis class attributes. */
self->Breakpoint_ID = (Escher_iHandle_t) Escher_atoi(... |
functions | void ooaofooa_BP_ST_batch_relate( Escher_iHandle_t instance )
{
ooaofooa_BP_ST * ooaofooa_BP_ST_instance = (ooaofooa_BP_ST *) instance;
ooaofooa_SM_STATE * ooaofooa_SM_STATErelated_instance1 = ooaofooa_SM_STATE_AnyWhere1( ooaofooa_BP_ST_instance->SMstt_ID, ooaofooa_BP_ST_instance->SM_ID );
if ( ooaofooa_SM_ST... |
functions | void
ooaofooa_BP_ST_R3102_Link( ooaofooa_BP_BP * supertype, ooaofooa_BP_ST * subtype )
{
/* Use TagEmptyHandleDetectionOn() to detect empty handle references. */
subtype->Breakpoint_ID = supertype->Breakpoint_ID;
/* Optimized linkage for BP_ST->BP_BP[R3102] */
subtype->BP_BP_R3102 = supertype;
/* Opti... |
functions | void
ooaofooa_BP_ST_R3102_Unlink( ooaofooa_BP_BP * supertype, ooaofooa_BP_ST * subtype )
{
/* Use TagEmptyHandleDetectionOn() to detect empty handle references. */
subtype->BP_BP_R3102 = 0;
supertype->R3102_subtype = 0;
supertype->R3102_object_id = 0;
} |
functions | void
ooaofooa_BP_ST_R3104_Link_has_set( ooaofooa_SM_STATE * part, ooaofooa_BP_ST * form )
{
/* Use TagEmptyHandleDetectionOn() to detect empty handle references. */
form->SM_ID = part->SM_ID;
form->SMstt_ID = part->SMstt_ID;
form->SM_STATE_R3104_is_set_on = part;
part->BP_ST_R3104_has_set = form;
} |
functions | void
ooaofooa_BP_ST_R3104_Unlink_has_set( ooaofooa_SM_STATE * part, ooaofooa_BP_ST * form )
{
/* Use TagEmptyHandleDetectionOn() to detect empty handle references. */
form->SM_ID = 0;
form->SMstt_ID = 0;
form->SM_STATE_R3104_is_set_on = 0;
part->BP_ST_R3104_has_set = 0;
} |
functions | void
ooaofooa_BP_ST_instancedumper( Escher_iHandle_t instance )
{
ooaofooa_BP_ST * self = (ooaofooa_BP_ST *) instance;
printf( "INSERT INTO BP_ST VALUES ( %ld,%d,%d,%ld,%ld );\n",
((long)self->Breakpoint_ID & ESCHER_IDDUMP_MASK),
self->onEntry,
self->onExit,
((long)self->SM_ID & ESCHER_IDDUM... |
defines |
#define LDEBUG 0 |
defines |
#define LOG_LEVEL 1 |
defines | #define LLOG(_level, _args) \ |
defines | #define LLOGLN(_level, _args) \ |
functions | int
rdpPolyText16Org(DrawablePtr pDrawable, GCPtr pGC,
int x, int y, int count, unsigned short *chars)
{
int rv;
rdpGCPtr priv;
GCFuncs *oldFuncs;
GC_OP_PROLOGUE(pGC);
rv = pGC->ops->PolyText16(pDrawable, pGC, x, y, count, chars);
GC_OP_EPILOGUE(pGC);
return rv;
} |
functions | int
rdpPolyText16(DrawablePtr pDrawable, GCPtr pGC,
int x, int y, int count, unsigned short *chars)
{
RegionRec reg;
RegionRec reg1;
int num_clips;
int cd;
int j;
int rv;
int got_id;
int dirty_type;
int post_process;
int reset_surface;
BoxRec box;
struct ima... |
functions | else if (got_id)
{
rdpup_begin_update();
rdpup_send_area(&id, box.x1, box.y1, box.x2 - box.x1, box.y2 - box.y1);
rdpup_end_update();
} |
functions | else if (cd == 2)
{
RegionInit(®1, &box, 0);
RegionIntersect(®, ®, ®1);
num_clips = REGION_NUM_RECTS(®);
if (num_clips > 0)
{
if (dirty_type != 0)
{
draw_item_add_img_region(pDirtyPriv, ®, GXcopy, dirty_type, TAG_POLY... |
functions | else if (got_id)
{
rdpup_begin_update();
for (j = num_clips - 1; j >= 0; j--)
{
box = REGION_RECTS(®)[j];
rdpup_send_area(&id, box.x1, box.y1, box.x2 - box.x1, box.y2 - box.y1);
} |
includes |
#include <dlfcn.h> |
includes | #include <stdio.h> |
includes | #include <unwind.h> |
includes | #include <libgcc_s.h> |
functions | void
init (void)
{
void *resume, *personality;
void *handle;
handle = __libc_dlopen (LIBGCC_S_SO);
if (handle == NULL
|| (resume = __libc_dlsym (handle, "_Unwind_Resume")) == NULL
|| (personality = __libc_dlsym (handle, "__gcc_personality_v0")) == NULL)
__libc_fatal (LIBGCC_S_SO " must be inst... |
functions | void
_Unwind_Resume (struct _Unwind_Exception *exc)
{
if (__builtin_expect (libgcc_s_resume == NULL, 0))
init ();
libgcc_s_resume (exc);
} |
functions | _Unwind_Reason_Code
__gcc_personality_v0 (int version, _Unwind_Action actions,
_Unwind_Exception_Class exception_class,
struct _Unwind_Exception *ue_header,
struct _Unwind_Context *context)
{
if (__builtin_expect (libgcc_s_personality == NULL, 0))
init ();
ret... |
includes |
#include <linux/i2c.h> |
includes | #include <linux/init.h> |
includes | #include <media/v4l2-device.h> |
includes | #include <linux/delay.h> |
includes | #include <linux/interrupt.h> |
includes | #include <linux/irq.h> |
includes | #include <linux/vmalloc.h> |
includes | #include <linux/firmware.h> |
includes | #include <linux/videodev2.h> |
includes | #include <linux/videodev2_samsung.h> |
includes |
#include <linux/regulator/machine.h> |
includes |
#include <media/m5mo_platform.h> |
defines |
#define M5MO_DRIVER_NAME "M5MO" |
defines |
#define M5MO_FW_PATH "/sdcard/RS_M5LS.bin" |
defines | #define M5MO_FW_DUMP_PATH "/data/RS_M5LS_dump.bin" |
defines |
#define M5MOTB_FW_PATH "RS_M5LS_TB.bin" /* TECHWIN - SONY */ |
defines | #define M5MOSB_FW_PATH "RS_M5LS_SB.bin" /* ELECTRO-MECHANICS - SONY */ |
defines | #define M5MOOO_FW_PATH "RS_M5LS_OO.bin" /* FIBEROPTICS - SONY */ |
defines |
#define M5MO_FW_VER_LEN 22 |
defines | #define M5MO_FW_VER_FILE_CUR 0x16FF00 |
defines |
#define M5MO_FLASH_BASE_ADDR 0x10000000 |
defines | #define M5MO_INT_RAM_BASE_ADDR 0x68000000 |
defines |
#define M5MO_I2C_RETRY 5 |
defines | #define M5MO_I2C_VERIFY 100 |
defines | #define M5MO_ISP_TIMEOUT 3000 |
defines | #define M5MO_ISP_AFB_TIMEOUT 15000 /* FIXME */ |
defines | #define M5MO_ISP_ESD_TIMEOUT 1000 |
defines |
#define M5MO_JPEG_MAXSIZE 0x3A0000 |
defines | #define M5MO_THUMB_MAXSIZE 0xFC00 |
defines | #define M5MO_POST_MAXSIZE 0xBB800 |
defines |
#define M5MO_DEF_APEX_DEN 100 |
defines |
#define m5mo_readb(sd, g, b, v) m5mo_read(sd, 1, g, b, v) |
defines | #define m5mo_readw(sd, g, b, v) m5mo_read(sd, 2, g, b, v) |
defines | #define m5mo_readl(sd, g, b, v) m5mo_read(sd, 4, g, b, v) |
defines |
#define m5mo_writeb(sd, g, b, v) m5mo_write(sd, 1, g, b, v) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.