Searched defs:string_size (Results 1 - 13 of 13) sorted by relevance

/external/google-breakpad/src/common/linux/
H A Delf_symbols_to_module.cc140 size_t string_size,
146 if (string_section[string_size - 1] != '\0') {
147 const void* null_terminator = memrchr(string_section, '\0', string_size);
148 string_size = reinterpret_cast<const uint8_t*>(null_terminator)
151 ByteBuffer strings(string_section, string_size);
137 ELFSymbolsToModule(const uint8_t *symtab_section, size_t symtab_size, const uint8_t *string_section, size_t string_size, const bool big_endian, size_t value_size, Module *module) argument
/external/libxkbcommon/xkbcommon/src/compose/
H A Dpaths.c56 size_t string_size; local
71 ok = map_file(file, &string, &string_size);
77 end = string + string_size;
131 unmap_file(string, string_size);
/external/webrtc/webrtc/system_wrappers/source/
H A Ddata_log_unittest.cc221 std::string string_size[kNumberOfRows] = { local
238 std::vector<std::string>(string_size,
239 string_size + kNumberOfRows),
275 std::vector<std::string>(string_size,
276 string_size +
/external/freetype/src/type42/
H A Dt42parse.c540 FT_ULong n, string_size, old_string_size, real_size; local
572 string_size = 0;
596 string_size = (FT_ULong)( ( parser->root.cursor - cur - 2 + 1 ) / 2 );
597 if ( !string_size )
603 if ( FT_REALLOC( string_buf, old_string_size, string_size ) )
609 (void)T1_ToBytes( parser, string_buf, string_size, &real_size, 1 );
610 old_string_size = string_size;
611 string_size = real_size;
635 string_size = (FT_ULong)tmp;
643 if ( (FT_ULong)( limit - parser->root.cursor ) <= string_size )
[all...]
/external/python/cpython2/Modules/_io/
H A Dbytesio.c9 Py_ssize_t string_size; member in struct:__anon19383
35 str_end = self->buf + self->string_size;
122 if (self->pos > self->string_size) {
126 0 lo string_size hi
131 memset(self->buf + self->string_size, '\0',
132 (self->pos - self->string_size) * sizeof(char));
136 data if self->pos < self->string_size. */
141 if (self->string_size < self->pos) {
142 self->string_size = self->pos;
195 return PyBytes_FromStringAndSize(self->buf, self->string_size);
[all...]
H A Dstringio.c14 Py_ssize_t string_size; member in struct:__anon19386
148 if (self->pos + len > self->string_size) {
153 if (self->pos > self->string_size) {
157 0 lo string_size hi
163 memset(self->buf + self->string_size, '\0',
164 (self->pos - self->string_size) * sizeof(Py_UNICODE));
168 existing data if self->pos < self->string_size. */
173 if (self->string_size < self->pos) {
174 self->string_size = self->pos;
193 return PyUnicode_FromUnicode(self->buf, self->string_size);
[all...]
/external/python/cpython2/Modules/
H A DcStringIO.c47 Py_ssize_t pos, string_size; member in struct:__anon19442
57 Py_ssize_t pos, string_size; member in struct:__anon19443
68 Py_ssize_t pos, string_size; member in struct:__anon19444
139 if (s > self->string_size) s=self->string_size;
142 s=self->string_size;
165 assert(IOOOBJECT(self)->string_size >= 0);
166 l = ((IOobject*)self)->string_size - ((IOobject*)self)->pos;
204 end = ((IOobject*)self)->buf + ((IOobject*)self)->string_size;
218 assert(IOOOBJECT(self)->string_size >
[all...]
/external/freetype/src/pcf/
H A Dpcfread.c489 FT_ULong string_size; local
586 (void)FT_READ_ULONG( string_size );
588 (void)FT_READ_ULONG_LE( string_size );
592 FT_TRACE4(( " string size: %ld\n", string_size ));
595 if ( string_size > size - orig_nprops * PCF_PROPERTY_SIZE )
603 if ( string_size > 16777472 ) /* 256 * (65536 + 1) */
607 string_size = 16777472;
611 if ( FT_NEW_ARRAY( strings, string_size + 1 ) )
614 error = FT_Stream_Read( stream, (FT_Byte*)strings, string_size );
630 ( (FT_ULong)name_offset > string_size ) )
[all...]
/external/python/cpython3/Modules/_io/
H A Dbytesio.c15 Py_ssize_t string_size; member in struct:__anon19989
62 if (self->pos >= self->string_size)
66 maxlen = self->string_size - self->pos;
86 not lesser than self->string_size. Returns 0 on success, -1 otherwise. */
93 assert(size >= (size_t)self->string_size);
98 self->string_size);
173 if (unshare_buffer(self, Py_MAX(endpos, (size_t)self->string_size)) < 0)
177 if (self->pos > self->string_size) {
181 0 lo string_size hi
186 memset(PyBytes_AS_STRING(self->buf) + self->string_size, '\
[all...]
H A Dstringio.c24 Py_ssize_t string_size; member in struct:__anon19993
219 if (self->string_size == self->pos) {
228 if (self->pos + len > self->string_size) {
233 if (self->pos > self->string_size) {
237 0 lo string_size hi
243 memset(self->buf + self->string_size, '\0',
244 (self->pos - self->string_size) * sizeof(Py_UCS4));
248 existing data if self->pos < self->string_size. */
258 if (self->string_size < self->pos)
259 self->string_size
[all...]
/external/tcpdump/
H A Dutil-print.c526 size_t space_left = sizeof(buf), string_size; local
543 string_size = strlcpy(bufp, sepstr, space_left);
544 if (string_size >= space_left)
546 bufp += string_size;
547 space_left -= string_size;
550 string_size = strlcpy(bufp, lp->s, space_left);
551 if (string_size >= space_left)
553 bufp += string_size;
554 space_left -= string_size;
/external/selinux/mcstrans/src/
H A Dmcstrans.c955 string_size(const void *p1, const void *p2) { function
1007 qsort(sortable, n_el, sizeof(char *), string_size);
/external/vixl/test/aarch32/
H A Dtest-assembler-aarch32.cc1177 const int string_size = AlignUp(ldrd_range + kMaxInstructionSizeInBytes, 4); local
1178 std::string test_string(string_size, 'x');
1226 const int string_size = AlignUp(ldrd_range + kMaxInstructionSizeInBytes, 4); local
1227 std::string test_string(string_size, 'x');
1278 const int string_size = AlignUp(ldrd_range + kMaxInstructionSizeInBytes, 4); local
1279 std::string test_string(string_size, 'x');
1521 const int string_size = AlignUp(ldrd_range + kMaxInstructionSizeInBytes, 4); local
1522 std::string test_string(string_size, 'x');
1565 const int string_size = AlignUp(ldrd_range + kMaxInstructionSizeInBytes, 4); local
1566 std::string test_string(string_size, '
1626 const int string_size = ldrd_range + offset; local
5149 const int string_size = 1000; // A lot more than the cbz range. local
[all...]

Completed in 465 milliseconds