/third_party/skia/tests/ |
H A D | SkImageTest.cpp | 33 SkBitmap tgt; in DEF_TEST() local 34 tgt.allocN32Pixels(gWidth, gHeight); in DEF_TEST() 35 SkCanvas canvas(tgt); in DEF_TEST() 41 tgt.readPixels(info, &pixel, 4, 0, 0); in DEF_TEST() 43 tgt.readPixels(info, &pixel, 4, gWidth - 6, gWidth - 6); in DEF_TEST() 46 tgt.readPixels(info, &pixel, 4, gWidth - 5, gWidth - 5); in DEF_TEST()
|
/third_party/node/deps/openssl/openssl/crypto/cmp/ |
H A D | cmp_util.c | 243 int ossl_cmp_asn1_octet_string_set1(ASN1_OCTET_STRING **tgt, in ossl_cmp_asn1_octet_string_set1() argument 247 if (tgt == NULL) { in ossl_cmp_asn1_octet_string_set1() 251 if (*tgt == src) /* self-assignment */ in ossl_cmp_asn1_octet_string_set1() 261 ASN1_OCTET_STRING_free(*tgt); in ossl_cmp_asn1_octet_string_set1() 262 *tgt = new; in ossl_cmp_asn1_octet_string_set1() 266 int ossl_cmp_asn1_octet_string_set1_bytes(ASN1_OCTET_STRING **tgt, in ossl_cmp_asn1_octet_string_set1_bytes() argument 271 if (tgt == NULL) { in ossl_cmp_asn1_octet_string_set1_bytes() 283 ASN1_OCTET_STRING_free(*tgt); in ossl_cmp_asn1_octet_string_set1_bytes() 284 *tgt = new; in ossl_cmp_asn1_octet_string_set1_bytes()
|
H A D | cmp_hdr.c | 82 /* assign to *tgt a copy of src (which may be NULL to indicate an empty DN) */ 83 static int set1_general_name(GENERAL_NAME **tgt, const X509_NAME *src) in set1_general_name() argument 87 if (!ossl_assert(tgt != NULL)) in set1_general_name() 100 GENERAL_NAME_free(*tgt); in set1_general_name() 101 *tgt = name; in set1_general_name() 139 /* assign to *tgt a random byte array of given length */ 140 static int set_random(ASN1_OCTET_STRING **tgt, OSSL_CMP_CTX *ctx, size_t len) in set_random() argument 148 res = ossl_cmp_asn1_octet_string_set1_bytes(tgt, bytes, len); in set_random()
|
/third_party/openssl/crypto/cmp/ |
H A D | cmp_util.c | 243 int ossl_cmp_asn1_octet_string_set1(ASN1_OCTET_STRING **tgt, in ossl_cmp_asn1_octet_string_set1() argument 247 if (tgt == NULL) { in ossl_cmp_asn1_octet_string_set1() 251 if (*tgt == src) /* self-assignment */ in ossl_cmp_asn1_octet_string_set1() 261 ASN1_OCTET_STRING_free(*tgt); in ossl_cmp_asn1_octet_string_set1() 262 *tgt = new; in ossl_cmp_asn1_octet_string_set1() 266 int ossl_cmp_asn1_octet_string_set1_bytes(ASN1_OCTET_STRING **tgt, in ossl_cmp_asn1_octet_string_set1_bytes() argument 271 if (tgt == NULL) { in ossl_cmp_asn1_octet_string_set1_bytes() 283 ASN1_OCTET_STRING_free(*tgt); in ossl_cmp_asn1_octet_string_set1_bytes() 284 *tgt = new; in ossl_cmp_asn1_octet_string_set1_bytes()
|
H A D | cmp_hdr.c | 82 /* assign to *tgt a copy of src (which may be NULL to indicate an empty DN) */ 83 static int set1_general_name(GENERAL_NAME **tgt, const X509_NAME *src) in set1_general_name() argument 87 if (!ossl_assert(tgt != NULL)) in set1_general_name() 100 GENERAL_NAME_free(*tgt); in set1_general_name() 101 *tgt = name; in set1_general_name() 139 /* assign to *tgt a random byte array of given length */ 140 static int set_random(ASN1_OCTET_STRING **tgt, OSSL_CMP_CTX *ctx, size_t len) in set_random() argument 148 res = ossl_cmp_asn1_octet_string_set1_bytes(tgt, bytes, len); in set_random()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | texstate.c | 1002 GLint tgt; in alloc_proxy_textures() local 1008 for (tgt = 0; tgt < NUM_TEXTURE_TARGETS; tgt++) { in alloc_proxy_textures() 1009 if (!(ctx->Texture.ProxyTex[tgt] in alloc_proxy_textures() 1010 = _mesa_new_texture_object(ctx, 0, targets[tgt]))) { in alloc_proxy_textures() 1012 while (--tgt >= 0) { in alloc_proxy_textures() 1013 _mesa_delete_texture_object(ctx, ctx->Texture.ProxyTex[tgt]); in alloc_proxy_textures() 1123 GLuint u, tgt; in _mesa_free_texture_data() local 1130 for (tgt in _mesa_free_texture_data() [all...] |
H A D | attrib.c | 559 gl_texture_index tgt; in pop_texture_group() local 564 for (tgt = 0; tgt < NUM_TEXTURE_TARGETS; tgt++) { in pop_texture_group() 565 const struct gl_texture_object *savedObj = &texstate->SavedObj[u][tgt]; in pop_texture_group() 567 _mesa_get_tex_unit(ctx, u)->CurrentTex[tgt]; in pop_texture_group() 568 bool is_msaa = tgt == TEXTURE_2D_MULTISAMPLE_INDEX || in pop_texture_group() 569 tgt == TEXTURE_2D_MULTISAMPLE_ARRAY_INDEX; in pop_texture_group() 581 texObj = _mesa_get_tex_unit(ctx, u)->CurrentTex[tgt]; in pop_texture_group() 593 savedObj = &texstate->SavedDefaultObj[tgt]; in pop_texture_group() [all...] |
/third_party/ffmpeg/libavdevice/ |
H A D | decklink_dec.cpp | 226 static void fill_data_unit_head(int line, uint8_t *tgt) in fill_data_unit_head() argument 228 tgt[0] = 0x02; // data_unit_id in fill_data_unit_head() 229 tgt[1] = 0x2c; // data_unit_length in fill_data_unit_head() 230 tgt[2] = calc_parity_and_line_offset(line); // field_parity, line_offset in fill_data_unit_head() 231 tgt[3] = 0xe4; // framing code in fill_data_unit_head() 235 static uint8_t* teletext_data_unit_from_vbi_data(int line, uint8_t *src, uint8_t *tgt, vbi_pixfmt fmt) in teletext_data_unit_from_vbi_data() argument 241 if (vbi_bit_slice(&slicer, src, tgt + 4) == FALSE) in teletext_data_unit_from_vbi_data() 242 return tgt; in teletext_data_unit_from_vbi_data() 244 fill_data_unit_head(line, tgt); in teletext_data_unit_from_vbi_data() 246 return tgt in teletext_data_unit_from_vbi_data() 249 teletext_data_unit_from_vbi_data_10bit(int line, uint8_t *src, uint8_t *tgt) teletext_data_unit_from_vbi_data_10bit() argument 267 teletext_data_unit_from_op47_vbi_packet(int line, uint16_t *py, uint8_t *tgt) teletext_data_unit_from_op47_vbi_packet() argument 295 teletext_data_unit_from_op47_data(uint16_t *py, uint16_t *pend, uint8_t *tgt, int64_t wanted_lines) teletext_data_unit_from_op47_data() argument 312 teletext_data_unit_from_ancillary_packet(uint16_t *py, uint16_t *pend, uint8_t *tgt, int64_t wanted_lines, int allow_multipacket) teletext_data_unit_from_ancillary_packet() argument 421 get_metadata(AVFormatContext *avctx, uint16_t *buf, size_t width, uint8_t *tgt, size_t tgt_size, AVPacket *pkt) get_metadata() argument [all...] |
/third_party/selinux/libsepol/src/ |
H A D | services.c | 274 static void msgcat(const char *src, const char *tgt, const char *op, int failed) in msgcat() argument 279 src, op, tgt); in msgcat() 282 src, op, tgt); in msgcat() 415 char *tgt = NULL; in constraint_expr_eval_reason() local 516 free(tgt); tgt = strdup("u2"); in constraint_expr_eval_reason() 522 free(tgt); tgt = strdup("t2"); in constraint_expr_eval_reason() 530 free(tgt); tgt in constraint_expr_eval_reason() [all...] |
H A D | hierarchy.c | 99 uint32_t parent, uint32_t src, uint32_t tgt, in bounds_expand_rule() 114 ebitmap_for_each_positive_bit(&p->attr_type_map[tgt - 1], tnode, i) { in bounds_expand_rule() 262 static int bounds_add_bad(sepol_handle_t *handle, uint32_t src, uint32_t tgt, in bounds_add_bad() argument 272 new->key.target_type = tgt; in bounds_add_bad() 284 uint32_t tgt, uint32_t class, uint32_t data, in bounds_check_rule() 299 ebitmap_for_each_positive_bit(&p->attr_type_map[tgt - 1], tnode, i) { in bounds_check_rule() 97 bounds_expand_rule(sepol_handle_t *handle, policydb_t *p, avtab_t *avtab, avtab_t *global, avtab_t *other, uint32_t parent, uint32_t src, uint32_t tgt, uint32_t class, uint32_t data) bounds_expand_rule() argument 281 bounds_check_rule(sepol_handle_t *handle, policydb_t *p, avtab_t *global_avtab, avtab_t *cur_avtab, uint32_t child, uint32_t parent, uint32_t src, uint32_t tgt, uint32_t class, uint32_t data, avtab_ptr_t *bad, int *numbad) bounds_check_rule() argument
|
/third_party/selinux/libsepol/cil/src/ |
H A D | cil_binary.c | 973 static int __cil_insert_type_rule(policydb_t *pdb, uint32_t kind, uint32_t src, uint32_t tgt, uint32_t obj, uint32_t res, struct cil_type_rule *cil_rule, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_insert_type_rule() argument 981 avtab_key.target_type = tgt; in __cil_insert_type_rule() 1010 pdb->p_type_val_to_name[tgt - 1], in __cil_insert_type_rule() 1043 pdb->p_type_val_to_name[tgt - 1], in __cil_insert_type_rule() 1097 struct cil_symtab_datum *tgt = NULL; in __cil_type_rule_to_avtab() local 1110 tgt = cil_rule->tgt; in __cil_type_rule_to_avtab() 1120 if (tgt->fqn == CIL_KEY_SELF) { in __cil_type_rule_to_avtab() 1132 rc = __cil_expand_type(tgt, &tgt_bitmap); in __cil_type_rule_to_avtab() 1210 struct cil_symtab_datum *tgt in __cil_typetransition_to_avtab() local 1344 __cil_insert_avrule(policydb_t *pdb, uint32_t kind, uint32_t src, uint32_t tgt, uint32_t obj, uint32_t data, cond_node_t *cond_node, enum cil_flavor cond_flavor) __cil_insert_avrule() argument 1391 __cil_avrule_expand_helper(policydb_t *pdb, uint16_t kind, struct cil_symtab_datum *src, struct cil_symtab_datum *tgt, struct cil_classperms *cp, cond_node_t *cond_node, enum cil_flavor cond_flavor) __cil_avrule_expand_helper() argument 1432 __cil_avrule_expand(policydb_t *pdb, uint16_t kind, struct cil_symtab_datum *src, struct cil_symtab_datum *tgt, struct cil_list *classperms, cond_node_t *cond_node, enum cil_flavor cond_flavor) __cil_avrule_expand() argument 1492 struct cil_symtab_datum *tgt = NULL; __cil_avrule_to_avtab() local 1753 __cil_avrulex_ioctl_to_hashtable(hashtab_t h, uint16_t kind, uint32_t src, uint32_t tgt, uint32_t obj, ebitmap_t *xperms) __cil_avrulex_ioctl_to_hashtable() argument 1810 __cil_avrulex_to_hashtable_helper(policydb_t *pdb, uint16_t kind, struct cil_symtab_datum *src, struct cil_symtab_datum *tgt, struct cil_permissionx *permx, struct cil_args_binary *args) __cil_avrulex_to_hashtable_helper() argument 1855 struct cil_symtab_datum *tgt = NULL; cil_avrulex_to_hashtable() local 4794 struct cil_symtab_datum *tgt = cil_rule->tgt; cil_check_neverallow() local [all...] |
H A D | cil_policy.c | 1158 struct cil_symtab_datum *src, *tgt; in cil_av_rulex_to_policy() local 1161 tgt = rule->tgt; in cil_av_rulex_to_policy() 1181 fprintf(out, "%s %s %s : ", kind, src->fqn, tgt->fqn); in cil_av_rulex_to_policy() 1189 struct cil_symtab_datum *src, *tgt; in cil_av_rule_to_policy() local 1194 tgt = rule->tgt; in cil_av_rule_to_policy() 1218 fprintf(out, "%s %s %s : %s;\n", kind, src->fqn, tgt->fqn, cp_str); in cil_av_rule_to_policy() 1227 struct cil_symtab_datum *src, *tgt, *res; in cil_type_rule_to_policy() local 1232 tgt in cil_type_rule_to_policy() 1259 struct cil_symtab_datum *src, *tgt, *res; cil_nametypetransition_to_policy() local [all...] |
H A D | cil_internal.h | 573 void *tgt; /* type, alias, or attribute */ member 615 void *tgt; /* type, alias, or attribute */ member 644 void *tgt; /* type, alias, or attribute */ member 655 void *tgt; /* type, alias, or attribute */ member 666 void *tgt; /* role or attribute */ member
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | ByteArrayWrapper.java | 271 * target of tgt byte array at the offset tgtoff. 274 * @param tgt target byte array to copy to 275 * @param tgtoff start offset of tgt to copy to 278 private static final void copyBytes(byte[] src, int srcoff, byte[] tgt, in copyBytes() argument 282 tgt[n] = src[i]; in copyBytes() 286 System.arraycopy(src, srcoff, tgt, tgtoff, length); in copyBytes()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | ByteArrayWrapper.java | 259 * target of tgt byte array at the offset tgtoff. 262 * @param tgt target byte array to copy to 263 * @param tgtoff start offset of tgt to copy to 266 private static final void copyBytes(byte[] src, int srcoff, byte[] tgt, in copyBytes() argument 270 tgt[n] = src[i]; in copyBytes() 274 System.arraycopy(src, srcoff, tgt, tgtoff, length); in copyBytes()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | sortkey.cpp | 186 const uint8_t *tgt = target.getBytes(); in compareTo() local 189 if (src == tgt) in compareTo() 207 int diff = uprv_memcmp(src, tgt, minLength); in compareTo()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | sortkey.cpp | 186 const uint8_t *tgt = target.getBytes(); in compareTo() local 189 if (src == tgt) in compareTo() 207 int diff = uprv_memcmp(src, tgt, minLength); in compareTo()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | sortkey.cpp | 186 const uint8_t *tgt = target.getBytes(); in compareTo() local 189 if (src == tgt) in compareTo() 207 int diff = uprv_memcmp(src, tgt, minLength); in compareTo()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_state.c | 3972 struct crocus_stream_output_target *tgt = (void *)so; in crocus_get_so_offset() local 3976 u_box_1d(tgt->offset_offset, 4, &box); in crocus_get_so_offset() 3977 void *val = so->context->buffer_map(so->context, &tgt->offset_res->base.b, in crocus_get_so_offset() 3984 return result / tgt->stride; in crocus_get_so_offset() 3991 struct crocus_stream_output_target *tgt, 3998 struct crocus_stream_output_target *tgt = (void *)so; in crocus_get_so_offset() local 4002 compute_vertices_written_so_far(ice, tgt, &tgt->prev_count, &vert_written); in crocus_get_so_offset() 4065 aggregate_stream_counter(struct crocus_batch *batch, struct crocus_stream_output_target *tgt, in aggregate_stream_counter() argument 4068 uint64_t *prim_counts = tgt in aggregate_stream_counter() 4084 crocus_stream_store_prims_written(struct crocus_batch *batch, struct crocus_stream_output_target *tgt) crocus_stream_store_prims_written() argument 4108 compute_vertices_written_so_far(struct crocus_context *ice, struct crocus_stream_output_target *tgt, struct crocus_streamout_counter *counter, uint64_t *svbi) compute_vertices_written_so_far() argument 4156 struct crocus_stream_output_target *tgt = crocus_set_stream_output_targets() local 4181 struct crocus_stream_output_target *tgt = crocus_set_stream_output_targets() local 4205 struct crocus_stream_output_target *tgt = crocus_set_stream_output_targets() local 4224 struct crocus_stream_output_target *tgt = crocus_set_stream_output_targets() local 4239 struct crocus_stream_output_target *tgt = crocus_set_stream_output_targets() local 4407 struct crocus_stream_output_target *tgt = crocus_emit_so_svbi() local 6564 struct crocus_stream_output_target *tgt = global() local [all...] |
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
H A D | CollationIteratorTest.java | 579 String tgt[] = {// non blocking combining character in TestDiscontiguous() 605 while (s < tgt[count].length()) { in TestDiscontiguous() 606 int e = tgt[count].indexOf(' ', s); in TestDiscontiguous() 608 e = tgt[count].length(); in TestDiscontiguous() 610 String resultstr = tgt[count].substring(s, e); in TestDiscontiguous()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
H A D | CollationIteratorTest.java | 582 String tgt[] = {// non blocking combining character in TestDiscontiguous() 608 while (s < tgt[count].length()) { in TestDiscontiguous() 609 int e = tgt[count].indexOf(' ', s); in TestDiscontiguous() 611 e = tgt[count].length(); in TestDiscontiguous() 613 String resultstr = tgt[count].substring(s, e); in TestDiscontiguous()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/Disassembler/ |
H A D | SparcDisassembler.cpp | 512 unsigned tgt = fieldFromInstruction(insn, 0, 30); in DecodeCall() local 513 tgt <<= 2; in DecodeCall() 514 if (!tryAddingSymbolicOperand(tgt+Address, false, Address, in DecodeCall() 516 MI.addOperand(MCOperand::createImm(tgt)); in DecodeCall() 522 unsigned tgt = SignExtend32<13>(fieldFromInstruction(insn, 0, 13)); in DecodeSIMM13() local 523 MI.addOperand(MCOperand::createImm(tgt)); in DecodeSIMM13()
|
/third_party/ffmpeg/libavcodec/ |
H A D | ra288.c | 89 static void convolve(float *tgt, const float *src, int len, int n) in convolve() argument 92 tgt[n] = avpriv_scalarproduct_float_c(src, src - n, len); in convolve()
|
/third_party/ltp/ |
H A D | Makefile | 147 $(foreach tgt,$(MAKE_TARGETS) include-all lib-all $(filter-out clean_install_dir,$(CLEAN_TARGETS)) $(INSTALL_TARGETS) include-install lib-install,$(eval $(call target_to_dir_dep_mapping,$(tgt))))
|
/third_party/skia/third_party/externals/tint/src/transform/ |
H A D | renamer.h | 65 /// @param tgt the targets to rename 66 explicit Config(Target tgt);
|