/external/python/cpython2/Mac/Demo/sound/ |
playaiff.py | 41 buffer = header + frames variable 45 Snd.SndDoCommand(chan, (bufferCmd, 0, buffer), 0)
|
/external/python/cpython2/Python/ |
mysnprintf.c | 6 it because platforms differ in what vsnprintf does in case the buffer 8 would have been written had the buffer not been too small, and to set 9 the last byte of the buffer to \0. At least MS _vsnprintf returns a 10 negative value instead, and fills the entire buffer with non-\0 data. 17 If the platform doesn't have vsnprintf, and the buffer size needed to 27 When rv >= size, output conversion was truncated, and a buffer of 34 with a non-C99 vsnprintf simply that the buffer wasn't big enough 36 PyMem_Malloc couldn't obtain space for a temp buffer. 61 char *buffer; local 68 * vsnprintf return value or the buffer malloc size. * [all...] |
/external/python/cpython3/Python/ |
mysnprintf.c | 5 it because platforms differ in what vsnprintf does in case the buffer 7 would have been written had the buffer not been too small, and to set 8 the last byte of the buffer to \0. At least MS _vsnprintf returns a 9 negative value instead, and fills the entire buffer with non-\0 data. 16 If the platform doesn't have vsnprintf, and the buffer size needed to 26 When rv >= size, output conversion was truncated, and a buffer of 33 with a non-C99 vsnprintf simply that the buffer wasn't big enough 35 PyMem_Malloc couldn't obtain space for a temp buffer. 60 char *buffer; local 67 * vsnprintf return value or the buffer malloc size. * [all...] |
/external/selinux/libsemanage/src/ |
debug.c | 100 char buffer[1024]; local 106 vsnprintf(buffer, sizeof(buffer), fmt, ap); 112 sh->msg_callback(sh->msg_callback_arg, sh, "%s", buffer);
|
/external/skia/src/core/ |
SkMD5.h | 20 bool write(const void* buffer, size_t size) final; 38 uint8_t buffer[64]; // input buffer member in class:SkMD5
|
/external/skia/src/gpu/ |
GrOnFlushResourceProvider.cpp | 107 sk_sp<const GrBuffer> buffer = resourceProvider->findOrMakeStaticBuffer(intendedType, size, local 110 SkASSERT(!buffer->resourcePriv().hasPendingIO_debugOnly()); 111 return buffer;
|
/external/skia/src/gpu/vk/ |
GrVkTransferBuffer.cpp | 25 GrVkTransferBuffer* buffer = new GrVkTransferBuffer(gpu, desc, bufferResource); local 26 if (!buffer) { 29 return buffer; 58 buffer_id.appendU64((uint64_t)this->buffer());
|
/external/skia/src/utils/ |
SkJSONWriter.cpp | 35 char buffer[kBufferSize]; local 39 int length = _vsnprintf_s(buffer, kBufferSize, _TRUNCATE, fmt, argp); 41 int length = vsnprintf(buffer, kBufferSize, fmt, argp); 45 this->write(buffer, length);
|
/external/skia/tools/sk_app/ |
GLWindowContext.cpp | 60 GrGLint buffer; local 62 &buffer)); 63 fbInfo.fFBOID = buffer;
|
/external/skqp/src/core/ |
SkMD5.h | 20 bool write(const void* buffer, size_t size) final; 38 uint8_t buffer[64]; // input buffer member in class:SkMD5
|
/external/skqp/src/gpu/ |
GrOnFlushResourceProvider.cpp | 99 sk_sp<const GrBuffer> buffer = resourceProvider->findOrMakeStaticBuffer(intendedType, size, local 102 SkASSERT(!buffer->resourcePriv().hasPendingIO_debugOnly()); 103 return buffer;
|
/external/skqp/src/gpu/vk/ |
GrVkTransferBuffer.cpp | 25 GrVkTransferBuffer* buffer = new GrVkTransferBuffer(gpu, desc, bufferResource); local 26 if (!buffer) { 29 return buffer; 58 buffer_id.appendU64((uint64_t)this->buffer());
|
/external/skqp/src/utils/ |
SkJSONWriter.cpp | 35 char buffer[kBufferSize]; local 39 int length = _vsnprintf_s(buffer, kBufferSize, _TRUNCATE, fmt, argp); 41 int length = vsnprintf(buffer, kBufferSize, fmt, argp); 45 this->write(buffer, length);
|
/external/skqp/tools/sk_app/ |
GLWindowContext.cpp | 60 GrGLint buffer; local 62 &buffer)); 63 fbInfo.fFBOID = buffer;
|
/external/swiftshader/src/OpenGL/libGL/ |
Buffer.cpp | 15 // Buffer.cpp: Implements the Buffer class, representing storage of vertex and/or 16 // index data. Implements GL buffer objects and related functionality. 18 #include "Buffer.h" 27 Buffer::Buffer(GLuint name) : NamedObject(name) 34 Buffer::~Buffer() 42 void Buffer::bufferData(const void *data, GLsizeiptr size, GLenum usage) 70 void Buffer::bufferSubData(const void *data, GLsizeiptr size, GLintptr offset 74 char *buffer = (char*)mContents->lock(sw::PUBLIC); local [all...] |
/external/swiftshader/src/OpenGL/libGLES_CM/ |
Buffer.cpp | 15 // Buffer.cpp: Implements the Buffer class, representing storage of vertex and/or 16 // index data. Implements GL buffer objects and related functionality. 19 #include "Buffer.h" 28 Buffer::Buffer(GLuint name) : NamedObject(name) 35 Buffer::~Buffer() 43 void Buffer::bufferData(const void *data, GLsizeiptr size, GLenum usage) 71 void Buffer::bufferSubData(const void *data, GLsizeiptr size, GLintptr offset 75 char *buffer = (char*)mContents->lock(sw::PUBLIC); local [all...] |
/external/swiftshader/third_party/LLVM/utils/ |
DSAextract.py | 59 buffer = input.readline() variable 60 while buffer != '': 62 if not arrowexp.search(buffer): 67 if regexp.search(buffer): 68 node_set |= set([re.split('\s+',buffer,2)[1]]) 70 buffer = input.readline() variable 86 buffer = input.readline() variable 87 while buffer != '': 95 if arrowexp.search(buffer): 98 nodes = arrowexp.split(buffer) 110 buffer = input.readline() variable [all...] |
/external/syslinux/com32/hdt/ |
hdt-cli-cpu.c | 77 static void show_flag(char *buffer, bool flag, char *flag_name, bool flush) 83 * Before adding the flag into the buffer, let's check that adding it 85 if ((((strlen(buffer) + strlen(flag_name)) > 66) && flag) || flush) { 87 buffer); 89 memset(buffer, 0, sizeof(buffer)); 95 strcat(buffer, flag_name); 101 char buffer[81]; local 160 memset(buffer, 0, sizeof(buffer)); [all...] |
hdt-cli-kernel.c | 40 char buffer[1024] = {0}; local 72 && (!strstr(buffer, kernel_modules))) { 75 strncat(buffer, "(", 1); 76 strncat(buffer, kernel_modules, sizeof(kernel_modules)); 78 strncat(buffer, ")", 1); 79 strncat(buffer, " # ", 3); 84 strncat(buffer, "\n", 1); 85 more_printf("%s", buffer);
|
hdt-menu-dmi.c | 34 char buffer[SUBMENULEN + 1]; local 41 snprintf(buffer, sizeof buffer, "Vendor : %s", dmi->system.manufacturer); 44 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); 47 snprintf(buffer, sizeof buffer, "Product : %s", dmi->system.product_name); 50 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); 53 snprintf(buffer, sizeof buffer, "Version : %s", dmi->system.version); 55 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0) 92 char buffer[SUBMENULEN + 1]; local 140 char buffer[SUBMENULEN + 1]; local 181 char buffer[SUBMENULEN + 1]; local 238 char buffer[SUBMENULEN + 1]; local 295 char buffer[SUBMENULEN + 1]; local [all...] |
hdt-menu-pci.c | 37 char buffer[56]; local 46 snprintf(buffer, sizeof buffer, "Vendor : %s", 50 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); 53 snprintf(buffer, sizeof buffer, "Product : %s", 57 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); 60 snprintf(buffer, sizeof buffer, "Class : %s", 64 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0) [all...] |
/external/syslinux/com32/lua/src/ |
cpu.c | 25 char buffer[32] = { 0 }; local 26 snprintf(buffer,sizeof(buffer), "flags.%s",value_str); 27 lua_pushstring(L,buffer);
|
/external/syslinux/gpxe/src/arch/i386/image/ |
pxe_image.c | 76 userptr_t buffer = real_to_user ( 0, 0x7c00 ); local 100 if ( ( rc = prep_segment ( buffer, filesz, memsz ) ) != 0 ) { 107 memcpy_user ( buffer, 0, image->data, 0, filesz );
|
/external/tensorflow/tensorflow/core/platform/ |
stacktrace_handler_test.cc | 58 char buffer[READ_BUFFER_SIZE]; local 61 int read_length = read(test_pipe[0], buffer, READ_BUFFER_SIZE); 63 child_output += std::string(buffer, read_length);
|
/external/tpm2/ |
PolicyLocality.c | 27 BYTE *buffer; local 38 buffer = marshalBuffer; 40 marshalSize = TPMA_LOCALITY_Marshal(&in->locality, &buffer, &bufferSize); 47 buffer = prevSetting; 49 TPMA_LOCALITY_Marshal(&session->commandLocality, &buffer, &bufferSize); 106 buffer = prevSetting; 107 TPMA_LOCALITY_Unmarshal(&session->commandLocality, &buffer,
|