Home
last modified time | relevance | path

Searched refs:ctx_raw (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/c/eager/
Dmnist_gradients_test.cc71 AbstractContext* ctx_raw = nullptr; in TEST_P() local
73 BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw); in TEST_P()
75 ctx.reset(ctx_raw); in TEST_P()
142 AbstractContext* ctx_raw = nullptr; in TEST_P() local
144 BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw); in TEST_P()
146 ctx.reset(ctx_raw); in TEST_P()
218 AbstractContext* ctx_raw = nullptr; in TEST_P() local
220 BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw); in TEST_P()
222 ctx.reset(ctx_raw); in TEST_P()
298 AbstractContext* ctx_raw = nullptr; in TEST_P() local
[all …]
Dgradients_test.cc112 AbstractContext* ctx_raw = nullptr; in TEST_P() local
114 BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw); in TEST_P()
116 ctx.reset(ctx_raw); in TEST_P()
160 AbstractContext* ctx_raw = nullptr; in TEST_P() local
162 BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw); in TEST_P()
164 ctx.reset(ctx_raw); in TEST_P()
225 AbstractContext* ctx_raw = nullptr; in TEST_P() local
227 BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw); in TEST_P()
229 ctx.reset(ctx_raw); in TEST_P()
Dunified_api_test.cc61 AbstractContext* ctx_raw = nullptr; in TEST_P() local
63 BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw); in TEST_P()
65 ctx.reset(ctx_raw); in TEST_P()
111 AbstractContext* ctx_raw = nullptr; in TEST_P() local
113 BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw); in TEST_P()
115 ctx.reset(ctx_raw); in TEST_P()
Dgradient_checker_test.cc94 AbstractContext* ctx_raw = nullptr; in SetUp() local
96 BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw); in SetUp()
98 ctx_.reset(ctx_raw); in SetUp()
/external/selinux/libselinux/src/
Dlabel_backends_android.c63 if (strcmp(spec_arr[jj].lr.ctx_raw, in nodups_specs()
64 curr_spec->lr.ctx_raw)) { in nodups_specs()
71 spec_arr[jj].lr.ctx_raw, in nodups_specs()
72 curr_spec->lr.ctx_raw); in nodups_specs()
124 spec_arr[nspec].lr.ctx_raw = context; in process_line()
130 path, lineno, spec_arr[nspec].lr.ctx_raw); in process_line()
285 free(spec->lr.ctx_raw); in closef()
Dlabel_file.c77 if (strcmp(spec_arr[jj].lr.ctx_raw, in nodups_specs()
78 curr_spec->lr.ctx_raw)) { in nodups_specs()
83 spec_arr[jj].lr.ctx_raw, in nodups_specs()
84 curr_spec->lr.ctx_raw); in nodups_specs()
329 spec->lr.ctx_raw = str_buf; in load_mmap()
331 if (strcmp(spec->lr.ctx_raw, "<<none>>") && rec->validating) { in load_mmap()
335 path, spec->lr.ctx_raw); in load_mmap()
864 free(spec->lr.ctx_raw); in closef()
978 if (strcmp(spec_arr[i].lr.ctx_raw, "<<none>>") == 0) { in lookup_all()
1094 char* ctx_raw = matches[i]->lr.ctx_raw; in hash_all_partial_matches() local
[all …]
Dlabel.c139 rc = selinux_validate(&contexts->ctx_raw); in selabel_validate()
161 selinux_raw_to_trans_context(lr->ctx_raw, &lr->ctx_trans)) in selabel_fini()
269 *con = strdup(lr->ctx_raw); in selabel_lookup_raw()
342 *con = strdup(lr->ctx_raw); in selabel_lookup_best_match_raw()
Dlabel_db.c156 spec->lr.ctx_raw = context; in process_line()
184 free(spec->lr.ctx_raw); in db_close()
341 free(spec->lr.ctx_raw); in db_init()
Dlabel_media.c59 data->spec_arr[data->nspec].lr.ctx_raw = context; in process_line()
162 free(spec->lr.ctx_raw); in close()
Dlabel_x.c84 data->spec_arr[data->nspec].lr.ctx_raw = context; in process_line()
189 free(spec->lr.ctx_raw); in close()
Dlabel_internal.h73 char * ctx_raw; member
Dlabel_file.h492 spec_arr[nspec].lr.ctx_raw = context; in process_line()
Dmatchpathcon.c43 char **ctx = &contexts->ctx_raw; in compat_validate()
/external/tensorflow/tensorflow/c/experimental/gradients/
Dcustom_gradient_test.cc94 AbstractContext* ctx_raw = nullptr; in TEST_P() local
96 BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw); in TEST_P()
98 ctx.reset(ctx_raw); in TEST_P()
Dnn_grad_test.cc141 AbstractContext* ctx_raw = nullptr; in SetUp() local
143 BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw); in SetUp()
145 ctx_.reset(ctx_raw); in SetUp()
Dmath_grad_test.cc92 AbstractContext* ctx_raw = nullptr; in SetUp() local
94 BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw); in SetUp()
96 immediate_execution_ctx_.reset(ctx_raw); in SetUp()
/external/selinux/libselinux/utils/
Dsefcontext_compile.c178 char *context = specs[i].lr.ctx_raw; in write_binary_file()
253 free(specs[i].lr.ctx_raw); in free_specs()
/external/rust/crates/quiche/src/
Dtls.rs129 let ctx_raw = SSL_CTX_new(TLS_method()); in new() localVariable
131 let mut ctx = Context(ctx_raw); in new()