Home
last modified time | relevance | path

Searched refs:sizeof_buffer (Results 1 – 25 of 31) sorted by relevance

12

/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/surface/src/3rdparty/opennurbs/
H A Dopennurbs_bitmap.cpp797 const int sizeof_buffer = sizeof_palette + sizeof_image; in WriteCompressed() local
902 std::size_t sizeof_buffer = 0; in ReadCompressed() local
903 rc = file.ReadCompressedBufferSize (&sizeof_buffer); in ReadCompressed()
907 if (sizeof_buffer == sizeof_colors || sizeof_buffer == sizeof_colors + sizeof_image) in ReadCompressed()
915 sizeof_buffer = 0; in ReadCompressed()
916 rc = file.ReadCompressedBufferSize (&sizeof_buffer); in ReadCompressed()
919 if (sizeof_buffer == sizeof_image) in ReadCompressed()
1083 ON_EmbeddedBitmap::Create (int sizeof_buffer) in Create() argument
1086 if (sizeof_buffer > 0) in Create()
1088 m_buffer = onmalloc (sizeof_buffer); in Create()
[all …]
/dports/math/gismo/gismo-21.12.0/external/onurbs/
H A Dopennurbs_bitmap.cpp693 const int sizeof_buffer = sizeof_palette + sizeof_image; in WriteCompressed() local
765 size_t sizeof_buffer = 0; in ReadCompressed() local
766 rc = file.ReadCompressedBufferSize( &sizeof_buffer ); in ReadCompressed()
770 if ( sizeof_buffer == sizeof_colors in ReadCompressed()
771 || sizeof_buffer == sizeof_colors + sizeof_image in ReadCompressed()
780 sizeof_buffer = 0; in ReadCompressed()
784 if ( sizeof_buffer == sizeof_image ) in ReadCompressed()
945 void ON_EmbeddedBitmap::Create( int sizeof_buffer ) in Create() argument
948 if ( sizeof_buffer > 0 ) in Create()
950 m_buffer = onmalloc(sizeof_buffer); in Create()
[all …]
H A Dopennurbs_crc.h67 size_t sizeof_buffer,
115 size_t sizeof_buffer,
H A Dopennurbs_evaluate_nurbs.cpp740 const size_t sizeof_buffer = d<<4; in ON_EvaluateNurbsBasis() local
742 …t_k = (sizeof_buffer <= sizeof(stack_buffer)) ? stack_buffer : (double*)(heap_buffer=onmalloc( siz… in ON_EvaluateNurbsBasis()
977 const size_t sizeof_buffer = (order*order)*sizeof(*N); in ON_EvaluateNurbsNonRationalSpan() local
979 …N = (sizeof_buffer <= sizeof(stack_buffer)) ? stack_buffer : (double*)(heap_buffer=onmalloc(sizeof… in ON_EvaluateNurbsNonRationalSpan()
1057 const size_t sizeof_buffer = (der_count+1)*hv_stride*sizeof(*hv); in ON_EvaluateNurbsRationalSpan() local
1059 hv = (sizeof_buffer <= sizeof(stack_buffer)) in ON_EvaluateNurbsRationalSpan()
1061 : (double*)(heap_buffer=onmalloc(sizeof_buffer)); in ON_EvaluateNurbsRationalSpan()
1147 size_t sizeof_buffer; in ON_EvaluateNurbsSurfaceSpan() local
1155 sizeof_buffer = ((i + j) << 3) + Pcount*Psize; in ON_EvaluateNurbsSurfaceSpan()
1157 …N_0 = (sizeof_buffer <= sizeof(stack_buffer)) ? stack_buffer : (double*)(heap_buffer=onmalloc(size… in ON_EvaluateNurbsSurfaceSpan()
H A Dopennurbs_beziervolume.cpp667 size_t sizeof_buffer = m_dim*sizeof(*v); in PointAt() local
668 v = (sizeof_buffer <= sizeof(stack_buffer)) ? stack_buffer : (double*)onmalloc(sizeof_buffer); in PointAt()
696 size_t sizeof_buffer = m_dim*sizeof(*v); in PointAt() local
697 v = (sizeof_buffer <= sizeof(stack_buffer)) ? stack_buffer : (double*)onmalloc(sizeof_buffer); in PointAt()
H A Dopennurbs_unicode.cpp36 size_t sizeof_buffer in ON_IsUTFByteOrderMark() argument
39 if ( 0 != buffer && sizeof_buffer >= 2 ) in ON_IsUTFByteOrderMark()
45 if ( sizeof_buffer >= 4 && 0 == b[1] && 0xFE == b[2] && 0xFF == b[3] ) in ON_IsUTFByteOrderMark()
50 if ( sizeof_buffer >= 3 && 0xBB == b[1] && 0xBF == b[2] ) in ON_IsUTFByteOrderMark()
60 return ( sizeof_buffer >= 4 && 0 == b[2] && 0 == b[3] ) in ON_IsUTFByteOrderMark()
H A Dopennurbs_unicode.h86 size_t sizeof_buffer
H A Dopennurbs_bitmap.h578 void Create( int sizeof_buffer );
H A Dopennurbs_bezier.cpp1653 const size_t sizeof_buffer = (2*m_order-1)*sizeof(*b); in Split() local
1655 b = (sizeof_buffer <= sizeof(stack_buffer)) in Split()
1657 : (double**)(heap_buffer = onmalloc(sizeof_buffer)); in Split()
2246 size_t sizeof_buffer = i*2*sizeof(*knot0); in Evaluate() local
2248 knot0 = (sizeof_buffer <= sizeof(stack_buffer)) in Evaluate()
2250 : (double*)(heap_buffer=onmalloc(sizeof_buffer)); in Evaluate()
/dports/security/masscan/masscan-1.3.2/src/
H A Drawsock-getif.c61 size_t sizeof_buffer; in rawsock_get_default_interface() local
68 sizeof_buffer = sizeof(*rtm) + 512; in rawsock_get_default_interface()
69 rtm = calloc(1, sizeof_buffer); in rawsock_get_default_interface()
132 err = read(fd, (char *)rtm, sizeof_buffer); in rawsock_get_default_interface()
204 static int read_netlink(int fd, char *bufPtr, size_t sizeof_buffer, int seqNum, int pId) in read_netlink() argument
211 if ((readLen = recv(fd, bufPtr, sizeof_buffer - msgLen, 0)) < 0) { in read_netlink()
H A Drawsock-getroute.c116 size_t sizeof_buffer; in rawsock_get_default_gateway() local
123 sizeof_buffer = sizeof(*rtm) + 512; in rawsock_get_default_gateway()
124 rtm = calloc(1, sizeof_buffer); in rawsock_get_default_gateway()
184 err = read(fd, (char *)rtm, sizeof_buffer); in rawsock_get_default_gateway()
256 read_netlink(int fd, char *bufPtr, size_t sizeof_buffer, int seqNum, int pId) in read_netlink() argument
263 if ((readLen = recv(fd, bufPtr, sizeof_buffer - msgLen, 0)) < 0) { in read_netlink()
H A Doutput.h130 const char *reason_string(int x, char *buffer, size_t sizeof_buffer);
H A Doutput.c103 reason_string(int x, char *buffer, size_t sizeof_buffer) in reason_string() argument
105 sprintf_s(buffer, sizeof_buffer, "%s%s%s%s%s%s%s%s", in reason_string()
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/surface/include/pcl/surface/3rdparty/opennurbs/
H A Dopennurbs_crc.h67 std::size_t sizeof_buffer,
115 std::size_t sizeof_buffer,
H A Dopennurbs_bitmap.h578 void Create( int sizeof_buffer );
H A Dopennurbs_archive.h806 ON__UINT64 ReadBuffer( ON__UINT64 sizeof_buffer, void* buffer );
2907 std::size_t sizeof_buffer,
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gdb/gdb/
H A Dui-file.c310 int sizeof_buffer; member
332 stream->sizeof_buffer = 0; in mem_file_new()
390 stream->sizeof_buffer = length_buffer; in mem_file_write()
391 stream->buffer = xmalloc (stream->sizeof_buffer); in mem_file_write()
397 if (new_length >= stream->sizeof_buffer) in mem_file_write()
399 stream->sizeof_buffer = new_length; in mem_file_write()
400 stream->buffer = xrealloc (stream->buffer, stream->sizeof_buffer); in mem_file_write()
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gdb/gdb/
H A Dui-file.c310 int sizeof_buffer; member
332 stream->sizeof_buffer = 0; in mem_file_new()
390 stream->sizeof_buffer = length_buffer; in mem_file_write()
391 stream->buffer = xmalloc (stream->sizeof_buffer); in mem_file_write()
397 if (new_length >= stream->sizeof_buffer) in mem_file_write()
399 stream->sizeof_buffer = new_length; in mem_file_write()
400 stream->buffer = xrealloc (stream->buffer, stream->sizeof_buffer); in mem_file_write()
/dports/lang/pocl/pocl-1.8/tests/regression/
H A Dtest_program_from_binary_with_local_1_1_1.c70 size_t sizeof_buffer = global_size * vec_size * sizeof(unsigned); in main() local
112 …buffer = clCreateBuffer(context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, sizeof_buffer, &input_b… in main()
123 err = clEnqueueReadBuffer(queue, buffer, CL_TRUE, 0, sizeof_buffer, output_buffer, 0, NULL, NULL); in main()
/dports/devel/avr-gdb/gdb-7.3.1/gdb/
H A Dui-file.c333 int sizeof_buffer; member
356 stream->sizeof_buffer = 0; in mem_file_new()
418 stream->sizeof_buffer = length_buffer; in mem_file_write()
419 stream->buffer = xmalloc (stream->sizeof_buffer); in mem_file_write()
426 if (new_length >= stream->sizeof_buffer) in mem_file_write()
428 stream->sizeof_buffer = new_length; in mem_file_write()
429 stream->buffer = xrealloc (stream->buffer, stream->sizeof_buffer); in mem_file_write()
/dports/sysutils/testdisk/testdisk-7.1/src/
H A Dext2p.c67 const unsigned int sizeof_buffer=512; in ext2_remove_used_space() local
92 buffer=(unsigned char *)MALLOC(sizeof_buffer); in ext2_remove_used_space()
/dports/devel/gdb761/gdb-7.6.1/gdb/
H A Dui-file.c381 int sizeof_buffer; member
404 stream->sizeof_buffer = 0; in mem_file_new()
466 stream->sizeof_buffer = length_buffer; in mem_file_write()
467 stream->buffer = xmalloc (stream->sizeof_buffer); in mem_file_write()
474 if (new_length >= stream->sizeof_buffer) in mem_file_write()
476 stream->sizeof_buffer = new_length; in mem_file_write()
477 stream->buffer = xrealloc (stream->buffer, stream->sizeof_buffer); in mem_file_write()
/dports/lang/pocl/pocl-1.8/lib/CL/
H A Dpocl_binary.c606 size_t sizeof_buffer = program->pocl_binary_sizes[device_i]; in pocl_binary_serialize() local
607 unsigned char *end_of_buffer = buffer + sizeof_buffer; in pocl_binary_serialize()
652 size_t sizeof_buffer = program->pocl_binary_sizes[device_i]; in pocl_binary_deserialize() local
653 unsigned char *end_of_buffer = buffer + sizeof_buffer; in pocl_binary_deserialize()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sal/android/
H A Dlo-bootstrap.c688 read_from(int fd, const char *tag, char *buffer, int *sz, int *a, int *b, size_t sizeof_buffer) in read_from() argument
692 nread = read(fd, buffer+*b, sizeof_buffer - 1 - *b); in read_from()
717 if (*a == 0 && *b == (int) sizeof_buffer - 1) { in read_from()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sal/android/
H A Dlo-bootstrap.c688 read_from(int fd, const char *tag, char *buffer, int *sz, int *a, int *b, size_t sizeof_buffer) in read_from() argument
692 nread = read(fd, buffer+*b, sizeof_buffer - 1 - *b); in read_from()
717 if (*a == 0 && *b == (int) sizeof_buffer - 1) { in read_from()

12