/system/bt/gd/os/linux_generic/ |
D | files_test.cc | 34 std::string text = "Hello world!\n"; in TEST() local 35 ASSERT_TRUE(WriteToFile(temp_file.string(), text)); in TEST() 44 std::string text = "Hello world!\n"; in TEST() local 45 ASSERT_TRUE(WriteToFile(temp_file.string(), text)); in TEST() 46 EXPECT_THAT(ReadSmallFile(temp_file.string()), Optional(StrEq(text))); in TEST() 50 EXPECT_THAT(ReadSmallFile(to_file.string()), Optional(StrEq(text))); in TEST() 58 std::string text = "Hello world!\n"; in TEST() local 59 ASSERT_TRUE(WriteToFile(temp_file.string(), text)); in TEST() 60 EXPECT_THAT(ReadSmallFile(temp_file.string()), Optional(StrEq(text))); in TEST() 67 std::string text = "Hello world!\n"; in TEST() local [all …]
|
/system/media/camera/docs/ |
D | metadata_helpers.py | 753 def inner(text): argument 755 text += '\n\n<b>Units</b>: %s\n' % (dedent(entry.units)) 757 text += '\n\n<b>Possible values:</b>\n<ul>\n' 760 text += ' <li>{@link #%s %s}</li>\n' % ( jenum_value(entry, value ), value.name ) 761 text += '</ul>\n' 764 text += '\n\n<b>Available values for this device:</b><br>\n' 766 text += '\n\n<b>Range of valid values:</b><br>\n' 767 text += '%s\n' % (dedent(entry.range)) 769 text += '\n\n<b>Optional</b> - The value for this key may be {@code null} on some devices.\n' 771 text += \ [all …]
|
D | html.mako | 22 <style type="text/css"> 26 a:link { color: #258aaf; text-decoration: none} 27 a:hover { color: #459aaf; text-decoration: underline } 28 a:visited { color: #154a5f; text-decoration: none} 33 .entries_header { background-color: #dddddd; text-align: center} 38 .toc_deprecated { text-decoration:line-through; } 58 .entry_name_deprecated { text-decoration:line-through; } 81 text-align: center; font-size: 1.1em; margin-left: 0em; margin-right: 0em; } 113 def br(text): 114 return re.sub(r"(\r?\n)(\r?\n)", r"\1<br>\2<br>", text) [all …]
|
/system/extras/simpleperf/scripts/inferno/ |
D | script.js | 54 let text = x.getElementsByTagName('text')[0]; 61 text.textContent = ''; 77 text.textContent = methodName; 81 text.textContent = methodName.substring(0, numCharacters-2) + '..'; 130 let text = callsites[i].getElementsByTagName('text')[0]; 139 text.style.display = 'none'; 143 text.style.display = 'block'; 150 text.attributes['y'].value = newrec_y + 12; 151 text.attributes['x'].value = newrec_x; 252 let text = titleElement.textContent; [all …]
|
/system/bt/gd/crypto_toolbox/ |
D | aes_cmac.cc | 34 uint8_t* text; member 104 xor_128((Octet16*)&cmac_cb.text[(cmac_cb.round - i) * OCTET16_LEN], x); in cmac_aes_k_calculate() 106 output = aes_128(key, &cmac_cb.text[(cmac_cb.round - i) * OCTET16_LEN], OCTET16_LEN); in cmac_aes_k_calculate() 125 xor_128((Octet16*)&cmac_cb.text[0], k1); in cmac_prepare_last_block() 128 padding((Octet16*)&cmac_cb.text[0], (uint8_t)(cmac_cb.len % 16)); in cmac_prepare_last_block() 130 xor_128((Octet16*)&cmac_cb.text[0], k2); in cmac_prepare_last_block() 178 cmac_cb.text = (uint8_t*)alloca(len); in aes_cmac() 183 memcpy(&cmac_cb.text[diff], input, (int)length); in aes_cmac()
|
/system/bt/stack/crypto_toolbox/ |
D | aes_cmac.cc | 36 uint8_t* text; member 111 xor_128((Octet16*)&cmac_cb.text[(cmac_cb.round - i) * OCTET16_LEN], x); in cmac_aes_k_calculate() 113 output = aes_128(key, &cmac_cb.text[(cmac_cb.round - i) * OCTET16_LEN], in cmac_aes_k_calculate() 136 xor_128((Octet16*)&cmac_cb.text[0], k1); in cmac_prepare_last_block() 139 padding((Octet16*)&cmac_cb.text[0], (uint8_t)(cmac_cb.len % 16)); in cmac_prepare_last_block() 141 xor_128((Octet16*)&cmac_cb.text[0], k2); in cmac_prepare_last_block() 195 cmac_cb.text = (uint8_t*)alloca(len); in aes_cmac() 200 memcpy(&cmac_cb.text[diff], input, (int)length); in aes_cmac()
|
/system/bt/gd/packet/parser/ |
D | util.h | 128 inline std::string StringFindAndReplaceAll(std::string text, const std::string& old, const std::str… in StringFindAndReplaceAll() argument 129 auto pos = text.find(old); in StringFindAndReplaceAll() 131 text.replace(pos, old.size(), replacement); in StringFindAndReplaceAll() 132 pos = text.find(old, pos + replacement.size()); in StringFindAndReplaceAll() 134 return text; in StringFindAndReplaceAll()
|
/system/core/init/parser/ |
D | tokenizer.cpp | 58 current_.text.clear(); in Next() 84 current_.text.clear(); in Next() 118 current_.text.clear(); in StartText() 125 current_.text.append(data_, tok_start_, pos_ - tok_start_); in EndText()
|
/system/netd/libnetdutils/ |
D | Log.cpp | 56 std::vector<std::string> text; in toString() local 58 if (!mMsg.empty()) text.push_back(mMsg); in toString() 60 text.push_back(StringPrintf("%s(%s)", mFunc.c_str(), Join(mArgs, ", ").c_str())); in toString() 63 text.push_back("->"); in toString() 64 text.push_back(StringPrintf("(%s)", Join(mReturns, ", ").c_str())); in toString() 66 if (!mUid.empty()) text.push_back(mUid); in toString() 67 if (!mDuration.empty()) text.push_back(StringPrintf("(%s)", mDuration.c_str())); in toString() 69 return Join(text, " "); in toString()
|
/system/core/libcutils/ |
D | config_utils.cpp | 116 char *text; member 224 cs->text = s; in _lex() 235 tok == T_TEXT ? cs->text : ""); 266 node = config_find(root, cs->text); in parse_expr() 268 node = _config_create(root, cs->text); in parse_expr() 275 node = _config_create(node, cs->text); in parse_expr() 279 node->value = cs->text; in parse_expr()
|
/system/teeui/libteeui/include/teeui/ |
D | label.h | 71 LabelImpl(pxs fontSize, pxs lineHeight, text_t text, Alignment horizontal, in LabelImpl() argument 73 : fontSize_(fontSize), lineHeight_(lineHeight), text_(text), in LabelImpl() 79 void setText(text_t text) { text_ = text; } in setText() argument 82 text_t text() const { return text_; } in text() function 139 #define DefaultText(text) static const constexpr char label_text[] = text argument
|
/system/core/init/ |
D | tokenizer.cpp | 43 goto text; in next_token() 51 text: in next_token() 52 state->text = s = x; in next_token()
|
D | tokenizer.h | 30 char *text; member
|
/system/extras/simpleperf/scripts/ |
D | report_html.js | 65 updateAsync(text, progress) { argument 68 if (text) { 69 this.modal.find('.modal-title').text(text); 73 .attr('aria-valuenow', progress).text(progress + '%'); 122 let text; 124 text = attrs.text; 125 delete attrs.text; 128 if (text) { 129 s += text; 483 return [name, eventCount, getHtml('pre', {text: name}) + property [all …]
|
/system/core/fs_mgr/libdm/ |
D | dm_target.cpp | 192 bool DmTargetSnapshot::ParseStatusText(const std::string& text, Status* status) { in ParseStatusText() argument 194 int args = sscanf(text.c_str(), "%" PRIu64 "/%" PRIu64 " %" PRIu64, &status->sectors_allocated, in ParseStatusText() 199 auto sections = android::base::Split(text, " "); in ParseStatusText() 206 if (text == "Invalid" || text == "Overflow") { in ParseStatusText() 207 status->error = text; in ParseStatusText() 210 } else if (sections.size() == 2 && text == "Merge failed") { in ParseStatusText() 211 status->error = text; in ParseStatusText()
|
/system/sepolicy/tools/sepolicy-analyze/ |
D | neverallow.c | 377 static int check_neverallows(policydb_t *policydb, char *text, char *end) in check_neverallows() argument 385 p = text; in check_neverallows() 458 char *text, *end; in check_neverallows_file() local 470 text = mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in check_neverallows_file() 471 end = text + sb.st_size; in check_neverallows_file() 472 if (text == MAP_FAILED) { in check_neverallows_file() 478 return check_neverallows(policydb, text, end); in check_neverallows_file() 483 char *text, *end; in check_neverallows_string() local 484 text = string; in check_neverallows_string() 485 end = text + len; in check_neverallows_string() [all …]
|
/system/chre/build/sys_support/qcom/ |
D | uimage.lcs.toolv80 | 51 *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*) 83 .text : 85 *(.text.unlikely .text.*_unlikely) 86 *(.text.hot .text.hot.* .gnu.linkonce.t.hot.*) 87 *(.text .stub .text.* .gnu.linkonce.t.*)
|
/system/teeui/libteeui/src/ |
D | font_rendering.cpp | 131 findLongestWordSequence(TextFace* face, const UTF8Range<const char*>& text, in findLongestWordSequence() argument 140 UTF8WordRange<const char*> wordRange(text); in findLongestWordSequence() 198 resultRange = {**rangeBegin, *text.end()}; in findLongestWordSequence() 213 Error drawText(TextFace* face, const UTF8Range<const char*>& text, const PixelDrawer& drawPixel, in drawText() argument 217 for (auto c : text) { in drawText()
|
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/ |
D | Utils.java | 19 import java.text.DateFormat; 20 import java.text.DecimalFormat; 21 import java.text.ParseException;
|
/system/core/liblog/include/android/ |
D | log.h | 98 int __android_log_write(int prio, const char* tag, const char* text); 170 int __android_log_buf_write(int bufID, int prio, const char* tag, const char* text);
|
/system/core/include/android/ |
D | log.h | 98 int __android_log_write(int prio, const char* tag, const char* text); 170 int __android_log_buf_write(int bufID, int prio, const char* tag, const char* text);
|
/system/timezone/input_tools/android/telephonylookup_generator/ |
D | README.android | 1 This tool generates the telephonylookup.xml file from the telephonylookup.txt (proto text) file.
|
/system/memory/lmkd/tests/ |
D | lmkd_test.cpp | 87 std::string getTextAround(const std::string& text, size_t pos, in getTextAround() argument 94 (start_pos = text.rfind('\n', start_pos)) != std::string::npos) { in getTextAround() 98 start_pos = text.rfind('\n', start_pos); in getTextAround() 104 (pos = text.find('\n', pos)) != std::string::npos) { in getTextAround() 108 return text.substr(start_pos, (pos == std::string::npos) ? in getTextAround()
|
/system/tools/aidl/ |
D | parser.h | 34 AidlToken(const std::string& text, const std::string& comments) in AidlToken() argument 35 : text_(text), comments_(comments) {} in AidlToken()
|
/system/core/libutils/ |
D | RefBase.cpp | 272 String8 text; in printRefs() local 280 text.append(buf); in printRefs() 281 printRefsLocked(&text, mStrongRefs); in printRefs() 285 text.append(buf); in printRefs() 286 printRefsLocked(&text, mWeakRefs); in printRefs() 295 (void)write(rc, text.string(), text.length()); in printRefs()
|