/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-policy2c/ |
H A D | minimal-secure-streams.c | 73 const lws_ss_policy_t *pol, *lastpol = NULL; in main() local 151 pol = lws_ss_policy_get(context); in main() 153 while (pol) { in main() 160 md = pol->metadata; in main() 168 md = pol->metadata; in main() 174 purify_csymbol(pol->streamtype, buf, in main() 211 if (pol->retry_bo) { in main() 214 if (a->orig == (const char *)pol->retry_bo) in main() 229 a->orig = (const char *)pol->retry_bo; in main() 234 for (n = 0; n < pol in main() [all...] |
/third_party/toybox/toys/other/ |
H A D | chrt.c | 58 int pol, pri; in chrt_main() local 62 for (pol = 0; pol<ARRAY_LEN(polnames); pol++) if (polnames[pol]) in chrt_main() 63 printf("%s min/max priority\t: %d/%d\n", polnames[pol], in chrt_main() 64 sched_get_priority_min(pol), sched_get_priority_max(pol)); in chrt_main() 73 if (-1==(pol = sched_getscheduler(TT.p))) perror_exit("pid %ld", TT.p); in chrt_main() 74 if (pol in chrt_main() [all...] |
/third_party/libwebsockets/lib/secure-streams/cpp/ |
H A D | lss.cxx | 58 memset(&pol, 0, sizeof(pol)); in lss() 78 ssi.policy = &pol; /* we will provide our own policy */ in lss() 94 pol.protocol = n >> 1; in lss() 96 pol.flags |= LWSSSPOLF_TLS; in lss() 100 if (lws_parse_uri(uri, &p, &pol.endpoint, &n, &urlpath)) in lss() 103 pol.port = (uint16_t)n; in lss() 105 if (pol.protocol <= LWSSSP_WS) { in lss() 106 pol.u.http.url = urlpath; in lss() 112 pol in lss() [all...] |
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | v3_cpols.c | 23 static int i2r_certpol(X509V3_EXT_METHOD *method, STACK_OF(POLICYINFO) *pol, 94 POLICYINFO *pol; 133 pol = policy_section(ctx, polsect, ia5org); 135 if (pol == NULL) 144 pol = POLICYINFO_new(); 145 if (pol == NULL) { 150 pol->policyid = pobj; 152 if (!sk_POLICYINFO_push(pols, pol)) { 153 POLICYINFO_free(pol); 171 POLICYINFO *pol; [all...] |
/third_party/openssl/crypto/x509/ |
H A D | v3_cpols.c | 23 static int i2r_certpol(X509V3_EXT_METHOD *method, STACK_OF(POLICYINFO) *pol, 94 POLICYINFO *pol; 133 pol = policy_section(ctx, polsect, ia5org); 135 if (pol == NULL) 144 pol = POLICYINFO_new(); 145 if (pol == NULL) { 150 pol->policyid = pobj; 152 if (!sk_POLICYINFO_push(pols, pol)) { 153 POLICYINFO_free(pol); 171 POLICYINFO *pol; [all...] |
/third_party/libwebsockets/lib/secure-streams/ |
H A D | policy-common.c | 303 const lws_ss_policy_t *pol, char doref) in lws_ss_policy_ref_trust_store() 311 if (!pol->trust.store) { in lws_ss_policy_ref_trust_store() 329 v = lws_get_vhost_by_name(context, pol->trust.store->name); in lws_ss_policy_ref_trust_store() 336 i.vhost_name = pol->trust.store->name; in lws_ss_policy_ref_trust_store() 339 i.client_ssl_ca_mem = pol->trust.store->ssx509[0]->ca_der; in lws_ss_policy_ref_trust_store() 341 pol->trust.store->ssx509[0]->ca_der_len; in lws_ss_policy_ref_trust_store() 345 i.vhost_name, pol->trust.store->ssx509[0]->vhost_name); in lws_ss_policy_ref_trust_store() 355 for (n = 1; v && n < pol->trust.store->count; n++) { in lws_ss_policy_ref_trust_store() 357 pol->trust.store->ssx509[n]->vhost_name); in lws_ss_policy_ref_trust_store() 360 pol in lws_ss_policy_ref_trust_store() 302 lws_ss_policy_ref_trust_store(struct lws_context *context, const lws_ss_policy_t *pol, char doref) lws_ss_policy_ref_trust_store() argument 380 lws_ss_policy_unref_trust_store(struct lws_context *context, const lws_ss_policy_t *pol) lws_ss_policy_unref_trust_store() argument 412 const lws_ss_policy_t *pol; lws_ss_policy_set() local [all...] |
H A D | secure-streams.c | 948 const lws_ss_policy_t *pol; in lws_ss_create() local 960 pol = ssi->policy; in lws_ss_create() 961 if (!pol) { in lws_ss_create() 978 pol = NULL; in lws_ss_create() 980 pol = lws_ss_policy_lookup(context, ssi->streamtype); in lws_ss_create() 984 pol = lws_ss_policy_lookup(context, ssi->streamtype); in lws_ss_create() 986 if (!pol) { in lws_ss_create() 1003 if (!(pol->flags & LWSSSPOLF_LOCAL_SINK)) { in lws_ss_create() 1016 if (!(pol->flags & LWSSSPOLF_LOCAL_SINK)) { in lws_ss_create() 1038 if (pol in lws_ss_create() [all...] |
H A D | private-lib-secure-streams.h | 522 const lws_ss_policy_t *pol, char doref); 552 const lws_ss_policy_t *pol);
|
/third_party/python/Lib/test/ |
H A D | test_http_cookiejar.py | 505 pol = DefaultCookiePolicy() 528 r = pol.domain_return_ok(domain, request) 713 pol = DefaultCookiePolicy(rfc2965=True) 715 c = CookieJar(pol) 719 c = CookieJar(pol) 723 c = CookieJar(pol) 728 c = CookieJar(pol) 803 pol = DefaultCookiePolicy() 806 c = CookieJar(pol) 945 pol [all...] |
H A D | test_posix.py | 1125 pol = posix.SCHED_RR 1126 lo = posix.sched_get_priority_min(pol) 1127 hi = posix.sched_get_priority_max(pol)
|
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir.cpp | 253 LValue::clone(ClonePolicy<Function>& pol) const in clone() 255 LValue *that = new_LValue(pol.context(), reg.file); in clone() 257 pol.set<Value>(this, that); in clone() 290 Symbol::clone(ClonePolicy<Function>& pol) const in clone() 292 Program *prog = pol.context()->getProgram(); in clone() 296 pol.set<Value>(this, that); in clone() 364 ImmediateValue::clone(ClonePolicy<Function>& pol) const in clone() 366 Program *prog = pol.context()->getProgram(); in clone() 369 pol.set<Value>(this, that); in clone() 744 Instruction::clone(ClonePolicy<Function>& pol, Instructio argument 927 clone(ClonePolicy<Function>& pol, Instruction *i) const clone() argument 1114 clone(ClonePolicy<Function>& pol, Instruction *i) const clone() argument 1144 clone(ClonePolicy<Function>& pol, Instruction *i) const clone() argument [all...] |
H A D | nv50_ir_bb.cpp | 95 BasicBlock::clone(ClonePolicy<Function>& pol) const in clone() 97 BasicBlock *bb = new BasicBlock(pol.context()); in clone() 99 pol.set(this, bb); in clone() 102 bb->insertTail(i->clone(pol)); in clone() 104 pol.context()->cfg.insert(&bb->cfg); in clone() 108 bb->cfg.attach(&pol.get(obb)->cfg, it.getType()); in clone()
|
H A D | nv50_ir_inlines.h | 328 DeepClonePolicy<Function> pol(ctx); in cloneForward() 331 pol.set(obj->getSrc(i), obj->getSrc(i)); in cloneForward() 333 return obj->clone(pol); in cloneForward()
|
H A D | nv50_ir_util.h | 735 ShallowClonePolicy<C> pol(c); 736 return obj->clone(pol);
|
/third_party/libwebsockets/lib/core-net/client/ |
H A D | sort-dns.c | 168 const struct score_policy *pol = rfc6724_policy; in lws_sort_dns_classify() local 187 p = &ma[pol->ma_ofs]; in lws_sort_dns_classify() 188 for (m = 0; m < pol->prefix >> 3; m++) in lws_sort_dns_classify() 192 if ((pol->prefix & 7) && (*p & frac[pol->prefix & 7]) != in lws_sort_dns_classify() 193 (*po & frac[pol->prefix & 7])) in lws_sort_dns_classify() 196 *score = pol->score; in lws_sort_dns_classify() 201 pol++; in lws_sort_dns_classify()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_getschedparam/ |
H A D | stress.c | 104 int pol; in threaded() local 110 ret = pthread_getschedparam(td[i].thread, &pol, &sp); in threaded() 116 if (pol != td[i].policy) { in threaded()
|
/third_party/ffmpeg/libavcodec/ |
H A D | opus_silk.c | 202 int32_t pol[/* half_order + 1 */], int half_order) in silk_lsp2poly() 206 pol[0] = 65536; // 1.0 in Q16 in silk_lsp2poly() 207 pol[1] = -lsp[0]; in silk_lsp2poly() 210 pol[i + 1] = pol[i - 1] * 2 - ROUND_MULL(lsp[2 * i], pol[i], 16); in silk_lsp2poly() 212 pol[j] += pol[j - 2] - ROUND_MULL(lsp[2 * i], pol[j - 1], 16); in silk_lsp2poly() 214 pol[ in silk_lsp2poly() [all...] |
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/ |
H A D | commands.c | 269 char *pol; in get_mbind_policy() local 271 pol = args; in get_mbind_policy() 275 size_t plen = args - pol; in get_mbind_policy() 277 if (strncmp(pol, polp->pol_name, plen)) in get_mbind_policy() 285 gcp->program_name, pol); in get_mbind_policy()
|
/third_party/libwebsockets/include/ |
H A D | libwebsockets.hxx | 116 lws_ss_policy_t pol; member in lss
|
/third_party/selinux/libsepol/src/ |
H A D | link.c | 1938 policydb_t *pol = state->base; in is_decl_requires_met() local 1951 id = pol->sym_val_to_name[i][j]; in is_decl_requires_met() 1973 id = pol->p_class_val_to_name[i]; in is_decl_requires_met() 1974 cladatum = pol->class_val_to_struct[i]; in is_decl_requires_met() 2130 static int enable_avrules(link_state_t * state, policydb_t * pol) in enable_avrules() argument 2143 for (block = pol->global; block != NULL; block = block->next) { in enable_avrules() 2154 for (block = pol->global; block != NULL; block = block->next) { in enable_avrules() 2192 for (block = pol->global->next; block != NULL; block = block->next) { in enable_avrules() 2203 debug_requirements(state, pol); in enable_avrules() 2431 static int populate_roleattributes(link_state_t *state, policydb_t *pol) in populate_roleattributes() argument [all...] |
H A D | policydb.c | 1641 * policydb_t *pol module policy to modify 1658 int symtab_insert(policydb_t * pol, uint32_t sym, in symtab_insert() argument 1672 rc = hashtab_insert(pol->symtab[sym].table, key, datum); in symtab_insert() 1677 *value = ++pol->symtab[sym].nprim; in symtab_insert() 1687 (scope_datum_t *) hashtab_search(pol->scope[sym].table, key); in symtab_insert() 1700 hashtab_insert(pol->scope[sym].table, key2, in symtab_insert() 1719 hashtab_search(pol->symtab[sym].table, in symtab_insert()
|
H A D | expand.c | 2856 static void discard_tunables(sepol_handle_t *sh, policydb_t *pol) in discard_tunables() argument 2880 for (block = pol->global; block != NULL; block = block->next) { in discard_tunables() 2902 booldatum = pol->bool_val_to_struct[cur_expr->bool - 1]; in discard_tunables() 2924 cur_state = cond_evaluate_expr(pol, cur_node->expr); in discard_tunables()
|