Home
last modified time | relevance | path

Searched refs:bytesize (Results 1 – 25 of 28) sorted by relevance

12

/third_party/gstreamer/gstplugins_base/tests/check/gst/
Dtypefindfunctions.c216 make_ac3_packet (guint8 * data, guint bytesize, guint bsid) in make_ac3_packet() argument
229 guint wordsize = bytesize >> 1, frmsizecod = 0; in make_ac3_packet()
232 fail_unless ((bytesize & 0x01) == 0); in make_ac3_packet()
233 fail_unless (bytesize >= sizeof (ac3_header)); in make_ac3_packet()
247 memset (data + 6, 0, bytesize - 6); in make_ac3_packet()
288 make_eac3_packet (guint8 * data, guint bytesize, guint bsid) in make_eac3_packet() argument
301 guint wordsize = bytesize >> 1; in make_eac3_packet()
303 fail_unless ((bytesize & 0x01) == 0); in make_eac3_packet()
304 fail_unless (bytesize >= sizeof (eac3_header)); in make_eac3_packet()
310 memset (data + 6, 0, bytesize - 6); in make_eac3_packet()
/third_party/jerryscript/jerry-debugger/
Djerry_client_serial.py28 bytesize = int(config[2]) if config_size > 2 else 8
33 stopbits=stopbits, bytesize=bytesize, timeout=1)
/third_party/gstreamer/gstplugins_bad/gst/pnm/
Dgstpnmenc.c189 guint size, pixels, bytesize; in gst_pnmenc_handle_frame() local
206 bytesize = 1; in gst_pnmenc_handle_frame()
213 bytesize = 1; in gst_pnmenc_handle_frame()
221 bytesize = 2; in gst_pnmenc_handle_frame()
222 size = pixels * bytesize; in gst_pnmenc_handle_frame()
332 o_rowstride = 3 * pnmenc->info.width * bytesize; in gst_pnmenc_handle_frame()
334 o_rowstride = pnmenc->info.width * bytesize; in gst_pnmenc_handle_frame()
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstcudaloader.c72 CUresult (CUDAAPI * CuMemAlloc) (CUdeviceptr * dptr, unsigned int bytesize);
75 CUresult (CUDAAPI * CuMemAllocHost) (void **pp, unsigned int bytesize);
327 CuMemAlloc (CUdeviceptr * dptr, unsigned int bytesize) in CuMemAlloc() argument
331 return gst_cuda_vtable.CuMemAlloc (dptr, bytesize); in CuMemAlloc()
345 CuMemAllocHost (void **pp, unsigned int bytesize) in CuMemAllocHost() argument
349 return gst_cuda_vtable.CuMemAllocHost (pp, bytesize); in CuMemAllocHost()
Dgstcudaloader.h75 unsigned int bytesize);
84 unsigned int bytesize);
/third_party/skia/gm/
Dcolrv1.cpp78 size_t bytesize() { return fGlyphs.size() * sizeof(uint16_t); } in bytesize() function
166 fEmojiFont.bytesize(), in onDraw()
/third_party/flatbuffers/src/
Dreflection.cpp447 element_size = elemobjectdef->bytesize(); in CopyTable()
474 subobjectdef.bytesize()); in CopyTable()
508 offset, obj.bytesize()); in VerifyStruct()
518 return !p || v.VerifyVectorOrString(p, obj.bytesize()); in VerifyVectorOfStructs()
537 return v.VerifyFromPointer(elem, elem_obj->bytesize()); in VerifyUnion()
Didl_parser.cpp730 field.value.offset = static_cast<voffset_t>(struct_def.bytesize); in AddField()
731 struct_def.bytesize += size; in AddField()
1188 FLATBUFFERS_ASSERT(val.constant.length() == struct_def.bytesize); in SerializeStruct()
1191 struct_def.bytesize); in SerializeStruct()
1385 struct_def.bytesize); in ParseTable()
1386 builder_.PopBytes(struct_def.bytesize); in ParseTable()
1580 const size_t struct_size = type.struct_def->bytesize; in ParseVector()
1584 v->Data(), v->Data() + v->size() * type.struct_def->bytesize, in ParseVector()
1585 type.struct_def->bytesize, in ParseVector()
2539 if (!struct_def->bytesize) return Error("size 0 structs not allowed"); in ParseDecl()
[all …]
Didl_gen_lobster.cpp319 NumToString(struct_def.bytesize) + ")\n"; in StructBuilderBody()
Didl_gen_text.cpp136 c.Data() + type.struct_def->bytesize * i) in PrintContainer()
Didl_gen_ts.cpp330 *body += NumToString(struct_def.bytesize) + ");\n"; in GenStructBody()
1336 code += " return " + NumToString(struct_def.bytesize) + ";\n"; in GenStruct()
Didl_gen_python.cpp507 code += NumToString(struct_def.bytesize) + ")\n"; in StructBuilderBody()
744 Indent + Indent + "return " + NumToString(struct_def.bytesize) + "\n"; in GenStructSizeOf()
Didl_gen_lua.cpp398 code += NumToString(struct_def.bytesize) + ")\n"; in StructBuilderBody()
Didl_gen_dart.cpp623 code += " int get size => " + NumToString(struct_def.bytesize) + ";\n\n"; in GenReader()
Didl_gen_php.cpp470 code += NumToString(struct_def.bytesize) + ");\n"; in StructBuilderBody()
Didl_gen_java.cpp455 code += NumToString(struct_def.bytesize) + ");\n"; in GenStructBody()
Didl_gen_kotlin.cpp413 writer.SetValue("size", NumToString(struct_def.bytesize)); in GenStructBody()
Didl_gen_cpp.cpp1068 vs += NumToString(struct_def->bytesize); in GenMiniReflect()
3409 code_.SetValue("STRUCT_BYTE_SIZE", NumToString(struct_def.bytesize)); in GenStruct()
/third_party/python/Lib/test/
Dtest_struct.py182 self.bytesize = struct.calcsize(format)
183 self.bitsize = self.bytesize * 8
211 expected = (b"\x00" * (self.bytesize - len(expected)) +
216 self.assertEqual(len(expected), self.bytesize)
245 for j in range(self.bytesize):
/third_party/flatbuffers/include/flatbuffers/
Didl.h360 bytesize(0) {} in StructDef()
363 auto padding = PaddingBytes(bytesize, min_align); in PadLastField()
364 bytesize += padding; in PadLastField()
380 size_t bytesize; // Size if fixed. member
496 ? type.struct_def->bytesize in InlineSize()
Dreflection_generated.h766 int32_t bytesize() const { in bytesize() function
811 void add_bytesize(int32_t bytesize) { in add_bytesize()
812 fbb_.AddElement<int32_t>(Object::VT_BYTESIZE, bytesize, 0); in add_bytesize()
839 int32_t bytesize = 0,
845 builder_.add_bytesize(bytesize);
859 int32_t bytesize = 0,
872 bytesize,
Dreflection.h84 return schema.objects()->Get(type_index)->bytesize(); in GetTypeSizeInline()
/third_party/flatbuffers/reflection/
Dreflection.fbs85 bytesize:int; // For structs.
/third_party/python/Lib/multiprocessing/
Dconnection.py236 bytesize = itemsize * len(m)
239 elif offset > bytesize:
243 if bytesize < offset + size:
/third_party/flatbuffers/lobster/
Dflatbuffers.lobster90 // First, store the object bytesize:
92 // Second, store the vtable bytesize:

12