Home
last modified time | relevance | path

Searched refs:targ (Results 1 – 25 of 68) sorted by relevance

123

/third_party/icu/icu4c/source/test/cintltst/
Dncnvfbts.c143 char *targ; in testConvertFromUnicode() local
181 targ = junkout; in testConvertFromUnicode()
196 end = nct_min(targ + gOutBufferSize, realBufferEnd); in testConvertFromUnicode()
201 if(targ == realBufferEnd) in testConvertFromUnicode()
203 …overflowed the real buffer while about to call fromUnicode! targ=%08lx %s", targ, gNuConvTestName); in testConvertFromUnicode()
206 …RCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"true"… in testConvertFromUnicode()
212 (char **)&targ, in testConvertFromUnicode()
229 sourceLen, targ-junkout); in testConvertFromUnicode()
237 for(p = junkout;p<targ;p++) in testConvertFromUnicode()
255 if(expectLen != targ-junkout) in testConvertFromUnicode()
[all …]
Dncnvtst.c1006 char *targ; in convertFromU() local
1026 targ=buffer; in convertFromU()
1027 targetLimit=targ+MAX_LENGTH; in convertFromU()
1030 (char **)&targ, in convertFromU()
1044 sourceLen, targ-buffer); in convertFromU()
1046 if(expectLen != targ-buffer) in convertFromU()
1048 … log_err("Expected %d chars out, got %d FROM Unicode to %s\n", expectLen, targ-buffer, codepage); in convertFromU()
1049 …log_verbose("Expected %d chars out, got %d FROM Unicode to %s\n", expectLen, targ-buffer, codepage… in convertFromU()
1050 printSeqErr((const unsigned char *)buffer, (int32_t)(targ-buffer)); in convertFromU()
1068 log_verbose("comparing %d offsets..\n", targ-buffer); in convertFromU()
[all …]
Dnccbtst.c2634 char *targ; in testConvertFromUnicode() local
2685 targ = junkout; in testConvertFromUnicode()
2700 end = nct_min(targ + gOutBufferSize, realBufferEnd); in testConvertFromUnicode()
2705 if(targ == realBufferEnd) in testConvertFromUnicode()
2707 …overflowed the real buffer while about to call fromUnicode! targ=%08lx %s", targ, gNuConvTestName); in testConvertFromUnicode()
2710 …RCE:%08lx to %08lx TARGET: %08lx to %08lx, flush=%s\n", src,sourceLimit, targ,end, doFlush?"true"… in testConvertFromUnicode()
2716 (char **)&targ, in testConvertFromUnicode()
2750 sourceLen, targ-junkout); in testConvertFromUnicode()
2756 for(p = junkout;p<targ;p++) in testConvertFromUnicode()
2774 if(expectLen != targ-junkout) in testConvertFromUnicode()
[all …]
/third_party/ltp/testcases/kernel/controllers/cgroup/
Dcgroup_core02.c45 struct lesser_ns_open_thread_arg *targ = arg; in lesser_ns_open_thread_fn() local
47 targ->loops = SAFE_CG_OPEN(cg_child_b, "cgroup.procs", O_RDWR, targ->fds); in lesser_ns_open_thread_fn()
57 struct lesser_ns_open_thread_arg targ = { .fds = {0}, .loops = -1}; in test_lesser_ns_open() local
67 lesser_ns_open_thread_fn, &targ, 65536, stack); in test_lesser_ns_open()
74 for (i = 0; i < targ.loops; i++) { in test_lesser_ns_open()
75 if (targ.fds[i] < 1) { in test_lesser_ns_open()
76 tst_res(TFAIL, "unexpected negative fd %d", targ.fds[i]); in test_lesser_ns_open()
80 TEST(write(targ.fds[i], "0", 1)); in test_lesser_ns_open()
86 SAFE_CLOSE(targ.fds[i]); in test_lesser_ns_open()
/third_party/icu/icu4c/source/test/intltest/
Dtransrt.cpp532 UnicodeString targ = srcStr; in checkIrrelevants() local
533 t->transliterate(targ); in checkIrrelevants()
534 if (srcStr == targ) return true; in checkIrrelevants()
541 UnicodeString srcStr, targ, reverse; in test2() local
610 UnicodeString targ = srcStr; in test2() local
611 sourceToTarget->transliterate(targ); in test2()
614 if (targ != targ2) { in test2()
615 logToRulesFails("Source-Target, toRules", srcStr, targ, targ2); in test2()
625 UnicodeString targ = srcStr; in test2() local
626 targetToSource->transliterate(targ); in test2()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DFixTypeConstructors.cpp43 TIntermTyped *targ = arg->getAsTyped(); in visitAggregate() local
45 if (targ) in visitAggregate()
47 argsSize += targ->getNominalSize(); in visitAggregate()
51 beforeSize += targ->getNominalSize(); in visitAggregate()
57 TIntermTyped *targ = lastArg->getAsTyped(); in visitAggregate() local
62 newSwizzle = new TIntermSwizzle(targ->deepCopy(), {0}); in visitAggregate()
65 newSwizzle = new TIntermSwizzle(targ->deepCopy(), {0, 1}); in visitAggregate()
68 newSwizzle = new TIntermSwizzle(targ->deepCopy(), {0, 1, 2}); in visitAggregate()
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DRoundTripTest.java1280 String targ = t.transliterate(cs); in checkIrrelevants() local
1281 if (cs.equals(targ)) return true; in checkIrrelevants()
1369 String targ = sourceToTarget.transliterate(cs); in checkSourceTargetSource() local
1371 if (!targ.equals(targ2)) { in checkSourceTargetSource()
1372 … logToRulesFails("" + getSourceTarget(transliteratorID) + ", toRules", cs, targ, targ2); in checkSourceTargetSource()
1385 String targ = targetToSource.transliterate(cs); in checkTargetSourceTarget() local
1387 if (!targ.equals(targ2)) { in checkTargetSourceTarget()
1388 … logToRulesFails("" + getTargetSource(transliteratorID) + ", toRules", cs, targ, targ2); in checkTargetSourceTarget()
1407 String targ = sourceToTarget.transliterate(cs); in checkSourceTargetSingles() local
1408 if (!toTarget.containsAll(targ) in checkSourceTargetSingles()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/
DRoundTripTest.java1295 String targ = t.transliterate(cs); in checkIrrelevants() local
1296 if (cs.equals(targ)) return true; in checkIrrelevants()
1384 String targ = sourceToTarget.transliterate(cs); in checkSourceTargetSource() local
1386 if (!targ.equals(targ2)) { in checkSourceTargetSource()
1387 … logToRulesFails("" + getSourceTarget(transliteratorID) + ", toRules", cs, targ, targ2); in checkSourceTargetSource()
1400 String targ = targetToSource.transliterate(cs); in checkTargetSourceTarget() local
1402 if (!targ.equals(targ2)) { in checkTargetSourceTarget()
1403 … logToRulesFails("" + getTargetSource(transliteratorID) + ", toRules", cs, targ, targ2); in checkTargetSourceTarget()
1422 String targ = sourceToTarget.transliterate(cs); in checkSourceTargetSingles() local
1423 if (!toTarget.containsAll(targ) in checkSourceTargetSingles()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_shader_state.c347 struct nvc0_so_target *targ = nvc0_so_target(nvc0->tfbbuf[b]); in nvc0_tfb_validate() local
350 if (targ && tfb) in nvc0_tfb_validate()
351 targ->stride = tfb->stride[b]; in nvc0_tfb_validate()
353 if (!targ || !targ->stride) { in nvc0_tfb_validate()
358 buf = nv04_resource(targ->pipe.buffer); in nvc0_tfb_validate()
365 if (!targ->clean) in nvc0_tfb_validate()
366 nvc0_hw_query_fifo_wait(nvc0, nvc0_query(targ->pq)); in nvc0_tfb_validate()
370 PUSH_DATAh(push, buf->address + targ->pipe.buffer_offset); in nvc0_tfb_validate()
371 PUSH_DATA (push, buf->address + targ->pipe.buffer_offset); in nvc0_tfb_validate()
372 PUSH_DATA (push, targ->pipe.buffer_size); in nvc0_tfb_validate()
[all …]
Dnvc0_state.c1083 struct nvc0_so_target *targ = MALLOC_STRUCT(nvc0_so_target); in nvc0_so_target_create() local
1084 if (!targ) in nvc0_so_target_create()
1087 targ->pq = pipe->create_query(pipe, NVC0_HW_QUERY_TFB_BUFFER_OFFSET, 0); in nvc0_so_target_create()
1088 if (!targ->pq) { in nvc0_so_target_create()
1089 FREE(targ); in nvc0_so_target_create()
1092 targ->clean = true; in nvc0_so_target_create()
1094 targ->pipe.buffer_size = size; in nvc0_so_target_create()
1095 targ->pipe.buffer_offset = offset; in nvc0_so_target_create()
1096 targ->pipe.context = pipe; in nvc0_so_target_create()
1097 targ->pipe.buffer = NULL; in nvc0_so_target_create()
[all …]
/third_party/typescript/tests/baselines/reference/
DmisspelledNewMetaProperty.types2 function foo(){new.targ}
4 >new.targ : () => void
5 >targ : any
DmisspelledNewMetaProperty.errors.txt1 tests/cases/compiler/misspelledNewMetaProperty.ts(1,20): error TS17012: 'targ' is not a valid meta-…
5 function foo(){new.targ}
7 !!! error TS17012: 'targ' is not a valid meta-property for keyword 'new'. Did you mean 'target'?
DmisspelledNewMetaProperty.js2 function foo(){new.targ}
5 function foo() { new.targ; }
DmisspelledNewMetaProperty.symbols2 function foo(){new.targ}
4 >new.targ : Symbol(foo, Decl(misspelledNewMetaProperty.ts, 0, 0))
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_shader_state.c699 struct nv50_so_target *targ = nv50_so_target(nv50->so_target[i]); in nv50_stream_output_validate() local
700 struct nv04_resource *buf = nv04_resource(targ->pipe.buffer); in nv50_stream_output_validate()
706 if (!targ->clean) { in nv50_stream_output_validate()
708 nv84_hw_query_fifo_wait(push, nv50_query(targ->pq)); in nv50_stream_output_validate()
713 PUSH_DATAh(push, buf->address + targ->pipe.buffer_offset + so_used); in nv50_stream_output_validate()
714 PUSH_DATA (push, buf->address + targ->pipe.buffer_offset + so_used); in nv50_stream_output_validate()
717 PUSH_DATA(push, targ->pipe.buffer_size); in nv50_stream_output_validate()
718 if (!targ->clean) { in nv50_stream_output_validate()
719 assert(targ->pq); in nv50_stream_output_validate()
721 nv50_query(targ->pq), 0x4); in nv50_stream_output_validate()
[all …]
Dnv50_state.c1139 struct nv50_so_target *targ = MALLOC_STRUCT(nv50_so_target); in nv50_so_target_create() local
1140 if (!targ) in nv50_so_target_create()
1144 targ->pq = pipe->create_query(pipe, in nv50_so_target_create()
1146 if (!targ->pq) { in nv50_so_target_create()
1147 FREE(targ); in nv50_so_target_create()
1151 targ->pq = NULL; in nv50_so_target_create()
1153 targ->clean = true; in nv50_so_target_create()
1155 targ->pipe.buffer_size = size; in nv50_so_target_create()
1156 targ->pipe.buffer_offset = offset; in nv50_so_target_create()
1157 targ->pipe.context = pipe; in nv50_so_target_create()
[all …]
Dnv50_push.c299 struct nv50_so_target *targ; in nv50_push_vbo() local
300 targ = nv50_so_target(indirect->count_from_stream_output); in nv50_push_vbo()
301 if (!targ->pq) { in nv50_push_vbo()
305 pipe->get_query_result(pipe, targ->pq, true, (void *)&vert_count); in nv50_push_vbo()
306 vert_count /= targ->stride; in nv50_push_vbo()
/third_party/node/deps/icu-small/source/tools/pkgdata/
Dpkgtypes.c251 const char *targ;
259 targ = s+len;
261 while(*s && s<targ) {
262 while(s<targ&&isspace(*s)) s++;
263 for(p=s;s<targ&&!isspace(*p);p++);
/third_party/icu/icu4c/source/tools/pkgdata/
Dpkgtypes.c251 const char *targ;
259 targ = s+len;
261 while(*s && s<targ) {
262 while(s<targ&&isspace(*s)) s++;
263 for(p=s;s<targ&&!isspace(*p);p++);
/third_party/skia/third_party/externals/icu/source/tools/pkgdata/
Dpkgtypes.c251 const char *targ;
259 targ = s+len;
261 while(*s && s<targ) {
262 while(s<targ&&isspace(*s)) s++;
263 for(p=s;s<targ&&!isspace(*p);p++);
/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_sched_gm107.h8 SchedDataCalculatorGM107(const TargetGM107 *targ) : score(NULL), targ(targ) {} in SchedDataCalculatorGM107() argument
105 const TargetGM107 *targ; variable
Dnv50_ir.h1014 Target(TexTarget targ = TEX_TARGET_1D) : target(targ) { } in target() argument
1033 Target& operator=(TexTarget targ)
1035 assert(targ < TEX_TARGET_COUNT);
1036 target = targ;
1040 inline bool operator==(TexTarget targ) const { return target == targ; }
1041 inline bool operator!=(TexTarget targ) const { return target != targ; }
1083 inline void setTexture(Target targ, uint8_t r, uint8_t s) in setTexture() argument
1087 tex.target = targ; in setTexture()
1332 Program(Type type, Target *targ);
Dnv50_ir_target.cpp182 void Target::destroy(Target *targ) in destroy() argument
184 delete targ; in destroy()
187 CodeEmitter::CodeEmitter(const Target *target) : targ(target), code(NULL), in CodeEmitter()
513 nv50_ir::Target *targ = nv50_ir::Target::create(chipset); in nv50_ir_get_target_library() local
514 targ->getBuiltinCode(code, size); in nv50_ir_get_target_library()
515 nv50_ir::Target::destroy(targ); in nv50_ir_get_target_library()
/third_party/mesa3d/docs/_exts/
Dnir.py144 targ = 'nir-alu-op-' + opname
145 return make_refnode(builder, fromdocname, todocname, targ,
146 contnode, targ)
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DUtility.java39 Object[] targ = (Object[]) target; in arrayEquals()
40 return (source.length == targ.length in arrayEquals()
41 && arrayRegionMatches(source, 0, targ, 0, source.length)); in arrayEquals()
51 int[] targ = (int[]) target; in arrayEquals() local
52 return (source.length == targ.length in arrayEquals()
53 && arrayRegionMatches(source, 0, targ, 0, source.length)); in arrayEquals()
63 double[] targ = (double[]) target; in arrayEquals() local
64 return (source.length == targ.length in arrayEquals()
65 && arrayRegionMatches(source, 0, targ, 0, source.length)); in arrayEquals()
70 byte[] targ = (byte[]) target; in arrayEquals()
[all …]

123