Searched refs:bytes (Results 76 - 100 of 1004) sorted by relevance

1234567891011>>

/external/kernel-headers/original/linux/netfilter/
H A Dxt_sctp.h39 #define bytes(type) (sizeof(type) * 8) macro
43 chunkmap[type / bytes(u_int32_t)] |= \
44 1 << (type % bytes(u_int32_t)); \
49 chunkmap[type / bytes(u_int32_t)] &= \
50 ~(1 << (type % bytes(u_int32_t))); \
55 (chunkmap[type / bytes (u_int32_t)] & \
56 (1 << (type % bytes (u_int32_t)))) ? 1: 0; \
/external/kernel-headers/original/linux/netfilter_ipv4/
H A Dipt_sctp.h37 #define bytes(type) (sizeof(type) * 8) macro
41 chunkmap[type / bytes(u_int32_t)] |= \
42 1 << (type % bytes(u_int32_t)); \
47 chunkmap[type / bytes(u_int32_t)] &= \
48 ~(1 << (type % bytes(u_int32_t))); \
53 (chunkmap[type / bytes (u_int32_t)] & \
54 (1 << (type % bytes (u_int32_t)))) ? 1: 0; \
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/
H A DSHA1_MessageDigestTest.java153 byte[] bytes = new byte[LENGTH];
154 for (int i = 0; i < bytes.length; i++ ) {
155 bytes[i] = (byte) i;
158 md.update(bytes, 0, LENGTH);
173 * it checks out that the method always return array of 20 bytes length
177 byte[] bytes = null;
187 bytes = md.digest();
188 assertEquals("length of digest != DIGESTLENGTH", bytes.length, DIGESTLENGTH);
316 byte[] bytes = null;
322 bytes
[all...]
/external/libffi/src/
H A Dprep_cif.c91 unsigned bytes = 0; local
123 bytes = STACK_ARG_SIZE(sizeof(void*));
143 bytes += sizeof(void*);
148 if (((*ptr)->alignment - 1) & bytes)
149 bytes = ALIGN(bytes, (*ptr)->alignment);
151 bytes += STACK_ARG_SIZE((*ptr)->size);
156 cif->bytes = bytes;
/external/openssl/crypto/bn/
H A Dbn_rand.c121 int ret=0,bit,bytes,mask; local
130 bytes=(bits+7)/8;
134 buf=(unsigned char *)OPENSSL_malloc(bytes);
147 if (RAND_pseudo_bytes(buf, bytes) == -1)
152 if (RAND_bytes(buf, bytes) <= 0)
164 for (i = 0; i < bytes; i++)
198 buf[bytes-1]|=1;
199 if (!BN_bin2bn(buf,bytes,rnd)) goto err;
204 OPENSSL_cleanse(buf,bytes);
/external/openssl/crypto/rand/
H A Drand_egd.c66 * RAND_query_egd_bytes(path, buf, bytes)
67 * will actually query "bytes" bytes of entropy form the egd-socket located
70 * The number of bytes is not limited by the maximum chunk size of EGD,
71 * which is 255 bytes. If more than 255 bytes are wanted, several chunks
72 * of entropy bytes are requested. The connection is left open until the
76 * num the number of bytes read from the EGD socket. This number is either
77 * the number of bytes requested or smaller, if the EGD pool is
82 * RAND_egd_bytes(path, bytes) wil
99 RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes) argument
108 RAND_egd_bytes(const char *path,int bytes) argument
136 RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes) argument
284 RAND_egd_bytes(const char *path, int bytes) argument
[all...]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DSecureClassLoader2Test.java47 public Class define(String name, byte[] bytes) {
48 return defineClass(name, bytes, 0, bytes.length,
66 byte[] bytes = InputStreamHelper.readFullyAndClose(in);
67 Class c = myloader.define("packA.SecurityTest", bytes);
/external/bouncycastle/src/main/java/org/bouncycastle/util/
H A DBigIntegers.java23 byte[] bytes = value.toByteArray();
25 if (bytes[0] == 0)
27 byte[] tmp = new byte[bytes.length - 1];
29 System.arraycopy(bytes, 1, tmp, 0, tmp.length);
34 return bytes;
/external/emma/core/java12/com/vladium/jcd/cls/attribute/
H A DException_info.java114 Exception_info (final UDataInputStream bytes) throws IOException argument
116 m_start_pc = bytes.readU2 ();
117 m_end_pc = bytes.readU2 ();
118 m_handler_pc = bytes.readU2 ();
119 m_catch_type = bytes.readU2 ();
H A DInnerClass_info.java79 InnerClass_info (final UDataInputStream bytes) throws IOException argument
81 m_inner_class_index = bytes.readU2 ();
82 m_outer_class_index = bytes.readU2 ();
83 m_inner_name_index = bytes.readU2 ();
84 m_inner_access_flags = bytes.readU2 ();
H A DLineNumber_info.java87 LineNumber_info (final UDataInputStream bytes) throws IOException argument
89 m_start_pc = bytes.readU2 ();
90 m_line_number = bytes.readU2 ();
/external/tremolo/Tremolo/
H A Dmisc.c58 long bytes; member in struct:__anon10260
64 static void *_insert(void *ptr,long bytes,char *file,long line){ argument
68 ((head *)ptr)->bytes=bytes-HEAD_ALIGN;
113 file_bytes[i]+=bytes-HEAD_ALIGN;
122 file_bytes[i]-(bytes-HEAD_ALIGN));
132 global_bytes+(bytes-HEAD_ALIGN));
137 global_bytes+=(bytes-HEAD_ALIGN);
152 long bytes =((head *)ptr)->bytes; local
209 _VDBG_malloc(void *ptr,long bytes,char *file,long line) argument
[all...]
/external/webkit/Source/WebCore/platform/cf/
H A DKURLCFNet.cpp45 char* bytes = &buffer[5]; local
46 CFURLGetBytes(url, reinterpret_cast<UInt8*>(bytes), bytesLength);
47 bytes[bytesLength] = '\0';
48 if (bytes[0] != '/') {
49 parse(bytes, 0);
65 // Currently it throws away the high bytes of the characters in the string in that case,
73 // could either be a malformed string or bytes in a different encoding, like Shift-JIS, so we fall back
/external/webkit/Source/WebCore/platform/image-decoders/wx/
H A DImageDecoderWx.cpp51 const unsigned char* bytes = (const unsigned char*)m_bytes; local
57 p.Red() = bytes[i + 2];
58 p.Green() = bytes[i + 1];
59 p.Blue() = bytes[i + 0];
60 p.Alpha() = bytes[i + 3];
/external/elfutils/tests/
H A Drun-show-ciefde.sh30 CIE[0]: bytes = 0c 04 04 88 01 00 00
32 FDE[0]: bytes = 18 00 00 00 18 00 00 00 2c 84 04 08 29 00 00 00 41 0e 08 85 02 42 0d 05 41 83 03 00
45 CIE[0]: bytes = 0c 04 04 88 01
50 CIE[1]: bytes = 0c 04 04 88 01 00 00
55 CIE[2]: bytes = 0c 04 04 88 01 00 00
60 CIE[3]: bytes = 0c 04 04 88 01
65 CIE[4]: bytes = 0c 04 04 88 01 00 00
67 FDE[0]: bytes = 2c 00 00 00 1c 00 00 00 fc 93 04 08 9a 00 00 00 41 0e 08 85 02 42 0d 05 53 2e 08 50 2e 10 48 2e 00 58 2e 10 62 2e 00 63 2e 10 45 2e 00 00 00 00
71 FDE[1]: bytes = 18 00 00 00 4c 00 00 00 98 94 04 08 31 00 00 00 41 0e 08 85 02 42 0d 05 4c 2e 10 00
75 FDE[2]: bytes
[all...]
/external/llvm/utils/
H A Dcodegen-diff13 my ($addr, $bytes, $instr) = ($1, $2, $4);
15 $bytes =~ s/\s*(.*\S)\s*/$1/; # trim any remaining whitespace
17 push (@result, {'addr' => $addr, 'bytes' => $bytes, 'instr' => $instr});
18 print "addr=$addr bytes='$bytes' instr='$instr'\n" if $DEBUG;
33 my ($addr, $bytes, $instr) = ($1, $3, $2);
34 $bytes =~ s/0x//g;
35 $bytes =~ s/\s+/ /g; # regularize whitespace
36 $bytes
[all...]
/external/webkit/Source/WebCore/svg/
H A DSVGPathByteStream.h33 unsigned char bytes[sizeof(bool)]; member in union:WebCore::__anon11974
38 unsigned char bytes[sizeof(float)]; member in union:WebCore::__anon11975
43 unsigned char bytes[sizeof(unsigned short)]; member in union:WebCore::__anon11976
/external/apache-http/src/org/apache/commons/codec/net/
H A DBCodec.java76 protected byte[] doEncoding(byte[] bytes) throws EncoderException { argument
77 if (bytes == null) {
80 return Base64.encodeBase64(bytes);
83 protected byte[] doDecoding(byte[] bytes) throws DecoderException { argument
84 if (bytes == null) {
87 return Base64.decodeBase64(bytes);
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/
H A DDEROutputStream.java45 byte[] bytes)
49 writeLength(bytes.length);
50 write(bytes);
86 void writeEncoded(int flags, int tagNo, byte[] bytes) argument
90 writeLength(bytes.length);
91 write(bytes);
43 writeEncoded( int tag, byte[] bytes) argument
/external/chromium/net/base/
H A Dio_buffer.cc56 void DrainableIOBuffer::DidConsume(int bytes) { argument
57 SetOffset(used_ + bytes);
64 // Returns the number of consumed bytes.
69 void DrainableIOBuffer::SetOffset(int bytes) { argument
70 DCHECK(bytes >= 0 && bytes <= size_);
71 used_ = bytes;
/external/dbus/dbus/
H A Ddbus-memory.c141 _dbus_verbose ("Will fail mallocs over %ld bytes\n",
348 _dbus_verbose ("Checking %d bytes request from source %s\n",
358 _dbus_warn ("Block of %lu bytes from %s had start guard value 0x%ux at %d expected 0x%x\n",
373 _dbus_warn ("Block of %lu bytes from %s had end guard value 0x%ux at %d expected 0x%x\n",
382 /* set memory to anything but nul bytes */
440 * Allocates the given number of bytes, as with standard
441 * malloc(). Guaranteed to return #NULL if bytes is zero
448 * @param bytes number of bytes to allocate
452 dbus_malloc (size_t bytes) argument
505 dbus_malloc0(size_t bytes) argument
556 dbus_realloc(void *memory, size_t bytes) argument
[all...]
/external/emma/core/java12/com/vladium/jcd/cls/
H A DField_info.java75 final UDataInputStream bytes)
78 m_access_flags = bytes.readU2 ();
80 m_name_index = bytes.readU2 ();
81 m_descriptor_index = bytes.readU2 ();
84 final int attributes_count = bytes.readU2 ();
89 final Attribute_info attribute_info = Attribute_info.new_Attribute_info (constants, bytes);
74 Field_info(final IConstantCollection constants, final UDataInputStream bytes) argument
/external/qemu/distrib/sdl-1.2.12/src/video/maccommon/
H A DSDL_macmouse.c56 int row, bytes; local
72 bytes = (w+7)/8;
75 SDL_memcpy(&cursor->curs.data[row], data, bytes);
76 data += bytes;
79 SDL_memcpy(&cursor->curs.mask[row], mask, bytes);
80 mask += bytes;
/external/valgrind/main/memcheck/tests/
H A Ddescribe-block.stderr.exp4 Address 0x........ is 0 bytes inside a magic foople zone of size 4,096 client-defined
9 in use at exit: ... bytes in ... blocks
10 total heap usage: ... allocs, ... frees, ... bytes allocated
/external/chromium/net/tools/flip_server/
H A Dbuffer_interface.h14 // Returns the bytes which can be read from the buffer. There is no
15 // guarantee that the bytes are contiguous.
25 // returns the number of bytes free in this buffer.
27 // number of bytes free.
43 // appends up-to-'size' bytes to the buffer.
45 // bytes - bytes which are read, and copied into the buffer.
46 // size - number of bytes which are read and copied.
48 virtual int Write(const char* bytes, int size) = 0;
58 // size - the amount of data (in bytes) tha
[all...]

Completed in 756 milliseconds

1234567891011>>