HomeSort by relevance Sort by last modified time
    Searched refs:new_string (Results 1 - 24 of 24) sorted by null

  /system/bt/osi/src/
allocator.cc 33 char* new_string = static_cast<char*>( local
35 if (!new_string) return NULL;
37 memcpy(new_string, str, size);
38 return new_string;
49 char* new_string = static_cast<char*>( local
51 if (!new_string) return NULL;
53 memcpy(new_string, str, size);
54 new_string[size] = '\0';
55 return new_string;
  /frameworks/base/tools/aapt2/compile/
PseudolocaleGenerator_test.cpp 30 std::unique_ptr<StyledString> new_string = PseudolocalizeStyledString( local
34 EXPECT_EQ(original_style.str, new_string->value->value);
35 ASSERT_EQ(original_style.spans.size(), new_string->value->spans.size());
37 EXPECT_EQ(std::string("i"), *new_string->value->spans[0].name);
38 EXPECT_EQ(std::u16string(u"H").size(), new_string->value->spans[0].first_char);
39 EXPECT_EQ(std::u16string(u"Hello worl").size(), new_string->value->spans[0].last_char);
41 EXPECT_EQ(std::string("b"), *new_string->value->spans[1].name);
42 EXPECT_EQ(std::u16string(u"He").size(), new_string->value->spans[1].first_char);
43 EXPECT_EQ(std::u16string(u"Hel").size(), new_string->value->spans[1].last_char);
45 EXPECT_EQ(std::string("b"), *new_string->value->spans[2].name)
77 std::unique_ptr<StyledString> new_string = PseudolocalizeStyledString( local
99 std::unique_ptr<StyledString> new_string = PseudolocalizeStyledString( local
122 std::unique_ptr<StyledString> new_string = PseudolocalizeStyledString( local
163 std::unique_ptr<StyledString> new_string = local
270 String* new_string = test::GetValueForConfig<String>(table.get(), "android:string\/bar", local
    [all...]
PseudolocaleGenerator.cpp 129 std::string new_string = localizer.Start(); local
138 uint32_t new_cursor = utf8_to_utf16_length(reinterpret_cast<const uint8_t*>(new_string.data()),
139 new_string.size(), false);
162 new_string += new_substr;
189 new_string += new_substr;
201 new_string += localizer.Text(util::Utf16ToUtf8(text.substr(cursor, text.size() - cursor)));
202 new_string += localizer.End();
205 localized.str = std::move(new_string);
  /external/ltp/testcases/kernel/fs/inode/
inode01.c 308 char new_string[PATH_STRING_LENGTH + 1]; local
328 snp_ret = snprintf(new_string, sizeof(new_string),
330 if (snp_ret < 0 || snp_ret >= sizeof(new_string)) {
331 tst_resm(TBROK, "snprintf(new_string,..) "
352 file_id = creat(new_string, FILE_MODE);
356 new_string, errno);
360 printf("%d %s F\n", level, new_string);
369 len = strlen(new_string);
372 write(file_id, new_string, len)
    [all...]
inode02.c 411 char new_string[PATH_STRING_LENGTH + 1]; local
431 snp_ret = snprintf(new_string, sizeof(new_string),
433 if (snp_ret < 0 || snp_ret >= sizeof(new_string)) {
434 tst_resm(TBROK, "snprintf(new_string,..) "
455 file_id = creat(new_string, FILE_MODE);
459 new_string, errno);
464 new_string);
473 len = strlen(new_string);
476 write(file_id, new_string, len)
    [all...]
  /toolchain/binutils/binutils-2.25/libiberty/
setenv.c 147 char *new_string = (char *) malloc (namelen + 1 + vallen); local
148 if (new_string == NULL)
153 *ep = new_string;
  /external/v8/src/ast/
ast-value-factory.cc 293 AstConsString* new_string = new (zone_) AstConsString(left, right); local
294 CHECK(new_string != nullptr);
295 AddString(new_string);
296 return new_string;
389 AstRawString* new_string = new (zone_) AstRawString( local
391 CHECK_NOT_NULL(new_string);
392 AddString(new_string);
393 entry->key = new_string;
  /external/dng_sdk/source/
dng_string.h 125 const char *new_string,
dng_string.cpp 1617 const char *new_string,
1631 uint32 len3 = strlenAsUint32 (new_string);
1637 new_string,
1646 new_string,
1682 new_string,
    [all...]
  /toolchain/binutils/binutils-2.25/bfd/
hash.c 483 char *new_string; local
485 new_string = (char *) objalloc_alloc ((struct objalloc *) table->memory,
487 if (!new_string)
492 memcpy (new_string, string, len + 1);
493 string = new_string;
  /art/runtime/mirror/
string-inl.h 273 String* new_string = Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); local
274 return new_string;
285 String* new_string = Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); local
286 return new_string;
string.cc 146 ObjPtr<String> new_string = Alloc<true>(self, length_with_flag, allocator_type, visitor); local
147 if (UNLIKELY(new_string == nullptr)) {
151 uint8_t* new_value = new_string->GetValueCompressed();
155 uint16_t* new_value = new_string->GetValue();
171 return new_string.Ptr();
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
tokenizer.c 134 new_string(const char *s, Py_ssize_t len) function
161 return new_string(str, strlen(str));
237 char* r = new_string(begin, t - begin);
241 r = new_string(q, strlen(q));
363 tok->encoding = new_string("utf-8", 5); /* resulting is in utf-8 */
796 converted = new_string(PyString_AS_STRING(utf8),
806 tok->encoding = new_string(encoding, strlen(encoding));
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
tokenizer.c 134 new_string(const char *s, Py_ssize_t len) function
161 return new_string(str, strlen(str));
237 char* r = new_string(begin, t - begin);
241 r = new_string(q, strlen(q));
377 tok->encoding = new_string("utf-8", 5); /* resulting is in utf-8 */
816 converted = new_string(PyString_AS_STRING(utf8),
826 tok->encoding = new_string(encoding, strlen(encoding));
    [all...]
  /external/python/cpython2/Parser/
tokenizer.c 134 new_string(const char *s, Py_ssize_t len) function
161 return new_string(str, strlen(str));
238 char* r = new_string(begin, t - begin);
245 r = new_string(q, strlen(q));
381 tok->encoding = new_string("utf-8", 5); /* resulting is in utf-8 */
820 converted = new_string(PyString_AS_STRING(utf8),
830 tok->encoding = new_string(encoding, strlen(encoding));
    [all...]
  /external/libpcap/
pcap-win32.c 871 char *new_string; local
877 new_string = (char*)malloc(len);
878 if (new_string != NULL)
881 strcpy_s(new_string, len, p->opt.device + strlen(PCAP_SRC_IF_STRING));
883 p->opt.device = new_string;
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_xml_etree.py 100 new_string = string + ""
101 new_string = string + " "
    [all...]
  /external/python/cpython2/Lib/test/
test_xml_etree.py 100 new_string = string + ""
101 new_string = string + " "
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_xml_etree.py 100 new_string = string + ""
101 new_string = string + " "
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_xml_etree.py 100 new_string = string + ""
101 new_string = string + " "
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_xml_etree.py 100 new_string = string + ""
101 new_string = string + " "
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_xml_etree.py 100 new_string = string + ""
101 new_string = string + " "
    [all...]
  /external/v8/src/
code-stub-assembler.cc     [all...]
  /art/runtime/
debugger.cc 1287 mirror::String* new_string = mirror::String::AllocFromModifiedUtf8(self, str.c_str()); local
    [all...]

Completed in 633 milliseconds