Home
last modified time | relevance | path

Searched refs:trim (Results 26 - 50 of 441) sorted by relevance

12345678910>>...18

/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DCodedOutputStream.php56 public function writeVarint32($value, $trim)
59 $size = self::writeVarintToArray($value, $bytes, $trim);
104 public static function writeVarintToArray($value, &$buffer, $trim = false) variable
111 GPBUtil::divideInt64ToInt32($value, $high, $low, $trim);
/third_party/rust/crates/unicode-ident/generate/src/
H A Dparse.rs38 if line.starts_with('#') || line.trim().is_empty() { in parse_xid_properties()
60 codepoint = codepoint.trim(); in parse_line()
69 let name = rest.trim().split('#').next()?.trim_end(); in parse_line()
/kernel/linux/linux-5.10/kernel/bpf/
H A Dlpm_trie.c438 struct lpm_trie_node __rcu **trim, **trim2; in trie_delete_elem() local
456 trim = &trie->root; in trie_delete_elem()
457 trim2 = trim; in trie_delete_elem()
460 *trim, lockdep_is_held(&trie->lock)))) { in trie_delete_elem()
468 trim2 = trim; in trie_delete_elem()
470 trim = &node->child[next_bit]; in trie_delete_elem()
516 rcu_assign_pointer(*trim, rcu_access_pointer(node->child[0])); in trie_delete_elem()
518 rcu_assign_pointer(*trim, rcu_access_pointer(node->child[1])); in trie_delete_elem()
520 RCU_INIT_POINTER(*trim, NULL); in trie_delete_elem()
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-x1205.c293 static int x1205_get_dtrim(struct i2c_client *client, int *trim) in x1205_get_dtrim() argument
320 *trim = 0; in x1205_get_dtrim()
323 *trim += 20; in x1205_get_dtrim()
326 *trim += 10; in x1205_get_dtrim()
329 *trim = -*trim; in x1205_get_dtrim()
334 static int x1205_get_atrim(struct i2c_client *client, int *trim) in x1205_get_atrim() argument
369 *trim = (atr * 250) + 11000; in x1205_get_atrim()
371 dev_dbg(&client->dev, "%s: real=%d\n", __func__, *trim); in x1205_get_atrim()
H A Drtc-rs5c372.c322 static int rs5c372_get_trim(struct i2c_client *client, int *osc, int *trim) in rs5c372_get_trim() argument
330 if (trim) { in rs5c372_get_trim()
331 dev_dbg(&client->dev, "%s: raw trim=%x\n", __func__, tmp); in rs5c372_get_trim()
344 *trim = tmp; in rs5c372_get_trim()
472 int err, osc, trim; in rs5c372_rtc_proc() local
474 err = rs5c372_get_trim(to_i2c_client(dev), &osc, &trim); in rs5c372_rtc_proc()
478 seq_printf(seq, "trim\t\t: %d\n", trim); in rs5c372_rtc_proc()
502 int err, trim; in rs5c372_sysfs_show_trim() local
504 err = rs5c372_get_trim(to_i2c_client(dev), NULL, &trim); in rs5c372_sysfs_show_trim()
[all...]
/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-x1205.c293 static int x1205_get_dtrim(struct i2c_client *client, int *trim) in x1205_get_dtrim() argument
320 *trim = 0; in x1205_get_dtrim()
323 *trim += 20; in x1205_get_dtrim()
326 *trim += 10; in x1205_get_dtrim()
329 *trim = -*trim; in x1205_get_dtrim()
334 static int x1205_get_atrim(struct i2c_client *client, int *trim) in x1205_get_atrim() argument
369 *trim = (atr * 250) + 11000; in x1205_get_atrim()
371 dev_dbg(&client->dev, "%s: real=%d\n", __func__, *trim); in x1205_get_atrim()
H A Drtc-rs5c372.c324 static int rs5c372_get_trim(struct i2c_client *client, int *osc, int *trim) in rs5c372_get_trim() argument
336 if (trim) { in rs5c372_get_trim()
337 dev_dbg(&client->dev, "%s: raw trim=%x\n", __func__, tmp); in rs5c372_get_trim()
350 *trim = tmp; in rs5c372_get_trim()
478 int err, osc, trim; in rs5c372_rtc_proc() local
480 err = rs5c372_get_trim(to_i2c_client(dev), &osc, &trim); in rs5c372_rtc_proc()
484 seq_printf(seq, "trim\t\t: %d\n", trim); in rs5c372_rtc_proc()
681 int err, trim; in rs5c372_sysfs_show_trim() local
683 err = rs5c372_get_trim(to_i2c_client(dev), NULL, &trim); in rs5c372_sysfs_show_trim()
[all...]
/kernel/linux/linux-6.6/kernel/bpf/
H A Dlpm_trie.c441 struct lpm_trie_node __rcu **trim, **trim2; in trie_delete_elem() local
459 trim = &trie->root; in trie_delete_elem()
460 trim2 = trim; in trie_delete_elem()
463 *trim, lockdep_is_held(&trie->lock)))) { in trie_delete_elem()
471 trim2 = trim; in trie_delete_elem()
473 trim = &node->child[next_bit]; in trie_delete_elem()
519 rcu_assign_pointer(*trim, rcu_access_pointer(node->child[0])); in trie_delete_elem()
521 rcu_assign_pointer(*trim, rcu_access_pointer(node->child[1])); in trie_delete_elem()
523 RCU_INIT_POINTER(*trim, NULL); in trie_delete_elem()
/third_party/icu/icu4c/source/tools/genrb/
H A Dprscmnts.cpp71 trim(UChar *src, int32_t srcLen, UErrorCode *status){ in trim() function
80 srcLen = trim(source, srcLen, status); in removeCmtText()
142 return trim(*dest, destLen, status); in getDescription()
233 return trim(*dest, destLen, status); in getTranslate()
243 return trim(*dest, destLen, status); in getNote()
/third_party/node/deps/icu-small/source/tools/genrb/
H A Dprscmnts.cpp71 trim(char16_t *src, int32_t srcLen, UErrorCode *status){ in trim() function
80 srcLen = trim(source, srcLen, status); in removeCmtText()
142 return trim(*dest, destLen, status); in getDescription()
233 return trim(*dest, destLen, status); in getTranslate()
243 return trim(*dest, destLen, status); in getNote()
/third_party/node/deps/npm/node_modules/spdx-correct/
H A Dindex.js90 return argument.trim()
286 var transformed = transforms[i](identifier).trim()
331 identifier.trim().length !== 0
336 identifier = identifier.trim()
340 var noPlus = identifier.replace(/\+$/, '').trim()
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/
H A DPrefixTreeTest.java142 assertThat(prefixes("1234").trim(3)).containsExactly("123"); in testTrim()
143 assertThat(prefixes("12").trim(3)).containsExactly("12"); in testTrim()
144 assertThat(prefixes("1234").trim(0)).containsExactly(RangeSpecification.empty()); in testTrim()
147 assertThat(prefixes("12[0-4]5", "12[5-9]").trim(3)).containsExactly("12"); in testTrim()
148 assertThat(prefixes("7001", "70[1-9]", "7[1-9]").trim(3)).containsExactly("7"); in testTrim()
/third_party/skia/third_party/externals/icu/source/tools/genrb/
H A Dprscmnts.cpp71 trim(UChar *src, int32_t srcLen, UErrorCode *status){ in trim() function
80 srcLen = trim(source, srcLen, status); in removeCmtText()
142 return trim(*dest, destLen, status); in getDescription()
233 return trim(*dest, destLen, status); in getTranslate()
243 return trim(*dest, destLen, status); in getNote()
/kernel/linux/linux-5.10/scripts/
H A Dparse-maintainers.pl101 sub trim { subroutine
153 $line = $1 . ":\t" . trim($2) . "\n";
158 $case = trim($lastline);
170 trim($lastline) eq "" or die ("Odd non-pattern line '$lastline' for '$case'");
/kernel/linux/linux-6.6/scripts/
H A Dparse-maintainers.pl101 sub trim { subroutine
153 $line = $1 . ":\t" . trim($2) . "\n";
158 $case = trim($lastline);
170 trim($lastline) eq "" or die ("Odd non-pattern line '$lastline' for '$case'");
/third_party/typescript/tests/baselines/reference/
H A DpropertyAssignmentUseParentType3.js17 foo3.trim = "";
38 foo3.trim = "";
H A DassertionFunctionWildcardImport2.js19 obj.trim();
39 obj.trim();
H A DuncaughtCompilerError1.js5 if (lineTokens[index].trim() === '=' && index > 0 && token.type === '' && tokens[index - 1].type === 'attribute.name.html') {
19 if (lineTokens[index].trim() === '=' && index > 0 && token.type === '' && tokens[index - 1].type === 'attribute.name.html') {
/third_party/node/deps/npm/node_modules/semver/node_modules/lru-cache/
H A Dindex.js58 trim(this)
76 trim(this)
95 trim(this)
184 trim(this)
201 trim(this)
287 const trim = self => {
/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/json/
H A Djson.h532 inline const char* trim(const char* data)
753 data = trim(data);
759 data = trim(data + 1);
761 data = trim(data + 1);
768 data = trim(parse_string(data + 1, key));
774 data = trim(data + 1);
793 data = trim(data + 1);
809 data = trim(data + 1);
811 data = trim(data + 1);
831 data = trim(dat
[all...]
/third_party/node/test/parallel/
H A Dtest-child-process-spawnsync-args.js33 const expectedResult = tmpdir.path.trim().toLowerCase();
45 return stdout.toString().trim().toLowerCase();
H A Dtest-child-process-stdio-inherit.js49 assert.strictEqual(output.trim(), input.trim());
H A Dtest-child-process-spawn-args.js33 const expectedResult = tmpdir.path.trim().toLowerCase();
48 resolve(accumulatedData.toString().trim().toLowerCase());
H A Dtest-child-process-exec-maxbuf.js31 assert.strictEqual(stdout.trim(), 'a'.repeat(1024 * 1024 - 1));
41 assert.strictEqual(stdout.trim(), 'hello world');
82 assert.strictEqual(stdout.trim(), 'a'.repeat(1024 * 1024 - 1));
/third_party/rust/crates/rustix/tests/thread/
H A Dprctl.rs132 let line = line.trim(); in is_linux_kernel_config_item_enabled()
138 if let Some(current_name) = iter.next().map(str::trim) { in is_linux_kernel_config_item_enabled()
140 if let Some(mut value) = iter.next().map(str::trim) { in is_linux_kernel_config_item_enabled()

Completed in 13 milliseconds

12345678910>>...18