Home
last modified time | relevance | path

Searched refs:trans (Results 1 – 25 of 326) sorted by relevance

12345678910>>...14

/external/e2fsprogs/debugfs/
Ddo_journal.c59 static void journal_dump_trans(journal_transaction_t *trans EXT2FS_ATTR((unused)), in journal_dump_trans()
63 "flags=0x%x\n", trans, tag, trans->tid, trans->start, in journal_dump_trans()
64 trans->block, trans->end, trans->flags); in journal_dump_trans()
67 static errcode_t journal_commit_trans(journal_transaction_t *trans) in journal_commit_trans() argument
76 JOURNAL_CHECK_TRANS_MAGIC(trans); in journal_commit_trans()
78 if ((trans->flags & J_TRANS_COMMITTED) || in journal_commit_trans()
79 !(trans->flags & J_TRANS_OPEN)) in journal_commit_trans()
82 bh = getblk(trans->journal->j_dev, 0, trans->journal->j_blocksize); in journal_commit_trans()
90 commit->h_sequence = ext2fs_cpu_to_be32(trans->tid); in journal_commit_trans()
91 if (jfs_has_feature_checksum(trans->journal)) { in journal_commit_trans()
[all …]
/external/icu/icu4c/source/i18n/
Dztrans.cpp39 ztrans_close(ZTrans *trans) { in ztrans_close() argument
40 delete (TimeZoneTransition*)trans; in ztrans_close()
44 ztrans_clone(ZTrans *trans) { in ztrans_clone() argument
45 return (ZTrans*) (((TimeZoneTransition*)trans)->TimeZoneTransition::clone()); in ztrans_clone()
54 ztrans_getTime(ZTrans* trans) { in ztrans_getTime() argument
55 return ((TimeZoneTransition*)trans)->TimeZoneTransition::getTime(); in ztrans_getTime()
59 ztrans_setTime(ZTrans* trans, UDate time) { in ztrans_setTime() argument
60 return ((TimeZoneTransition*)trans)->TimeZoneTransition::setTime(time); in ztrans_setTime()
64 ztrans_getFrom(ZTrans* & trans) { in ztrans_getFrom() argument
65 return (void*) (((TimeZoneTransition*)trans)->TimeZoneTransition::getFrom()); in ztrans_getFrom()
[all …]
Dcpdtrans.cpp56 trans(0), count(0), numAnonymousRBTs(0) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
73 trans(0), numAnonymousRBTs(0) { in CompoundTransliterator()
83 trans(0), numAnonymousRBTs(0) { in CompoundTransliterator()
100 trans(0), numAnonymousRBTs(anonymousRBTs) in CompoundTransliterator()
114 trans(0), numAnonymousRBTs(0) in CompoundTransliterator()
127 trans(0), numAnonymousRBTs(anonymousRBTs) in CompoundTransliterator()
199 trans = (Transliterator **)uprv_malloc(count * sizeof(Transliterator *)); in init()
201 if (trans == 0) { in init()
207 if (U_FAILURE(status) || trans == 0) { in init()
217 trans[i] = (Transliterator*) list.elementAt(j); in init()
[all …]
Dutrans.cpp159 Transliterator *trans = NULL; in utrans_openU() local
161 trans = Transliterator::createInstance(ID, dir, *parseError, *status); in utrans_openU()
166 return (UTransliterator*) trans; in utrans_openU()
172 Transliterator *trans = NULL; in utrans_openU() local
173 trans = Transliterator::createFromRules(ID, ruleStr, dir, *parseError, *status); in utrans_openU()
178 return (UTransliterator*) trans; in utrans_openU()
196 utrans_openInverse(const UTransliterator* trans, in utrans_openInverse() argument
202 (UTransliterator*) ((Transliterator*) trans)->createInverse(*status); in utrans_openInverse()
208 utrans_clone(const UTransliterator* trans, in utrans_clone() argument
213 if (trans == NULL) { in utrans_clone()
[all …]
Dztrans.h57 ztrans_close(ZTrans *trans);
65 ztrans_clone(ZTrans *trans);
83 ztrans_getTime(ZTrans* trans);
91 ztrans_setTime(ZTrans* trans, UDate time);
99 ztrans_getFrom(ZTrans* & trans);
109 ztrans_setFrom(ZTrans* trans, const void* from);
118 ztrans_adoptFrom(ZTrans* trans, void* from);
126 ztrans_getTo(ZTrans* trans);
135 ztrans_setTo(ZTrans* trans, const void* to);
144 ztrans_adoptTo(ZTrans* trans, void* to);
[all …]
/external/mesa3d/src/gallium/drivers/r300/
Dr300_transfer.c112 struct r300_transfer *trans; in r300_texture_transfer_map() local
126 trans = CALLOC_STRUCT(r300_transfer); in r300_texture_transfer_map()
127 if (trans) { in r300_texture_transfer_map()
129 trans->transfer.resource = texture; in r300_texture_transfer_map()
130 trans->transfer.level = level; in r300_texture_transfer_map()
131 trans->transfer.usage = usage; in r300_texture_transfer_map()
132 trans->transfer.box = *box; in r300_texture_transfer_map()
167 trans->linear_texture = r300_resource( in r300_texture_transfer_map()
171 if (!trans->linear_texture) { in r300_texture_transfer_map()
176 trans->linear_texture = r300_resource( in r300_texture_transfer_map()
[all …]
/external/icu/icu4c/source/test/testdata/
Dzoneinfo64.txt26 trans:intvector { -1830383032 }
31trans:intvector { -1640995148, -1051920000, -1041466800, -1020384000, -1009930800, -988848000, -97…
37 trans:intvector { -1062210920 }
44trans:intvector { -1855958961, -1689814800, -1680397200, -1665363600, -1648342800, -1635123600, -1…
50 trans:intvector { -1062210920 }
57 trans:intvector { -1830382080, -1131235200, -300841200 }
63 trans:intvector { -1830388460 }
68 trans:intvector { -1104533604, -189385200 }
73 trans:intvector { -1849388260, 157770000 }
78 trans:intvector { -2109291600 }
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCompoundTransliterator.java35 private Transliterator[] trans; field in CompoundTransliterator
112 trans = null; in CompoundTransliterator()
127 trans = trans2; in CompoundTransliterator()
188 trans = new Transliterator[count]; in init()
195 trans[i] = list.get(j); in init()
206 newID.append(trans[i].getID()); in init()
235 return trans.length; in getCount()
244 return trans[index]; in getTransliterator()
281 for (int i=0; i<trans.length; ++i) { in toRules()
288 if (trans[i].getID().startsWith("%Pass")) { in toRules()
[all …]
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DCompoundTransliterator.java34 private Transliterator[] trans; field in CompoundTransliterator
111 trans = null; in CompoundTransliterator()
126 trans = trans2; in CompoundTransliterator()
187 trans = new Transliterator[count]; in init()
194 trans[i] = list.get(j); in init()
205 newID.append(trans[i].getID()); in init()
234 return trans.length; in getCount()
243 return trans[index]; in getTransliterator()
280 for (int i=0; i<trans.length; ++i) { in toRules()
287 if (trans[i].getID().startsWith("%Pass")) { in toRules()
[all …]
/external/ltp/testcases/kernel/fs/doio/
Dpattern.c103 int trans, ncopied, nleft; in pattern_fill() local
119 trans = patlen - patshift; in pattern_fill()
120 if (nleft < trans) { in pattern_fill()
124 memcpy(cp, pat + patshift, trans); in pattern_fill()
125 nleft -= trans; in pattern_fill()
126 cp += trans; in pattern_fill()
130 trans = patshift; in pattern_fill()
131 if (nleft < trans) { in pattern_fill()
135 memcpy(cp, pat, trans); in pattern_fill()
136 nleft -= trans; in pattern_fill()
[all …]
/external/icu/icu4c/source/data/misc/
Dzoneinfo64.txt24 trans:intvector { -1830383032 }
30trans:intvector { -1640995148, -1556841600, -1546388400, -1525305600, -1514852400, -1493769600, -1…
37trans:intvector { -1855958961, -1689814800, -1680397200, -1665363600, -1648342800, -1635123600, -1…
47 trans:intvector { -1830380400, 157770000 }
56trans:intvector { -929844000, -923108400, -906170400, -892868400, -875844000, -857790000, -8443080…
62trans:intvector { -1773012580, -956361600, -950490000, -942019200, -761187600, -617241600, -605149…
72trans:intvector { -1630112400, -1616810400, -1442451600, -1427673600, -1379293200, -1364774400, -1…
85trans:intvector { -1136070432, 198291600, 199756800, 207702000, 231292800, 244249200, 265507200, 2…
98 trans:intvector { -2109288600, -860976000, -845254800, -829526400, -813805200 }
104trans:intvector { -1230775588, 10360800, 24786000, 41810400, 56322000, 73432800, 87944400, 1048824…
[all …]
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_transfer.c59 struct etna_transfer *trans = etna_transfer(ptrans); in etna_transfer_unmap() local
74 if (trans->rsc) { in etna_transfer_unmap()
78 etna_copy_resource(pctx, ptrans->resource, trans->rsc, ptrans->level, in etna_transfer_unmap()
79 trans->rsc->last_level); in etna_transfer_unmap()
80 } else if (trans->staging) { in etna_transfer_unmap()
89 trans->staging, ptrans->box.x, ptrans->box.y, in etna_transfer_unmap()
97 trans->staging, ptrans->stride, in etna_transfer_unmap()
104 FREE(trans->staging); in etna_transfer_unmap()
117 pipe_resource_reference(&trans->rsc, NULL); in etna_transfer_unmap()
119 slab_free(&ctx->transfer_pool, trans); in etna_transfer_unmap()
[all …]
/external/webrtc/webrtc/voice_engine/test/auto_test/
Dvoe_conference_test.cc58 ConferenceTransport trans; in TEST() local
59 trans.SetRtt(kRttMs); in TEST()
61 unsigned int id_1 = trans.AddStream(input_file, kInputFormat); in TEST()
62 unsigned int id_2 = trans.AddStream(input_file, kInputFormat); in TEST()
64 EXPECT_TRUE(trans.StartPlayout(id_1)); in TEST()
68 EXPECT_TRUE(trans.StartPlayout(id_2)); in TEST()
86 EXPECT_TRUE(trans.GetReceiverStatistics(id_1, &stats_1)); in TEST()
87 EXPECT_TRUE(trans.GetReceiverStatistics(id_2, &stats_2)); in TEST()
139 ConferenceTransport trans; in TEST() local
141 unsigned int id_0 = trans.AddStream(silence_file, kInputFormat); in TEST()
[all …]
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_buffer.c51 struct virgl_transfer *trans; in virgl_buffer_transfer_map() local
65 trans = slab_alloc(&vctx->texture_transfer_pool); in virgl_buffer_transfer_map()
66 if (!trans) in virgl_buffer_transfer_map()
69 trans->base.resource = resource; in virgl_buffer_transfer_map()
70 trans->base.level = level; in virgl_buffer_transfer_map()
71 trans->base.usage = usage; in virgl_buffer_transfer_map()
72 trans->base.box = *box; in virgl_buffer_transfer_map()
73 trans->base.stride = 0; in virgl_buffer_transfer_map()
74 trans->base.layer_stride = 0; in virgl_buffer_transfer_map()
80 …vs->vws->transfer_get(vs->vws, vbuf->base.hw_res, box, trans->base.stride, trans->base.layer_strid… in virgl_buffer_transfer_map()
[all …]
Dvirgl_texture.c133 struct virgl_transfer *trans; in virgl_texture_transfer_map() local
148 trans = slab_alloc(&vctx->texture_transfer_pool); in virgl_texture_transfer_map()
149 if (!trans) in virgl_texture_transfer_map()
152 trans->base.resource = resource; in virgl_texture_transfer_map()
153 trans->base.level = level; in virgl_texture_transfer_map()
154 trans->base.usage = usage; in virgl_texture_transfer_map()
155 trans->base.box = *box; in virgl_texture_transfer_map()
156 trans->base.stride = vtex->stride[level]; in virgl_texture_transfer_map()
157 trans->base.layer_stride = trans->base.stride * nblocksy; in virgl_texture_transfer_map()
166 l_stride = trans->base.layer_stride; in virgl_texture_transfer_map()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_resource.c297 fd_resource_flush_z32s8(struct fd_transfer *trans, const struct pipe_box *box) in fd_resource_flush_z32s8() argument
299 struct fd_resource *rsc = fd_resource(trans->base.resource); in fd_resource_flush_z32s8()
300 struct fd_resource_slice *slice = fd_resource_slice(rsc, trans->base.level); in fd_resource_flush_z32s8()
301 struct fd_resource_slice *sslice = fd_resource_slice(rsc->stencil, trans->base.level); in fd_resource_flush_z32s8()
302 enum pipe_format format = trans->base.resource->format; in fd_resource_flush_z32s8()
305 fd_resource_layer_offset(rsc, slice, trans->base.box.z) + in fd_resource_flush_z32s8()
306 (trans->base.box.y + box->y) * slice->pitch * 4 + (trans->base.box.x + box->x) * 4; in fd_resource_flush_z32s8()
308 fd_resource_layer_offset(rsc->stencil, sslice, trans->base.box.z) + in fd_resource_flush_z32s8()
309 (trans->base.box.y + box->y) * sslice->pitch + trans->base.box.x + box->x; in fd_resource_flush_z32s8()
314 trans->staging, trans->base.stride, in fd_resource_flush_z32s8()
[all …]
/external/selinux/mcstrans/share/util/
Dmlstrans-test9 def untrans(trans, val):
11 (rc, raw) = selinux_trans_to_raw_context(trans)
13 print "untrans: '%s' -> '%s' != '%s' FAILED" % (trans, raw, val)
17 print "untrans: %s -> %s != %s SUCCESS" % (trans, raw, val)
20 def trans(raw, val):
22 (rc, trans) = selinux_raw_to_trans_context(raw)
23 if trans != val:
24 print "trans: '%s' -> '%s' != '%s' FAILED" % (raw, trans, val)
28 print "trans: %s -> %s != %s SUCCESS" % (raw, trans, val)
45 trans("a:b:c:" + r, "a:b:c:" + t)
/external/icu/icu4c/source/i18n/unicode/
Dutrans.h216 utrans_openInverse(const UTransliterator* trans,
230 utrans_clone(const UTransliterator* trans,
240 utrans_close(UTransliterator* trans);
276 utrans_getUnicodeID(const UTransliterator *trans,
328 utrans_setFilter(UTransliterator* trans,
383 utrans_trans(const UTransliterator* trans,
434 utrans_transIncremental(const UTransliterator* trans,
472 utrans_transUChars(const UTransliterator* trans,
507 utrans_transIncrementalUChars(const UTransliterator* trans,
532 utrans_toRules( const UTransliterator* trans,
[all …]
/external/mesa3d/src/gallium/drivers/ilo/shader/
Dtoy_helpers.h58 tdst_transpose(struct toy_dst dst, struct toy_dst *trans) in tdst_transpose() argument
67 trans[i] = tdst_offset(dst, i, 0); in tdst_transpose()
68 trans[i].writemask = TOY_WRITEMASK_XYZW; in tdst_transpose()
71 trans[i] = tdst_null(); in tdst_transpose()
78 trans[i] = dst; in tdst_transpose()
86 trans[i] = tdst_null(); in tdst_transpose()
95 tsrc_transpose(struct toy_src src, struct toy_src *trans) in tsrc_transpose() argument
107 trans[i] = tsrc_offset(src, swizzle[i], 0); in tsrc_transpose()
108 trans[i].swizzle_x = TOY_SWIZZLE_X; in tsrc_transpose()
109 trans[i].swizzle_y = TOY_SWIZZLE_Y; in tsrc_transpose()
[all …]
/external/icu/icu4j/samples/src/com/ibm/icu/samples/util/timezone/
DBasicTimeZoneExample.java46 … TimeZoneTransition trans = btz.getNextTransition(start, false /* not including start time */); in nextTransitionExample() local
49 long transTime = trans.getTime(); in nextTransitionExample()
51 …System.out.println(" - Before (Offset/Save): " + trans.getFrom().getRawOffset() + "/" + trans.getF… in nextTransitionExample()
52 …System.out.println(" - After (Offset/Save): " + trans.getTo().getRawOffset() + "/" + trans.getTo(… in nextTransitionExample()
73 … TimeZoneTransition trans = btz.getPreviousTransition(start, false /* not including start time */); in previousTransitionExample() local
76 long transTime = trans.getTime(); in previousTransitionExample()
78 …System.out.println(" - Before (Offset/Save): " + trans.getFrom().getRawOffset() + "/" + trans.getF… in previousTransitionExample()
79 …System.out.println(" - After (Offset/Save): " + trans.getTo().getRawOffset() + "/" + trans.getTo(… in previousTransitionExample()
/external/python/cpython2/Demo/scripts/
Dmarkov.py7 self.trans = {}
10 self.trans.setdefault(state, []).append(next)
22 trans = self.trans
24 seq = choice(trans[None])
27 options = trans[subseq]
92 if not m.trans:
98 for key in m.trans.keys():
100 print repr(key), m.trans[key]
101 if histsize == 0: print repr(''), m.trans['']
/external/python/cpython3/Tools/demo/
Dmarkov.py11 self.trans = {}
14 self.trans.setdefault(state, []).append(next)
26 trans = self.trans
28 seq = choice(trans[None])
31 options = trans[subseq]
96 if not m.trans:
102 for key in m.trans.keys():
104 print(repr(key), m.trans[key])
105 if histsize == 0: print(repr(''), m.trans[''])
/external/libxml2/
Dxmlregexp.c230 xmlRegTrans *trans; member
563 xmlRegTransPtr trans; in xmlRegEpxFromParse() local
573 trans = &(state->trans[j]); in xmlRegEpxFromParse()
574 if ((trans->to == -1) || (trans->atom == NULL)) in xmlRegEpxFromParse()
576 atomno = stringRemap[trans->atom->no]; in xmlRegEpxFromParse()
577 if ((trans->atom->data != NULL) && (transdata == NULL)) { in xmlRegEpxFromParse()
588 targetno = stateRemap[trans->to]; in xmlRegEpxFromParse()
600 i, j, trans->atom->no, trans->to, atomno, targetno); in xmlRegEpxFromParse()
616 i, j, trans->atom->no, trans->to, atomno, targetno); in xmlRegEpxFromParse()
622 trans->atom->data; in xmlRegEpxFromParse()
[all …]
/external/skia/src/gpu/ccpr/
DGrCCCoverageProcessor.h42 void set(const SkPoint[3], const Sk2f& trans);
43 void set(const SkPoint&, const SkPoint&, const SkPoint&, const Sk2f& trans);
54 void set(const SkPoint&, const SkPoint&, const SkPoint&, const Sk2f& trans, float w);
263 inline void GrCCCoverageProcessor::TriPointInstance::set(const SkPoint p[3], const Sk2f& trans) { in set() argument
264 this->set(p[0], p[1], p[2], trans); in set()
268 const SkPoint& p2, const Sk2f& trans) { in set() argument
269 Sk2f P0 = Sk2f::Load(&p0) + trans; in set()
270 Sk2f P1 = Sk2f::Load(&p1) + trans; in set()
271 Sk2f P2 = Sk2f::Load(&p2) + trans; in set()
283 const SkPoint& p2, const Sk2f& trans, in set() argument
[all …]
/external/syslinux/gpxe/src/hci/commands/
Dgdbstub_cmd.c58 struct gdb_transport *trans; in gdbstub_exec() local
82 trans = find_gdb_transport ( trans_name ); in gdbstub_exec()
83 if ( !trans ) { in gdbstub_exec()
88 if ( trans->init ) { in gdbstub_exec()
89 if ( trans->init ( argc - optind, &argv[optind] ) != 0 ) { in gdbstub_exec()
95 gdbstub_start ( trans ); in gdbstub_exec()

12345678910>>...14