Home
last modified time | relevance | path

Searched refs:in (Results 1 – 25 of 946) sorted by relevance

12345678910>>...38

/developtools/hdc/src/common/
Dserial_struct_define.h275 static bool ReadByte(uint8_t &value, reader &in)
277 return in.Read(&value, 1) == 1;
317 static bool ReadVarint(uint32_t &value, reader &in)
322 if (!ReadByte(x, in)) {
334 static bool ReadVarint(uint64_t &value, reader &in)
339 if (!ReadByte(x, in)) {
351 static bool ReadVarint(unsigned long &value, reader &in)
354 if (ReadVarint(intermediateValue, in)) {
425 static bool ReadFixed(uint32_t &value, reader &in)
428 return in.Read(&value, sizeof(value)) == sizeof(value);
[all …]
/developtools/global_resource_tool/src/
Dresource_table.cpp103 ifstream in(path, ios::binary); in LoadResTable() local
104 if (!in.is_open()) { in LoadResTable()
109 in.seekg(0, ios::end); in LoadResTable()
110 int32_t length = in.tellg(); in LoadResTable()
112 in.close(); in LoadResTable()
115 in.seekg(0, ios::beg); in LoadResTable()
119 if (!ReadFileHeader(in, indexHeader, pos, length)) { in LoadResTable()
120 in.close(); in LoadResTable()
125 if (!ReadLimitKeys(in, limitKeys, indexHeader.limitKeyConfigSize, pos, length)) { in LoadResTable()
126 in.close(); in LoadResTable()
[all …]
Dresource_check.cpp92 bool ResourceCheck::IsValidPngImage(FILE *&in) const in IsValidPngImage()
95 if (fread(checkheader, 1, PNG_BYTRS_TO_CHECK, in) != PNG_BYTRS_TO_CHECK) { in IsValidPngImage()
102 rewind(in); in IsValidPngImage()
108 FILE *in = fopen(filePath.c_str(), "rb"); in GetPngWidthAndHeight() local
109 if (in == nullptr) { in GetPngWidthAndHeight()
113 if (!IsValidPngImage(in)) { in GetPngWidthAndHeight()
115 CloseFile(in); in GetPngWidthAndHeight()
120 CloseFile(in); in GetPngWidthAndHeight()
125 CloseFile(in); in GetPngWidthAndHeight()
129 png_init_io(pngHandle, in); in GetPngWidthAndHeight()
[all …]
/developtools/ace_js2bundle/ace-loader/test/rich/testcase/pages/forDirective/
DforDirective.hml9 <div for="personItem in list" onclick="test($idx)">
17 <div for="(personIndex, personItem) in list" onclick="test(personItem)">
24 <div for="(personIndex, personItem) in list" onclick="test(personItem)">
25 <div for="(index,item) in menu">
31 <div for="(personIndex, personItem) in list" onclick="test(personItem)">
32 <div for="(index,item) in personItem">
39 <div for="(personIndex, personItem) in list" onclick="test(personItem)">
46 <div for="(value, index) in value.list" onclick="test(value)">
51 <div for="shrinkClass in flexShrinkClass" onclick="test(value)">
/developtools/ace_js2bundle/ace-loader/test/lite/testcase/pages/forDirective/
DforDirective.hml9 <div for="personItem in list" onclick="test($idx)">
17 <div for="(personIndex, personItem) in list" onclick="test(personItem)">
24 <div for="(personIndex, personItem) in list" onclick="test(personItem)">
25 <div for="(index,item) in menu">
31 <div for="(personIndex, personItem) in list" onclick="test(personItem)">
32 <div for="(index,item) in personItem">
38 <div for="(personIndex, personItem) in list" onclick="test(personItem)">
45 <div for="(value, index) in value.list" onclick="test(value)">
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/components/
DXAxis.ets4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
29 * width of the x-axis labels in pixels - this is automatically
30 * calculated by the computeSize() methods in the renderers
35 * height of the x-axis labels in pixels - this is automatically
36 * calculated by the computeSize() methods in the renderers
41 * width of the (rotated) x-axis labels in pixels - this is automatically
42 * calculated by the computeSize() methods in the renderers
47 * height of the (rotated) x-axis labels in pixels - this is automatically
48 * calculated by the computeSize() methods in the renderers
[all …]
/developtools/hapsigner/autosign/
DREADME.md19 1. Run the `start_creat.bat` file in the terminal to generate certs.
21 3. Run the `start_sign.bat` file in the terminal to start signing.
22 4. The generated artifacts will be saved in the folder you set in `config.targetDir` as default.
35 2. Run the `start_create.sh` file in the terminal to generate certs.
41 4. Run the `start_sign.sh` file in the terminal to start signing.
45 5. The generated artifacts will be saved in the folder you set in `config.targetDir` as default.
/developtools/syscap_codec/
DREADME.md5 APP development: IDE collect APP required SysCap and API verssion as in RPCID encoder input. And ID…
46 2. Building cmd should be adjust for host platform as same as SDK compiling, the archive will in co…
91 …of all components (or specified components), compare them with arraySyscap in developtools/ syscap…
92 …elds of all components and compare them with the @syscap property set in *.d.ts in the Interface/s…
93 3. Compare syscap attributes in *.d.ts in all interface/ sdK-JS/API directories with arraySyscap in
97 This tool is written in Python language and needs to be executed using the Python interpreter.
108 # check syscap field in all components for consistency with arraySyscap in syscap_define.h
111 # check that the SYSCAP field in bundle.json of the specified part is consistent with arraySyscap i…
114 # check the consistency of the syscap field of all components with the "@syscap" property set in *.…
117 # check the "@syscap" attribute set in *.d.ts for consistency with arraSyscap in syscap_define.h
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/utils/
DMPPointF.ets4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
76 * Return a new point from the data in the specified parcel.
79 public MPPointF createFromParcel(Parcel in) {
81 r.my_readFromParcel(in);
96 * Set the point's coordinates from the data stored in the specified
99 * @param in The parcel to read the point's coordinates from
101 /* public void my_readFromParcel(Parcel in) {
102 x = in.readFloat();
103 y = in.readFloat();
/developtools/profiler/host/smartperf/trace_streamer/src/protos/types/plugins/cpu_data/
Dcpu_plugin_config.proto3 // you may not use this file except in compliance with the License.
8 // Unless required by applicable law or agreed to in writing, software
20 // Cpu plug-in configuration, passed to plug-in by plug-in service.
/developtools/profiler/protos/types/plugins/cpu_data/
Dcpu_plugin_config.proto3 // you may not use this file except in compliance with the License.
8 // Unless required by applicable law or agreed to in writing, software
20 // Cpu plug-in configuration, passed to plug-in by plug-in service.
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/cpu_data/
Dcpu_plugin_config.proto3 // you may not use this file except in compliance with the License.
8 // Unless required by applicable law or agreed to in writing, software
20 // Cpu plug-in configuration, passed to plug-in by plug-in service.
/developtools/profiler/host/smartperf/trace_streamer/src/protos/types/plugins/diskio_data/
Ddiskio_plugin_config.proto3 // you may not use this file except in compliance with the License.
8 // Unless required by applicable law or agreed to in writing, software
19 // Diskio plug-in configuration, passed to plug-in by plug-in service.
/developtools/profiler/protos/types/plugins/diskio_data/
Ddiskio_plugin_config.proto3 // you may not use this file except in compliance with the License.
8 // Unless required by applicable law or agreed to in writing, software
19 // Diskio plug-in configuration, passed to plug-in by plug-in service.
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/diskio_data/
Ddiskio_plugin_config.proto3 // you may not use this file except in compliance with the License.
8 // Unless required by applicable law or agreed to in writing, software
19 // Diskio plug-in configuration, passed to plug-in by plug-in service.
/developtools/ace_ets2bundle/compiler/sample/pages/testcases/
DpropSimpleModel.ets4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
19 @State countDownStartValue: number = 10; // 10 Nuggets default start value in a Game
24 Text("+1 - Nuggets in New Game")
29 Text("-1 - Nuggets in New Game")
34 …g ChildComponent, the initial value of its @Prop variable must be supplied in a named constructor …
/developtools/ace_ets2bundle/compiler/test/
DREADME.md24 First, create a new test file or directory in `compiler/test`.
25 Write source code in variable 'source', and write expected code in variable 'expectResult':
36 All files in the `compiler/test` will be tested.
39 1. Create a new test directory `foo` in `compiler`.
40 2. Create a new test file `bar.ts` in `compiler/foo`.
60 5. All files in the `compiler/test` will be tested. The output is like the following lines:
/developtools/hapsigner/
DNOTICE1 …g with this software and/or this software component contributed by Huawei (in the following just “…
16 and associated documentation files (the "Software"), to deal in the Software without restriction,
21 The above copyright notice and this permission notice shall be included in all copies or substantial
68 "Work" shall mean the work of authorship, whether in Source or
70 copyright notice that is included in or attached to the work
71 (an example is provided in the Appendix below).
73 "Derivative Works" shall mean any work, whether in Source or Object
84 submitted to Licensor for inclusion in the Work by the copyright owner
93 designated in writing by the copyright owner as "Not a Contribution."
104 Work and such Derivative Works in Source or Object form.
[all …]
/developtools/profiler/protos/types/plugins/ftrace_data/default/
Dtrace_plugin_config.proto3 // you may not use this file except in compliance with the License.
8 // Unless required by applicable law or agreed to in writing, software
22 uint32 flush_interval_ms = 5; // time interval in milliseconds to notify service process
26 uint32 trace_period_ms = 10; // time interval in milliseconds to read kernel trace buffer
28 uint32 trace_duration_ms = 20; // time duration in millisconds for trace actions
/developtools/profiler/host/smartperf/trace_streamer/src/protos/types/plugins/ftrace_data/default/
Dtrace_plugin_config.proto3 // you may not use this file except in compliance with the License.
8 // Unless required by applicable law or agreed to in writing, software
22 uint32 flush_interval_ms = 5; // time interval in milliseconds to notify service process
26 uint32 trace_period_ms = 10; // time interval in milliseconds to read kernel trace buffer
28 uint32 trace_duration_ms = 20; // time duration in millisconds for trace actions
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/default/
Dtrace_plugin_config.proto3 // you may not use this file except in compliance with the License.
8 // Unless required by applicable law or agreed to in writing, software
22 uint32 flush_interval_ms = 5; // time interval in milliseconds to notify service process
26 uint32 trace_period_ms = 10; // time interval in milliseconds to read kernel trace buffer
28 uint32 trace_duration_ms = 20; // time duration in millisconds for trace actions
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/highlight/
DHighlight.ets4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
44 * the index of the data object - in case it refers to more than one
49 * the index of the dataset the highlighted value is in
112 * returns the x-position of the highlight in pixels
119 * returns the y-position of the highlight in pixels
126 * the index of the data object - in case it refers to more than one
139 * returns the index of the DataSet the highlighted value is in
182 * Returns the x-position in pixels where this highlight object was last drawn.
191 * Returns the y-position in pixels where this highlight object was last drawn.
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/data/
DScatterDataSet.ets4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
34 * the size the scattershape will have, in density pixels
44 * The radius of the hole in the shape (applies to Square, Circle and Triangle)
50 * Color for the hole in the shape.
79 * Sets the size in density pixels the drawn scattershape will have. This
109 * Sets the radius of the hole in the shape (applies to Square, Circle and Triangle)
123 * Sets the color for the hole in the shape.
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/interfaces/datasets/
DIScatterDataSet.ets4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
30 * Returns radius of the hole in the shape
37 * Returns the color for the hole in the shape
/developtools/integration_verification/tools/startup_guard/rules/NO-Config-Cmds-In-Init/
DREADME.md148 [NOT ALLOWED]: 'init_global_key' is timeout command, in /system/etc/init.cfg
150 [WARNING]: 'storage_daemon' cannot be started in boot mode
151 [WARNING]: 'hilogd' cannot be started in conditional mode
153 [WARNING]: multimodalinput is not in start cmd list. path:/system/etc/init/multimodalinput.cfg

12345678910>>...38