Home
last modified time | relevance | path

Searched refs:buffer (Results 651 - 675 of 6014) sorted by relevance

1...<<21222324252627282930>>...241

/third_party/skia/third_party/externals/spirv-cross/tests-other/
H A Dhlsl_resource_bindings.cpp28 std::vector<SpvId> buffer(len / sizeof(SpvId)); in read_file()
29 if (fread(buffer.data(), 1, len, file) != (size_t)len) in read_file()
36 return buffer; in read_file()
44 auto buffer = read_file(argv[1]); in main()
45 if (buffer.empty()) in main()
53 SPVC_CHECKED_CALL(spvc_context_parse_spirv(ctx, buffer.data(), buffer.size(), &parsed_ir)); in main()
H A Dmsl_resource_bindings.cpp28 std::vector<SpvId> buffer(len / sizeof(SpvId)); in read_file()
29 if (fread(buffer.data(), 1, len, file) != (size_t)len) in read_file()
36 return buffer; in read_file()
44 auto buffer = read_file(argv[1]); in main()
45 if (buffer.empty()) in main()
53 SPVC_CHECKED_CALL(spvc_context_parse_spirv(ctx, buffer.data(), buffer.size(), &parsed_ir)); in main()
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/
H A Djchuff.h27 size_t put_buffer; /* current bit accumulation buffer */
33 JOCTET *next_output_byte; /* => next byte to write in buffer */
34 size_t free_in_buffer; /* # of byte spaces remaining in buffer */
35 savable_state cur; /* Current bit buffer & DC state */
43 * as 0xFF 0x00, so the output buffer pointer is advanced by 2 if the byte is
44 * 0xFF. Otherwise, the output buffer pointer is advanced by 1, and the
48 buffer[0] = (JOCTET)(b); \
49 buffer[1] = 0; \
50 buffer -= -2 + ((JOCTET)(b) < 0xFF); \
53 /* Output the entire bit buffer
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-directwrite.cc549 hb_buffer_t *buffer, in _hb_directwrite_shape()
562 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_directwrite_shape()
574 ALLOCATE_ARRAY (wchar_t, textString, buffer->len * 2); in _hb_directwrite_shape()
577 for (unsigned int i = 0; i < buffer->len; i++) in _hb_directwrite_shape()
579 hb_codepoint_t c = buffer->info[i].codepoint; in _hb_directwrite_shape()
580 buffer->info[i].utf16_index () = chars_len; in _hb_directwrite_shape()
595 for (unsigned int i = 0; i < buffer->len; i++) in _hb_directwrite_shape()
597 hb_codepoint_t c = buffer->info[i].codepoint; in _hb_directwrite_shape()
598 unsigned int cluster = buffer->info[i].cluster; in _hb_directwrite_shape()
605 readingDirection = buffer in _hb_directwrite_shape()
547 _hb_directwrite_shape(hb_shape_plan_t *shape_plan, hb_font_t *font, hb_buffer_t *buffer, const hb_feature_t *features, unsigned int num_features) _hb_directwrite_shape() argument
[all...]
/third_party/skia/third_party/externals/sfntly/cpp/src/test/tinyxml/
H A Dtinyxml.cpp1041 // Process the buffer in place to normalize new lines. (See comment above.) in LoadFile()
1346 TIXML_STRING buffer;
1347 EncodeString( value, &buffer );
1348 fprintf( cfile, "%s", buffer.c_str() );
1769 buffer += "<";
1770 buffer += element.Value();
1774 buffer += " ";
1775 attrib->Print( 0, 0, &buffer );
1780 buffer += " />";
1785 buffer
[all...]
/third_party/skia/third_party/externals/dawn/generator/templates/dawn_wire/
H A DWireCmd.cpp68 WIRE_TRY({{as_cType(member.type.name)}}Serialize({{in}}, &{{out}}, buffer{{Provider}}));
102 //* memory directly following the structure in the buffer.
193 //* Serializes `record` into `transfer`, using `buffer` to get more space for pointed-to data
198 SerializeBuffer* buffer
203 DAWN_UNUSED(buffer); variable
219 WIRE_TRY(SerializeChainedStruct(record.nextInChain, buffer, provider));
244 WIRE_TRY(buffer->NextN(transfer->{{memberName}}Strlen, &stringInBuffer));
262 WIRE_TRY(buffer->NextN(memberLength, &memberBuffer));
282 //* Deserializes `transfer` into `record` getting more serialized data from `buffer` and `size`
358 //* Get extra buffer dat
[all...]
/third_party/vk-gl-cts/modules/glshared/
H A DglsBufferTestUtil.cpp218 void BufferCase::deleteBuffer (deUint32 buffer) in deleteBuffer() argument
220 glDeleteBuffers(1, &buffer); in deleteBuffer()
221 m_allocatedBuffers.erase(buffer); in deleteBuffer()
259 void BufferWriterBase::write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint32 targetHint) in write() argument
262 write(buffer, offset, numBytes, bytes); in write()
284 void BufferWriter::write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes) in write() argument
289 return m_writer->write(buffer, offset, numBytes, bytes); in write()
292 void BufferWriter::write (deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint32 targetHint) in write() argument
297 return m_writer->write(buffer, offset, numBytes, bytes, targetHint); in write()
302 void BufferSubDataWriter::write (deUint32 buffer, in argument
307 write(deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint32 target) write() argument
317 write(deUint32 buffer, int offset, int numBytes, const deUint8* bytes) write() argument
322 write(deUint32 buffer, int offset, int numBytes, const deUint8* bytes, deUint32 target) write() argument
346 verify(deUint32 buffer, const deUint8* reference, int offset, int numBytes, deUint32 targetHint) verify() argument
372 verify(deUint32 buffer, const deUint8* reference, int offset, int numBytes) verify() argument
380 verify(deUint32 buffer, const deUint8* reference, int offset, int numBytes, deUint32 targetHint) verify() argument
390 verify(deUint32 buffer, const deUint8* reference, int offset, int numBytes) verify() argument
395 verify(deUint32 buffer, const deUint8* reference, int offset, int numBytes, deUint32 target) verify() argument
[all...]
/third_party/icu/icu4c/source/common/
H A Dunames.cpp215 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) UPRV_BLOCK_MACRO_BEGIN { \
217 *(buffer)++=c; \
240 char *buffer, uint16_t bufferLength) { in expandName()
279 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName()
294 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName()
311 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName()
319 *buffer=0; in expandName()
448 static uint16_t getExtName(uint32_t code, char *buffer, uint16_t bufferLength) { in getExtName() argument
455 WRITE_CHAR(buffer, bufferLength, length, '<'); in getExtName()
457 WRITE_CHAR(buffer, bufferLengt in getExtName()
238 expandName(UCharNames *names, const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) expandName() argument
567 expandGroupName(UCharNames *names, const uint16_t *group, uint16_t lineNumber, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) expandGroupName() argument
578 getName(UCharNames *names, uint32_t code, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) getName() argument
608 char buffer[200]; enumGroupNames() local
648 char buffer[200]; enumExtNames() local
773 writeFactorSuffix(const uint16_t *factors, uint16_t count, const char *s, uint32_t code, uint16_t indexes[8], const char *elementBases[8], const char *elements[8], char *buffer, uint16_t bufferLength) writeFactorSuffix() argument
852 getAlgName(AlgorithmicRange *range, uint32_t code, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) getAlgName() argument
940 char buffer[200]; enumAlgNames() local
1121 char buffer[64]; findAlgName() local
1450 u_charName(UChar32 code, UCharNameChoice nameChoice, char *buffer, int32_t bufferLength, UErrorCode *pErrorCode) u_charName() argument
[all...]
/third_party/node/deps/icu-small/source/common/
H A Dunames.cpp215 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) UPRV_BLOCK_MACRO_BEGIN { \
217 *(buffer)++=c; \
240 char *buffer, uint16_t bufferLength) { in expandName()
279 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName()
294 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName()
311 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName()
319 *buffer=0; in expandName()
448 static uint16_t getExtName(uint32_t code, char *buffer, uint16_t bufferLength) { in getExtName() argument
455 WRITE_CHAR(buffer, bufferLength, length, '<'); in getExtName()
457 WRITE_CHAR(buffer, bufferLengt in getExtName()
238 expandName(UCharNames *names, const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) expandName() argument
567 expandGroupName(UCharNames *names, const uint16_t *group, uint16_t lineNumber, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) expandGroupName() argument
578 getName(UCharNames *names, uint32_t code, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) getName() argument
608 char buffer[200]; enumGroupNames() local
648 char buffer[200]; enumExtNames() local
773 writeFactorSuffix(const uint16_t *factors, uint16_t count, const char *s, uint32_t code, uint16_t indexes[8], const char *elementBases[8], const char *elements[8], char *buffer, uint16_t bufferLength) writeFactorSuffix() argument
852 getAlgName(AlgorithmicRange *range, uint32_t code, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) getAlgName() argument
940 char buffer[200]; enumAlgNames() local
1121 char buffer[64]; findAlgName() local
1450 u_charName(UChar32 code, UCharNameChoice nameChoice, char *buffer, int32_t bufferLength, UErrorCode *pErrorCode) u_charName() argument
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Dunames.cpp215 #define WRITE_CHAR(buffer, bufferLength, bufferPos, c) UPRV_BLOCK_MACRO_BEGIN { \
217 *(buffer)++=c; \
240 char *buffer, uint16_t bufferLength) { in expandName()
279 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName()
294 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName()
311 WRITE_CHAR(buffer, bufferLength, bufferPos, c); in expandName()
319 *buffer=0; in expandName()
448 static uint16_t getExtName(uint32_t code, char *buffer, uint16_t bufferLength) { in getExtName() argument
455 WRITE_CHAR(buffer, bufferLength, length, '<'); in getExtName()
457 WRITE_CHAR(buffer, bufferLengt in getExtName()
238 expandName(UCharNames *names, const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) expandName() argument
567 expandGroupName(UCharNames *names, const uint16_t *group, uint16_t lineNumber, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) expandGroupName() argument
578 getName(UCharNames *names, uint32_t code, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) getName() argument
608 char buffer[200]; enumGroupNames() local
648 char buffer[200]; enumExtNames() local
773 writeFactorSuffix(const uint16_t *factors, uint16_t count, const char *s, uint32_t code, uint16_t indexes[8], const char *elementBases[8], const char *elements[8], char *buffer, uint16_t bufferLength) writeFactorSuffix() argument
852 getAlgName(AlgorithmicRange *range, uint32_t code, UCharNameChoice nameChoice, char *buffer, uint16_t bufferLength) getAlgName() argument
940 char buffer[200]; enumAlgNames() local
1121 char buffer[64]; findAlgName() local
1450 u_charName(UChar32 code, UCharNameChoice nameChoice, char *buffer, int32_t bufferLength, UErrorCode *pErrorCode) u_charName() argument
[all...]
/third_party/ffmpeg/libavcodec/
H A Dparser.c209 /* Copy overread bytes from last frame into buffer. */ in ff_combine_frame()
211 pc->buffer[pc->index++] = pc->buffer[pc->overread_index++]; in ff_combine_frame()
222 /* copy into buffer end return */ in ff_combine_frame()
224 void *new_buffer = av_fast_realloc(pc->buffer, &pc->buffer_size, in ff_combine_frame()
229 av_log(NULL, AV_LOG_ERROR, "Failed to reallocate parser buffer to %d\n", *buf_size + pc->index + AV_INPUT_BUFFER_PADDING_SIZE); in ff_combine_frame()
233 pc->buffer = new_buffer; in ff_combine_frame()
234 memcpy(&pc->buffer[pc->index], *buf, *buf_size); in ff_combine_frame()
235 memset(&pc->buffer[pc->index + *buf_size], 0, AV_INPUT_BUFFER_PADDING_SIZE); in ff_combine_frame()
240 av_assert0(next >= 0 || pc->buffer); in ff_combine_frame()
[all...]
/third_party/libsnd/Octave/
H A Dsndfile.cc38 { char buffer [256] ; in DEFUN_DLD() local
47 sf_command (NULL, SFC_GET_LIB_VERSION, buffer, sizeof (buffer)) ; in DEFUN_DLD()
49 std::string version (buffer) ; in DEFUN_DLD()
96 float buffer [BUFFER_FRAMES * sfinfo.channels] ; in DEFUN_DLD() local
101 { readcount = sf_readf_float (file, buffer, BUFFER_FRAMES) ; in DEFUN_DLD()
109 out (total + k, ch) = buffer [k * sfinfo.channels + ch] ; in DEFUN_DLD()
188 float buffer [BUFFER_FRAMES * sfinfo.channels] ; in DEFUN_DLD() local
202 buffer [k * sfinfo.channels + ch] = data (total + k, ch) ; in DEFUN_DLD()
206 sf_writef_float (file, buffer, writecoun in DEFUN_DLD()
398 char buffer [64] ; string_of_format() local
[all...]
/third_party/mesa3d/include/android_stub/hardware/
H A Dgralloc1.h45 * and deletes a buffer handle whenever the last reference is removed.
82 * dequeued buffer before. May be ignored by the gralloc device. */
196 * sink for this buffer. If a hardware-protected path is not available, then
197 * do not attempt to display this buffer. */
343 * outBuffer - the buffer to write the dump output into; may be NULL as
344 * described above; data written into this buffer need not be
361 * Creates a new, empty buffer descriptor.
364 * outDescriptor - the new buffer descriptor
376 * Destroys an existing buffer descriptor.
379 * descriptor - the buffer descripto
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dwinnmtst.cpp147 we don't need to reallocate the buffer. */ in getWindowsFormat()
187 wchar_t *buffer = stackBuffer; in getWindowsFormat() local
189 buffer[0] = 0x0000; in getWindowsFormat()
192 result = GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE); in getWindowsFormat()
200 buffer = NEW_ARRAY(wchar_t, newLength); in getWindowsFormat()
201 buffer[0] = 0x0000; in getWindowsFormat()
202 GetCurrencyFormatW(lcid, 0, nBuffer, NULL, buffer, newLength); in getWindowsFormat()
206 result = GetNumberFormatW(lcid, 0, nBuffer, NULL, buffer, STACK_BUFFER_SIZE); in getWindowsFormat()
214 buffer = NEW_ARRAY(wchar_t, newLength); in getWindowsFormat()
215 buffer[ in getWindowsFormat()
[all...]
/third_party/selinux/libselinux/src/
H A Dseusers.c15 static int process_seusers(const char *buffer, in process_seusers() argument
19 char *newbuf = strdup(buffer); in process_seusers()
99 /* Allocate space for the getpwnam_r buffer */ in get_default_gid()
173 char *buffer = NULL; in getseuserbyname() local
193 while (getline(&buffer, &size, cfg) > 0) { in getseuserbyname()
195 rc = process_seusers(buffer, &username, &seuser, &level, in getseuserbyname()
228 free(buffer); in getseuserbyname()
274 char *buffer = NULL; in getseuser() local
285 while (getline(&buffer, &size, fp) > 0) { in getseuser()
286 if (strncmp(buffer, "* in getseuser()
[all...]
/third_party/vk-gl-cts/external/amber/src/src/amberscript/
H A Dparser.cc198 Result ParseBufferData(Buffer* buffer, in ParseBufferData() argument
201 auto fmt = buffer->GetFormat(); in ParseBufferData()
259 buffer->SetValueCount(value_count); in ParseBufferData()
260 Result r = buffer->SetData(std::move(values)); in ParseBufferData()
1088 return Result("missing buffer name in BIND command"); in ParsePipelineBind()
1090 auto* buffer = script_->GetBuffer(token->AsString()); in ParsePipelineBind()
1091 if (!buffer) in ParsePipelineBind()
1092 return Result("unknown buffer: " + token->AsString()); in ParsePipelineBind()
1093 std::vector<Buffer*> buffers = {buffer}; in ParsePipelineBind()
1096 // Check for additional buffer name in ParsePipelineBind()
2316 ParseBufferInitializer(Buffer* buffer) ParseBufferInitializer() argument
2391 ParseBufferInitializerSize(Buffer* buffer) ParseBufferInitializerSize() argument
2415 ParseBufferInitializerFill(Buffer* buffer, uint32_t size_in_items) ParseBufferInitializerFill() argument
2444 ParseBufferInitializerSeries(Buffer* buffer, uint32_t size_in_items) ParseBufferInitializerSeries() argument
2501 ParseBufferInitializerData(Buffer* buffer) ParseBufferInitializerData() argument
2510 ParseBufferInitializerFile(Buffer* buffer) ParseBufferInitializerFile() argument
2972 auto* buffer = script_->GetBuffer(token->AsString()); ParseExpect() local
[all...]
/third_party/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_mpeg12_decoder.c93 struct vl_mpeg12_buffer *buffer; member
113 if (priv->buffer) in destroy_video_buffer_private()
114 vl_mpeg12_destroy_buffer(priv->buffer); in destroy_video_buffer_private()
165 init_zscan_buffer(struct vl_mpeg12_decoder *dec, struct vl_mpeg12_buffer *buffer) in init_zscan_buffer() argument
173 assert(dec && buffer); in init_zscan_buffer()
193 buffer->zscan_source = dec->context->create_sampler_view(dec->context, res, &sv_tmpl); in init_zscan_buffer()
195 if (!buffer->zscan_source) in init_zscan_buffer()
208 &buffer->zscan[i], buffer->zscan_source, destination[i])) in init_zscan_buffer()
215 vl_zscan_cleanup_buffer(&buffer in init_zscan_buffer()
226 cleanup_zscan_buffer(struct vl_mpeg12_buffer *buffer) cleanup_zscan_buffer() argument
239 init_idct_buffer(struct vl_mpeg12_decoder *dec, struct vl_mpeg12_buffer *buffer) init_idct_buffer() argument
532 struct vl_mpeg12_buffer *buffer; vl_mpeg12_get_decode_buffer() local
[all...]
/third_party/ffmpeg/libavfilter/
H A Daf_haas.c46 double *buffer; member
107 av_freep(&s->buffer); in config_input()
108 s->buffer = av_calloc(new_buf_size, sizeof(*s->buffer)); in config_input()
109 if (!s->buffer) in config_input()
138 double *buffer = s->buffer; in filter_frame() local
168 buffer[s->write_ptr] = mid; in filter_frame()
176 side[0] = buffer[s0_ptr] * s->par_side_gain; in filter_frame()
177 side[1] = buffer[s1_pt in filter_frame()
[all...]
/third_party/lzma/CPP/Common/
H A DMyBuffer.h39 CBuffer(const CBuffer &buffer): _items(NULL), _size(0) in CBuffer() argument
41 const size_t size = buffer._size; in CBuffer()
45 memcpy(_items, buffer._items, size * sizeof(T)); in CBuffer()
110 CBuffer& operator=(const CBuffer &buffer) in operator =() argument
112 if (&buffer != this) in operator =()
113 CopyFrom(buffer, buffer._size); in operator =()
163 CObjArray(const CObjArray &buffer);
164 void operator=(const CObjArray &buffer);
206 CObjArray2(const CObjArray2 &buffer);
[all...]
/third_party/skia/src/effects/
H A DSk1DPathEffect.cpp107 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer) { in CreateProc() argument
108 SkScalar advance = buffer.readScalar(); in CreateProc()
110 buffer.readPath(&path); in CreateProc()
111 SkScalar phase = buffer.readScalar(); in CreateProc()
112 SkPath1DPathEffect::Style style = buffer.read32LE(SkPath1DPathEffect::kLastEnum_Style); in CreateProc()
113 return buffer.isValid() ? SkPath1DPathEffect::Make(path, advance, phase, style) : nullptr; in CreateProc()
116 void flatten(SkWriteBuffer& buffer) const override {
117 buffer.writeScalar(fAdvance);
118 buffer.writePath(fPath);
119 buffer
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkDeviceMemory.cpp150 if(buffer) in destroy()
153 buffer = nullptr; in destroy()
172 // includes a handle of the sole buffer or image resource that the memory *can* be bound to." in ParseAllocationInfo()
259 if(!buffer) in allocate()
293 ASSERT(buffer); in getOffsetPointer()
294 return reinterpret_cast<char *>(buffer) + pOffset; in getOffsetPointer()
302 // This image or buffer does not need to be stored on external in checkExternalMemoryHandleType()
310 // any image or buffer as well. in checkExternalMemoryHandleType()
320 // and sets `buffer`.
323 buffer in allocateBuffer()
361 GetAndroidHardwareBufferProperties(VkDevice &ahbDevice, const struct AHardwareBuffer *buffer, VkAndroidHardwareBufferPropertiesANDROID *pProperties) GetAndroidHardwareBufferProperties() argument
[all...]
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Djdatadst.c38 JOCTET *buffer; /* start of buffer */ member
52 unsigned char **outbuffer; /* target buffer */
54 unsigned char *newbuffer; /* newly allocated buffer */
55 JOCTET *buffer; /* start of buffer */ member
73 /* Allocate the output buffer --- it will be released when done with image */ in init_destination()
74 dest->buffer = (JOCTET *) in init_destination()
78 dest->pub.next_output_byte = dest->buffer; in init_destination()
92 * Empty the output buffer
[all...]
/third_party/vk-gl-cts/framework/delibs/destream/
H A DdeRingbuffer.c37 deUint8* buffer; member
62 ringbuffer->buffer = (deUint8*)deMalloc(sizeof(deUint8) * (size_t)blockSize * (size_t)blockCount); in deRingbuffer_create()
67 if (!ringbuffer->buffer || in deRingbuffer_create()
76 deFree(ringbuffer->buffer); in deRingbuffer_create()
108 free(ringbuffer->buffer); in deRingbuffer_destroy()
141 dst = ringbuffer->buffer + ringbuffer->blockSize * ringbuffer->inBlock + ringbuffer->inPos; in producerStream_write()
238 src = ringbuffer->buffer + ringbuffer->blockSize * ringbuffer->outBlock + ringbuffer->outPos; in consumerStream_read()
306 void deProducerStream_init (deOutStream* stream, deRingbuffer* buffer) in deProducerStream_init() argument
308 stream->ioStream.streamData = (deStreamData*)buffer; in deProducerStream_init()
312 void deConsumerStream_init (deInStream* stream, deRingbuffer* buffer) in deConsumerStream_init() argument
[all...]
/third_party/backends/sanei/
H A Dsanei_magic.c59 SANE_Parameters * params, int dpi, SANE_Byte * buffer, int top);
62 SANE_Parameters * params, int dpi, SANE_Byte * buffer, int left);
83 sanei_magic_despeck (SANE_Parameters * params, SANE_Byte * buffer, in sanei_magic_despeck() argument
114 tmp += buffer[i + j*3 + k*bw + l*3 + n]; in sanei_magic_despeck()
136 tmp[n] = buffer[i + j*3 + k*bw + l*3 + n]; in sanei_magic_despeck()
157 buffer[i + j*3 + k*bw + l*3 + n] = outer[n]; in sanei_magic_despeck()
176 if(buffer[i + j + k*bw + l] < thresh) in sanei_magic_despeck()
177 thresh = buffer[i + j + k*bw + l]; in sanei_magic_despeck()
194 tmp = buffer[i + j + k*bw + l]; in sanei_magic_despeck()
212 buffer[ in sanei_magic_despeck()
274 sanei_magic_findEdges(SANE_Parameters * params, SANE_Byte * buffer, int dpiX, int dpiY, int * top, int * bot, int * left, int * right) sanei_magic_findEdges() argument
435 sanei_magic_crop(SANE_Parameters * params, SANE_Byte * buffer, int top, int bot, int left, int right) sanei_magic_crop() argument
503 sanei_magic_findSkew(SANE_Parameters * params, SANE_Byte * buffer, int dpiX, int dpiY, int * centerX, int * centerY, double * finSlope) sanei_magic_findSkew() argument
605 sanei_magic_rotate(SANE_Parameters * params, SANE_Byte * buffer, int centerX, int centerY, double slope, int bg_color) sanei_magic_rotate() argument
715 sanei_magic_isBlank(SANE_Parameters * params, SANE_Byte * buffer, double thresh) sanei_magic_isBlank() argument
787 sanei_magic_isBlank2(SANE_Parameters * params, SANE_Byte * buffer, int dpiX, int dpiY, double thresh) sanei_magic_isBlank2() argument
888 sanei_magic_findTurn(SANE_Parameters * params, SANE_Byte * buffer, int dpiX, int dpiY, int * angle) sanei_magic_findTurn() argument
1058 sanei_magic_turn(SANE_Parameters * params, SANE_Byte * buffer, int angle) sanei_magic_turn() argument
1679 sanei_magic_getTransY( SANE_Parameters * params, int dpi, SANE_Byte * buffer, int top) sanei_magic_getTransY() argument
1811 sanei_magic_getTransX( SANE_Parameters * params, int dpi, SANE_Byte * buffer, int left) sanei_magic_getTransX() argument
[all...]
/third_party/FreeBSD/stand/usb/
H A Dusb_busdma_loader.c73 if (pc->buffer) { in usbd_get_page()
77 res->buffer = USB_ADD_BYTES(pc->buffer, offset); in usbd_get_page()
97 if (!pc->buffer) { in usbd_get_page()
101 res->buffer = USB_ADD_BYTES(page->buffer, offset); in usbd_get_page()
108 res->buffer = USB_ADD_BYTES(pc->buffer, offset); in usbd_get_page()
132 ret = memcpy_s(buf_res.buffer, buf_res.length, ptr, buf_res.length); in usbd_copy_in()
159 (void)memcpy_s(ptr, len, res.buffer, re in usbd_copy_out()
[all...]

Completed in 20 milliseconds

1...<<21222324252627282930>>...241