/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 | 758 def inner(text): argument 760 text += '\n\n<b>Units</b>: %s\n' % (dedent(entry.units)) 762 text += '\n\n<b>Possible values:</b>\n<ul>\n' 765 text += ' <li>{@link #%s %s}</li>\n' % ( jenum_value(entry, value ), value.name ) 766 text += '</ul>\n' 769 text += '\n\n<b>Available values for this device:</b><br>\n' 771 text += '\n\n<b>Range of valid values:</b><br>\n' 772 text += '%s\n' % (dedent(entry.range)) 774 text += '\n\n<b>Optional</b> - The value for this key may be {@code null} on some devices.\n' 776 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 | 36 uint8_t* text; member 106 xor_128((Octet16*)&cmac_cb.text[(cmac_cb.round - i) * OCTET16_LEN], x); in cmac_aes_k_calculate() 108 output = aes_128(key, &cmac_cb.text[(cmac_cb.round - i) * OCTET16_LEN], OCTET16_LEN); in cmac_aes_k_calculate() 127 xor_128((Octet16*)&cmac_cb.text[0], k1); in cmac_prepare_last_block() 130 padding((Octet16*)&cmac_cb.text[0], (uint8_t)(cmac_cb.len % 16)); in cmac_prepare_last_block() 132 xor_128((Octet16*)&cmac_cb.text[0], k2); in cmac_prepare_last_block() 181 cmac_cb.text = (uint8_t*)alloca(len); in aes_cmac() 186 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/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/bt/gd/packet/parser/ |
D | util.h | 153 inline std::string StringFindAndReplaceAll(std::string text, const std::string& old, const std::str… in StringFindAndReplaceAll() argument 154 auto pos = text.find(old); in StringFindAndReplaceAll() 156 text.replace(pos, old.size(), replacement); in StringFindAndReplaceAll() 157 pos = text.find(old, pos + replacement.size()); in StringFindAndReplaceAll() 159 return text; in StringFindAndReplaceAll()
|
/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/core/debuggerd/tombstoned/ |
D | tombstoned.cpp | 74 std::string text; member 79 CrashArtifact text; member 177 result.text = create_temporary_file(); in get_output() 182 result.text = create_temporary_file(); in get_output() 197 result.text = StringPrintf("%s%02d", file_name_prefix_.c_str(), next_artifact_); in get_next_artifact_paths() 295 output_fd.reset(dup(crash->output.text.fd)); in perform_request() 451 if (crash->output.text.fd == -1) { in crash_completed() 458 if (rename_tombstone_fd(crash->output.text.fd, queue->dir_fd(), paths.text)) { in crash_completed() 460 LOG(ERROR) << "Traces for pid " << crash->crash_pid << " written to: " << paths.text; in crash_completed() 465 LOG(ERROR) << "Tombstone written to: " << paths.text; in crash_completed() [all …]
|
/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/tools/aidl/ |
D | parser.h | 35 AidlToken(const std::string& text, android::aidl::Comments comments) in AidlToken() argument 36 : text_(text), comments_(std::move(comments)) {} in AidlToken() 48 void Append(T&& text) { in Append() argument 49 text_ += std::forward<T>(text); in Append()
|
/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 | 194 bool DmTargetSnapshot::ParseStatusText(const std::string& text, Status* status) { in ParseStatusText() argument 196 int args = sscanf(text.c_str(), "%" PRIu64 "/%" PRIu64 " %" PRIu64, &status->sectors_allocated, in ParseStatusText() 201 auto sections = android::base::Split(text, " "); in ParseStatusText() 208 if (text == "Invalid" || text == "Overflow") { in ParseStatusText() 209 status->error = text; in ParseStatusText() 212 } else if (sections.size() == 2 && text == "Merge failed") { in ParseStatusText() 213 status->error = text; in ParseStatusText()
|
/system/bt/test/mock/ |
D | mock_common_stop_watch_legacy.cc | 41 StopWatchLegacy::StopWatchLegacy(std::string text) in StopWatchLegacy() argument 42 : text_(std::move(text)), in StopWatchLegacy()
|
/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/logging/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/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 | 88 std::string getTextAround(const std::string& text, size_t pos, in getTextAround() argument 95 (start_pos = text.rfind('\n', start_pos)) != std::string::npos) { in getTextAround() 99 start_pos = text.rfind('\n', start_pos); in getTextAround() 105 (pos = text.find('\n', pos)) != std::string::npos) { in getTextAround() 109 return text.substr(start_pos, (pos == std::string::npos) ? in getTextAround()
|