| /external/ppp/pppd/plugins/pppoatm/ |
| ans.c | 199 char buffer[MAX_LINE]; local 212 while (fgets(buffer,MAX_LINE,file)) { 213 here = strchr(buffer,'#'); 215 if (sscanf(buffer,"%d",&cc) == 1) { 245 int ans_byaddr(char *buffer,int length,const struct sockaddr_atmsvc *addr, 253 if (!res && !ans(tmp,T_PTR,buffer,length)) return 0; 256 return ans(tmp,T_PTR,buffer,length); 260 return ans(tmp,T_PTR,buffer,length);
|
| /external/ppp/pppd/plugins/radius/ |
| config.c | 189 char buffer[512], *p; local 200 while ((fgets(buffer, sizeof(buffer), configfd) != NULL)) 203 p = buffer; 459 char buffer[128]; local 475 while (fgets (buffer, sizeof (buffer), clientfd) != (char *) NULL) 477 if (*buffer == '#') 480 if ((h = strtok (buffer, " \t\n")) == NULL) /* first hostname */ 537 memset (buffer, '\0', sizeof (buffer)) [all...] |
| /external/proguard/src/proguard/evaluation/ |
| Variables.java | 335 StringBuffer buffer = new StringBuffer(); local 340 buffer = buffer.append('[') 345 return buffer.toString();
|
| /external/proguard/src/proguard/evaluation/value/ |
| InstructionOffsetValue.java | 304 StringBuffer buffer = new StringBuffer(); local 312 buffer.append(','); 314 buffer.append(values[index]); 318 return buffer.append(':').toString();
|
| /external/proguard/src/proguard/io/ |
| DataEntryCopier.java | 39 private final byte[] buffer = new byte[BUFFER_SIZE]; field in class:DataEntryCopier 101 int count = inputStream.read(buffer); 106 outputStream.write(buffer, 0, count);
|
| /external/protobuf/java/core/src/main/java/com/google/protobuf/ |
| MessageLiteToString.java | 60 StringBuilder buffer = new StringBuilder(); local 61 buffer.append("# ").append(commentString); 62 reflectivePrintWithIndent(messageLite, buffer, 0); 63 return buffer.toString(); 67 * Reflectively prints the {@link MessageLite} to the buffer at given {@code indent} level. 69 * @param buffer the buffer to write to 73 MessageLite messageLite, StringBuilder buffer, int indent) { 100 buffer, 134 buffer, [all...] |
| /external/protobuf/src/google/protobuf/compiler/ |
| subprocess.cc | 207 char buffer[4096]; local 210 if (!ReadFile(child_stdout_, buffer, sizeof(buffer), &n, NULL)) { 215 output_data.append(buffer, n); 406 char buffer[4096]; 407 int n = read(child_stdout_, buffer, sizeof(buffer)); 410 output_data.append(buffer, n);
|
| /external/protobuf/src/google/protobuf/ |
| message_unittest.cc | 374 string buffer; local 375 generator.SerializeToString(&buffer); 377 parsing_merge.ParseFromString(buffer);
|
| /external/protobuf/src/google/protobuf/util/internal/ |
| json_escaping.cc | 247 // Stores the 16-bit unicode code point as its hexadecimal digits in buffer 248 // and returns a StringPiece that points to this buffer. The input buffer needs 250 StringPiece ToHex(uint16 cp, char* buffer) { 251 buffer[5] = kHex[cp & 0x0f]; 253 buffer[4] = kHex[cp & 0x0f]; 255 buffer[3] = kHex[cp & 0x0f]; 257 buffer[2] = kHex[cp & 0x0f]; 258 return StringPiece(buffer, 0, 6); 261 // Stores the 32-bit unicode code point as its hexadecimal digits in buffer 360 char buffer[12] = "\\\\udead\\\\ubee"; local [all...] |
| /external/protobuf/src/google/protobuf/util/ |
| json_util_test.cc | 188 virtual bool Next(void** buffer, int* length) { 194 *buffer = last_segment_.first; 216 // This test splits the output buffer and also the input data into multiple 225 char buffer[kOutputBufferLength]; local 228 // Split the buffer into small segments according to the split_pattern. 234 Segment(buffer + segment_start, i - segment_start + 1)); 239 Segment(buffer + segment_start, kOutputBufferLength - segment_start)); 245 memset(buffer, 0, sizeof(buffer)); 258 EXPECT_EQ(input_data, string(buffer, input_data.length())) [all...] |
| /external/python/cpython2/Modules/_multiprocessing/ |
| multiprocessing.c | 186 no room for any further data in the buffer. */ 207 void *buffer; local 210 if (PyObject_AsWriteBuffer(obj, &buffer, &buffer_len) < 0) 214 PyLong_FromVoidPtr(buffer), buffer_len); 225 "Return address of obj assuming obj supports buffer inteface"},
|
| /external/python/cpython2/Python/ |
| dynload_win.c | 220 (LPTSTR) theInfo, /* the buffer */ 221 sizeof(theInfo), /* the buffer size */ 249 char buffer[256]; local 252 PyOS_snprintf(buffer, sizeof(buffer), "python%d%d_d.dll", 254 PyOS_snprintf(buffer, sizeof(buffer), "python%d%d.dll", 260 strcasecmp(buffer,import_python)) { 261 PyOS_snprintf(buffer, sizeof(buffer), [all...] |
| /external/python/cpython3/Misc/ |
| coverity_model.c | 114 unsigned char buffer[4]; local 116 r_string((char *)buffer, 4, p); 117 __coverity_tainted_string_sanitize_content__(buffer); 118 l = (long)buffer;
|
| /external/python/cpython3/Modules/_io/clinic/ |
| fileio.c.h | 142 "readinto($self, buffer, /)\n" 151 _io_FileIO_readinto_impl(fileio *self, Py_buffer *buffer); 157 Py_buffer buffer = {NULL, NULL}; local 159 if (!PyArg_Parse(arg, "w*:readinto", &buffer)) { 162 return_value = _io_FileIO_readinto_impl(self, &buffer); 165 /* Cleanup for buffer */ 166 if (buffer.obj) { 167 PyBuffer_Release(&buffer); 230 "Write buffer b to file, return number of bytes written.\n"
|
| winconsoleio.c.h | 36 "Open a console buffer by file descriptor.\n" 101 "True if console is an input buffer."); 123 "True if console is an output buffer."); 142 "readinto($self, buffer, /)\n" 151 _io__WindowsConsoleIO_readinto_impl(winconsoleio *self, Py_buffer *buffer); 157 Py_buffer buffer = {NULL, NULL}; local 159 if (!PyArg_Parse(arg, "w*:readinto", &buffer)) { 162 return_value = _io__WindowsConsoleIO_readinto_impl(self, &buffer); 165 /* Cleanup for buffer */ 166 if (buffer.obj) [all...] |
| /external/python/cpython3/Python/ |
| dynload_win.c | 249 theInfo, /* the buffer */ 284 char buffer[256]; local 286 PyOS_snprintf(buffer, sizeof(buffer), 296 strcasecmp(buffer,import_python)) {
|
| thread.c | 394 char buffer[255]; local 433 len = confstr(_CS_GNU_LIBPTHREAD_VERSION, buffer, sizeof(buffer)); 434 if (1 < len && (size_t)len < sizeof(buffer)) { 435 value = PyUnicode_DecodeFSDefaultAndSize(buffer, len-1);
|
| /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/ |
| InstrumentDetectorTest.java | 158 final StringWriter buffer = new StringWriter(); local 159 result.getFailures().get(0).getException().printStackTrace(new PrintWriter(buffer)); 160 final int linkageErrorNameIndex = buffer.toString().indexOf(LinkageError.class.getName());
|
| /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/util/ |
| TestUtil.java | 76 char[] buffer = new char[1024]; local 80 while ((n = reader.read(buffer)) != -1) { 81 writer.write(buffer, 0, n);
|
| /external/selinux/libsepol/cil/test/unit/ |
| CuTest.h | 47 char* buffer; member in struct:__anon33682
|
| /external/selinux/restorecond/ |
| watch.c | 224 char *buffer = line_buf; local 225 while (isspace(*buffer)) 226 buffer++; 227 if (buffer[0] == '#') 229 int l = strlen(buffer) - 1; 232 buffer[l] = 0; 233 if (buffer[0] == '~') { 236 if (asprintf(&ptr, "%s%s", homedir, &buffer[1]) < 0) 242 utmpwatcher_add(fd, &buffer[1]); 245 watch_list_add(fd, buffer); [all...] |
| /external/selinux/secilc/ |
| secilc.c | 84 char *buffer = NULL; local 264 buffer = malloc(file_size); 265 rc = fread(buffer, file_size, 1, file); 273 rc = cil_add_file(db, argv[i], buffer, file_size); 279 free(buffer); 280 buffer = NULL; 368 free(buffer);
|
| /external/skia/example/ |
| SkiaSDLExample.cpp | 203 // Wrap the frame buffer object attached to the screen in a Skia render target so Skia can 205 GrGLint buffer; local 206 GR_GL_GetIntegerv(interface.get(), GR_GL_FRAMEBUFFER_BINDING, &buffer); 208 info.fFBOID = (GrGLuint) buffer;
|
| /external/skia/samplecode/ |
| SampleXfermodesBlur.cpp | 93 char buffer[10]; local 94 size_t len = SkUTF8_FromUnichar(0x8500, buffer); 95 canvas->drawText(buffer, len, 40, 40, paint);
|
| /external/skia/src/core/ |
| SkMaskBlurFilter.cpp | 40 SkArenaAlloc* alloc, int width, uint32_t* buffer) const = 0; 50 SkArenaAlloc* alloc, int width, uint32_t* buffer) const override { 127 SkArenaAlloc* alloc, int width, uint32_t* buffer) const override 130 buffer0 = buffer; 219 // Starting from the right, fill in the rest of the buffer. 275 // NB 136 is the largest sigma that will not cause a buffer full of 255 mask values to overflow 329 uint8_t buffer[8]; 331 sk_bzero(buffer, sizeof(buffer)); 333 buffer[i] = from[i] 987 auto buffer = alloc.makeArrayDefault<uint32_t>(bufferSize); variable [all...] |