HomeSort by relevance Sort by last modified time
    Searched full:buflength (Results 1 - 25 of 29) sorted by null

1 2

  /external/minijail/
util.h 71 * consumebytes: consumes @length bytes from a buffer @buf of length @buflength
74 * @buflength Size of @buf
78 void *consumebytes(size_t length, char **buf, size_t *buflength);
87 char *consumestr(char **buf, size_t *buflength);
util.c 342 void *consumebytes(size_t length, char **buf, size_t *buflength)
345 if (length > *buflength)
348 *buflength -= length;
352 char *consumestr(char **buf, size_t *buflength)
354 size_t len = strnlen(*buf, *buflength);
355 if (len == *buflength)
358 return consumebytes(len + 1, buf, buflength);
libminijail_unittest.cc 38 void *consumebytes(size_t length, char **buf, size_t *buflength);
39 char *consumestr(char **buf, size_t *buflength);
  /cts/tests/tests/opengl/libopengltest/
color_one.cpp 55 GLint bufLength = 0;
56 glGetProgramiv(gProgram, GL_INFO_LOG_LENGTH, &bufLength);
57 if (bufLength) {
58 char* buf = (char*) malloc(bufLength);
60 glGetProgramInfoLog(gProgram, bufLength, NULL, buf);
  /frameworks/native/opengl/tests/gl2_jni/jni/
gl_code.cpp 84 GLint bufLength = 0;
85 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength);
86 if (bufLength) {
87 char* buf = (char*) malloc(bufLength);
89 glGetProgramInfoLog(program, bufLength, NULL, buf);
  /frameworks/native/opengl/tests/gldual/jni/
gl_code.cpp 84 GLint bufLength = 0;
85 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength);
86 if (bufLength) {
87 char* buf = (char*) malloc(bufLength);
89 glGetProgramInfoLog(program, bufLength, NULL, buf);
  /packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/
Renderer.cpp 94 GLint bufLength = 0;
95 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength);
96 if (bufLength)
98 char* buf = (char*) malloc(bufLength);
101 glGetProgramInfoLog(program, bufLength, NULL, buf);
  /frameworks/av/cmds/screenrecord/
Program.cpp 183 GLint bufLength = 0;
184 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength);
185 if (bufLength) {
186 char* buf = new char[bufLength];
188 glGetProgramInfoLog(program, bufLength, NULL, buf);
  /frameworks/native/libs/gui/tests/
GLTest.cpp 318 GLint bufLength = 0;
319 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength);
320 if (bufLength) {
321 char* buf = (char*) malloc(bufLength);
323 glGetProgramInfoLog(program, bufLength, NULL, buf);
  /frameworks/native/opengl/tests/gl2_basic/
gl2_basic.cpp 128 GLint bufLength = 0;
129 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength);
130 if (bufLength) {
131 char* buf = (char*) malloc(bufLength);
133 glGetProgramInfoLog(program, bufLength, NULL, buf);
  /frameworks/native/opengl/tests/gl_perf/
fill_common.cpp 91 GLint bufLength = 0;
92 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength);
93 if (bufLength) {
94 char* buf = (char*) malloc(bufLength);
96 glGetProgramInfoLog(program, bufLength, NULL, buf);
  /frameworks/rs/driver/
rsdShaderCache.cpp 160 GLint bufLength = 0;
161 glGetProgramiv(pgm, GL_INFO_LOG_LENGTH, &bufLength);
162 if (bufLength) {
163 char* buf = (char*) malloc(bufLength);
165 glGetProgramInfoLog(pgm, bufLength, nullptr, buf);
  /external/webrtc/webrtc/modules/video_render/android/
video_render_opengles20.cc 290 GLint bufLength = 0;
291 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength);
292 if (bufLength) {
293 char* buf = (char*) malloc(bufLength);
295 glGetProgramInfoLog(program, bufLength, NULL, buf);
  /frameworks/native/cmds/flatland/
GLHelper.cpp 388 GLint bufLength = 0;
389 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength);
390 if (bufLength) {
391 char* buf = new char[bufLength];
393 glGetProgramInfoLog(program, bufLength, NULL, buf);
  /frameworks/native/opengl/tests/gl2_copyTexImage/
gl2_copyTexImage.cpp 123 GLint bufLength = 0;
124 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength);
125 if (bufLength) {
126 char* buf = (char*) malloc(bufLength);
128 glGetProgramInfoLog(program, bufLength, NULL, buf);
  /frameworks/native/opengl/tests/gl2_yuvtex/
gl2_yuvtex.cpp 139 GLint bufLength = 0;
140 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength);
141 if (bufLength) {
142 char* buf = (char*) malloc(bufLength);
144 glGetProgramInfoLog(program, bufLength, NULL, buf);
  /external/syslinux/gpxe/src/drivers/net/
epic100.c 37 unsigned long buflength; member in struct:epic_rx_desc
46 unsigned long buflength; member in struct:epic_tx_desc
277 rx_ring[i].buflength = cpu_to_le32(PKT_BUF_SZ);
291 tx_ring[i].buflength = 0x0000 | cpu_to_le32(TD_STDFLAGS << 16);
345 tx_ring[entry].buflength |= cpu_to_le32(len);
407 nic->packetlen = le32_to_cpu((rx_ring[entry].buflength))- 4;
  /libcore/ojluni/src/main/java/java/net/
DatagramPacket.java 61 int bufLength;
278 this.bufLength = length;
371 this.bufLength = buf.length;
398 this.bufLength = this.length;
PlainDatagramSocketImpl.java 152 IoBridge.recvfrom(false, fd, p.getData(), p.getOffset(), p.bufLength, flags, p,
  /toolchain/binutils/binutils-2.25/cpu/
mep.opc 1101 int buflength;
1114 buflength = 4; /* VLIW insn spans 4 bytes. */
1115 status = (*info->read_memory_func) (pc, buf, buflength, info);
1176 int buflength;
1189 buflength = 8; /* VLIW insn spans 8 bytes. */
1190 status = (*info->read_memory_func) (pc, buf, buflength, info);
    [all...]
  /toolchain/binutils/binutils-2.25/opcodes/
mep-dis.c 297 int buflength;
310 buflength = 4; /* VLIW insn spans 4 bytes. */
311 status = (*info->read_memory_func) (pc, buf, buflength, info);
372 int buflength;
385 buflength = 8; /* VLIW insn spans 8 bytes. */
386 status = (*info->read_memory_func) (pc, buf, buflength, info);
536 int buflength;
542 buflength = 8; /* VLIW insn spans 8 bytes. */
543 status = (*info->read_memory_func) (pc, buf, buflength, info);
296 int buflength; local
371 int buflength; local
535 int buflength; local
    [all...]
  /frameworks/av/media/libstagefright/tests/
SurfaceMediaSource_test.cpp 262 GLint bufLength = 0;
263 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength);
264 if (bufLength) {
265 char* buf = (char*) malloc(bufLength);
267 glGetProgramInfoLog(program, bufLength, NULL, buf);
    [all...]
  /external/libcups/cups/
ppd-emit.c 301 size_t buflength; /* Length of option code */ local
325 buflength = strlen(buffer);
329 while (buflength > 0)
332 if ((bytes = (ssize_t)write(fd, bufptr, (unsigned)buflength)) < 0)
334 if ((bytes = write(fd, bufptr, buflength)) < 0)
343 buflength -= (size_t)bytes;
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
GCMBlockCipher.java 136 int bufLength = forEncryption ? BLOCK_SIZE : (BLOCK_SIZE + macSize);
137 this.bufBlock = new byte[bufLength];
  /device/linaro/bootloader/edk2/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/
Ax88772.c 662 IN UINTN BufLength)
673 for ( offset = 0; offset < BufLength; ){
682 DEBUG (( EFI_D_ERROR , "Pkt length error. BufLength = %d\n", BufLength));
    [all...]

Completed in 1463 milliseconds

1 2