| /third_party/ltp/testcases/network/nfsv4/locks/ |
| H A D | locktests.c | 11 * this region, such as read, write, set a new lock ... The expected 206 write(0, ".", 1); in initClientFork() 254 write(0, ".", 1); in loadProcess() 309 write(dp.lclnt[i][1], message, M_SIZE); in serverSendLocal() 346 write(slaveWriter, message, M_SIZE); in clientSend() 426 return write(dp.lclnt[slave][1], message, M_SIZE); in serverSendLockLocal() 482 #define P(a,b) memset(dbg,0,16);sprintf(dbg,a,b);write(0,dbg,16); 533 write(dp.lclnt[i][1], message, M_SIZE); in masterClient() 554 r = write(fdServer, message, M_SIZE); in masterClient() 556 perror("write in masterClient() [all...] |
| /third_party/rust/crates/regex/regex-syntax/src/ast/ |
| H A D | print.rs | 204 Exactly(x) => write!(self.wtr, "{{{}}}", x), in fmt_repetition_range() 205 AtLeast(x) => write!(self.wtr, "{{{},}}", x), in fmt_repetition_range() 206 Bounded(x, y) => write!(self.wtr, "{{{},{}}}", x, y), in fmt_repetition_range() 215 Punctuation => write!(self.wtr, r"\{}", ast.c), in fmt_literal() 216 Octal => write!(self.wtr, r"\{:o}", ast.c as u32), in fmt_literal() 218 write!(self.wtr, r"\x{:02X}", ast.c as u32) in fmt_literal() 221 write!(self.wtr, r"\u{:04X}", ast.c as u32) in fmt_literal() 224 write!(self.wtr, r"\U{:08X}", ast.c as u32) in fmt_literal() 227 write!(self.wtr, r"\x{{{:X}}}", ast.c as u32) in fmt_literal() 230 write!(sel in fmt_literal() [all...] |
| /base/update/packaging_tools/ |
| H A D | update_package.py | 350 zip_file.write(key, value)
359 zip_file.write(update_exe_path, UPDATE_EXE_FILE_NAME)
363 zip_file.write(total_script_file_obj.name, TOTAL_SCRIPT_FILE_NAME)
366 zip_file.write(register_script_file_obj.name, REGISTER_SCRIPT_FILE_NAME)
417 zip_file.write(OPTIONS_MANAGER.update_bin_obj.name, "update.bin")
419 zip_file.write(OPTIONS_MANAGER.build_tools_zip_obj.name, BUILD_TOOLS_FILE_NAME)
421 zip_file.write(OPTIONS_MANAGER.board_list_file_path, "board_list")
424 zip_file.write(OPTIONS_MANAGER.version_mbn_file_path, "version_list")
428 max_stash_file_obj.write(str(OPTIONS_MANAGER.max_stash_size))
430 zip_file.write(max_stash_file_ob [all...] |
| /foundation/communication/ipc/interfaces/innerkits/rust/src/parcel/ |
| H A D | msg.rs | 99 /// parcel.write(&self.a) 104 /// msg.write(&Foo { a: 1 }).unwrap(); 107 pub fn write<T: Serialize + ?Sized>(&mut self, value: &T) -> IpcResult<()> { in write() functions 125 /// parcel.write(&self.a) 134 /// msg.write(&Foo { a: 1 }).unwrap(); 187 /// .write(true) 220 /// .write(true) 312 /// reply.write("nihao"); 336 /// reply.write("nihao"); 370 /// msg.write( [all...] |
| /kernel/linux/linux-5.10/arch/powerpc/platforms/52xx/ |
| H A D | mpc52xx_lpbfifo.c | 71 int write = req->flags & MPC52XX_LPBFIFO_FLAG_WRITE; in mpc52xx_lpbfifo_kick() local 93 if (write) { in mpc52xx_lpbfifo_kick() 110 if (write) { in mpc52xx_lpbfifo_kick() 134 if (!write) { in mpc52xx_lpbfifo_kick() 156 if (write && (!poll_dma)) in mpc52xx_lpbfifo_kick() 167 if (!write) in mpc52xx_lpbfifo_kick() 229 int dma, write, poll_dma; in mpc52xx_lpbfifo_irq() local 242 write = req->flags & MPC52XX_LPBFIFO_FLAG_WRITE; in mpc52xx_lpbfifo_irq() 245 if (dma && !write) { in mpc52xx_lpbfifo_irq() 266 if (!dma && !write) { in mpc52xx_lpbfifo_irq() 380 int write = req->flags & MPC52XX_LPBFIFO_FLAG_WRITE; mpc52xx_lpbfifo_poll() local [all...] |
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | port.c | 379 #define MLX5E_FEC_OVERRIDE_ADMIN_POLICY(buf, policy, write, link) \ 384 if (write) \ 391 static int mlx5e_fec_admin_field(u32 *pplm, u16 *fec_policy, bool write, in mlx5e_fec_admin_field() argument 396 MLX5E_FEC_OVERRIDE_ADMIN_POLICY(pplm, *fec_policy, write, 10g_40g); in mlx5e_fec_admin_field() 399 MLX5E_FEC_OVERRIDE_ADMIN_POLICY(pplm, *fec_policy, write, 25g); in mlx5e_fec_admin_field() 402 MLX5E_FEC_OVERRIDE_ADMIN_POLICY(pplm, *fec_policy, write, 50g); in mlx5e_fec_admin_field() 405 MLX5E_FEC_OVERRIDE_ADMIN_POLICY(pplm, *fec_policy, write, 56g); in mlx5e_fec_admin_field() 408 MLX5E_FEC_OVERRIDE_ADMIN_POLICY(pplm, *fec_policy, write, 100g); in mlx5e_fec_admin_field() 411 MLX5E_FEC_OVERRIDE_ADMIN_POLICY(pplm, *fec_policy, write, 50g_1x); in mlx5e_fec_admin_field() 414 MLX5E_FEC_OVERRIDE_ADMIN_POLICY(pplm, *fec_policy, write, 10 in mlx5e_fec_admin_field() [all...] |
| /kernel/linux/linux-5.10/drivers/parport/ |
| H A D | procfs.c | 36 static int do_active_device(struct ctl_table *table, int write, in do_active_device() argument 44 if (write) /* can't happen anyway */ in do_active_device() 73 static int do_autoprobe(struct ctl_table *table, int write, in do_autoprobe() argument 81 if (write) /* permissions stop this */ in do_autoprobe() 116 static int do_hardware_base_addr(struct ctl_table *table, int write, in do_hardware_base_addr() argument 128 if (write) /* permissions prevent this anyway */ in do_hardware_base_addr() 143 static int do_hardware_irq(struct ctl_table *table, int write, in do_hardware_irq() argument 155 if (write) /* permissions prevent this anyway */ in do_hardware_irq() 170 static int do_hardware_dma(struct ctl_table *table, int write, in do_hardware_dma() argument 182 if (write) /* permission in do_hardware_dma() 197 do_hardware_modes(struct ctl_table *table, int write, void *result, size_t *lenp, loff_t *ppos) do_hardware_modes() argument [all...] |
| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | port.c | 300 #define MLX5E_FEC_OVERRIDE_ADMIN_POLICY(buf, policy, write, link) \ 305 if (write) \ 312 static int mlx5e_fec_admin_field(u32 *pplm, u16 *fec_policy, bool write, in mlx5e_fec_admin_field() argument 317 MLX5E_FEC_OVERRIDE_ADMIN_POLICY(pplm, *fec_policy, write, 10g_40g); in mlx5e_fec_admin_field() 320 MLX5E_FEC_OVERRIDE_ADMIN_POLICY(pplm, *fec_policy, write, 25g); in mlx5e_fec_admin_field() 323 MLX5E_FEC_OVERRIDE_ADMIN_POLICY(pplm, *fec_policy, write, 50g); in mlx5e_fec_admin_field() 326 MLX5E_FEC_OVERRIDE_ADMIN_POLICY(pplm, *fec_policy, write, 56g); in mlx5e_fec_admin_field() 329 MLX5E_FEC_OVERRIDE_ADMIN_POLICY(pplm, *fec_policy, write, 100g); in mlx5e_fec_admin_field() 332 MLX5E_FEC_OVERRIDE_ADMIN_POLICY(pplm, *fec_policy, write, 50g_1x); in mlx5e_fec_admin_field() 335 MLX5E_FEC_OVERRIDE_ADMIN_POLICY(pplm, *fec_policy, write, 10 in mlx5e_fec_admin_field() [all...] |
| /kernel/linux/linux-6.6/drivers/parport/ |
| H A D | procfs.c | 43 static int do_active_device(struct ctl_table *table, int write, in do_active_device() argument 51 if (write) /* can't happen anyway */ in do_active_device() 80 static int do_autoprobe(struct ctl_table *table, int write, in do_autoprobe() argument 88 if (write) /* permissions stop this */ in do_autoprobe() 123 static int do_hardware_base_addr(struct ctl_table *table, int write, in do_hardware_base_addr() argument 135 if (write) /* permissions prevent this anyway */ in do_hardware_base_addr() 150 static int do_hardware_irq(struct ctl_table *table, int write, in do_hardware_irq() argument 162 if (write) /* permissions prevent this anyway */ in do_hardware_irq() 177 static int do_hardware_dma(struct ctl_table *table, int write, in do_hardware_dma() argument 189 if (write) /* permission in do_hardware_dma() 204 do_hardware_modes(struct ctl_table *table, int write, void *result, size_t *lenp, loff_t *ppos) do_hardware_modes() argument [all...] |
| /third_party/icu/icu4c/source/common/ |
| H A D | bytestriebuilder.cpp | 359 BytesTrieBuilder::BTLinearMatchNode::write(StringTrieBuilder &builder) { in write() function in BytesTrieBuilder::BTLinearMatchNode 361 next->write(builder); in write() 362 b.write(s, length); in write() 363 offset=b.write(b.getMinLinearMatch()+length-1); in write() 403 BytesTrieBuilder::write(int32_t byte) { in write() function in BytesTrieBuilder 413 BytesTrieBuilder::write(const char *b, int32_t length) { in write() function in BytesTrieBuilder 424 return write(elements[i].getString(*strings).data()+byteIndex, length); in writeElementUnits() 430 return write(((BytesTrie::kMinOneByteValueLead+i)<<1)|isFinal); in writeValueAndFinal() 459 return write(intBytes, length); in writeValueAndFinal() 464 int32_t offset=write(nod in writeValueAndType() [all...] |
| H A D | ucharstriebuilder.cpp | 306 UCharsTrieBuilder::UCTLinearMatchNode::write(StringTrieBuilder &builder) { in write() function in UCharsTrieBuilder::UCTLinearMatchNode 308 next->write(builder); in write() 309 b.write(s, length); in write() 350 UCharsTrieBuilder::write(int32_t unit) { in write() function in UCharsTrieBuilder 360 UCharsTrieBuilder::write(const UChar *s, int32_t length) { in write() function in UCharsTrieBuilder 371 return write(elements[i].getString(strings).getBuffer()+unitIndex, length); in writeElementUnits() 377 return write(i|(isFinal<<15)); in writeValueAndFinal() 395 return write(intUnits, length); in writeValueAndFinal() 401 return write(node); in writeValueAndType() 419 return write(intUnit in writeValueAndType() [all...] |
| /third_party/node/deps/icu-small/source/common/ |
| H A D | bytestriebuilder.cpp | 359 BytesTrieBuilder::BTLinearMatchNode::write(StringTrieBuilder &builder) { in write() function in BytesTrieBuilder::BTLinearMatchNode 361 next->write(builder); in write() 362 b.write(s, length); in write() 363 offset=b.write(b.getMinLinearMatch()+length-1); in write() 403 BytesTrieBuilder::write(int32_t byte) { in write() function in BytesTrieBuilder 413 BytesTrieBuilder::write(const char *b, int32_t length) { in write() function in BytesTrieBuilder 424 return write(elements[i].getString(*strings).data()+byteIndex, length); in writeElementUnits() 430 return write(((BytesTrie::kMinOneByteValueLead+i)<<1)|isFinal); in writeValueAndFinal() 459 return write(intBytes, length); in writeValueAndFinal() 464 int32_t offset=write(nod in writeValueAndType() [all...] |
| H A D | ucharstriebuilder.cpp | 306 UCharsTrieBuilder::UCTLinearMatchNode::write(StringTrieBuilder &builder) { in write() function in UCharsTrieBuilder::UCTLinearMatchNode 308 next->write(builder); in write() 309 b.write(s, length); in write() 350 UCharsTrieBuilder::write(int32_t unit) { in write() function in UCharsTrieBuilder 360 UCharsTrieBuilder::write(const char16_t *s, int32_t length) { in write() function in UCharsTrieBuilder 371 return write(elements[i].getString(strings).getBuffer()+unitIndex, length); in writeElementUnits() 377 return write(i|(isFinal<<15)); in writeValueAndFinal() 395 return write(intUnits, length); in writeValueAndFinal() 401 return write(node); in writeValueAndType() 419 return write(intUnit in writeValueAndType() [all...] |
| /third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
| H A D | RemoveDynamicIndexing.cpp | 7 // matrices, replacing them with calls to functions that choose which component to return or write. 37 std::string GetIndexFunctionName(const TType &type, bool write) in GetIndexFunctionName() argument 41 if (write) in GetIndexFunctionName() 111 const TType *GetBaseType(const TType &type, bool write) in GetBaseType() argument 120 if (!write) in GetBaseType() 125 // Generate a read or write function for one field in a vector/matrix. 146 // write function example: 169 bool write, in GetIndexFunctionDefinition() 185 std::string functionName = GetIndexFunctionName(type, write); in GetIndexFunctionDefinition() 191 if (write) in GetIndexFunctionDefinition() 168 GetIndexFunctionDefinition(const TType &type, bool write, const TFunction &func, TSymbolTable *symbolTable) GetIndexFunctionDefinition() argument 401 bool write = isLValueRequiredHere(); visitBinary() local [all...] |
| /third_party/skia/third_party/externals/icu/source/common/ |
| H A D | bytestriebuilder.cpp | 359 BytesTrieBuilder::BTLinearMatchNode::write(StringTrieBuilder &builder) { in write() function in BytesTrieBuilder::BTLinearMatchNode 361 next->write(builder); in write() 362 b.write(s, length); in write() 363 offset=b.write(b.getMinLinearMatch()+length-1); in write() 403 BytesTrieBuilder::write(int32_t byte) { in write() function in BytesTrieBuilder 413 BytesTrieBuilder::write(const char *b, int32_t length) { in write() function in BytesTrieBuilder 424 return write(elements[i].getString(*strings).data()+byteIndex, length); in writeElementUnits() 430 return write(((BytesTrie::kMinOneByteValueLead+i)<<1)|isFinal); in writeValueAndFinal() 459 return write(intBytes, length); in writeValueAndFinal() 464 int32_t offset=write(nod in writeValueAndType() [all...] |
| H A D | ucharstriebuilder.cpp | 306 UCharsTrieBuilder::UCTLinearMatchNode::write(StringTrieBuilder &builder) { in write() function in UCharsTrieBuilder::UCTLinearMatchNode 308 next->write(builder); in write() 309 b.write(s, length); in write() 350 UCharsTrieBuilder::write(int32_t unit) { in write() function in UCharsTrieBuilder 360 UCharsTrieBuilder::write(const UChar *s, int32_t length) { in write() function in UCharsTrieBuilder 371 return write(elements[i].getString(strings).getBuffer()+unitIndex, length); in writeElementUnits() 377 return write(i|(isFinal<<15)); in writeValueAndFinal() 395 return write(intUnits, length); in writeValueAndFinal() 401 return write(node); in writeValueAndType() 419 return write(intUnit in writeValueAndType() [all...] |
| /foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
| H A D | rs_profiler_base.cpp | 447 data.write(reinterpret_cast<const char*>(&count), sizeof(count)); in MarshalNodes() 468 data.write(reinterpret_cast<const char*>(&nodeCount), sizeof(nodeCount)); in MarshalNodes() 477 data.write(reinterpret_cast<const char*>(&nodeId), sizeof(nodeId)); in MarshalTree() 480 data.write(reinterpret_cast<const char*>(&count), sizeof(count)); in MarshalTree() 485 data.write(reinterpret_cast<const char*>(&nodeId), sizeof(nodeId)); in MarshalTree() 494 data.write(reinterpret_cast<const char*>(&nodeType), sizeof(nodeType)); in MarshalNode() 497 data.write(reinterpret_cast<const char*>(&nodeId), sizeof(nodeId)); in MarshalNode() 500 data.write(reinterpret_cast<const char*>(&isTextureExportNode), sizeof(isTextureExportNode)); in MarshalNode() 506 data.write(reinterpret_cast<const char*>(&size), sizeof(size)); in MarshalNode() 507 data.write(reinterpret_cas in MarshalNode() [all...] |
| /third_party/icu/tools/unicode/c/genuca/ |
| H A D | genteststub.py | 44 wrfile.write(line.rstrip()+"\n") 50 wrfile.write(line+"\n") 55 wrfile.write(line+"\n") # write the last case
|
| /third_party/mesa3d/src/compiler/isaspec/ |
| H A D | decode.py | 305 f.write(Template(glue).render(guard=guard, isa=os.path.basename(dst_h))) 308 f.write(Template(template).render(isa=isa)) 312 f.write(Template(header).render(isa=isa, guard=guard))
|
| /third_party/node/test/parallel/ |
| H A D | test-http-header-owstext.js | 21 client.write('GET / HTTP/1.1\r\n' + hdr + ':', drain); 26 return client.write('\r\nConnection: close\r\n\r\n'); 28 client.write(snd.shift(), drain);
|
| H A D | test-http-keep-alive-drop-requests.js | 9 socket.write('GET / HTTP/1.1\r\n'); 10 socket.write('Connection: keep-alive\r\n'); 11 socket.write('\r\n\r\n');
|
| /third_party/node/benchmark/http/ |
| H A D | end-vs-write-end.js | 2 // optimization in http.js, to avoid an extra write call. 5 // the overhead of an extra write() call, so the hot path was not 17 method: ['write', 'end'], 36 function write(res) { 37 res.write(chunk); 45 const fn = method === 'write' ? write : end;
|
| /third_party/python/Tools/scripts/ |
| H A D | eptags.py | 29 sys.stderr.write('Cannot open %s\n'%filename) 47 outfp.write('\f\n%s,%d\n' % (filename,size)) 49 outfp.write(tag)
|
| /third_party/skia/tools/skqp/ |
| H A D | make_universal_apk.py | 56 sys.stderr.write( 63 sys.stderr.write(options.error + __doc__) 65 options.write(sys.stdout)
|
| /third_party/python/Objects/ |
| H A D | typeslots.py | 8 out.write("/* Generated by typeslots.py */\n") 38 out.write("%s,\n" % res[i]) 40 out.write("{0, 0},\n")
|