/external/valgrind/none/tests/s390x/ |
tr.c | 8 uint8_t buff[40]; variable 24 tr(tran_table, buff, len); 27 printf("%c", buff[i]); 35 run_test((char *)&touppercase, &buff, 0); 36 run_test((char *)&touppercase, &buff, 0); 39 memset(buff, 'a', 1); 40 run_test((char *)&touppercase, &buff, 1); 42 memcpy(buff, "abcdefgh", 8); 43 run_test((char *)&touppercase, &buff, 3); 44 run_test((char *)&touppercase, &buff, 3) [all...] |
tre.c | 17 uint8_t buff[40]; variable 61 printf("%c", buff[i]); 72 run_test((char *)&touppercase, &buff, 0, 0x0); 73 run_test((char *)&touppercase, &buff, 0, 'b'); 76 memset(buff, 'a', 1); 77 run_test((char *)&touppercase, &buff, 1, 'a'); //cc = 1 78 run_test((char *)&touppercase, &buff, 1, 'b'); 80 memcpy(buff, "abcdefgh", 8); 81 run_test((char *)&touppercase, &buff, 3, 'a'); //cc = 1 82 run_test((char *)&touppercase, &buff, 3, 'f'); //cc = [all...] |
cu42.c | 52 uint16_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 128 /* No character will be written to BUFF, i.e. loop in jitted code 130 run_test(buff, sizeof buff, NULL, 0); 131 run_test(buff, sizeof buff, NULL, 1); 132 run_test(buff, sizeof buff, NULL, 2); 133 run_test(buff, sizeof buff, NULL, 3) [all...] |
cu21.c | 62 uint8_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 135 /* No character will be written to BUFF, i.e. loop in jitted code 137 run_test(buff, sizeof buff, NULL, 1); 138 run_test(buff, sizeof buff, pattern1, 1); 139 run_test(buff, sizeof buff, pattern2, 1); 140 run_test(buff, sizeof buff, pattern3, 1) [all...] |
cu21_1.c | 62 uint8_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 135 /* No character will be written to BUFF, i.e. loop in jitted code 137 run_test(buff, sizeof buff, NULL, 1); 138 run_test(buff, sizeof buff, pattern1, 1); 139 run_test(buff, sizeof buff, pattern2, 1); 140 run_test(buff, sizeof buff, pattern3, 1) [all...] |
cu12.c | 73 uint16_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 163 run_test(buff, sizeof buff, valid, sizeof valid); 178 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); 190 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); 198 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); 216 run_test(buff, sizeof buff, valid, sizeof valid) [all...] |
cu12_1.c | 73 uint16_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 163 run_test(buff, sizeof buff, valid, sizeof valid); 178 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); 190 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); 198 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); 216 run_test(buff, sizeof buff, valid, sizeof valid) [all...] |
cu14.c | 73 uint32_t buff[500]; /* Large so we con'don't have to worry about it */ variable 163 run_test(buff, sizeof buff, valid, sizeof valid); 178 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); 190 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); 198 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); 216 run_test(buff, sizeof buff, valid, sizeof valid) [all...] |
cu14_1.c | 73 uint32_t buff[500]; /* Large so we con'don't have to worry about it */ variable 163 run_test(buff, sizeof buff, valid, sizeof valid); 178 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); 190 run_test(buff, sizeof buff, invalid_char, sizeof invalid_char); 198 run_test(buff, sizeof buff, valid_invalid, sizeof valid_invalid); 216 run_test(buff, sizeof buff, valid, sizeof valid) [all...] |
cu24.c | 51 uint32_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 129 /* No character will be written to BUFF, i.e. loop in jitted code 131 run_test(buff, sizeof buff, NULL, 1); 132 run_test(buff, sizeof buff, pattern1, 1); 133 run_test(buff, sizeof buff, pattern2, 1); 134 run_test(buff, sizeof buff, pattern2, 2) [all...] |
cu24_1.c | 51 uint32_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 129 /* No character will be written to BUFF, i.e. loop in jitted code 131 run_test(buff, sizeof buff, NULL, 1); 132 run_test(buff, sizeof buff, pattern1, 1); 133 run_test(buff, sizeof buff, pattern2, 1); 134 run_test(buff, sizeof buff, pattern2, 2) [all...] |
cu41.c | 63 uint8_t buff[1000]; /* Large so we con'don't have to worry about it */ variable 138 /* No character will be written to BUFF, i.e. loop in jitted code 140 run_test(buff, sizeof buff, NULL, 0); 141 run_test(buff, sizeof buff, NULL, 1); 142 run_test(buff, sizeof buff, NULL, 2); 143 run_test(buff, sizeof buff, NULL, 3) [all...] |
/external/clang/test/CodeGen/ |
2003-11-26-PointerShift.c | 3 unsigned long do_csum(const unsigned char *buff, int len, unsigned long result) { 4 if (2 & (unsigned long) buff) result += 1;
|
/external/opencv3/modules/core/misc/java/src/java/ |
core+MatOfKeyPoint.java | 50 float buff[] = new float[num * _channels]; local 53 buff[_channels*i+0] = (float) kp.pt.x; 54 buff[_channels*i+1] = (float) kp.pt.y; 55 buff[_channels*i+2] = kp.size; 56 buff[_channels*i+3] = kp.angle; 57 buff[_channels*i+4] = kp.response; 58 buff[_channels*i+5] = kp.octave; 59 buff[_channels*i+6] = kp.class_id; 61 put(0, 0, buff); //TODO: check ret val! 69 float buff[] = new float[num * _channels] local [all...] |
core+MatOfPoint3.java | 48 int buff[] = new int[num * _channels]; local 51 buff[_channels*i+0] = (int) p.x; 52 buff[_channels*i+1] = (int) p.y; 53 buff[_channels*i+2] = (int) p.z; 55 put(0, 0, buff); //TODO: check ret val! 63 int buff[] = new int[num * _channels]; local 64 get(0, 0, buff); //TODO: check ret val! 66 ap[i] = new Point3(buff[i*_channels], buff[i*_channels+1], buff[i*_channels+2]) [all...] |
core+MatOfPoint3f.java | 48 float buff[] = new float[num * _channels]; local 51 buff[_channels*i+0] = (float) p.x; 52 buff[_channels*i+1] = (float) p.y; 53 buff[_channels*i+2] = (float) p.z; 55 put(0, 0, buff); //TODO: check ret val! 63 float buff[] = new float[num * _channels]; local 64 get(0, 0, buff); //TODO: check ret val! 66 ap[i] = new Point3(buff[i*_channels], buff[i*_channels+1], buff[i*_channels+2]) [all...] |
core+MatOfDMatch.java | 51 float buff[] = new float[num * _channels]; local 54 buff[_channels*i+0] = m.queryIdx; 55 buff[_channels*i+1] = m.trainIdx; 56 buff[_channels*i+2] = m.imgIdx; 57 buff[_channels*i+3] = m.distance; 59 put(0, 0, buff); //TODO: check ret val! 67 float buff[] = new float[num * _channels]; local 68 get(0, 0, buff); //TODO: check ret val! 70 a[i] = new DMatch((int) buff[_channels*i+0], (int) buff[_channels*i+1], (int) buff[_channels*i+2], buff[_channels*i+3]) [all...] |
core+MatOfRect.java | 49 int buff[] = new int[num * _channels]; local 52 buff[_channels*i+0] = (int) r.x; 53 buff[_channels*i+1] = (int) r.y; 54 buff[_channels*i+2] = (int) r.width; 55 buff[_channels*i+3] = (int) r.height; 57 put(0, 0, buff); //TODO: check ret val! 66 int buff[] = new int[num * _channels]; local 67 get(0, 0, buff); //TODO: check ret val! 69 a[i] = new Rect(buff[i*_channels], buff[i*_channels+1], buff[i*_channels+2], buff[i*_channels+3]) [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/util/ |
UriEncoderTest.java | 32 ByteBuffer buff = ByteBuffer.allocate(10); local 33 buff.put((byte) 0x34); 34 buff.put((byte) 0x35); 35 buff.flip(); 36 assertEquals("45", UriEncoder.decode(buff)); 40 ByteBuffer buff = ByteBuffer.allocate(10); local 41 buff.put((byte) 0x34); 42 buff.put((byte) 0xC1); 43 buff.flip(); 45 UriEncoder.decode(buff); [all...] |
/ndk/sources/cxx-stl/stlport/src/ |
string.cpp | 12 wchar_t* buff = new wchar_t[size+1]; local 13 mbstowcs(buff, ascii, size); 14 buff[size] = 0x00; 15 wstring ret(buff); 16 delete[] buff; 21 char* buff = new char[size+1]; local 22 wcstombs(buff, wide, size); 23 buff[size] = 0; 24 string ret(buff); 25 delete[] buff; [all...] |
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
ScanHandler.java | 29 public void adup(char[] buff, int offset, int length) throws SAXException; 35 public void aname(char[] buff, int offset, int length) throws SAXException; 41 public void aval(char[] buff, int offset, int length) throws SAXException; 46 public void cdsect(char[] buff, int offset, int length) throws SAXException; 52 public void decl(char[] buff, int offset, int length) throws SAXException; 58 public void entity(char[] buff, int offset, int length) throws SAXException; 64 public void eof(char[] buff, int offset, int length) throws SAXException; 70 public void etag(char[] buff, int offset, int length) throws SAXException; 76 public void gi(char[] buff, int offset, int length) throws SAXException; 82 public void pcdata(char[] buff, int offset, int length) throws SAXException [all...] |
PYXScanner.java | 48 char[] buff = null; local 52 if (buff == null || buff.length < size) { 53 buff = new char[size]; 55 s.getChars(0, size, buff, 0); 56 switch (buff[0]) { 59 h.stagc(buff, 0, 0); 62 h.gi(buff, 1, size - 1); 67 h.stagc(buff, 0, 0); 70 h.etag(buff, 1, size - 1) [all...] |
PYXWriter.java | 37 public void adup(char[] buff, int offset, int length) throws SAXException { 42 public void aname(char[] buff, int offset, int length) throws SAXException { 44 theWriter.write(buff, offset, length); 46 attrName = new String(buff, offset, length); 49 public void aval(char[] buff, int offset, int length) throws SAXException { 50 theWriter.write(buff, offset, length); 55 public void cmnt(char [] buff, int offset, int length) throws SAXException { 57 // theWriter.write(buff, offset, length); 61 public void entity(char[] buff, int offset, int length) throws SAXException { } 65 public void eof(char[] buff, int offset, int length) throws SAXException [all...] |
/external/opencv3/modules/java/generator/src/java/ |
utils+Converters.java | 41 int[] buff = new int[count * 2]; local 44 buff[i * 2] = (int) p.x; 45 buff[i * 2 + 1] = (int) p.y; 47 res.put(0, 0, buff); 53 float[] buff = new float[count * 2]; local 56 buff[i * 2] = (float) p.x; 57 buff[i * 2 + 1] = (float) p.y; 59 res.put(0, 0, buff); 65 double[] buff = new double[count * 2]; local 68 buff[i * 2] = p.x 103 int[] buff = new int[count * 3]; local 116 float[] buff = new float[count * 3]; local 129 double[] buff = new double[count * 3]; local 167 int[] buff = new int[2 * count]; local 173 float[] buff = new float[2 * count]; local 179 double[] buff = new double[2 * count]; local 212 int[] buff = new int[3 * count]; local 218 float[] buff = new float[3 * count]; local 224 double[] buff = new double[3 * count]; local 240 int[] buff = new int[count * 2]; local 262 int[] buff = new int[count * 2]; local 275 float[] buff = new float[count]; local 296 float[] buff = new float[count]; local 358 int[] buff = new int[count]; local 379 int[] buff = new int[count]; local 407 int[] buff = new int[4 * count]; local 431 int[] buff = new int[4 * count]; local 443 double[] buff = new double[count * 7]; local 470 double[] buff = new double[7 * count]; local 609 double[] buff = new double[count]; local 630 double[] buff = new double[count]; local 642 double[] buff = new double[count * 4]; local 666 double[] buff = new double[4 * count]; local [all...] |
/external/llvm/lib/Fuzzer/test/ |
StrcmpTest.cpp | 9 char Buff[1024]; 12 if (Len >= sizeof(Buff)) return false; 13 memcpy(Buff, (char*)Data, Len); 14 Buff[Len] = 0; 15 int res = strcmp(Buff, Str);
|