Home
last modified time | relevance | path

Searched refs:rd (Results 1 – 25 of 803) sorted by relevance

12345678910>>...33

/third_party/mbedtls/library/
Dmps_reader.c75 mbedtls_mps_reader const *rd ) in mps_reader_is_accumulating() argument
78 if( rd->acc == NULL ) in mps_reader_is_accumulating()
81 acc_remaining = rd->acc_share.acc_remaining; in mps_reader_is_accumulating()
86 mbedtls_mps_reader const *rd ) in mps_reader_is_producing() argument
88 unsigned char *frag = rd->frag; in mps_reader_is_producing()
93 mbedtls_mps_reader const *rd ) in mps_reader_is_consuming() argument
95 return( !mps_reader_is_producing( rd ) ); in mps_reader_is_consuming()
99 mbedtls_mps_reader const *rd ) in mps_reader_get_fragment_offset() argument
101 unsigned char *acc = rd->acc; in mps_reader_get_fragment_offset()
107 frag_offset = rd->acc_share.frag_offset; in mps_reader_get_fragment_offset()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/closedcaption/
Draw_decoder.c336 dump_pattern_line (const vbi3_raw_decoder * rd, unsigned int row, FILE * fp) in dump_pattern_line() argument
342 sp = &rd->sampling; in dump_pattern_line()
371 fprintf (fp, "%02x ", (uint8_t) rd->pattern[pos + i]); in dump_pattern_line()
378 _vbi3_raw_decoder_dump (const vbi3_raw_decoder * rd, FILE * fp) in _vbi3_raw_decoder_dump() argument
385 fprintf (fp, "vbi3_raw_decoder %p\n", rd); in _vbi3_raw_decoder_dump()
387 if (NULL == rd) in _vbi3_raw_decoder_dump()
390 fprintf (fp, " services 0x%08x\n", rd->services); in _vbi3_raw_decoder_dump()
392 for (i = 0; i < rd->n_jobs; ++i) in _vbi3_raw_decoder_dump()
394 i + 1, rd->jobs[i].id, vbi_sliced_name (rd->jobs[i].id)); in _vbi3_raw_decoder_dump()
396 if (!rd->pattern) { in _vbi3_raw_decoder_dump()
[all …]
Ddecoder.c508 vbi_raw_decode (vbi_raw_decoder * rd, uint8_t * raw, vbi_sliced * out) in vbi_raw_decode() argument
513 assert (NULL != rd); in vbi_raw_decode()
517 rd3 = (vbi3_raw_decoder *) rd->pattern; in vbi_raw_decode()
518 n_lines = rd->count[0] + rd->count[1]; in vbi_raw_decode()
520 g_mutex_lock (&rd->mutex); in vbi_raw_decode()
526 g_mutex_unlock (&rd->mutex); in vbi_raw_decode()
539 vbi_raw_decoder_resize (vbi_raw_decoder * rd, int *start, unsigned int *count) in vbi_raw_decoder_resize() argument
546 assert (NULL != rd); in vbi_raw_decoder_resize()
550 rd3 = (vbi3_raw_decoder *) rd->pattern; in vbi_raw_decoder_resize()
552 g_mutex_lock (&rd->mutex); in vbi_raw_decoder_resize()
[all …]
Draw_decoder.h49 vbi3_raw_decoder_sampling_point (vbi3_raw_decoder * rd,
54 vbi3_raw_decoder_decode (vbi3_raw_decoder * rd,
59 vbi3_raw_decoder_reset (vbi3_raw_decoder * rd);
61 vbi3_raw_decoder_services (vbi3_raw_decoder * rd);
64 (vbi3_raw_decoder * rd,
67 vbi3_raw_decoder_add_services (vbi3_raw_decoder * rd,
71 vbi3_raw_decoder_debug (vbi3_raw_decoder * rd,
75 (vbi3_raw_decoder * rd,
80 (const vbi3_raw_decoder *rd,
83 vbi3_raw_decoder_set_log_fn (vbi3_raw_decoder * rd,
[all …]
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/
Dgstvp8parser.c76 #define READ_BOOL(rd, val, field_name) \ argument
77 val = vp8_read_bool ((rd))
78 #define READ_UINT(rd, val, nbits, field_name) \ argument
79 val = vp8_read_uint ((rd), (nbits))
80 #define READ_SINT(rd, val, nbits, field_name) \ argument
81 val = vp8_read_sint ((rd), (nbits))
84 vp8_read_bool (GstVp8RangeDecoder * rd) in vp8_read_bool() argument
86 return (gboolean) gst_vp8_range_decoder_read_literal (rd, 1); in vp8_read_bool()
90 vp8_read_uint (GstVp8RangeDecoder * rd, guint nbits) in vp8_read_uint() argument
92 return (guint) gst_vp8_range_decoder_read_literal (rd, nbits); in vp8_read_uint()
[all …]
Dgstvp8rangedecoder.c17 #define BOOL_DECODER_CAST(rd) \ argument
18 ((BOOL_DECODER *)(&(rd)->_gst_reserved[0]))
21 gst_vp8_range_decoder_init (GstVp8RangeDecoder * rd, const guchar * buf, in gst_vp8_range_decoder_init() argument
24 BOOL_DECODER *const bd = BOOL_DECODER_CAST (rd); in gst_vp8_range_decoder_init()
26 g_return_val_if_fail (sizeof (rd->_gst_reserved) >= sizeof (*bd), FALSE); in gst_vp8_range_decoder_init()
28 rd->buf = buf; in gst_vp8_range_decoder_init()
29 rd->buf_size = buf_size; in gst_vp8_range_decoder_init()
34 gst_vp8_range_decoder_read (GstVp8RangeDecoder * rd, guint8 prob) in gst_vp8_range_decoder_read() argument
36 return vp8dx_decode_bool (BOOL_DECODER_CAST (rd), prob); in gst_vp8_range_decoder_read()
40 gst_vp8_range_decoder_read_literal (GstVp8RangeDecoder * rd, gint bits) in gst_vp8_range_decoder_read_literal() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcInstrAliases.td14 // mov<cond> <ccreg> rs2, rd
19 // mov<cond> (%icc|%xcc), rs2, rd
21 ", $rs2, $rd"),
22 (movrr IntRegs:$rd, IntRegs:$rs2, condVal)>;
24 // mov<cond> (%icc|%xcc), simm11, rd
26 ", $simm11, $rd"),
27 (movri IntRegs:$rd, i32imm:$simm11, condVal)>;
29 // fmovs<cond> (%icc|%xcc), $rs2, $rd
31 ", $rs2, $rd"),
32 (fmovs FPRegs:$rd, FPRegs:$rs2, condVal)>;
[all …]
DSparcInstrVIS.td20 (outs RC:$rd), (ins RC:$rs1, RC:$rs2),
21 !strconcat(OpcStr, " $rs1, $rs2, $rd"), []>;
26 (outs I64Regs:$rd), (ins DFPRegs:$rs1, DFPRegs:$rs2),
27 !strconcat(OpcStr, " $rs1, $rs2, $rd"), []>;
30 let rd = 0, rs1 = 0, rs2 = 0 in
34 // For VIS Instructions with only rs1, rd operands.
38 (outs RC:$rd), (ins RC:$rs1),
39 !strconcat(OpcStr, " $rs1, $rd"), []>;
41 // For VIS Instructions with only rs2, rd operands.
45 (outs RC:$rd), (ins RC:$rs2),
[all …]
DSparcInstrInfo.td312 (outs RC:$rd), (ins RC:$rs1, RC:$rs2),
313 !strconcat(OpcStr, " $rs1, $rs2, $rd"),
314 [(set Ty:$rd, (OpNode Ty:$rs1, Ty:$rs2))],
317 (outs RC:$rd), (ins RC:$rs1, immOp:$simm13),
318 !strconcat(OpcStr, " $rs1, $simm13, $rd"),
319 [(set Ty:$rd, (OpNode Ty:$rs1, (Ty simm13:$simm13)))],
327 (outs IntRegs:$rd), (ins IntRegs:$rs1, IntRegs:$rs2),
328 !strconcat(OpcStr, " $rs1, $rs2, $rd"), [],
331 (outs IntRegs:$rd), (ins IntRegs:$rs1, simm13Op:$simm13),
332 !strconcat(OpcStr, " $rs1, $simm13, $rd"), [],
[all …]
/third_party/mbedtls/tests/suites/
Dtest_suite_mps.function48 mbedtls_mps_reader rd;
54 mbedtls_mps_reader_init( &rd, NULL, 0 );
56 mbedtls_mps_reader_init( &rd, acc, sizeof( acc ) );
57 TEST_ASSERT( mbedtls_mps_reader_feed( &rd, bufA, sizeof( bufA ) ) == 0 );
60 TEST_ASSERT( mbedtls_mps_reader_get( &rd, 100, &tmp, NULL ) == 0 );
62 TEST_ASSERT( mbedtls_mps_reader_commit( &rd ) == 0 );
64 TEST_ASSERT( mbedtls_mps_reader_reclaim( &rd, &paused ) == 0 );
66 mbedtls_mps_reader_free( &rd );
91 mbedtls_mps_reader rd;
99 mbedtls_mps_reader_init( &rd, NULL, 0 );
[all …]
/third_party/ffmpeg/libavutil/aarch64/
Dasm.S81 .macro movrel rd, val, offset=0
84 adrp \rd, \val@PAGE
85 add \rd, \rd, \val@PAGEOFF
86 sub \rd, \rd, -(\offset)
88 adrp \rd, \val+(\offset)@PAGE
89 add \rd, \rd, \val+(\offset)@PAGEOFF
93 adrp \rd, \val
94 add \rd, \rd, :lo12:\val
95 sub \rd, \rd, -(\offset)
97 adrp \rd, \val+(\offset)
[all …]
/third_party/python/Lib/test/
Dtest_selectors.py55 rd, wr = socketpair()
56 self.addCleanup(rd.close)
58 return rd, wr
64 rd, wr = self.make_socketpair()
66 key = s.register(rd, selectors.EVENT_READ, "data")
68 self.assertEqual(key.fileobj, rd)
69 self.assertEqual(key.fd, rd.fileno())
80 self.assertRaises(KeyError, s.register, rd, selectors.EVENT_READ)
83 self.assertRaises(KeyError, s.register, rd.fileno(),
90 rd, wr = self.make_socketpair()
[all …]
/third_party/icu/icu4c/source/test/cintltst/
Duregiontest.c362 const KnownRegion * rd; in TestKnownRegions() local
363 for (rd = knownRegions; rd->code != NULL ; rd++ ) { in TestKnownRegions()
365 const URegion *r = uregion_getRegionFromCode(rd->code, &status); in TestKnownRegions()
368 int32_t e = rd->numeric; in TestKnownRegions()
372 if (uregion_getType(r) != rd->type) { in TestKnownRegions()
373 …Expected region %s to be of type %d. Got: %d\n", uregion_getRegionCode(r), rd->type, uregion_getTy… in TestKnownRegions()
383 log_data_err("ERROR: Known region %s was not recognized.\n", rd->code); in TestKnownRegions()
389 const KnownRegion * rd; in TestGetContainedRegions() local
390 for (rd = knownRegions; rd->code != NULL ; rd++ ) { in TestGetContainedRegions()
392 const URegion *r = uregion_getRegionFromCode(rd->code, &status); in TestGetContainedRegions()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_sched_gm107.h17 } rd, wr; member
28 rd.r[i] += delta; in rebase()
32 rd.p[i] += delta; in rebase()
35 rd.c += delta; in rebase()
40 memset(&rd, 0, sizeof(rd)); in wipe()
58 return getLatest(rd); in getLatestRd()
71 rd.r[i] = MAX2(rd.r[i], that->rd.r[i]); in setMax()
75 rd.p[i] = MAX2(rd.p[i], that->rd.p[i]); in setMax()
78 rd.c = MAX2(rd.c, that->rd.c); in setMax()
84 if (rd.r[i] > cycle) in print()
[all …]
/third_party/openssl/crypto/
Dmips_arch.h27 # define mflo(rd,rs,rt) dmulu rd,rs,rt argument
28 # define mfhi(rd,rs,rt) dmuhu rd,rs,rt argument
31 # define mflo(rd,rs,rt) mulu rd,rs,rt argument
32 # define mfhi(rd,rs,rt) muhu rd,rs,rt argument
36 # define mflo(rd,rs,rt) mflo rd argument
37 # define mfhi(rd,rs,rt) mfhi rd argument
/third_party/libcoap/examples/
Dcoap-rd.c88 rd_t *rd; in rd_new() local
89 rd = (rd_t *)coap_malloc(sizeof(rd_t)); in rd_new()
90 if (rd) in rd_new()
91 memset(rd, 0, sizeof(rd_t)); in rd_new()
93 return rd; in rd_new()
97 rd_delete(rd_t *rd) { in rd_delete() argument
98 if (rd) { in rd_delete()
99 coap_free(rd->data.s); in rd_delete()
100 coap_free(rd); in rd_delete()
123 rd_t *rd = coap_resource_get_userdata(resource); in hnd_get_resource() local
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DRegionTest.java342 for (String [] rd : knownRegions ) { in TestKnownRegions()
344 Region r = Region.getInstance(rd[0]); in TestKnownRegions()
346 int e = Integer.valueOf(rd[1]).intValue(); in TestKnownRegions()
350 if (r.getType() != Region.RegionType.valueOf(rd[3])) { in TestKnownRegions()
351 …errln("Expected region " + r.toString() + " to be of type " + rd[3] + ". Got:" + r.getType().toStr… in TestKnownRegions()
353 int nc = Integer.valueOf(rd[1]).intValue(); in TestKnownRegions()
361 errln("Known region " + rd[0] + " was not recognized."); in TestKnownRegions()
442 for (String [] rd : knownRegions ) { in TestGetContainedRegions()
444 Region r = Region.getInstance(rd[0]); in TestGetContainedRegions()
456 errln("Known region " + rd[0] + " was not recognized."); in TestGetContainedRegions()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DRegionTest.java345 for (String [] rd : knownRegions ) { in TestKnownRegions()
347 Region r = Region.getInstance(rd[0]); in TestKnownRegions()
349 int e = Integer.valueOf(rd[1]).intValue(); in TestKnownRegions()
353 if (r.getType() != Region.RegionType.valueOf(rd[3])) { in TestKnownRegions()
354 …errln("Expected region " + r.toString() + " to be of type " + rd[3] + ". Got:" + r.getType().toStr… in TestKnownRegions()
356 int nc = Integer.valueOf(rd[1]).intValue(); in TestKnownRegions()
364 errln("Known region " + rd[0] + " was not recognized."); in TestKnownRegions()
445 for (String [] rd : knownRegions ) { in TestGetContainedRegions()
447 Region r = Region.getInstance(rd[0]); in TestGetContainedRegions()
459 errln("Known region " + rd[0] + " was not recognized."); in TestGetContainedRegions()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430InstrInfo.td233 let rd = 0;
253 let isIndirectBranch = 1, rd = 0 in {
303 (outs GR16:$rd), (ins), "pop\t$rd", []> {
320 (outs GR8:$rd), (ins GR8:$rs),
321 "mov.b\t{$rs, $rd}",
324 (outs GR16:$rd), (ins GR16:$rs),
325 "mov\t{$rs, $rd}",
331 (outs GR8:$rd), (ins cg8imm:$imm),
332 "mov.b\t$imm, $rd",
333 [(set GR8:$rd, cg8imm:$imm)]>;
[all …]
/third_party/skia/third_party/externals/libwebp/src/enc/
Dquant_enc.c55 const VP8ModeScore* const rd) { in PrintBlockInfo() argument
93 (int)rd->D, (int)rd->SD, (int)rd->R, (int)rd->H, (int)rd->nz, in PrintBlockInfo()
94 (int)rd->score); in PrintBlockInfo()
96 printf("Mode: %d\n", rd->mode_i16); in PrintBlockInfo()
98 for (i = 0; i < 16; ++i) printf("%3d ", rd->y_dc_levels[i]); in PrintBlockInfo()
102 for (i = 0; i < 16; ++i) printf("%d ", rd->modes_i4[i]); in PrintBlockInfo()
108 printf("%4d ", rd->y_ac_levels[j][i]); in PrintBlockInfo()
113 printf("uv_levels (mode=%d):\n", rd->mode_uv); in PrintBlockInfo()
116 printf("%4d ", rd->uv_levels[j][i]); in PrintBlockInfo()
527 static void InitScore(VP8ModeScore* const rd) { in InitScore() argument
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dquant_enc.c55 const VP8ModeScore* const rd) { in PrintBlockInfo() argument
93 (int)rd->D, (int)rd->SD, (int)rd->R, (int)rd->H, (int)rd->nz, in PrintBlockInfo()
94 (int)rd->score); in PrintBlockInfo()
96 printf("Mode: %d\n", rd->mode_i16); in PrintBlockInfo()
98 for (i = 0; i < 16; ++i) printf("%3d ", rd->y_dc_levels[i]); in PrintBlockInfo()
102 for (i = 0; i < 16; ++i) printf("%d ", rd->modes_i4[i]); in PrintBlockInfo()
108 printf("%4d ", rd->y_ac_levels[j][i]); in PrintBlockInfo()
113 printf("uv_levels (mode=%d):\n", rd->mode_uv); in PrintBlockInfo()
116 printf("%4d ", rd->uv_levels[j][i]); in PrintBlockInfo()
527 static void InitScore(VP8ModeScore* const rd) { in InitScore() argument
[all …]
/third_party/ffmpeg/libavutil/arm/
Dasm.S140 .macro movw rd, val
141 mov \rd, \val & 255
142 orr \rd, \val & ~255
146 .macro mov32 rd, val
148 movw \rd, #(\val) & 0xffff
150 movt \rd, #(\val) >> 16
153 ldr \rd, =\val
180 .macro ldpic rd, val, indir=0
181 ldr \rd, .Lpicoff\@
184 A ldr \rd, [pc, \rd]
[all …]
/third_party/ffmpeg/libavcodec/ppc/
Dasm.S61 .macro movrel rd, sym, gp
62 ld \rd, \sym@got(R(2))
65 .macro get_got rd argument
85 .macro movrel rd, sym, gp
87 lwz \rd, \sym@got(\gp)
89 lis \rd, \sym@ha
90 la \rd, \sym@l(\rd)
94 .macro get_got rd argument
98 mflr \rd
99 addis \rd, \rd, _GLOBAL_OFFSET_TABLE_ - .Lgot\@@ha
[all …]
/third_party/openssl/crypto/bn/asm/
Dsparcv8.S63 rd %y,%g1
74 rd %y,%g1
85 rd %y,%g1
95 rd %y,%g1
117 rd %y,%g1
128 rd %y,%g1
140 rd %y,%g1
176 rd %y,%g1
183 rd %y,%g1
191 rd %y,%g1
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRInstrInfo.td363 Constraints = "$src = $rd",
370 (outs GPR8:$rd),
372 "add\t$rd, $rr",
373 [(set i8:$rd, (add i8:$src, i8:$rr)),
382 def ADDWRdRr : Pseudo<(outs DREGS:$rd),
384 "addw\t$rd, $rr",
385 [(set i16:$rd, (add i16:$src, i16:$rr)),
393 (outs GPR8:$rd),
395 "adc\t$rd, $rr",
396 [(set i8:$rd, (adde i8:$src, i8:$rr)),
[all …]

12345678910>>...33