/third_party/skia/infra/bots/task_drivers/canary/ |
H A D | canary.go | 49 ctx := td.StartRun(projectId, taskId, taskName, output, local) 50 defer td.EndRun(ctx) 52 td.Fatalf(ctx, "--roller_name must be specified") 57 td.Fatal(ctx, skerr.Wrap(err)) 60 td.Fatalf(ctx, "This task driver should be run only as a try bot") 64 ts, err := auth_steps.Init(ctx, *local, auth.ScopeUserinfoEmail, datastore.ScopeDatastore) 66 td.Fatal(ctx, skerr.Wrap(err)) 70 td.StepText(ctx, "Canary roll doc", "https://goto.google.com/autoroller-canary-bots") 73 manualRollDB, err := manual.NewDBWithParams(ctx, firestore.FIRESTORE_PROJECT, "production", ts) 75 td.Fatal(ctx, sker [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_fps.c | 119 static av_cold int init(AVFilterContext *ctx) in init() argument 121 FPSContext *s = ctx->priv; in init() 130 static AVFrame *shift_frame(AVFilterContext *ctx, FPSContext *s) in shift_frame() argument 145 av_log(ctx, AV_LOG_DEBUG, "Duplicated frame with pts %"PRId64" %d times\n", in shift_frame() 149 av_log(ctx, AV_LOG_DEBUG, "Dropping frame with pts %"PRId64"\n", in shift_frame() 158 static av_cold void uninit(AVFilterContext *ctx) in uninit() argument 160 FPSContext *s = ctx->priv; in uninit() 165 frame = shift_frame(ctx, s); in uninit() 169 av_log(ctx, AV_LOG_VERBOSE, "%d frames in, %d frames out; %d frames dropped, " in uninit() 175 AVFilterContext *ctx in config_props() local 219 read_frame(AVFilterContext *ctx, FPSContext *s, AVFilterLink *inlink, AVFilterLink *outlink) read_frame() argument 252 write_frame(AVFilterContext *ctx, FPSContext *s, AVFilterLink *outlink, int *again) write_frame() argument 304 update_eof_pts(AVFilterContext *ctx, FPSContext *s, AVFilterLink *inlink, AVFilterLink *outlink, int64_t status_pts) update_eof_pts() argument 313 activate(AVFilterContext *ctx) activate() argument [all...] |
H A D | vf_transpose_vaapi.c | 41 TransposeVAAPIContext *ctx = avctx->priv; in transpose_vaapi_build_filter_params() local 62 switch (ctx->dir) { in transpose_vaapi_build_filter_params() 64 ctx->rotation_state = VA_ROTATION_270; in transpose_vaapi_build_filter_params() 65 ctx->mirror_state = VA_MIRROR_VERTICAL; in transpose_vaapi_build_filter_params() 68 ctx->rotation_state = VA_ROTATION_90; in transpose_vaapi_build_filter_params() 69 ctx->mirror_state = VA_MIRROR_NONE; in transpose_vaapi_build_filter_params() 72 ctx->rotation_state = VA_ROTATION_270; in transpose_vaapi_build_filter_params() 73 ctx->mirror_state = VA_MIRROR_NONE; in transpose_vaapi_build_filter_params() 76 ctx->rotation_state = VA_ROTATION_90; in transpose_vaapi_build_filter_params() 77 ctx in transpose_vaapi_build_filter_params() 122 TransposeVAAPIContext *ctx = avctx->priv; transpose_vaapi_filter_frame() local 190 TransposeVAAPIContext *ctx = avctx->priv; transpose_vaapi_vpp_config_output() local 224 TransposeVAAPIContext *ctx = inlink->dst->priv; get_video_buffer() local [all...] |
H A D | vf_freezeframes.c | 52 AVFilterContext *ctx = outlink->src; in config_output() local 53 AVFilterLink *sourcelink = ctx->inputs[0]; in config_output() 54 AVFilterLink *replacelink = ctx->inputs[1]; in config_output() 57 av_log(ctx, AV_LOG_ERROR, in config_output() 73 static int activate(AVFilterContext *ctx) in activate() argument 75 AVFilterLink *outlink = ctx->outputs[0]; in activate() 76 FreezeFramesContext *s = ctx->priv; in activate() 78 int drop = ctx->inputs[0]->frame_count_out >= s->first && in activate() 79 ctx->inputs[0]->frame_count_out <= s->last; in activate() 80 int replace = ctx in activate() 129 uninit(AVFilterContext *ctx) uninit() argument [all...] |
H A D | af_amerge.c | 58 static av_cold void uninit(AVFilterContext *ctx) in uninit() argument 60 AMergeContext *s = ctx->priv; in uninit() 65 static int query_formats(AVFilterContext *ctx) in query_formats() argument 75 AMergeContext *s = ctx->priv; in query_formats() 82 if (!ctx->inputs[i]->incfg.channel_layouts || in query_formats() 83 !ctx->inputs[i]->incfg.channel_layouts->nb_channel_layouts) { in query_formats() 84 av_log(ctx, AV_LOG_WARNING, in query_formats() 88 inlayout[i] = &ctx->inputs[i]->incfg.channel_layouts->channel_layouts[0]; in query_formats() 89 if (ctx->inputs[i]->incfg.channel_layouts->nb_channel_layouts > 1) { in query_formats() 92 av_log(ctx, AV_LOG_INF in query_formats() 152 AVFilterContext *ctx = outlink->src; config_output() local 219 try_push_frame(AVFilterContext *ctx, int nb_samples) try_push_frame() argument 280 activate(AVFilterContext *ctx) activate() argument 315 init(AVFilterContext *ctx) init() argument [all...] |
H A D | vf_overlay_vaapi.c | 41 static int overlay_vaapi_query_formats(AVFilterContext *ctx) in overlay_vaapi_query_formats() argument 54 ret = ff_formats_ref(ff_make_format_list(pix_fmts), &ctx->inputs[MAIN]->outcfg.formats); in overlay_vaapi_query_formats() 58 ret = ff_formats_ref(ff_make_format_list(pix_fmts), &ctx->inputs[OVERLAY]->outcfg.formats); in overlay_vaapi_query_formats() 62 ret = ff_formats_ref(ff_make_format_list(pix_fmts), &ctx->outputs[0]->incfg.formats); in overlay_vaapi_query_formats() 106 VAAPIVPPContext *ctx = avctx->priv; in overlay_vaapi_render_picture() local 115 vas = vaBeginPicture(ctx->hwctx->display, in overlay_vaapi_render_picture() 116 ctx->va_context, output_surface); in overlay_vaapi_render_picture() 124 vas = vaCreateBuffer(ctx->hwctx->display, ctx->va_context, in overlay_vaapi_render_picture() 137 vas = vaCreateBuffer(ctx in overlay_vaapi_render_picture() 203 OverlayVAAPIContext *ctx = avctx->priv; overlay_vaapi_blend() local 302 OverlayVAAPIContext *ctx = avctx->priv; overlay_vaapi_init_framesync() local 325 OverlayVAAPIContext *ctx = avctx->priv; overlay_vaapi_config_output() local 359 OverlayVAAPIContext *ctx = avctx->priv; overlay_vaapi_activate() local 366 OverlayVAAPIContext *ctx = avctx->priv; overlay_vaapi_uninit() local [all...] |
H A D | af_anlms.c | 81 static int query_formats(AVFilterContext *ctx) in query_formats() argument 87 int ret = ff_set_common_all_channel_counts(ctx); in query_formats() 91 ret = ff_set_common_formats_from_list(ctx, sample_fmts); in query_formats() 95 return ff_set_common_all_samplerates(ctx); in query_formats() 155 static int process_channels(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in process_channels() argument 157 AudioNLMSContext *s = ctx->priv; in process_channels() 173 if (ctx->is_disabled) in process_channels() 181 static int activate(AVFilterContext *ctx) in activate() argument 183 AudioNLMSContext *s = ctx->priv; in activate() 188 FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx in activate() 248 AVFilterContext *ctx = outlink->src; config_output() local 268 init(AVFilterContext *ctx) init() argument 279 uninit(AVFilterContext *ctx) uninit() argument [all...] |
/third_party/mbedtls/include/mbedtls/ |
H A D | pk.h | 284 typedef int (*mbedtls_pk_rsa_alt_decrypt_func)(void *ctx, size_t *olen, 287 typedef int (*mbedtls_pk_rsa_alt_sign_func)(void *ctx, 292 typedef size_t (*mbedtls_pk_rsa_alt_key_len_func)(void *ctx); 307 * \param ctx The context to initialize. 310 void mbedtls_pk_init(mbedtls_pk_context *ctx); 315 * \param ctx The context to clear. It must have been initialized. 323 void mbedtls_pk_free(mbedtls_pk_context *ctx); 329 * \param ctx The context to initialize. 332 void mbedtls_pk_restart_init(mbedtls_pk_restart_ctx *ctx); 337 * \param ctx Th 431 mbedtls_pk_get_len(const mbedtls_pk_context *ctx) mbedtls_pk_get_len() argument [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | pbo.c | 146 _mesa_map_pbo_source(struct gl_context *ctx, in _mesa_map_pbo_source() argument 154 buf = (GLubyte *) _mesa_bufferobj_map_range(ctx, 0, in _mesa_map_pbo_source() 178 _mesa_validate_pbo_source(struct gl_context *ctx, GLuint dimensions, in _mesa_validate_pbo_source() argument 190 _mesa_error(ctx, GL_INVALID_OPERATION, in _mesa_validate_pbo_source() 194 _mesa_error(ctx, GL_INVALID_OPERATION, in _mesa_validate_pbo_source() 208 _mesa_error(ctx, GL_INVALID_OPERATION, "%s(PBO is mapped)", in _mesa_validate_pbo_source() 221 _mesa_validate_pbo_source_compressed(struct gl_context *ctx, GLuint dimensions, in _mesa_validate_pbo_source_compressed() argument 234 _mesa_error(ctx, GL_INVALID_OPERATION, "%s(invalid PBO access)", in _mesa_validate_pbo_source_compressed() 241 _mesa_error(ctx, GL_INVALID_OPERATION, "%s(PBO is mapped)", in _mesa_validate_pbo_source_compressed() 258 _mesa_map_validate_pbo_source(struct gl_context *ctx, in _mesa_map_validate_pbo_source() argument 281 _mesa_unmap_pbo_source(struct gl_context *ctx, const struct gl_pixelstore_attrib *unpack) _mesa_unmap_pbo_source() argument 300 _mesa_map_pbo_dest(struct gl_context *ctx, const struct gl_pixelstore_attrib *pack, GLvoid *dest) _mesa_map_pbo_dest() argument 336 _mesa_map_validate_pbo_dest(struct gl_context *ctx, GLuint dimensions, const struct gl_pixelstore_attrib *unpack, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei clientMemSize, GLvoid *ptr, const char *where) _mesa_map_validate_pbo_dest() argument 378 _mesa_unmap_pbo_dest(struct gl_context *ctx, const struct gl_pixelstore_attrib *pack) _mesa_unmap_pbo_dest() argument 395 _mesa_validate_pbo_teximage(struct gl_context *ctx, GLuint dimensions, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *unpack, const char *funcName) _mesa_validate_pbo_teximage() argument 437 _mesa_validate_pbo_compressed_teximage(struct gl_context *ctx, GLuint dimensions, GLsizei imageSize, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing, const char *funcName) _mesa_validate_pbo_compressed_teximage() argument 476 _mesa_unmap_teximage_pbo(struct gl_context *ctx, const struct gl_pixelstore_attrib *unpack) _mesa_unmap_teximage_pbo() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/cmp/ |
H A D | cmp_hdr.c | 140 static int set_random(ASN1_OCTET_STRING **tgt, OSSL_CMP_CTX *ctx, size_t len) in set_random() argument 145 if (bytes == NULL || RAND_bytes_ex(ctx->libctx, bytes, len, 0) <= 0) in set_random() 263 * set ctx->transactionID in CMP header 264 * if ctx->transactionID is NULL, a random one is created with 128 bit 271 int ossl_cmp_hdr_set_transactionID(OSSL_CMP_CTX *ctx, OSSL_CMP_PKIHEADER *hdr) in ossl_cmp_hdr_set_transactionID() argument 273 if (ctx->transactionID == NULL) { in ossl_cmp_hdr_set_transactionID() 276 if (!set_random(&ctx->transactionID, ctx, in ossl_cmp_hdr_set_transactionID() 279 tid = OPENSSL_buf2hexstr(ctx->transactionID->data, in ossl_cmp_hdr_set_transactionID() 280 ctx in ossl_cmp_hdr_set_transactionID() 292 ossl_cmp_hdr_init(OSSL_CMP_CTX *ctx, OSSL_CMP_PKIHEADER *hdr) ossl_cmp_hdr_init() argument [all...] |
H A D | cmp_http.c | 51 OSSL_CMP_MSG *OSSL_CMP_MSG_http_perform(OSSL_CMP_CTX *ctx, in OSSL_CMP_MSG_http_perform() argument 62 if (ctx == NULL || req == NULL) { in OSSL_CMP_MSG_http_perform() 72 if (ctx->serverPort != 0) in OSSL_CMP_MSG_http_perform() 73 BIO_snprintf(server_port, sizeof(server_port), "%d", ctx->serverPort); in OSSL_CMP_MSG_http_perform() 74 tls_used = OSSL_CMP_CTX_get_http_cb_arg(ctx) != NULL; in OSSL_CMP_MSG_http_perform() 75 if (ctx->http_ctx == NULL) in OSSL_CMP_MSG_http_perform() 76 ossl_cmp_log3(DEBUG, ctx, "connecting to CMP server %s:%s%s", in OSSL_CMP_MSG_http_perform() 77 ctx->server, server_port, tls_used ? " using TLS" : ""); in OSSL_CMP_MSG_http_perform() 79 rsp = OSSL_HTTP_transfer(&ctx->http_ctx, ctx in OSSL_CMP_MSG_http_perform() [all...] |
/third_party/openssl/crypto/cmp/ |
H A D | cmp_hdr.c | 140 static int set_random(ASN1_OCTET_STRING **tgt, OSSL_CMP_CTX *ctx, size_t len) in set_random() argument 145 if (bytes == NULL || RAND_bytes_ex(ctx->libctx, bytes, len, 0) <= 0) in set_random() 263 * set ctx->transactionID in CMP header 264 * if ctx->transactionID is NULL, a random one is created with 128 bit 271 int ossl_cmp_hdr_set_transactionID(OSSL_CMP_CTX *ctx, OSSL_CMP_PKIHEADER *hdr) in ossl_cmp_hdr_set_transactionID() argument 273 if (ctx->transactionID == NULL) { in ossl_cmp_hdr_set_transactionID() 276 if (!set_random(&ctx->transactionID, ctx, in ossl_cmp_hdr_set_transactionID() 279 tid = OPENSSL_buf2hexstr(ctx->transactionID->data, in ossl_cmp_hdr_set_transactionID() 280 ctx in ossl_cmp_hdr_set_transactionID() 292 ossl_cmp_hdr_init(OSSL_CMP_CTX *ctx, OSSL_CMP_PKIHEADER *hdr) ossl_cmp_hdr_init() argument [all...] |
H A D | cmp_http.c | 51 OSSL_CMP_MSG *OSSL_CMP_MSG_http_perform(OSSL_CMP_CTX *ctx, in OSSL_CMP_MSG_http_perform() argument 62 if (ctx == NULL || req == NULL) { in OSSL_CMP_MSG_http_perform() 72 if (ctx->serverPort != 0) in OSSL_CMP_MSG_http_perform() 73 BIO_snprintf(server_port, sizeof(server_port), "%d", ctx->serverPort); in OSSL_CMP_MSG_http_perform() 74 tls_used = OSSL_CMP_CTX_get_http_cb_arg(ctx) != NULL; in OSSL_CMP_MSG_http_perform() 75 if (ctx->http_ctx == NULL) in OSSL_CMP_MSG_http_perform() 76 ossl_cmp_log3(DEBUG, ctx, "connecting to CMP server %s:%s%s", in OSSL_CMP_MSG_http_perform() 77 ctx->server, server_port, tls_used ? " using TLS" : ""); in OSSL_CMP_MSG_http_perform() 79 rsp = OSSL_HTTP_transfer(&ctx->http_ctx, ctx in OSSL_CMP_MSG_http_perform() [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf/ |
H A D | WritingPrimitivesMessages.cs | 51 public static void WriteMessage(ref WriteContext ctx, IMessage value) in WriteMessage() argument 53 WritingPrimitives.WriteLength(ref ctx.buffer, ref ctx.state, value.CalculateSize()); in WriteMessage() 54 WriteRawMessage(ref ctx, value); in WriteMessage() 61 public static void WriteGroup(ref WriteContext ctx, IMessage value) in WriteGroup() argument 63 WriteRawMessage(ref ctx, value); in WriteGroup() 71 public static void WriteRawMessage(ref WriteContext ctx, IMessage message) in WriteRawMessage() argument 75 bufferMessage.InternalWriteTo(ref ctx); in WriteRawMessage() 89 if (ctx.state.CodedOutputStream == null) in WriteRawMessage() 99 ctx in WriteRawMessage() [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/extend/ |
H A D | ext_hash.c | 32 mbedtls_md_context_t *ctx = HI_NULL; in mbedtls_hash_create() local 46 ctx = crypto_malloc(sizeof(*ctx)); in mbedtls_hash_create() 47 if (ctx == HI_NULL) { in mbedtls_hash_create() 52 (hi_void)memset_s(ctx, sizeof(mbedtls_md_context_t), 0, sizeof(mbedtls_md_context_t)); in mbedtls_hash_create() 54 mbedtls_md_init(ctx); in mbedtls_hash_create() 55 mbedtls_md_setup(ctx, info, HI_FALSE); in mbedtls_hash_create() 56 mbedtls_md_starts(ctx); in mbedtls_hash_create() 60 return ctx; in mbedtls_hash_create() 107 hi_s32 mbedtls_hash_update(hi_void *ctx, cons argument 139 mbedtls_hash_finish(hi_void *ctx, hi_void *hash, hi_u32 hash_buf_len, hi_u32 *hashlen) mbedtls_hash_finish() argument 156 mbedtls_hash_destory(hi_void *ctx) mbedtls_hash_destory() argument [all...] |
/third_party/python/Modules/_decimal/libmpdec/ |
H A D | bench.c | 58 color_point(mpd_t *x0, mpd_t *y0, long maxiter, mpd_context_t *ctx) in color_point() argument 65 mpd_set_u32(x, 0, ctx); in color_point() 66 mpd_set_u32(y, 0, ctx); in color_point() 70 mpd_set_u32(sq_x, 0, ctx); in color_point() 71 mpd_set_u32(sq_y, 0, ctx); in color_point() 74 mpd_set_u32(two, 2, ctx); in color_point() 77 mpd_mul(y, x, y, ctx); in color_point() 78 mpd_mul(y, y, two, ctx); in color_point() 79 mpd_add(y, y, y0, ctx); in color_point() 81 mpd_sub(x, sq_x, sq_y, ctx); in color_point() 101 mpd_context_t ctx; main() local [all...] |
/third_party/skia/third_party/externals/tint/src/transform/ |
H A D | single_entry_point.cc | 34 void SingleEntryPoint::Run(CloneContext& ctx, const DataMap& inputs, DataMap&) { in Run() argument 37 ctx.dst->Diagnostics().add_error( in Run() 46 for (auto* f : ctx.src->AST().Functions()) { in Run() 50 if (ctx.src->Symbols().NameFor(f->symbol) == cfg->entry_point_name) { in Run() 56 ctx.dst->Diagnostics().add_error( in Run() 62 auto& sem = ctx.src->Sem(); in Run() 72 for (auto* decl : ctx.src->AST().GlobalDeclarations()) { in Run() 75 ctx.dst->AST().AddTypeDecl(ctx.Clone(ty)); in Run() 88 ctx in Run() [all...] |
H A D | for_loop_to_loop.cc | 28 void ForLoopToLoop::Run(CloneContext& ctx, const DataMap&, DataMap&) { in Run() argument 29 ctx.ReplaceAll( in Run() 34 auto* not_cond = ctx.dst->create<ast::UnaryOpExpression>( in Run() 35 ast::UnaryOp::kNot, ctx.Clone(cond)); in Run() 39 ctx.dst->Block(ctx.dst->create<ast::BreakStatement>()); in Run() 42 stmts.emplace_back(ctx.dst->If(not_cond, break_body)); in Run() 45 stmts.emplace_back(ctx.Clone(stmt)); in Run() 50 continuing = ctx.dst->Block(ctx in Run() [all...] |
/third_party/ffmpeg/libavdevice/ |
H A D | dshow.c | 240 struct dshow_ctx *ctx = s->priv_data; in dshow_read_close() local 243 if (ctx->control) { in dshow_read_close() 244 IMediaControl_Stop(ctx->control); in dshow_read_close() 245 IMediaControl_Release(ctx->control); in dshow_read_close() 248 if (ctx->media_event) in dshow_read_close() 249 IMediaEvent_Release(ctx->media_event); in dshow_read_close() 251 if (ctx->graph) { in dshow_read_close() 254 r = IGraphBuilder_EnumFilters(ctx->graph, &fenum); in dshow_read_close() 259 if (IGraphBuilder_RemoveFilter(ctx->graph, f) == S_OK) in dshow_read_close() 266 IGraphBuilder_Release(ctx in dshow_read_close() 324 struct dshow_ctx *ctx = s->priv_data; shall_we_drop() local 344 struct dshow_ctx *ctx = s->priv_data; callback() local 467 struct dshow_ctx *ctx = avctx->priv_data; dshow_cycle_devices() local 662 struct dshow_ctx *ctx = avctx->priv_data; dshow_should_set_format() local 797 struct dshow_ctx *ctx = avctx->priv_data; dshow_cycle_formats() local 1080 struct dshow_ctx *ctx = avctx->priv_data; dshow_set_audio_buffer_size() local 1175 struct dshow_ctx *ctx = avctx->priv_data; dshow_cycle_pins() local 1302 struct dshow_ctx *ctx = avctx->priv_data; dshow_list_device_options() local 1320 struct dshow_ctx *ctx = avctx->priv_data; dshow_open_device() local 1530 struct dshow_ctx *ctx = avctx->priv_data; dshow_add_device() local 1640 struct dshow_ctx *ctx = avctx->priv_data; parse_device_name() local 1677 struct dshow_ctx *ctx = avctx->priv_data; dshow_read_header() local 1859 struct dshow_ctx *ctx = s->priv_data; dshow_read_packet() local [all...] |
/third_party/lwip/src/netif/ppp/polarssl/ |
H A D | sha1.c | 74 void sha1_starts( sha1_context *ctx ) in sha1_starts() 76 ctx->total[0] = 0; in sha1_starts() 77 ctx->total[1] = 0; in sha1_starts() 79 ctx->state[0] = 0x67452301; in sha1_starts() 80 ctx->state[1] = 0xEFCDAB89; in sha1_starts() 81 ctx->state[2] = 0x98BADCFE; in sha1_starts() 82 ctx->state[3] = 0x10325476; in sha1_starts() 83 ctx->state[4] = 0xC3D2E1F0; in sha1_starts() 86 static void sha1_process( sha1_context *ctx, const unsigned char data[64] ) in sha1_process() argument 121 A = ctx in sha1_process() 245 sha1_update( sha1_context *ctx, const unsigned char *input, int ilen ) sha1_update() argument 297 sha1_finish( sha1_context *ctx, unsigned char output[20] ) sha1_finish() argument 328 sha1_context ctx; sha1() local [all...] |
/third_party/skia/infra/bots/task_drivers/perf_puppeteer_skottie_frames/ |
H A D | perf_puppeteer_skottie_frames.go | 60 ctx := td.StartRun(projectID, taskID, taskName, outputSteps, local) 61 defer td.EndRun(ctx) 73 td.Fatal(ctx, skerr.Wrap(err)) 76 nodeBinAbsPath := td.MustGetAbsolutePathOfFlag(ctx, *nodeBinPath, "node_bin_path") 77 benchmarkAbsPath := td.MustGetAbsolutePathOfFlag(ctx, *benchmarkPath, "benchmark_path") 78 canvaskitBinAbsPath := td.MustGetAbsolutePathOfFlag(ctx, *canvaskitBinPath, "canvaskit_bin_path") 79 lottiesAbsPath := td.MustGetAbsolutePathOfFlag(ctx, *lottiesPath, "lotties_path") 80 outputAbsPath := td.MustGetAbsolutePathOfFlag(ctx, *outputPath, "output_path") 82 if err := setup(ctx, benchmarkAbsPath, nodeBinAbsPath); err != nil { 83 td.Fatal(ctx, sker [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fNegativeSSBOBlockTests.cpp | 331 void logProgramInfo(NegativeTestContext& ctx, GLint program) in logProgramInfo() argument 335 tcu::TestLog& log = ctx.getLog(); in logProgramInfo() 337 ctx.glGetProgramiv(program, GL_INFO_LOG_LENGTH, &maxLength); in logProgramInfo() 350 ctx.glGetProgramInfoLog(program, maxLength, &maxLength, &infoLog[0]); in logProgramInfo() 356 void ssbo_block_matching(NegativeTestContext& ctx) in ssbo_block_matching() argument 358 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); in ssbo_block_matching() 360 tcu::TestLog& log = ctx.getLog(); in ssbo_block_matching() 382 shaderVertexGL = ctx.glCreateShader(GL_VERTEX_SHADER); in ssbo_block_matching() 389 ctx.glShaderSource(shaderVertexGL, 1, &shaderVertexCharPtr, DE_NULL); in ssbo_block_matching() 390 ctx in ssbo_block_matching() 445 ssbo_block_shared_qualifier(NegativeTestContext& ctx) ssbo_block_shared_qualifier() argument [all...] |
/third_party/mbedtls/library/ |
H A D | sha3.c | 95 #define ABSORB(ctx, idx, v) do { ctx->state[(idx) >> 3] ^= ((uint64_t) (v)) << (((idx) & 0x7) << 3); \ 97 #define SQUEEZE(ctx, idx) ((uint8_t) (ctx->state[(idx) >> 3] >> (((idx) & 0x7) << 3))) 101 static void keccak_f1600(mbedtls_sha3_context *ctx) in keccak_f1600() argument 104 uint64_t *s = ctx->state; in keccak_f1600() 247 void mbedtls_sha3_init(mbedtls_sha3_context *ctx) in mbedtls_sha3_init() argument 249 memset(ctx, 0, sizeof(mbedtls_sha3_context)); in mbedtls_sha3_init() 252 void mbedtls_sha3_free(mbedtls_sha3_context *ctx) in mbedtls_sha3_free() argument 254 if (ctx in mbedtls_sha3_free() 270 mbedtls_sha3_starts(mbedtls_sha3_context *ctx, mbedtls_sha3_id id) mbedtls_sha3_starts() argument 302 mbedtls_sha3_update(mbedtls_sha3_context *ctx, const uint8_t *input, size_t ilen) mbedtls_sha3_update() argument 342 mbedtls_sha3_finish(mbedtls_sha3_context *ctx, uint8_t *output, size_t olen) mbedtls_sha3_finish() argument 383 mbedtls_sha3_context ctx; mbedtls_sha3() local 592 mbedtls_sha3_context ctx; mbedtls_sha3_long_kat_test() local [all...] |
/third_party/ntfs-3g/libntfs-3g/ |
H A D | inode.c | 161 ntfs_attr_search_ctx *ctx; in ntfs_inode_real_open() local 181 ctx = ntfs_attr_get_search_ctx(ni, NULL); in ntfs_inode_real_open() 182 if (!ctx) in ntfs_inode_real_open() 186 0, CASE_SENSITIVE, 0, NULL, 0, ctx)) { in ntfs_inode_real_open() 192 lthle = ctx->attr->value_length; in ntfs_inode_real_open() 199 std_info = (STANDARD_INFORMATION *)((u8 *)ctx->attr + in ntfs_inode_real_open() 200 le16_to_cpu(ctx->attr->value_offset)); in ntfs_inode_real_open() 222 CASE_SENSITIVE, 0, NULL, 0, ctx)) { in ntfs_inode_real_open() 231 l = ntfs_get_attribute_value_length(ctx->attr); in ntfs_inode_real_open() 244 l = ntfs_get_attribute_value(vol, ctx in ntfs_inode_real_open() 740 ntfs_attr_search_ctx *ctx; ntfs_inode_sync_standard_information() local 796 ntfs_attr_search_ctx *ctx = NULL; ntfs_inode_sync_file_name() local 1114 ntfs_attr_search_ctx *ctx; ntfs_inode_add_attrlist() local 1298 ntfs_attr_search_ctx *ctx; ntfs_inode_free_space() local 1465 ntfs_attr_search_ctx *ctx; ntfs_inode_get_times() local 1524 ntfs_attr_search_ctx *ctx; ntfs_inode_set_times() local [all...] |
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
H A D | pan_cmdstream.c | 328 panfrost_overdraw_alpha(const struct panfrost_context *ctx, bool zero) in panfrost_overdraw_alpha() argument 330 const struct panfrost_blend_state *so = ctx->blend; in panfrost_overdraw_alpha() 332 for (unsigned i = 0; i < ctx->pipe_framebuffer.nr_cbufs; ++i) { in panfrost_overdraw_alpha() 335 bool enabled = ctx->pipe_framebuffer.cbufs[i] && info.no_colour; in panfrost_overdraw_alpha() 349 struct panfrost_context *ctx = batch->ctx; in panfrost_emit_blend() local 350 const struct panfrost_blend_state *so = ctx->blend; in panfrost_emit_blend() 372 ctx->blend_color.color); in panfrost_emit_blend() 379 cfg.alpha_to_one = ctx->blend->base.alpha_to_one; in panfrost_emit_blend() 400 const struct panfrost_device *dev = pan_device(ctx in panfrost_emit_blend() 456 pan_allow_forward_pixel_to_kill(struct panfrost_context *ctx, struct panfrost_shader_state *fs) pan_allow_forward_pixel_to_kill() argument 514 panfrost_prepare_fs_state(struct panfrost_context *ctx, mali_ptr *blend_shaders, struct mali_renderer_state_packed *rsd) panfrost_prepare_fs_state() argument 646 panfrost_emit_frag_shader(struct panfrost_context *ctx, struct mali_renderer_state_packed *fragmeta, mali_ptr *blend_shaders) panfrost_emit_frag_shader() argument 696 struct panfrost_context *ctx = batch->ctx; panfrost_emit_frag_shader_meta() local 729 struct panfrost_context *ctx = batch->ctx; panfrost_emit_viewport() local 810 struct panfrost_context *ctx = batch->ctx; panfrost_emit_depth_stencil() local 871 struct panfrost_context *ctx = batch->ctx; panfrost_emit_vertex_buffers() local 905 struct panfrost_context *ctx = batch->ctx; panfrost_emit_vertex_data() local 968 struct panfrost_context *ctx = batch->ctx; panfrost_emit_images() local 1054 struct panfrost_context *ctx = batch->ctx; panfrost_upload_viewport_scale_sysval() local 1066 struct panfrost_context *ctx = batch->ctx; panfrost_upload_viewport_offset_sysval() local 1079 struct panfrost_context *ctx = batch->ctx; panfrost_upload_txs_sysval() local 1123 struct panfrost_context *ctx = batch->ctx; panfrost_upload_image_size_sysval() local 1159 struct panfrost_context *ctx = batch->ctx; panfrost_upload_ssbo_sysval() local 1184 struct panfrost_context *ctx = batch->ctx; panfrost_upload_sampler_sysval() local 1204 struct panfrost_context *ctx = batch->ctx; panfrost_upload_num_work_groups_sysval() local 1215 struct panfrost_context *ctx = batch->ctx; panfrost_upload_local_group_size_sysval() local 1226 struct panfrost_context *ctx = batch->ctx; panfrost_upload_work_dim_sysval() local 1239 struct panfrost_context *ctx = batch->ctx; panfrost_upload_sample_positions_sysval() local 1259 struct panfrost_context *ctx = batch->ctx; panfrost_upload_rt_conversion_sysval() local 1408 panfrost_map_constant_buffer_cpu(struct panfrost_context *ctx, struct panfrost_constant_buffer *buf, unsigned index) panfrost_map_constant_buffer_cpu() argument 1463 struct panfrost_context *ctx = batch->ctx; panfrost_emit_const_buf() local 1588 struct panfrost_context *ctx = batch->ctx; panfrost_emit_shared_memory() local 1653 struct panfrost_context *ctx = pan_context(pctx); panfrost_create_sampler_view_bo() local 1761 struct panfrost_context *ctx = batch->ctx; panfrost_emit_texture_descriptors() local 1820 struct panfrost_context *ctx = batch->ctx; panfrost_emit_sampler_descriptors() local 1845 emit_image_attribs(struct panfrost_context *ctx, enum pipe_shader_type shader, struct mali_attribute_packed *attribs, unsigned first_buf) emit_image_attribs() argument 1881 struct panfrost_context *ctx = batch->ctx; emit_image_bufs() local 1954 struct panfrost_context *ctx = batch->ctx; panfrost_emit_image_attribs() local 1989 struct panfrost_context *ctx = batch->ctx; panfrost_emit_vertex_data() local 2543 struct panfrost_context *ctx = batch->ctx; panfrost_emit_varying_descriptor() local 2638 struct panfrost_context *ctx = batch->ctx; panfrost_emit_vertex_tiler_jobs() local 2793 panfrost_statistics_record( struct panfrost_context *ctx, const struct pipe_draw_info *info, const struct pipe_draw_start_count_bias *draw) panfrost_statistics_record() argument 2812 panfrost_update_streamout_offsets(struct panfrost_context *ctx) panfrost_update_streamout_offsets() argument 2890 panfrost_emit_primitive_size(struct panfrost_context *ctx, bool points, mali_ptr size_array, void *prim_size) panfrost_emit_primitive_size() argument 2935 struct panfrost_context *ctx = batch->ctx; panfrost_update_shader_state() local 2992 struct panfrost_context *ctx = batch->ctx; panfrost_update_state_3d() local 3056 panfrost_emit_primitive(struct panfrost_context *ctx, const struct pipe_draw_info *info, const struct pipe_draw_start_count_bias *draw, mali_ptr indices, bool secondary_shader, void *out) panfrost_emit_primitive() argument 3138 struct panfrost_context *ctx = batch->ctx; panfrost_emit_resources() local 3206 struct panfrost_context *ctx = batch->ctx; panfrost_emit_draw() local 3368 struct panfrost_context *ctx = batch->ctx; panfrost_emit_malloc_vertex() local 3466 struct panfrost_context *ctx = batch->ctx; panfrost_draw_emit_tiler() local 3498 struct panfrost_context *ctx = batch->ctx; panfrost_launch_xfb() local 3587 struct panfrost_context *ctx = batch->ctx; panfrost_direct_draw() local 3764 struct panfrost_context *ctx = batch->ctx; panfrost_indirect_draw() local 3925 struct panfrost_context *ctx = batch->ctx; panfrost_compatible_batch_state() local 3948 struct panfrost_context *ctx = pan_context(pipe); panfrost_draw_vbo() local 4037 struct panfrost_context *ctx = pan_context(pipe); panfrost_launch_grid() local 4406 struct panfrost_context *ctx = pan_context(pctx); panfrost_create_sampler_view() local [all...] |