/openthread-3.5.0/tools/gerrit/ |
D | README.md | 1 # git-squash-merge tool 3 `git-squash-merge` is a bash script to help squash merge a given branch into the current branch. Th… 5 …into the current branch. By default the changes are committed with a commit message containing the… 10 git-squash-merge [--no-list] [--no-commit] <branch> [<commit msg>]" 15 - `<branch>` specifies the name of branch to merge into current branch. 16 - `<commit msg>` is an optional parameter specifying text to add to the commit message. 20 - `--no-list` when used the commit message will not include the list of squashed commits. 21 - `--no-commit` when used, the tool squashes and stages the changes but does not commit" 26 ~/sw/openthread $ ./tools/gerrit/git-squash-merge.sh github/master "OpenThread GitHub sync" 27 commit 977287e73a3fcae297306b1e68da50d4bbee0d14 (HEAD) [all …]
|
D | git-squash-merge.sh | 41 …echo "By default, the changes are committed with a commit message which includes the list of all s… 42 echo "(use --no-commit and --no-list options to change default behavior)." 44 echo "Usage: $(basename "$0") [--no-list] [--no-commit] <branch> [<commit msg>]" 47 echo " <commit msg> An optional parameter specifying text to add to the commit message" 49 echo " --no-list The commit message will not include the list of squashed commits" 50 echo " --no-commit Squash and stage the changes but do not commit " 59 --help | -h | -[?]) 64 --no-list) 67 --no-commit) 70 --debug) set -x ;; [all …]
|
/openthread-3.5.0/third_party/mbedtls/repo/tests/git-scripts/ |
D | pre-commit.sh | 3 # pre-commit.sh 6 # SPDX-License-Identifier: Apache-2.0 12 # http://www.apache.org/licenses/LICENSE-2.0 23 # - check that generated files are up-to-date. 25 # It is meant to be called as a git pre-commit hook, see README.md. 27 # From the git sample pre-commit hook: 28 # Called by "git commit" with no arguments. The hook should 29 # exit with non-zero status after issuing an appropriate message if 30 # it wants to stop the commit. 32 set -eu [all …]
|
/openthread-3.5.0/third_party/mbedtls/repo/scripts/ |
D | assemble_changelog.py | 5 Add changelog entries to the first level-2 section. 6 Create a new level-2 section for unreleased changes if needed. 7 Remove the input files unless --keep-entries is specified. 9 In each level-3 section, entries are sorted in chronological order 12 the merge commit that brought the commit that created the file into 15 of the commit that adds them. 22 # SPDX-License-Identifier: Apache-2.0 28 # http://www.apache.org/licenses/LICENSE-2.0 47 def __init__(self, filename, line_number, message, *args, **kwargs): argument 48 message = '{}:{}: {}'.format(filename, line_number, [all …]
|
D | abi_check.py | 5 This script is a small wrapper around the abi-compliance-checker and 6 abi-dumper tools, applying them to compare the ABI and API of the library 10 Returns 0 on success, 1 on ABI/API non-compliance, and 2 if there is an error 15 # SPDX-License-Identifier: Apache-2.0 21 # http://www.apache.org/licenses/LICENSE-2.0 86 for command in ["abi-dumper", "abi-compliance-checker"]: 106 self.log.debug(fetch_output.decode("utf-8")) 114 [self.git_command, "worktree", "add", "--detach", 119 self.log.debug(worktree_output.decode("utf-8")) 120 version.commit = subprocess.check_output( [all …]
|
/openthread-3.5.0/third_party/mbedtls/repo/library/ |
D | mps_reader.c | 2 * Message Processing Stack, Reader implementation 5 * SPDX-License-Identifier: Apache-2.0 11 * http://www.apache.org/licenses/LICENSE-2.0 47 * and significantly increases the C-code line count, but 60 * on failure - this in turn has two benefits: 67 * and/or non-sensical calls. 68 * Moreover, it might even reduce code-size because 78 if( rd->acc == NULL ) in mps_reader_is_accumulating() 81 acc_remaining = rd->acc_share.acc_remaining; in mps_reader_is_accumulating() 88 unsigned char *frag = rd->frag; in mps_reader_is_producing() [all …]
|
/openthread-3.5.0/src/core/net/ |
D | dhcp6_server.cpp | 103 mPrefixAgentsCount--; in UpdateService() 170 newEntry->Set(aIp6Prefix, Get<Mle::MleRouter>().GetMeshLocalPrefix(), aContext.mContextId); in AddPrefixAgent() 171 Get<ThreadNetif>().AddUnicastAddress(newEntry->GetAloc()); in AddPrefixAgent() 184 … static_cast<Server *>(aContext)->HandleUdpReceive(AsCoreType(aMessage), AsCoreType(aMessageInfo)); in HandleUdpReceive() 187 void Server::HandleUdpReceive(Message &aMessage, const Ip6::MessageInfo &aMessageInfo) in HandleUdpReceive() 203 void Server::ProcessSolicit(Message &aMessage, const Ip6::Address &aDst, const TransactionId &aTran… in ProcessSolicit() 209 uint16_t length = aMessage.GetLength() - aMessage.GetOffset(); in ProcessSolicit() 215 // Server Identifier (assuming Rapid Commit, discard if present) in ProcessSolicit() 218 // Rapid Commit (assuming Rapid Commit, discard if not present) in ProcessSolicit() 237 uint16_t Server::FindOption(Message &aMessage, uint16_t aOffset, uint16_t aLength, Code aCode) in FindOption() [all …]
|
D | dhcp6_client.cpp | 144 idAssociation->mNetifAddress.mAddress = config.mPrefix.mPrefix; in UpdateAddresses() 145 idAssociation->mNetifAddress.mPrefixLength = config.mPrefix.mLength; in UpdateAddresses() 146 idAssociation->mStatus = kIaStatusSolicit; in UpdateAddresses() 147 idAssociation->mValidLifetime = 0; in UpdateAddresses() 156 idAssociation->mPrefixAgentRloc = config.mRloc16; in UpdateAddresses() 192 // not interrupt in-progress solicit in ProcessNextIdentityAssociation() 193 …VerifyOrExit(mIdentityAssociationCurrent == nullptr || mIdentityAssociationCurrent->mStatus != kIa… in ProcessNextIdentityAssociation() 229 switch (mIdentityAssociationCurrent->mStatus) in HandleTrickleTimer() 233 mIdentityAssociationCurrent->mStatus = kIaStatusSoliciting; in HandleTrickleTimer() 238 Solicit(mIdentityAssociationCurrent->mPrefixAgentRloc); in HandleTrickleTimer() [all …]
|
D | dhcp6.hpp | 37 #include "openthread-core-config.h" 43 #include "common/message.hpp" 55 * @addtogroup core-dhcp6 70 * DHCPv6 Message Types 130 * Returns the DHCPv6 message type. 132 * @returns The DHCPv6 message type. 138 * Sets the DHCPv6 message type. 140 * @param[in] aType The DHCPv6 message type. 146 * Returns the DHCPv6 message transaction identifier. 148 * @returns The DHCPv6 message transaction identifier. [all …]
|
/openthread-3.5.0/tests/scripts/expect/ |
D | _common.exp | 1 #!/usr/bin/expect -f 46 -re $success { 49 -re $failure { 62 expect -re "\[\r\n \]($line)(?=\[\r\n>\])" 76 set radio_url "spinel+hdlc+uart://$::env(OT_SIMULATION_APPS)/ncp/ot-rcp?forkpty-arg=$id" 84 set gcov_prefix "ot-run/$argv0/ot-gcda.$id" 87 switch -regexp ${type} { 88 {rcp|rcp-cli} { 89 spawn /usr/bin/env GCOV_PREFIX=$gcov_prefix $::env(OT_POSIX_APPS)/ot-cli $radio_url 97 … spawn /usr/bin/env GCOV_PREFIX=$gcov_prefix $::env(OT_SIMULATION_APPS)/cli/ot-cli-ftd $id [all …]
|
/openthread-3.5.0/.github/ |
D | dependabot.yml | 31 - package-ecosystem: "github-actions" 35 commit-message: 36 prefix: "github-actions" 37 rebase-strategy: "disabled" 38 open-pull-requests-limit: 1
|
/openthread-3.5.0/ |
D | CONTRIBUTING.md | 5 - [1 Code of Conduct](#code-of-conduct) 6 - [2 Bugs](#bugs) 7 - [3 New Features](#new-features) 8 - [4 Contributing Code](#contributing-code) 9 - [4.1 Initial Setup](#initial-setup) 10 - [4.2 Contributor License Agreement (CLA)](#contributor-license-agreement--cla-) 11 - [4.3 Submitting a Pull Request](#submitting-a-pull-request) 12 - [5 Contributing Documentation](#contributing-documentation) 20 …issue and step-by-step instructions for predictably reproducing the issue. Even better, you can [s… 28 - _Large feature_: first [submit a GitHub Issue](https://github.com/openthread/openthread/issues/ne… [all …]
|
/openthread-3.5.0/tests/toranj/cli/ |
D | cli.py | 43 # -------------------------------------------------------------------------------------------------… 52 RADIO_15_4 = "-15.4" 53 RADIO_TREL = "-trel" 54 RADIO_15_4_TREL = "-15.4-trel" 56 # -------------------------------------------------------------------------------------------------… 67 # -------------------------------------------------------------------------------------------------… 73 def __init__(self, error_code, message): argument 75 self._message = message 82 def message(self): member in CliError 86 # -------------------------------------------------------------------------------------------------… [all …]
|
/openthread-3.5.0/tools/harness-thci/ |
D | OpenThread.py | 88 LOGX = re.compile(r'((\[(-|C|W|N|I|D)\])' 89 … r'|(-+$)' # e.x. ------------------------------------------------------------------------ 95 assert LOGX.match('[-]') 101 assert LOGX.match('------------------------------------------------------------------------') 108 logging.basicConfig(level=logging.INFO, format="%(asctime)s - %(levelname)s - %(message)s") 131 _callStackDepth -= 1 214 Thread_Device_Role.SED: '-', 219 Thread_Device_Role.SSED: '-', 391 # print('%s - %s - %s' % (self.port, time.strftime('%b %d %H:%M:%S'), msg)) 486 `Param9` should be a JSON string encoded in URL-safe base64 encoding. [all …]
|
D | OpenThread_WpanCtl.py | 124 retry_times -= 1 127 times -= 1 213 retry_times -= 1 267 retry_times -= 1 288 if (value[0] == '"' and value[-1] == '"') or (value[0] == '[' and value[-1] == ']'): 289 return value[1:-1] 299 segments[i] = '0' * (4 - len(element)) + element 302 segments = segments[:empty] + ['0000'] * (8 - len(segments) + 1) + segments[empty + 1:] 311 r: rx-on-when-idle 457 startCmd = self.wpan_cmd_prefix + '%s "%s" -c %s -T %s ' % ( [all …]
|
/openthread-3.5.0/tools/otci/otci/ |
D | otci.py | 86 duration -= 1 99 already_is_ok: bool = True) -> List[str]: 113 already_is_ok: bool = True) -> List[str]: 133 if output[-1] == 'Done' or (already_is_ok and output[-1] == 'Error 24: Already'): 134 output = output[:-1] 167 …"""Returns the firmware version. (e.g. "OPENTHREAD/20191113-01411-gb2d66e424-dirty; SIMULATION; No… 195 def get_ifconfig_state(self) -> bool: 219 …ived>\d+) packets received.(?: Packet loss = (?P<loss>\d+\.\d+)%.)?(?: Round-trip min/avg/max = (?… 228 timeout: float = 3) -> Dict: 242 … lines = self.execute_command(cmd, timeout=(count - 1) * interval + timeout + timeout_allowance) [all …]
|