Home
last modified time | relevance | path

Searched refs:free_space (Results 1 – 8 of 8) sorted by relevance

/external/grpc-grpc/test/core/json/
Djson_rewrite.cc43 size_t free_space; member
70 if (state->free_space >= needed) return; in check_string()
71 needed -= state->free_space; in check_string()
75 state->free_space += needed; in check_string()
81 state->free_space = state->allocated; in json_reader_string_clear()
211 reader_user.free_space = 0; in rewrite()
Djson_rewrite_test.cc44 size_t free_space; member
81 if (state->free_space >= needed) return; in check_string()
82 needed -= state->free_space; in check_string()
86 state->free_space += needed; in check_string()
92 state->free_space = state->allocated; in json_reader_string_clear()
232 reader_user.free_space = 0; in rewrite_and_compare()
/external/grpc-grpc/src/core/lib/json/
Djson_string.cc58 size_t free_space; member
69 if (state->free_space >= needed) return; in json_writer_output_check()
70 needed -= state->free_space; in json_writer_output_check()
75 state->free_space += needed; in json_writer_output_check()
84 state->free_space--; in json_writer_output_char()
93 state->free_space -= len; in json_writer_output_string_with_len()
359 state.free_space = state.string_len = state.allocated = 0; in grpc_json_dump_to_string()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/json/
Djson_writer.cc82 size_t free_space = output_.capacity() - output_.size(); in OutputCheck() local
83 if (free_space >= needed) return; in OutputCheck()
84 needed -= free_space; in OutputCheck()
/external/autotest/client/bin/result_tools/
Dutils.py385 free_space = stat.f_frsize * stat.f_bavail
386 if free_space - len(summary_json) < MIN_FREE_DISK_BYTES:
390 (free_space, len(summary_json)))
/external/dnsmasq/src/
Drfc2131.c1425 static unsigned char* free_space(struct dhcp_packet* mess, unsigned char* end, int opt, int len) { in free_space() function
1479 unsigned char* p = free_space(mess, end, opt, len); in option_put()
1492 if ((p = free_space(mess, end, opt, len))) memcpy(p, string, len); in option_put_string()
1571 p = free_space(mess, end, encap, enc_len); in do_encap_opts()
1584 if (enc_len != 0 && (p = free_space(mess, end, encap, enc_len + 1))) { in do_encap_opts()
1600 if (uuid && (p = free_space(mess, end, OPTION_PXE_UUID, 17))) memcpy(p, uuid, 17); in pxe_misc()
1886 if ((p = free_space(mess, end, OPTION_CLIENT_FQDN, len))) { in do_options()
1942 if ((p = free_space(mess, end, optno, len))) { in do_options()
/external/mesa3d/src/mesa/tnl/
Dt_draw.c57 static void free_space(struct gl_context *ctx) in free_space() function
525 free_space(ctx); in _tnl_draw_prims()
/external/mesa3d/src/amd/vulkan/
Dradv_device.c2273 uint64_t free_space = device->memory_properties.memoryHeaps[heap].size - in radv_get_memory_budget_properties() local
2276 memoryBudget->heapBudget[heap] = free_space + internal_usage; in radv_get_memory_budget_properties()